Package br.com.senior.hcm.payroll.pojos
Enum EmployeeContractType
- java.lang.Object
-
- java.lang.Enum<EmployeeContractType>
-
- br.com.senior.hcm.payroll.pojos.EmployeeContractType
-
- All Implemented Interfaces:
Serializable,Comparable<EmployeeContractType>
public enum EmployeeContractType extends Enum<EmployeeContractType>
Gets or Sets employeeContractType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEmployeeContractType.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description APPRENTICECOOPERATIVEWORKERDOMESTICWORKEREMPLOYEEFARMWORKERFIXEDDUEDATEMANAGERPUBLICAGENTRETIREDRETIREDMANAGERTEACHERTEACHERFIXEDDUEDATETHIRDPARTYTRAINEE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmployeeContractTypefromValue(String text)StringgetValue()StringtoString()static EmployeeContractTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EmployeeContractType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMPLOYEE
public static final EmployeeContractType EMPLOYEE
-
MANAGER
public static final EmployeeContractType MANAGER
-
FARMWORKER
public static final EmployeeContractType FARMWORKER
-
RETIRED
public static final EmployeeContractType RETIRED
-
TRAINEE
public static final EmployeeContractType TRAINEE
-
APPRENTICE
public static final EmployeeContractType APPRENTICE
-
FIXEDDUEDATE
public static final EmployeeContractType FIXEDDUEDATE
-
RETIREDMANAGER
public static final EmployeeContractType RETIREDMANAGER
-
PUBLICAGENT
public static final EmployeeContractType PUBLICAGENT
-
TEACHER
public static final EmployeeContractType TEACHER
-
COOPERATIVEWORKER
public static final EmployeeContractType COOPERATIVEWORKER
-
DOMESTICWORKER
public static final EmployeeContractType DOMESTICWORKER
-
TEACHERFIXEDDUEDATE
public static final EmployeeContractType TEACHERFIXEDDUEDATE
-
THIRDPARTY
public static final EmployeeContractType THIRDPARTY
-
-
Method Detail
-
values
public static EmployeeContractType[] 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 (EmployeeContractType c : EmployeeContractType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmployeeContractType 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()
-
toString
public String toString()
- Overrides:
toStringin classEnum<EmployeeContractType>
-
fromValue
public static EmployeeContractType fromValue(String text)
-
-