Enum EthnicityEnum
- java.lang.Object
-
- java.lang.Enum<EthnicityEnum>
-
- com.merge.api.resources.hris.types.EthnicityEnum
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<EthnicityEnum>
public enum EthnicityEnum extends java.lang.Enum<EthnicityEnum>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMERICAN_INDIAN_OR_ALASKA_NATIVEASIAN_OR_INDIAN_SUBCONTINENTBLACK_OR_AFRICAN_AMERICANHISPANIC_OR_LATINONATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDERPREFER_NOT_TO_DISCLOSETWO_OR_MORE_RACESWHITE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static EthnicityEnumvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static EthnicityEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AMERICAN_INDIAN_OR_ALASKA_NATIVE
public static final EthnicityEnum AMERICAN_INDIAN_OR_ALASKA_NATIVE
-
ASIAN_OR_INDIAN_SUBCONTINENT
public static final EthnicityEnum ASIAN_OR_INDIAN_SUBCONTINENT
-
BLACK_OR_AFRICAN_AMERICAN
public static final EthnicityEnum BLACK_OR_AFRICAN_AMERICAN
-
HISPANIC_OR_LATINO
public static final EthnicityEnum HISPANIC_OR_LATINO
-
NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER
public static final EthnicityEnum NATIVE_HAWAIIAN_OR_OTHER_PACIFIC_ISLANDER
-
TWO_OR_MORE_RACES
public static final EthnicityEnum TWO_OR_MORE_RACES
-
WHITE
public static final EthnicityEnum WHITE
-
PREFER_NOT_TO_DISCLOSE
public static final EthnicityEnum PREFER_NOT_TO_DISCLOSE
-
-
Method Detail
-
values
public static EthnicityEnum[] 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 (EthnicityEnum c : EthnicityEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EthnicityEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<EthnicityEnum>
-
-