Enum Class Role
- All Implemented Interfaces:
Serializable,Comparable<Role>,Constable
Enum representing the possible values for
role in a LOM Contribute element,
specifying the role of the entity contributing to the resource. The following schema snippet
defines the possible values:
<xs:simpleType name = "roleType">
<xs:restriction base = "xs:token">
<xs:enumeration value = "author"/>
<xs:enumeration value = "publisher"/>
<xs:enumeration value = "unknown"/>
<xs:enumeration value = "initiator"/>
<xs:enumeration value = "terminator"/>
<xs:enumeration value = "validator"/>
<xs:enumeration value = "editor"/>
<xs:enumeration value = "graphical designer"/>
<xs:enumeration value = "technical implementer"/>
<xs:enumeration value = "content provider"/>
<xs:enumeration value = "technical validator"/>
<xs:enumeration value = "educational validator"/>
<xs:enumeration value = "script writer"/>
<xs:enumeration value = "instructional designer"/>
<xs:enumeration value = "subject matter expert"/>
</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 "author" value specifies that the entity is the author of the resource.The "content provider" value specifies that the entity provided the content for the resource.The "editor" value specifies that the entity edited the resource.The "educational validator" value specifies that the entity validated the educational aspects of the resource.The "graphical designer" value specifies that the entity designed the graphics for the resource.The "initiator" value specifies that the entity initiated the creation of the resource.The "instructional designer" value specifies that the entity designed the instructional aspects of the resource.The "publisher" value specifies that the entity is the publisher of the resource.The "script writer" value specifies that the entity wrote the script for the resource.The "subject-matter expert" value specifies that the entity is a subject-matter expert for the resource.The "technical implementer" value specifies that the entity implemented the technical aspects of the resource.The "technical validator" value specifies that the entity validated the technical aspects of the resource.The "terminator" value specifies that the entity terminated the creation of the resource.The "unknown" value specifies that the role of the entity is unknown.The "validator" value specifies that the entity validated the resource. -
Method Summary
-
Enum Constant Details
-
AUTHOR
The "author" value specifies that the entity is the author of the resource. -
PUBLISHER
The "publisher" value specifies that the entity is the publisher of the resource. -
UNKNOWN
The "unknown" value specifies that the role of the entity is unknown. -
INITIATOR
The "initiator" value specifies that the entity initiated the creation of the resource. -
TERMINATOR
The "terminator" value specifies that the entity terminated the creation of the resource. -
VALIDATOR
The "validator" value specifies that the entity validated the resource. -
EDITOR
The "editor" value specifies that the entity edited the resource. -
GRAPHICAL_DESIGNER
The "graphical designer" value specifies that the entity designed the graphics for the resource. -
TECHNICAL_IMPLEMENTER
The "technical implementer" value specifies that the entity implemented the technical aspects of the resource. -
CONTENT_PROVIDER
The "content provider" value specifies that the entity provided the content for the resource. -
TECHNICAL_VALIDATOR
The "technical validator" value specifies that the entity validated the technical aspects of the resource. -
EDUCATIONAL_VALIDATOR
The "educational validator" value specifies that the entity validated the educational aspects of the resource. -
SCRIPT_WRITER
The "script writer" value specifies that the entity wrote the script for the resource. -
INSTRUCTIONAL_DESIGNER
The "instructional designer" value specifies that the entity designed the instructional aspects of the resource. -
SUBJECT_MATTER_EXPERT
The "subject-matter expert" value specifies that the entity is a subject-matter expert for the resource.
-
-
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
-