public static enum Student.ModalityPreference extends Enum<Student.ModalityPreference>
Enum Constant and Description |
---|
NO_PREFERENCE |
ONILNE_DISCOURAGED |
ONLINE_PREFERRED |
ONLINE_REQUIRED |
Modifier and Type | Method and Description |
---|---|
static Student.ModalityPreference |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Student.ModalityPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Student.ModalityPreference NO_PREFERENCE
public static final Student.ModalityPreference ONLINE_PREFERRED
public static final Student.ModalityPreference ONILNE_DISCOURAGED
public static final Student.ModalityPreference ONLINE_REQUIRED
public static Student.ModalityPreference[] values()
for (Student.ModalityPreference c : Student.ModalityPreference.values()) System.out.println(c);
public static Student.ModalityPreference 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 null