Enum InstructorRoster.InstructorRole
- java.lang.Object
-
- java.lang.Enum<InstructorRoster.InstructorRole>
-
- com.ellucian.generated.eedm.sections_maximum.v8_0.InstructorRoster.InstructorRole
-
- All Implemented Interfaces:
Serializable
,Comparable<InstructorRoster.InstructorRole>
- Enclosing class:
- InstructorRoster
@Generated("jsonschema2pojo") public static enum InstructorRoster.InstructorRole extends Enum<InstructorRoster.InstructorRole>
Instructor RoleThe role of the instructor for the instructional event (e.g. primary).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PRIMARY
-
Constructor Summary
Constructors Modifier Constructor Description private
InstructorRole(String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstructorRoster.InstructorRole
fromValue(String value)
String
toString()
String
value()
static InstructorRoster.InstructorRole
valueOf(String name)
Returns the enum constant of this type with the specified name.static InstructorRoster.InstructorRole[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRIMARY
public static final InstructorRoster.InstructorRole PRIMARY
-
-
Field Detail
-
value
private final String value
-
CONSTANTS
private static final Map<String,InstructorRoster.InstructorRole> CONSTANTS
-
-
Constructor Detail
-
InstructorRole
private InstructorRole(String value)
-
-
Method Detail
-
values
public static InstructorRoster.InstructorRole[] 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 (InstructorRoster.InstructorRole c : InstructorRoster.InstructorRole.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstructorRoster.InstructorRole 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<InstructorRoster.InstructorRole>
-
value
public String value()
-
fromValue
public static InstructorRoster.InstructorRole fromValue(String value)
-
-