Enum Class Kind
- All Implemented Interfaces:
Serializable,Comparable<Kind>,Constable
The kind of relation between the learning object and the related resource. The following schema
snippet shows the kind element:
<xs:simpleType name="kindValues">
<xs:restriction base="xs:token">
<xs:enumeration value="ispartof"/>
<xs:enumeration value="haspart"/>
<xs:enumeration value="isversionof"/>
<xs:enumeration value="hasversion"/>
<xs:enumeration value="isformatof"/>
<xs:enumeration value="hasformat"/>
<xs:enumeration value="references"/>
<xs:enumeration value="isreferencedby"/>
<xs:enumeration value="isbasedon"/>
<xs:enumeration value="isbasisfor"/>
<xs:enumeration value="requires"/>
<xs:enumeration value="isrequiredby"/>
</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 learning object has a format that's the related resource.The learning object has a part that's the related resource.The learning object has a version that's the related resource.The learning object is based on the related resource.The learning object is the basis for the related resource.The learning object is in the same format as the related resource.The learning object is part of the related resource.The learning object is referenced by the related resource.The learning object is required by the related resource.The learning object is a version of the related resource.The learning object references the related resource.The learning object requires the related resource.The kind of relation between the learning object and the related resource is unknown. -
Method Summary
-
Enum Constant Details
-
IS_PART_OF
The learning object is part of the related resource. -
HAS_PART
The learning object has a part that's the related resource. -
IS_VERSION_OF
The learning object is a version of the related resource. -
HAS_VERSION
The learning object has a version that's the related resource. -
IS_FORMAT_OF
The learning object is in the same format as the related resource. -
HAS_FORMAT
The learning object has a format that's the related resource. -
REFERENCES
The learning object references the related resource. -
IS_REFERENCED_BY
The learning object is referenced by the related resource. -
IS_BASED_ON
The learning object is based on the related resource. -
IS_BASIS_FOR
The learning object is the basis for the related resource. -
REQUIRES
The learning object requires the related resource. -
IS_REQUIRED_BY
The learning object is required by the related resource. -
UNKNOWN
The kind of relation between the learning object and the related resource 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
-