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

public enum LearningResourceType extends Enum<LearningResourceType>
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>
  
  • Enum Constant Details

    • EXERCISE

      public static final LearningResourceType EXERCISE
      The learning resource is an exercise.
    • SIMULATION

      public static final LearningResourceType SIMULATION
      The learning resource is a simulation.
    • QUESTIONNAIRE

      public static final LearningResourceType QUESTIONNAIRE
      The learning resource is a questionnaire.
    • DIAGRAM

      public static final LearningResourceType DIAGRAM
      The learning resource is a diagram.
    • FIGURE

      public static final LearningResourceType FIGURE
      The learning resource is a figure.
    • GRAPH

      public static final LearningResourceType GRAPH
      The learning resource is a graph.
    • INDEX

      public static final LearningResourceType INDEX
      The learning resource is an index.
    • SLIDE

      public static final LearningResourceType SLIDE
      The learning resource is a slide.
    • TABLE

      public static final LearningResourceType TABLE
      The learning resource is a table.
    • NARRATIVE_TEXT

      public static final LearningResourceType NARRATIVE_TEXT
      The learning resource is narrative text.
    • EXAM

      public static final LearningResourceType EXAM
      The learning resource is an exam.
    • EXPERIMENT

      public static final LearningResourceType EXPERIMENT
      The learning resource is an experiment.
    • PROBLEM_STATEMENT

      public static final LearningResourceType PROBLEM_STATEMENT
      The learning resource is a problem statement.
    • SELF_ASSESSMENT

      public static final LearningResourceType SELF_ASSESSMENT
      The learning resource is a self-assessment.
    • LECTURE

      public static final LearningResourceType LECTURE
      The learning resource is a lecture.
    • UNKNOWN

      public static final LearningResourceType UNKNOWN
      The learning resource type is unknown.
  • Method Details

    • values

      public static LearningResourceType[] 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

      public static LearningResourceType valueOf(String name)
      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 name
      NullPointerException - if the argument is null