Class Scorm2004Objectives
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionDefault constructor for the Scorm2004Objectives class.Scorm2004Objectives(Scorm2004Objective primaryObjective, List<Scorm2004Objective> objectiveList) Constructs a `Scorm2004Objectives` object with a primary objective and a list of additional objectives. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the list of SCORM 2004 objectives associated with this instance.Retrieves the primary objective associated with the instance.inthashCode()voidsetObjectiveList(List<Scorm2004Objective> objectiveList) Sets the list of SCORM 2004 objectives associated with this instance.voidsetPrimaryObjective(Scorm2004Objective primaryObjective) Sets the primary objective for the `Scorm2004Objectives` instance.
-
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
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
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
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
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
-
hashCode
public int hashCode()
-