Class DeliveryControls
java.lang.Object
dev.jcputney.elearning.parser.input.scorm2004.ims.ss.sequencing.DeliveryControls
- All Implemented Interfaces:
Serializable
Represents the delivery controls for a learning activity within the SCORM IMS Simple Sequencing
(IMSSS) schema. Delivery controls define the settings that influence how an activity's completion
and objective statuses are managed by the content itself, providing options for controlling
tracking and assessment behaviors.
Delivery controls are primarily used to configure how the activity interacts with the learner's progress and achievement, allowing the activity to automatically set completion and objective statuses based on predefined rules or on data provided by the content package.
Key configurations include:
- Tracking the activity –- determines if learner progress should be monitored.
- Completion set by content –- allows the content to control whether the activity is marked as complete.
- Objective set by content –- enables the content to set whether objectives are satisfied.
The IMSSS namespace is specified by IMSSS.NAMESPACE_URI, and this class aligns with
SCORM 2004 standards for sequencing and navigation.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanChecks whether the completion status is determined by content.booleanChecks whether the objective status is determined by content.booleanIndicates whether the delivery is tracked.voidsetCompletionSetByContent(boolean completionSetByContent) Sets whether the completion status is determined by content.voidsetObjectiveSetByContent(boolean objectiveSetByContent) Sets whether the objective status is determined by content.voidsetTracked(boolean tracked) Sets the tracking status of the delivery.
-
Constructor Details
-
DeliveryControls
public DeliveryControls()Constructs an instance of the DeliveryControls class.This is a default no-operation constructor that initializes a new instance of the DeliveryControls class without setting any specific properties or performing any additional operations.
-
-
Method Details
-
isTracked
public boolean isTracked()Indicates whether the delivery is tracked.- Returns:
- true if the delivery is tracked, false otherwise.
-
setTracked
public void setTracked(boolean tracked) Sets the tracking status of the delivery.- Parameters:
tracked- a boolean value indicating whether the delivery should be tracked (true) or not (false)
-
isCompletionSetByContent
public boolean isCompletionSetByContent()Checks whether the completion status is determined by content.- Returns:
- true if the completion status is set by content, false otherwise.
-
setCompletionSetByContent
public void setCompletionSetByContent(boolean completionSetByContent) Sets whether the completion status is determined by content.- Parameters:
completionSetByContent- a boolean value indicating if the completion status is set by content (true) or not (false)
-
isObjectiveSetByContent
public boolean isObjectiveSetByContent()Checks whether the objective status is determined by content.- Returns:
- true if the objective status is set by content, false otherwise.
-
setObjectiveSetByContent
public void setObjectiveSetByContent(boolean objectiveSetByContent) Sets whether the objective status is determined by content.- Parameters:
objectiveSetByContent- a boolean value indicating if the objective status is set by content (true) or not (false)
-
equals
-
hashCode
public int hashCode()
-