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>,java.lang.constant.Constable
- Enclosing class:
Employee
* `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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionfromValuegetValue()getValuetoString()toStringReturns 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 Details
-
V
V -
I
I -
D
D -
R
R -
F
F -
C
C -
T
T
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
toString- Overrides:
toStringin classEnum<Employee.TerminationReasonEnum>- Returns:
- String value
-
fromValue
fromValue- Parameters:
value- String
-