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