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
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>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe "all" value specifies that all conditions must be met for the rule to be satisfied.The "any" value specifies that any condition may be met for the rule to be satisfied.The "unknown" value is used when the condition combination type is not specified or is not recognized. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConditionCombinationTypeReturns the enum constant of this class with the specified name.static ConditionCombinationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL
The "all" value specifies that all conditions must be met for the rule to be satisfied. -
ANY
The "any" value specifies that any condition may be met for the rule to be satisfied. -
UNKNOWN
The "unknown" value is used when the condition combination 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
-