Enum Class CompletionStatusType
java.lang.Object
java.lang.Enum<CompletionStatusType>
dev.jcputney.elearning.parser.input.lom.properties.CompletionStatusType
- All Implemented Interfaces:
Serializable,Comparable<CompletionStatusType>,Constable
Enum representing the completionStatusType simple type.
The following schema snippet defines the possible values:
<xs:simpleType name="completionStatusType">
<xs:restriction base="xs:string">
<xs:enumeration value="completed" />
<xs:enumeration value="incomplete" />
<xs:enumeration value="browsed" />
<xs:enumeration value="not attempted" />
<xs:enumeration value="unknown" />
</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 "browsed" value indicates that the learning object has been browsed but not necessarily completed.The "completed" value indicates that the learning object has been completed.The "incomplete" value indicates that the learning object has not been fully completed.The "not attempted" value indicates that the learning object has not been attempted.The "unknown" value indicates that the completion status is unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic CompletionStatusTypeReturns the enum constant of this class with the specified name.static CompletionStatusType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPLETED
The "completed" value indicates that the learning object has been completed. -
INCOMPLETE
The "incomplete" value indicates that the learning object has not been fully completed. -
BROWSED
The "browsed" value indicates that the learning object has been browsed but not necessarily completed. -
NOT_ATTEMPTED
The "not attempted" value indicates that the learning object has not been attempted. -
UNKNOWN
The "unknown" value indicates that the completion status is unknown.
-
-
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
-