Enum Class Purpose

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

public enum Purpose extends Enum<Purpose>
The purpose of the learning object. The following schema snippet defines the Purpose type:

   <xs:simpleType name="purposeValues">
      <xs:restriction base="xs:token">
         <xs:enumeration value="discipline"/>
         <xs:enumeration value="idea"/>
         <xs:enumeration value="prerequisite"/>
         <xs:enumeration value="educational objective"/>
         <xs:enumeration value="accessibility restrictions"/>
         <xs:enumeration value="educational level"/>
         <xs:enumeration value="skill level"/>
         <xs:enumeration value="security level"/>
         <xs:enumeration value="competency"/>
      </xs:restriction>
   </xs:simpleType>
 
  • Enum Constant Details

    • DISCIPLINE

      public static final Purpose DISCIPLINE
      The purpose of the learning object is to provide a discipline.
    • IDEA

      public static final Purpose IDEA
      The purpose of the learning object is to provide an idea.
    • PREREQUISITE

      public static final Purpose PREREQUISITE
      The purpose of the learning object is to provide a prerequisite.
    • EDUCATIONAL_OBJECTIVE

      public static final Purpose EDUCATIONAL_OBJECTIVE
      The purpose of the learning object is to provide an educational objective.
    • ACCESSIBILITY_RESTRICTIONS

      public static final Purpose ACCESSIBILITY_RESTRICTIONS
      The purpose of the learning object is to provide accessibility restrictions.
    • EDUCATIONAL_LEVEL

      public static final Purpose EDUCATIONAL_LEVEL
      The purpose of the learning object is to provide an educational level.
    • SKILL_LEVEL

      public static final Purpose SKILL_LEVEL
      The purpose of the learning object is to provide a skill level.
    • SECURITY_LEVEL

      public static final Purpose SECURITY_LEVEL
      The purpose of the learning object is to provide a security level.
    • COMPETENCY

      public static final Purpose COMPETENCY
      The purpose of the learning object is to provide a competency.
    • UNKNOWN

      public static final Purpose UNKNOWN
      The purpose of the learning object is unknown.
  • Method Details

    • values

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