public enum EnrollmentStatus extends Enum<EnrollmentStatus>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
BYPASS
Bypass.
|
ENROLLED
Yes.
|
NOTENROLLED
No.
|
UNAVAILABLE
Unavailable.
|
| Modifier and Type | Method and Description |
|---|---|
static EnrollmentStatus |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static EnrollmentStatus |
fromString(String toConvert)
Returns the enum member associated with the given string value.
|
String |
toString()
Get string representation of this enum.
|
static List<String> |
toValue(List<EnrollmentStatus> toConvert)
Convert list of EnrollmentStatus values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static EnrollmentStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnrollmentStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnrollmentStatus ENROLLED
public static final EnrollmentStatus NOTENROLLED
public static final EnrollmentStatus UNAVAILABLE
public static final EnrollmentStatus BYPASS
public static final EnrollmentStatus _UNKNOWN
public static EnrollmentStatus[] values()
for (EnrollmentStatus c : EnrollmentStatus.values()) System.out.println(c);
public static EnrollmentStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static EnrollmentStatus constructFromString(String toConvert) throws IOException
toConvert - String value to get enum member.IOException - when provided value is not mapped to any enum member.public static EnrollmentStatus fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
toString in class Enum<EnrollmentStatus>public static List<String> toValue(List<EnrollmentStatus> toConvert)
toConvert - The list of EnrollmentStatus values to convert.Copyright © 2025. All rights reserved.