Package com.xero.models.payrollau
Enum Employee.TerminationReasonEnum
- java.lang.Object
-
- java.lang.Enum<Employee.TerminationReasonEnum>
-
- com.xero.models.payrollau.Employee.TerminationReasonEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Employee.TerminationReasonEnum>
- Enclosing class:
- Employee
public static enum Employee.TerminationReasonEnum extends Enum<Employee.TerminationReasonEnum>
* `V` Voluntary cessation - An employee resignation, retirement, domestic or pressing necessity or abandonment of employment * `I` Ill health - An employee resignation due to medical condition that prevents the continuation of employment, such as for illness, ill-health, medical unfitness or total permanent disability * `D` Deceased - The death of an employee * `R` Redundancy - An employer-initiated termination of employment due to a genuine redundancy or approved early retirement scheme * `F` Dismissal - An employer-initiated termination of employment due to dismissal, inability to perform the required work, misconduct or inefficiency * `C` Contract cessation - The natural conclusion of a limited employment relationship due to contract/engagement duration or task completion, seasonal work completion, or to cease casuals that are no longer required * `T` Transfer - The administrative arrangements performed to transfer employees across payroll systems, move them temporarily to another employer (machinery of government for public servants), transfer of business, move them to outsourcing arrangements or other such technical activities.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Employee.TerminationReasonEnumfromValue(String value)fromValueStringgetValue()getValueStringtoString()toStringstatic Employee.TerminationReasonEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Employee.TerminationReasonEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V
public static final Employee.TerminationReasonEnum V
V
-
I
public static final Employee.TerminationReasonEnum I
I
-
D
public static final Employee.TerminationReasonEnum D
D
-
R
public static final Employee.TerminationReasonEnum R
R
-
F
public static final Employee.TerminationReasonEnum F
F
-
C
public static final Employee.TerminationReasonEnum C
C
-
T
public static final Employee.TerminationReasonEnum T
T
-
-
Method Detail
-
values
public static Employee.TerminationReasonEnum[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Employee.TerminationReasonEnum c : Employee.TerminationReasonEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Employee.TerminationReasonEnum valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
getValue- Returns:
- String value
-
toString
public String toString()
toString- Overrides:
toStringin classEnum<Employee.TerminationReasonEnum>- Returns:
- String value
-
fromValue
public static Employee.TerminationReasonEnum fromValue(String value)
fromValue- Parameters:
value- String
-
-