Enum Class ConditionOperatorType

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

public enum ConditionOperatorType extends Enum<ConditionOperatorType>
Enum representing the possible operators for evaluating a rollup condition. These operators define how the rollup condition is applied during evaluation. The following schema snippet defines the possible values:

  <xs:simpleType name = "conditionOperatorType">
 		<xs:restriction base = "xs:token">
 			<xs:enumeration value = "not"/>
 			<xs:enumeration value = "noOp"/>
 		</xs:restriction>
 	</xs:simpleType>
 
  • Enum Constant Details

    • NOT

      public static final ConditionOperatorType NOT
      The "not" operator negates the result of the condition.
    • NO_OP

      public static final ConditionOperatorType NO_OP
      The "noOp" operator does not modify the result of the condition.
    • UNKNOWN

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

    • values

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