Enum Class Structure

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

public enum Structure extends Enum<Structure>
Enum representing the possible values for structure in a LOM element, specifying the structure of the learning object. The following schema snippet defines the possible values:

   <xs:simpleType name="structureValues">
      <xs:restriction base="xs:token">
         <xs:enumeration value="atomic"/>
         <xs:enumeration value="collection"/>
         <xs:enumeration value="networked"/>
         <xs:enumeration value="hierarchical"/>
         <xs:enumeration value="linear"/>
      </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
    Enum Constant
    Description
    The "atomic" value specifies that the learning object is an atomic unit, not divisible into smaller parts.
    The "collection" value specifies that the learning object is a collection of smaller units, each with its own metadata.
    The "hierarchical" value specifies that the learning object is a hierarchical structure, with parent-child relationships between nodes.
    The "linear" value specifies that the learning object is a linear structure, with a single path through the content.
    The "networked" value specifies that the learning object is a networked structure, with multiple nodes and connections between them.
    The "unknown" value specifies that the structure of the learning object is unknown.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Structure
    Returns the enum constant of this class with the specified name.
    static Structure[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ATOMIC

      public static final Structure ATOMIC
      The "atomic" value specifies that the learning object is an atomic unit, not divisible into smaller parts.
    • COLLECTION

      public static final Structure COLLECTION
      The "collection" value specifies that the learning object is a collection of smaller units, each with its own metadata.
    • NETWORKED

      public static final Structure NETWORKED
      The "networked" value specifies that the learning object is a networked structure, with multiple nodes and connections between them.
    • HIERARCHICAL

      public static final Structure HIERARCHICAL
      The "hierarchical" value specifies that the learning object is a hierarchical structure, with parent-child relationships between nodes.
    • LINEAR

      public static final Structure LINEAR
      The "linear" value specifies that the learning object is a linear structure, with a single path through the content.
    • UNKNOWN

      public static final Structure UNKNOWN
      The "unknown" value specifies that the structure of the learning object is unknown.
  • Method Details

    • values

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