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
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>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ConditionOperatorTypeReturns the enum constant of this class with the specified name.static ConditionOperatorType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NOT
The "not" operator negates the result of the condition. -
NO_OP
The "noOp" operator does not modify the result of the condition. -
UNKNOWN
The "unknown" operator is used when the condition operator type is not specified or is not recognized.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-