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