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

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

    Modifier and Type
    Method
    Description
    static Kind
    Returns the enum constant of this class with the specified name.
    static Kind[]
    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

    • IS_PART_OF

      public static final Kind IS_PART_OF
      The learning object is part of the related resource.
    • HAS_PART

      public static final Kind HAS_PART
      The learning object has a part that's the related resource.
    • IS_VERSION_OF

      public static final Kind IS_VERSION_OF
      The learning object is a version of the related resource.
    • HAS_VERSION

      public static final Kind HAS_VERSION
      The learning object has a version that's the related resource.
    • IS_FORMAT_OF

      public static final Kind IS_FORMAT_OF
      The learning object is in the same format as the related resource.
    • HAS_FORMAT

      public static final Kind HAS_FORMAT
      The learning object has a format that's the related resource.
    • REFERENCES

      public static final Kind REFERENCES
      The learning object references the related resource.
    • IS_REFERENCED_BY

      public static final Kind IS_REFERENCED_BY
      The learning object is referenced by the related resource.
    • IS_BASED_ON

      public static final Kind IS_BASED_ON
      The learning object is based on the related resource.
    • IS_BASIS_FOR

      public static final Kind IS_BASIS_FOR
      The learning object is the basis for the related resource.
    • REQUIRES

      public static final Kind REQUIRES
      The learning object requires the related resource.
    • IS_REQUIRED_BY

      public static final Kind IS_REQUIRED_BY
      The learning object is required by the related resource.
    • UNKNOWN

      public static final Kind UNKNOWN
      The kind of relation between the learning object and the related resource is unknown.
  • Method Details

    • values

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