Enum VeteranStatuses.Category
- java.lang.Object
-
- java.lang.Enum<VeteranStatuses.Category>
-
- com.ellucian.generated.eedm.veteran_statuses.v9_0.VeteranStatuses.Category
-
- All Implemented Interfaces:
Serializable
,Comparable<VeteranStatuses.Category>
- Enclosing class:
- VeteranStatuses
@Generated("jsonschema2pojo") public static enum VeteranStatuses.Category extends Enum<VeteranStatuses.Category>
CategoryThe name of a higher level veteran status category to which the status belongs.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVE_DUTY
NON_PROTECTED_VETERAN
NON_VETERAN
PROTECTED_VETERAN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VeteranStatuses.Category
fromValue(String value)
String
toString()
String
value()
static VeteranStatuses.Category
valueOf(String name)
Returns the enum constant of this type with the specified name.static VeteranStatuses.Category[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NON_VETERAN
public static final VeteranStatuses.Category NON_VETERAN
-
ACTIVE_DUTY
public static final VeteranStatuses.Category ACTIVE_DUTY
-
PROTECTED_VETERAN
public static final VeteranStatuses.Category PROTECTED_VETERAN
-
NON_PROTECTED_VETERAN
public static final VeteranStatuses.Category NON_PROTECTED_VETERAN
-
-
Field Detail
-
value
private final String value
-
CONSTANTS
private static final Map<String,VeteranStatuses.Category> CONSTANTS
-
-
Constructor Detail
-
Category
private Category(String value)
-
-
Method Detail
-
values
public static VeteranStatuses.Category[] 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 (VeteranStatuses.Category c : VeteranStatuses.Category.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VeteranStatuses.Category 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<VeteranStatuses.Category>
-
value
public String value()
-
fromValue
public static VeteranStatuses.Category fromValue(String value)
-
-