Enum MaritalStatusDto
- java.lang.Object
-
- java.lang.Enum<MaritalStatusDto>
-
- br.com.senior.hcm.recruitment.pojos.MaritalStatusDto
-
- All Implemented Interfaces:
Serializable,Comparable<MaritalStatusDto>
public enum MaritalStatusDto extends Enum<MaritalStatusDto>
Gets or Sets maritalStatusDto
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMaritalStatusDto.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description CONCUBINAGEDIVORCEDMARRIEDOTHERSEPARATEDSINGLESTABLE_UNIONWIDOWER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaritalStatusDtofromValue(String text)StringgetValue()StringtoString()static MaritalStatusDtovalueOf(String name)Returns the enum constant of this type with the specified name.static MaritalStatusDto[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE
public static final MaritalStatusDto SINGLE
-
MARRIED
public static final MaritalStatusDto MARRIED
-
DIVORCED
public static final MaritalStatusDto DIVORCED
-
WIDOWER
public static final MaritalStatusDto WIDOWER
-
CONCUBINAGE
public static final MaritalStatusDto CONCUBINAGE
-
SEPARATED
public static final MaritalStatusDto SEPARATED
-
STABLE_UNION
public static final MaritalStatusDto STABLE_UNION
-
OTHER
public static final MaritalStatusDto OTHER
-
-
Method Detail
-
values
public static MaritalStatusDto[] 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 (MaritalStatusDto c : MaritalStatusDto.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaritalStatusDto 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<MaritalStatusDto>
-
fromValue
public static MaritalStatusDto fromValue(String text)
-
-