Enum Class ChildActivitySet
java.lang.Object
java.lang.Enum<ChildActivitySet>
dev.jcputney.elearning.parser.input.scorm2004.ims.ss.types.ChildActivitySet
- All Implemented Interfaces:
Serializable,Comparable<ChildActivitySet>,Constable
Enum representing the possible values for
childActivitySet, specifying the set of
child activities to consider when evaluating a rollup rule. The following schema snippet defines
the possible values for this type:
<xs:simpleType name = "childActivityType">
<xs:restriction base = "xs:token">
<xs:enumeration value = "all"/>
<xs:enumeration value = "any"/>
<xs:enumeration value = "none"/>
<xs:enumeration value = "atLeastCount"/>
<xs:enumeration value = "atLeastPercent"/>
</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 child activities must be considered when evaluating the rollup rule.The "any" value specifies that any child activity may be considered when evaluating the rollup rule.The "atLeastCount" value specifies that at least a specified number of child activities must be considered when evaluating the rollup rule.The "atLeastPercent" value specifies that at least a specified percentage of child activities must be considered when evaluating the rollup rule.The "none" value specifies that no child activities should be considered when evaluating the rollup rule.The "unknown" value is used when the child activity set is not specified or is not recognized. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChildActivitySetReturns the enum constant of this class with the specified name.static ChildActivitySet[]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 child activities must be considered when evaluating the rollup rule. -
ANY
The "any" value specifies that any child activity may be considered when evaluating the rollup rule. -
NONE
The "none" value specifies that no child activities should be considered when evaluating the rollup rule. -
AT_LEAST_COUNT
The "atLeastCount" value specifies that at least a specified number of child activities must be considered when evaluating the rollup rule. -
AT_LEAST_PERCENT
The "atLeastPercent" value specifies that at least a specified percentage of child activities must be considered when evaluating the rollup rule. -
UNKNOWN
The "unknown" value is used when the child activity set is not specified or is not recognized. This value may be used as a default or fallback option.
-
-
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
-