java.lang.Object
java.lang.Enum<Role>
dev.jcputney.elearning.parser.input.lom.types.Role
All Implemented Interfaces:
Serializable, Comparable<Role>, Constable

public enum Role extends Enum<Role>
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 Constants
    Enum Constant
    Description
    The "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

    Modifier and Type
    Method
    Description
    static Role
    Returns the enum constant of this class with the specified name.
    static Role[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • AUTHOR

      public static final Role AUTHOR
      The "author" value specifies that the entity is the author of the resource.
    • PUBLISHER

      public static final Role PUBLISHER
      The "publisher" value specifies that the entity is the publisher of the resource.
    • UNKNOWN

      public static final Role UNKNOWN
      The "unknown" value specifies that the role of the entity is unknown.
    • INITIATOR

      public static final Role INITIATOR
      The "initiator" value specifies that the entity initiated the creation of the resource.
    • TERMINATOR

      public static final Role TERMINATOR
      The "terminator" value specifies that the entity terminated the creation of the resource.
    • VALIDATOR

      public static final Role VALIDATOR
      The "validator" value specifies that the entity validated the resource.
    • EDITOR

      public static final Role EDITOR
      The "editor" value specifies that the entity edited the resource.
    • GRAPHICAL_DESIGNER

      public static final Role GRAPHICAL_DESIGNER
      The "graphical designer" value specifies that the entity designed the graphics for the resource.
    • TECHNICAL_IMPLEMENTER

      public static final Role TECHNICAL_IMPLEMENTER
      The "technical implementer" value specifies that the entity implemented the technical aspects of the resource.
    • CONTENT_PROVIDER

      public static final Role CONTENT_PROVIDER
      The "content provider" value specifies that the entity provided the content for the resource.
    • TECHNICAL_VALIDATOR

      public static final Role TECHNICAL_VALIDATOR
      The "technical validator" value specifies that the entity validated the technical aspects of the resource.
    • EDUCATIONAL_VALIDATOR

      public static final Role EDUCATIONAL_VALIDATOR
      The "educational validator" value specifies that the entity validated the educational aspects of the resource.
    • SCRIPT_WRITER

      public static final Role SCRIPT_WRITER
      The "script writer" value specifies that the entity wrote the script for the resource.
    • INSTRUCTIONAL_DESIGNER

      public static final Role INSTRUCTIONAL_DESIGNER
      The "instructional designer" value specifies that the entity designed the instructional aspects of the resource.
    • SUBJECT_MATTER_EXPERT

      public static final Role SUBJECT_MATTER_EXPERT
      The "subject-matter expert" value specifies that the entity is a subject-matter expert for the resource.
  • Method Details

    • values

      public static Role[] 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

      public static Role valueOf(String name)
      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 name
      NullPointerException - if the argument is null