Enum Class IntendedEndUserRole
java.lang.Object
java.lang.Enum<IntendedEndUserRole>
dev.jcputney.elearning.parser.input.lom.types.IntendedEndUserRole
- All Implemented Interfaces:
Serializable,Comparable<IntendedEndUserRole>,Constable
The role of the end user in the context to which the learning object is intended to be delivered.
The following schema snippet shows the intended end user role element:
<xs:simpleType name="intendedEndUserRoleValues">
<xs:restriction base="xs:token">
<xs:enumeration value="teacher"/>
<xs:enumeration value="author"/>
<xs:enumeration value="learner"/>
<xs:enumeration value="manager"/>
</xs:restriction>
</xs:simpleType>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic IntendedEndUserRoleReturns the enum constant of this class with the specified name.static IntendedEndUserRole[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TEACHER
The intended end user role is a teacher. -
AUTHOR
The intended end user role is an author. -
LEARNER
The intended end user role is a learner. -
MANAGER
The intended end user role is a manager. -
UNKNOWN
The intended end user role is unknown.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-