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