Enum Class AggregationLevel

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

public enum AggregationLevel extends Enum<AggregationLevel>
Enum representing the possible values for aggregationLevel in a LOM element, specifying the aggregation level of the learning object. The following schema snippet defines the possible values:

   <xs:simpleType name="aggregationLevelValues">
      <xs:restriction base="xs:token">
         <xs:enumeration value="1"/>
         <xs:enumeration value="2"/>
         <xs:enumeration value="3"/>
         <xs:enumeration value="4"/>
      </xs:restriction>
   </xs:simpleType>
 
  • Enum Constant Details

    • LEVEL_1

      public static final AggregationLevel LEVEL_1
      The aggregation level is 1.
    • LEVEL_2

      public static final AggregationLevel LEVEL_2
      The aggregation level is 2.
    • LEVEL_3

      public static final AggregationLevel LEVEL_3
      The aggregation level is 3.
    • LEVEL_4

      public static final AggregationLevel LEVEL_4
      The aggregation level is 4.
    • UNKNOWN

      public static final AggregationLevel UNKNOWN
      The aggregation level is unknown.
  • Method Details

    • values

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