Enum Class ChildActivitySet

java.lang.Object
java.lang.Enum<ChildActivitySet>
dev.jcputney.elearning.parser.input.scorm2004.ims.ss.types.ChildActivitySet
All Implemented Interfaces:
Serializable, Comparable<ChildActivitySet>, Constable

public enum ChildActivitySet extends Enum<ChildActivitySet>
Enum representing the possible values for childActivitySet, specifying the set of child activities to consider when evaluating a rollup rule. The following schema snippet defines the possible values for this type:

  <xs:simpleType name = "childActivityType">
 		<xs:restriction base = "xs:token">
 			<xs:enumeration value = "all"/>
 			<xs:enumeration value = "any"/>
 			<xs:enumeration value = "none"/>
 			<xs:enumeration value = "atLeastCount"/>
 			<xs:enumeration value = "atLeastPercent"/>
 		</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 "all" value specifies that all child activities must be considered when evaluating the rollup rule.
    The "any" value specifies that any child activity may be considered when evaluating the rollup rule.
    The "atLeastCount" value specifies that at least a specified number of child activities must be considered when evaluating the rollup rule.
    The "atLeastPercent" value specifies that at least a specified percentage of child activities must be considered when evaluating the rollup rule.
    The "none" value specifies that no child activities should be considered when evaluating the rollup rule.
    The "unknown" value is used when the child activity set is not specified or is not recognized.
  • Method Summary

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

    • ALL

      public static final ChildActivitySet ALL
      The "all" value specifies that all child activities must be considered when evaluating the rollup rule.
    • ANY

      public static final ChildActivitySet ANY
      The "any" value specifies that any child activity may be considered when evaluating the rollup rule.
    • NONE

      public static final ChildActivitySet NONE
      The "none" value specifies that no child activities should be considered when evaluating the rollup rule.
    • AT_LEAST_COUNT

      public static final ChildActivitySet AT_LEAST_COUNT
      The "atLeastCount" value specifies that at least a specified number of child activities must be considered when evaluating the rollup rule.
    • AT_LEAST_PERCENT

      public static final ChildActivitySet AT_LEAST_PERCENT
      The "atLeastPercent" value specifies that at least a specified percentage of child activities must be considered when evaluating the rollup rule.
    • UNKNOWN

      public static final ChildActivitySet UNKNOWN
      The "unknown" value is used when the child activity set is not specified or is not recognized. This value may be used as a default or fallback option.
  • Method Details

    • values

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