Enum Class RollupConsiderationType
java.lang.Object
java.lang.Enum<RollupConsiderationType>
dev.jcputney.elearning.parser.input.scorm2004.adl.types.RollupConsiderationType
- All Implemented Interfaces:
Serializable,Comparable<RollupConsiderationType>,Constable
Enum for rollup consideration types, with allowed values as per the schema. The following schema
snippet defines the possible values:
<xs:simpleType name = "rollupConsiderationType">
<xs:restriction base = "xs:token">
<xs:enumeration value = "always"/>
<xs:enumeration value = "ifAttempted"/>
<xs:enumeration value = "ifNotSkipped"/>
<xs:enumeration value = "ifNotSuspended"/>
</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 ConstantDescriptionAlways consider the rollup.Consider the rollup if it's been attempted.Consider the rollup if it hasn't been skipped.Consider the rollup if it hasn't been suspended.Unknown value, used for deserialization when the value isn't recognized. -
Method Summary
Modifier and TypeMethodDescriptionstatic RollupConsiderationTypeReturns the enum constant of this class with the specified name.static RollupConsiderationType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
Always consider the rollup. -
IF_ATTEMPTED
Consider the rollup if it's been attempted. -
IF_NOT_SKIPPED
Consider the rollup if it hasn't been skipped. -
IF_NOT_SUSPENDED
Consider the rollup if it hasn't been suspended. -
UNKNOWN
Unknown value, used for deserialization when the value isn't 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
-