Enum Class RandomizationTiming

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

public enum RandomizationTiming extends Enum<RandomizationTiming>
Enum representing the possible values for randomizationTiming and selectionTiming, specifying when randomization and selection of child activities should occur. The following schema snippet defines the possible values for this type:

 <xs:simpleType name = "randomTimingType">
   <xs:restriction base = "xs:token">
     <xs:enumeration value = "never"/>
     <xs:enumeration value = "once"/>
     <xs:enumeration value = "onEachNewAttempt"/>
   </xs:restriction>
 </xs:simpleType>
 
  • Enum Constant Details

    • NEVER

      public static final RandomizationTiming NEVER
      The "never" value specifies that randomization or selection should never occur.
    • ONCE

      public static final RandomizationTiming ONCE
      The "once" value specifies that randomization or selection should occur once.
    • ON_EACH_NEW_ATTEMPT

      public static final RandomizationTiming ON_EACH_NEW_ATTEMPT
      The "onEachNewAttempt" value specifies that randomization or selection should occur on each new attempt.
    • UNKNOWN

      public static final RandomizationTiming UNKNOWN
      The "unknown" value is used when the randomization timing type is not specified or is not recognized.
  • Method Details

    • values

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