java.lang.Object
dev.jcputney.elearning.parser.input.scorm2004.ims.ss.sequencing.SequencingCollection
All Implemented Interfaces:
Serializable

public final class SequencingCollection extends Object implements Serializable
Represents a collection of sequencing elements within the SCORM IMS Simple Sequencing schema. A sequencing collection groups multiple Sequencing definitions, each of which can specify rules, objectives, and rollup behaviors for a learning activity.
See Also:
  • Constructor Details

    • SequencingCollection

      public SequencingCollection()
      Default constructor for the SequencingCollection class.

      This constructor initializes an empty SequencingCollection instance. It does not perform any additional setup or initialization.

  • Method Details

    • getSequencingList

      public List<Sequencing> getSequencingList()
      Retrieves the list of Sequencing elements associated with this sequencing collection. Each sequencing element defines navigation, rollup, and tracking settings for a specific set of learning activities. The list may be empty if no sequencing elements are defined.
      Returns:
      a List of Sequencing objects representing the sequencing definitions within the collection; may return null if the sequencing list is uninitialized.
    • setSequencingList

      public void setSequencingList(List<Sequencing> sequencingList)
      Sets the list of Sequencing elements for the sequencing collection. Each Sequencing element defines navigation, rollup, and tracking settings for a specific set of learning activities. This method replaces any existing list of sequencing elements with the provided one.
      Parameters:
      sequencingList - the new List of Sequencing objects to associate with this sequencing collection. May be empty or null if no sequencing elements are defined.
    • resolveDeliveryControlsById

      public DeliveryControls resolveDeliveryControlsById(String sequenceId)
      Resolves and retrieves the DeliveryControls associated with the given sequencing identifier. This method searches through the list of Sequencing elements within the sequencing collection and returns the delivery controls of the matching sequence, if found.
      Parameters:
      sequenceId - the identifier of the sequencing element for which the delivery controls need to be resolved. Must not be null or blank.
      Returns:
      the DeliveryControls associated with the specified sequence identifier, or null if no matching sequencing element or delivery controls are found.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object