Enum Class ConditionCombinationType

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

public enum ConditionCombinationType extends Enum<ConditionCombinationType>
Enum representing the possible ways to combine multiple conditions within a rollup or sequencing rule.

This attribute specifies whether all specified conditions must be met ("all") or if meeting any single condition is sufficient ("any").

The following schema snippet defines the possible values:

  <xs:simpleType name = "conditionCombinationType">
 		<xs:restriction base = "xs:token">
 			<xs:enumeration value = "all"/>
 			<xs:enumeration value = "any"/>
 		</xs:restriction>
 	</xs:simpleType>
 
  • Enum Constant Details

    • ALL

      public static final ConditionCombinationType ALL
      The "all" value specifies that all conditions must be met for the rule to be satisfied.
    • ANY

      public static final ConditionCombinationType ANY
      The "any" value specifies that any condition may be met for the rule to be satisfied.
    • UNKNOWN

      public static final ConditionCombinationType UNKNOWN
      The "unknown" value is used when the condition combination type is not specified or is not recognized.
  • Method Details

    • values

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