Enum Class Status
- All Implemented Interfaces:
Serializable,Comparable<Status>,Constable
Enum representing the possible values for
status in a LOM element, specifying the
status of the learning object. The following schema snippet defines the possible values:
<xs:simpleType name="statusValues">
<xs:restriction base="xs:token">
<xs:enumeration value="draft"/>
<xs:enumeration value="final"/>
<xs:enumeration value="revised"/>
<xs:enumeration value="unavailable"/>
</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 "draft" value specifies that the learning object is in draft status.The "final" value specifies that the learning object is in final status.The "revised" value specifies that the learning object is in revised status.The "unavailable" value specifies that the learning object is in unavailable status.The "unknown" value specifies that the status of the learning object is unknown. -
Method Summary
-
Enum Constant Details
-
DRAFT
The "draft" value specifies that the learning object is in draft status. -
FINAL
The "final" value specifies that the learning object is in final status. -
REVISED
The "revised" value specifies that the learning object is in revised status. -
UNAVAILABLE
The "unavailable" value specifies that the learning object is in unavailable status. -
UNKNOWN
The "unknown" value specifies that the status of the learning object 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
-