Enum KinshipDegreeType
- java.lang.Object
-
- java.lang.Enum<KinshipDegreeType>
-
- br.com.senior.hcm.dependent.pojos.KinshipDegreeType
-
- All Implemented Interfaces:
Serializable,Comparable<KinshipDegreeType>
public enum KinshipDegreeType extends Enum<KinshipDegreeType>
Gets or Sets kinshipDegreeType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKinshipDegreeType.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description ADOPTEDCHILDCONCUBINEEXPARTNEREXSPOUSEFATHERINLAWGRANDCHILDGRANDPARENTGREATGRANDCHILDGREATGRANDPARENTGUARDIANSHIPNEPHEWNIECEOTHERPARENTPARTNERPENSIONERSPUPILSIBLINGSONDAUGHTERINLAWSPOUSESTEPCHILDSTEPFATHERSTEPMOTHERTRUSTEDTUTORUNCLEAUNT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KinshipDegreeTypefromValue(String text)StringgetValue()StringtoString()static KinshipDegreeTypevalueOf(String name)Returns the enum constant of this type with the specified name.static KinshipDegreeType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADOPTED
public static final KinshipDegreeType ADOPTED
-
CHILD
public static final KinshipDegreeType CHILD
-
CONCUBINE
public static final KinshipDegreeType CONCUBINE
-
EXSPOUSE
public static final KinshipDegreeType EXSPOUSE
-
EXPARTNER
public static final KinshipDegreeType EXPARTNER
-
GRANDPARENT
public static final KinshipDegreeType GRANDPARENT
-
GRANDCHILD
public static final KinshipDegreeType GRANDCHILD
-
GREATGRANDPARENT
public static final KinshipDegreeType GREATGRANDPARENT
-
GREATGRANDCHILD
public static final KinshipDegreeType GREATGRANDCHILD
-
GUARDIANSHIP
public static final KinshipDegreeType GUARDIANSHIP
-
NEPHEWNIECE
public static final KinshipDegreeType NEPHEWNIECE
-
OTHER
public static final KinshipDegreeType OTHER
-
PARENT
public static final KinshipDegreeType PARENT
-
FATHERINLAW
public static final KinshipDegreeType FATHERINLAW
-
PARTNER
public static final KinshipDegreeType PARTNER
-
PENSIONERS
public static final KinshipDegreeType PENSIONERS
-
PUPIL
public static final KinshipDegreeType PUPIL
-
SIBLING
public static final KinshipDegreeType SIBLING
-
SONDAUGHTERINLAW
public static final KinshipDegreeType SONDAUGHTERINLAW
-
SPOUSE
public static final KinshipDegreeType SPOUSE
-
STEPFATHER
public static final KinshipDegreeType STEPFATHER
-
STEPMOTHER
public static final KinshipDegreeType STEPMOTHER
-
STEPCHILD
public static final KinshipDegreeType STEPCHILD
-
TRUSTED
public static final KinshipDegreeType TRUSTED
-
UNCLEAUNT
public static final KinshipDegreeType UNCLEAUNT
-
TUTOR
public static final KinshipDegreeType TUTOR
-
-
Method Detail
-
values
public static KinshipDegreeType[] 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 (KinshipDegreeType c : KinshipDegreeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KinshipDegreeType 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<KinshipDegreeType>
-
fromValue
public static KinshipDegreeType fromValue(String text)
-
-