Enum Class StatusRollupType

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

public enum StatusRollupType extends Enum<StatusRollupType>

Enum representing the statusRollupType simple type.

The following schema snippet defines the possible values:


 <xs:simpleType name="statusRollupType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="status provided by course" />
     <xs:enumeration value="complete when all units complete" />
     <xs:enumeration value="complete when all units satisfactorily complete" />
     <xs:enumeration value="complete when threshold score is met" />
   </xs:restriction>
 </xs:simpleType>
 
  • Enum Constant Details

    • STATUS_PROVIDED_BY_COURSE

      public static final StatusRollupType STATUS_PROVIDED_BY_COURSE
      The course provides the status rollup type.
    • COMPLETE_WHEN_ALL_UNITS_COMPLETE

      public static final StatusRollupType COMPLETE_WHEN_ALL_UNITS_COMPLETE
      The status rollup type is complete when all units complete.
    • COMPLETE_WHEN_ALL_UNITS_SATISFACTORILY_COMPLETE

      public static final StatusRollupType COMPLETE_WHEN_ALL_UNITS_SATISFACTORILY_COMPLETE
      The status rollup type is complete when all units satisfactorily complete.
    • COMPLETE_WHEN_THRESHOLD_SCORE_IS_MET

      public static final StatusRollupType COMPLETE_WHEN_THRESHOLD_SCORE_IS_MET
      The status rollup type is complete when the threshold score is met.
  • Method Details

    • values

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