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

public final class Scorm2004Objectives extends Object implements Serializable
Represents the learning objectives for an activity within the SCORM IMS Simple Sequencing (IMSSS) schema. Objectives define specific learning goals or criteria that are associated with a learning activity and may contribute to the activity’s completion and satisfaction status.

The objectives for an activity are classified into a primary objective, which contributes to rollup and tracking of learner progress, and additional objectives that may serve as supporting or secondary goals.

Objectives typically include settings such as the minimum measure required for success, satisfaction criteria, and mappings to global objectives. These settings allow for detailed control over how progress is assessed and reported in the LMS.

The IMSSS namespace is specified by IMSSS.NAMESPACE_URI, following the SCORM 2004 standards for sequencing and navigation.

See Also:
  • Constructor Details

    • Scorm2004Objectives

      public Scorm2004Objectives(Scorm2004Objective primaryObjective, List<Scorm2004Objective> objectiveList)
      Constructs a `Scorm2004Objectives` object with a primary objective and a list of additional objectives.
      Parameters:
      primaryObjective - the primary learning objective for this instance, represented as a Scorm2004Objective object.
      objectiveList - a list of additional learning objectives associated with this instance, provided as a List of Scorm2004Objective objects.
    • Scorm2004Objectives

      public Scorm2004Objectives()
      Default constructor for the Scorm2004Objectives class.

      This constructor initializes an instance of Scorm2004Objectives with no primary objective or additional objectives. Typically used when initial values will be set manually after instantiation.

  • Method Details

    • getPrimaryObjective

      public Scorm2004Objective getPrimaryObjective()
      Retrieves the primary objective associated with the instance.
      Returns:
      The primary objective as an instance of Scorm2004Objective. Returns null if no primary objective is defined.
    • setPrimaryObjective

      public void setPrimaryObjective(Scorm2004Objective primaryObjective)
      Sets the primary objective for the `Scorm2004Objectives` instance.
      Parameters:
      primaryObjective - the primary learning objective to be associated with this instance, provided as an instance of `Scorm2004Objective`
    • getObjectiveList

      public List<Scorm2004Objective> getObjectiveList()
      Retrieves the list of SCORM 2004 objectives associated with this instance.
      Returns:
      A List of Scorm2004Objective objects representing the objectives. Returns an empty list if no objectives are defined.
    • setObjectiveList

      public void setObjectiveList(List<Scorm2004Objective> objectiveList)
      Sets the list of SCORM 2004 objectives associated with this instance.
      Parameters:
      objectiveList - a List of Scorm2004Objective objects to be assigned as the objectives for this instance.
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object