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

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

   <xs:simpleType name="statusValues">
      <xs:restriction base="xs:token">
         <xs:enumeration value="draft"/>
         <xs:enumeration value="final"/>
         <xs:enumeration value="revised"/>
         <xs:enumeration value="unavailable"/>
      </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 "draft" value specifies that the learning object is in draft status.
    The "final" value specifies that the learning object is in final status.
    The "revised" value specifies that the learning object is in revised status.
    The "unavailable" value specifies that the learning object is in unavailable status.
    The "unknown" value specifies that the status of the learning object is unknown.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Status
    Returns the enum constant of this class with the specified name.
    static Status[]
    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

    • DRAFT

      public static final Status DRAFT
      The "draft" value specifies that the learning object is in draft status.
    • FINAL

      public static final Status FINAL
      The "final" value specifies that the learning object is in final status.
    • REVISED

      public static final Status REVISED
      The "revised" value specifies that the learning object is in revised status.
    • UNAVAILABLE

      public static final Status UNAVAILABLE
      The "unavailable" value specifies that the learning object is in unavailable status.
    • UNKNOWN

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

    • values

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