public static enum SubstitutionSchedule.Type extends Enum<SubstitutionSchedule.Type>
| Enum Constant and Description |
|---|
STUDENT
Schedules with this type are primarily intended for students.
|
TEACHER
Schedules with this type are primarily intended for teachers.
|
| Modifier and Type | Method and Description |
|---|---|
static SubstitutionSchedule.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubstitutionSchedule.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubstitutionSchedule.Type STUDENT
public static final SubstitutionSchedule.Type TEACHER
public static SubstitutionSchedule.Type[] values()
for (SubstitutionSchedule.Type c : SubstitutionSchedule.Type.values()) System.out.println(c);
public static SubstitutionSchedule.Type 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