Enum Class RollupConsiderationType

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

public enum RollupConsiderationType extends Enum<RollupConsiderationType>
Enum for rollup consideration types, with allowed values as per the schema. The following schema snippet defines the possible values:

   <xs:simpleType name = "rollupConsiderationType">
      <xs:restriction base = "xs:token">
         <xs:enumeration value = "always"/>
         <xs:enumeration value = "ifAttempted"/>
         <xs:enumeration value = "ifNotSkipped"/>
         <xs:enumeration value = "ifNotSuspended"/>
      </xs:restriction>
   </xs:simpleType>
 
  • Enum Constant Details

    • ALWAYS

      public static final RollupConsiderationType ALWAYS
      Always consider the rollup.
    • IF_ATTEMPTED

      public static final RollupConsiderationType IF_ATTEMPTED
      Consider the rollup if it's been attempted.
    • IF_NOT_SKIPPED

      public static final RollupConsiderationType IF_NOT_SKIPPED
      Consider the rollup if it hasn't been skipped.
    • IF_NOT_SUSPENDED

      public static final RollupConsiderationType IF_NOT_SUSPENDED
      Consider the rollup if it hasn't been suspended.
    • UNKNOWN

      public static final RollupConsiderationType UNKNOWN
      Unknown value, used for deserialization when the value isn't recognized.
  • Method Details

    • values

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