Enum Class InteractivityType
- All Implemented Interfaces:
Serializable,Comparable<InteractivityType>,Constable
Enum representing the possible values for
interactivityType in a lom element,
specifying the degree of interactivity of the learning resource. The following schema snippet
defines the possible values:
<xs:simpleType name="interactivityTypeValues">
<xs:restriction base="xs:token">
<xs:enumeration value="active"/>
<xs:enumeration value="expositive"/>
<xs:enumeration value="mixed"/>
</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 ConstantsEnum ConstantDescriptionThe learning resource is interactive and requires user input.The learning resource is expositive and doesn't require user input.The learning resource is a mix of both active and expositive types.The interactivity type of the learning resource is unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic InteractivityTypeReturns the enum constant of this class with the specified name.static InteractivityType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACTIVE
The learning resource is interactive and requires user input. -
EXPOSITIVE
The learning resource is expositive and doesn't require user input. -
MIXED
The learning resource is a mix of both active and expositive types. -
UNKNOWN
The interactivity type of the learning resource 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
-