Enum Class CompletionStatusType

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

public enum CompletionStatusType extends Enum<CompletionStatusType>

Enum representing the completionStatusType simple type.

The following schema snippet defines the possible values:


 <xs:simpleType name="completionStatusType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="completed" />
     <xs:enumeration value="incomplete" />
     <xs:enumeration value="browsed" />
     <xs:enumeration value="not attempted" />
     <xs:enumeration value="unknown" />
   </xs:restriction>
 </xs:simpleType>
 
  • Enum Constant Details

    • COMPLETED

      public static final CompletionStatusType COMPLETED
      The "completed" value indicates that the learning object has been completed.
    • INCOMPLETE

      public static final CompletionStatusType INCOMPLETE
      The "incomplete" value indicates that the learning object has not been fully completed.
    • BROWSED

      public static final CompletionStatusType BROWSED
      The "browsed" value indicates that the learning object has been browsed but not necessarily completed.
    • NOT_ATTEMPTED

      public static final CompletionStatusType NOT_ATTEMPTED
      The "not attempted" value indicates that the learning object has not been attempted.
    • UNKNOWN

      public static final CompletionStatusType UNKNOWN
      The "unknown" value indicates that the completion status is unknown.
  • Method Details

    • values

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