Package br.com.senior.hcm.payroll.pojos
Enum OtherContractType
- java.lang.Object
-
- java.lang.Enum<OtherContractType>
-
- br.com.senior.hcm.payroll.pojos.OtherContractType
-
- All Implemented Interfaces:
Serializable,Comparable<OtherContractType>
public enum OtherContractType extends Enum<OtherContractType>
Gets or Sets otherContractType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOtherContractType.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTRACT_OUT_SAME_CPFOTHER_CONTRACT_OFF_SYSTEMOTHER_CONTRACT_WITHIN_SYSTEMSINGLE_CONTRACT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OtherContractTypefromValue(String text)StringgetValue()StringtoString()static OtherContractTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OtherContractType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_CONTRACT
public static final OtherContractType SINGLE_CONTRACT
-
OTHER_CONTRACT_OFF_SYSTEM
public static final OtherContractType OTHER_CONTRACT_OFF_SYSTEM
-
OTHER_CONTRACT_WITHIN_SYSTEM
public static final OtherContractType OTHER_CONTRACT_WITHIN_SYSTEM
-
CONTRACT_OUT_SAME_CPF
public static final OtherContractType CONTRACT_OUT_SAME_CPF
-
-
Method Detail
-
values
public static OtherContractType[] 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 (OtherContractType c : OtherContractType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OtherContractType 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<OtherContractType>
-
fromValue
public static OtherContractType fromValue(String text)
-
-