Enum Class LearningResourceType
java.lang.Object
java.lang.Enum<LearningResourceType>
dev.jcputney.elearning.parser.input.lom.types.LearningResourceType
- All Implemented Interfaces:
Serializable,Comparable<LearningResourceType>,Constable
Enum representing the possible values for
type in a learning resource, specifying
the type of learning resource. The following schema snippet defines the possible values:
<xs:simpleType name = "learningResourceType">
<xs:restriction base = "xs:token">
<xs:enumeration value = "exercise"/>
<xs:enumeration value = "simulation"/>
<xs:enumeration value = "questionnaire"/>
<xs:enumeration value = "diagram"/>
<xs:enumeration value = "figure"/>
<xs:enumeration value = "graph"/>
<xs:enumeration value = "index"/>
<xs:enumeration value = "slide"/>
<xs:enumeration value = "table"/>
<xs:enumeration value = "narrative text"/>
<xs:enumeration value = "exam"/>
<xs:enumeration value = "experiment"/>
<xs:enumeration value = "problem statement"/>
<xs:enumeration value = "self assessment"/>
<xs:enumeration value = "lecture"/>
</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 a diagram.The learning resource is an exam.The learning resource is an exercise.The learning resource is an experiment.The learning resource is a figure.The learning resource is a graph.The learning resource is an index.The learning resource is a lecture.The learning resource is narrative text.The learning resource is a problem statement.The learning resource is a questionnaire.The learning resource is a self-assessment.The learning resource is a simulation.The learning resource is a slide.The learning resource is a table.The learning resource type is unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic LearningResourceTypeReturns the enum constant of this class with the specified name.static LearningResourceType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXERCISE
The learning resource is an exercise. -
SIMULATION
The learning resource is a simulation. -
QUESTIONNAIRE
The learning resource is a questionnaire. -
DIAGRAM
The learning resource is a diagram. -
FIGURE
The learning resource is a figure. -
GRAPH
The learning resource is a graph. -
INDEX
The learning resource is an index. -
SLIDE
The learning resource is a slide. -
TABLE
The learning resource is a table. -
NARRATIVE_TEXT
The learning resource is narrative text. -
EXAM
The learning resource is an exam. -
EXPERIMENT
The learning resource is an experiment. -
PROBLEM_STATEMENT
The learning resource is a problem statement. -
SELF_ASSESSMENT
The learning resource is a self-assessment. -
LECTURE
The learning resource is a lecture. -
UNKNOWN
The learning resource type 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
-