Enum Class InteractivityType

java.lang.Object
java.lang.Enum<InteractivityType>
dev.jcputney.elearning.parser.input.lom.types.InteractivityType
All Implemented Interfaces:
Serializable, Comparable<InteractivityType>, Constable

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

    • ACTIVE

      public static final InteractivityType ACTIVE
      The learning resource is interactive and requires user input.
    • EXPOSITIVE

      public static final InteractivityType EXPOSITIVE
      The learning resource is expositive and doesn't require user input.
    • MIXED

      public static final InteractivityType MIXED
      The learning resource is a mix of both active and expositive types.
    • UNKNOWN

      public static final InteractivityType UNKNOWN
      The interactivity type of the learning resource is unknown.
  • Method Details

    • values

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