Class SequencingCollection
java.lang.Object
dev.jcputney.elearning.parser.input.scorm2004.ims.ss.sequencing.SequencingCollection
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionDefault constructor for theSequencingCollectionclass. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the list ofSequencingelements associated with this sequencing collection.inthashCode()resolveDeliveryControlsById(String sequenceId) Resolves and retrieves theDeliveryControlsassociated with the given sequencing identifier.voidsetSequencingList(List<Sequencing> sequencingList) Sets the list ofSequencingelements for the sequencing collection.
-
Constructor Details
-
SequencingCollection
public SequencingCollection()Default constructor for theSequencingCollectionclass.This constructor initializes an empty
SequencingCollectioninstance. It does not perform any additional setup or initialization.
-
-
Method Details
-
getSequencingList
Retrieves the list ofSequencingelements 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
ListofSequencingobjects representing the sequencing definitions within the collection; may returnnullif the sequencing list is uninitialized.
-
setSequencingList
Sets the list ofSequencingelements for the sequencing collection. EachSequencingelement 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 newListofSequencingobjects to associate with this sequencing collection. May be empty ornullif no sequencing elements are defined.
-
resolveDeliveryControlsById
Resolves and retrieves theDeliveryControlsassociated with the given sequencing identifier. This method searches through the list ofSequencingelements 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
DeliveryControlsassociated with the specified sequence identifier, or null if no matching sequencing element or delivery controls are found.
-
equals
-
hashCode
public int hashCode()
-