Enum Class IntendedEndUserRole

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

public enum IntendedEndUserRole extends Enum<IntendedEndUserRole>
The role of the end user in the context to which the learning object is intended to be delivered. The following schema snippet shows the intended end user role element:

   <xs:simpleType name="intendedEndUserRoleValues">
      <xs:restriction base="xs:token">
         <xs:enumeration value="teacher"/>
         <xs:enumeration value="author"/>
         <xs:enumeration value="learner"/>
         <xs:enumeration value="manager"/>
      </xs:restriction>
   </xs:simpleType>
 
  • Enum Constant Details

    • TEACHER

      public static final IntendedEndUserRole TEACHER
      The intended end user role is a teacher.
    • AUTHOR

      public static final IntendedEndUserRole AUTHOR
      The intended end user role is an author.
    • LEARNER

      public static final IntendedEndUserRole LEARNER
      The intended end user role is a learner.
    • MANAGER

      public static final IntendedEndUserRole MANAGER
      The intended end user role is a manager.
    • UNKNOWN

      public static final IntendedEndUserRole UNKNOWN
      The intended end user role is unknown.
  • Method Details

    • values

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