Class RollupConsiderations
java.lang.Object
dev.jcputney.elearning.parser.input.scorm2004.adl.sequencing.RollupConsiderations
- All Implemented Interfaces:
Serializable
Represents the rollupConsiderationsType complex type, defining attributes for rollup conditions.
The following schema snippet shows the structure of the rollupConsiderationsType element:
<xs:complexType name = "rollupConsiderationsType">
<xs:attribute name = "requiredForSatisfied" default = "always" type = "rollupConsiderationType"/>
<xs:attribute name = "requiredForNotSatisfied" default = "always" type = "rollupConsiderationType"/>
<xs:attribute name = "requiredForCompleted" default = "always" type = "rollupConsiderationType"/>
<xs:attribute name = "requiredForIncomplete" default = "always" type = "rollupConsiderationType"/>
<xs:attribute name = "measureSatisfactionIfActive" default = "true" type = "xs:boolean"/>
</xs:complexType>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for the RollupConsiderations class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the rollup consideration type required for marking completion.Retrieves the rollup consideration type required for marking incompletion.Retrieves the rollup consideration type required for non-satisfaction.Retrieves the rollup consideration type required for satisfaction.inthashCode()booleanDetermines whether satisfaction measurement is enabled when active.voidsetMeasureSatisfactionIfActive(boolean measureSatisfactionIfActive) Sets whether satisfaction measurement is enabled when active.voidsetRequiredForCompleted(RollupConsiderationType requiredForCompleted) Sets the rollup consideration type required for marking completion.voidsetRequiredForIncomplete(RollupConsiderationType requiredForIncomplete) Sets the rollup consideration type required for marking incompletion.voidsetRequiredForNotSatisfied(RollupConsiderationType requiredForNotSatisfied) Sets the rollup consideration type required for marking non-satisfaction.voidsetRequiredForSatisfied(RollupConsiderationType requiredForSatisfied) Sets the rollup consideration type required for marking satisfaction.
-
Constructor Details
-
RollupConsiderations
public RollupConsiderations()Default constructor for the RollupConsiderations class. Initializes an instance of the class with no specific configuration. This constructor performs no operations (no-op).
-
-
Method Details
-
getRequiredForSatisfied
Retrieves the rollup consideration type required for satisfaction.- Returns:
- the RollupConsiderationType that specifies the condition required for satisfaction.
-
setRequiredForSatisfied
Sets the rollup consideration type required for marking satisfaction.- Parameters:
requiredForSatisfied- the RollupConsiderationType that specifies the condition required for satisfaction. It determines the criteria under which a rollup satisfaction is considered.
-
getRequiredForNotSatisfied
Retrieves the rollup consideration type required for non-satisfaction.- Returns:
- the RollupConsiderationType that specifies the condition required for determining non-satisfaction.
-
setRequiredForNotSatisfied
Sets the rollup consideration type required for marking non-satisfaction.- Parameters:
requiredForNotSatisfied- the RollupConsiderationType that specifies the condition required for determining non-satisfaction. It defines the criteria under which a rollup non-satisfaction is considered.
-
getRequiredForCompleted
Retrieves the rollup consideration type required for marking completion.- Returns:
- the RollupConsiderationType that specifies the condition required for determining completion.
-
setRequiredForCompleted
Sets the rollup consideration type required for marking completion.- Parameters:
requiredForCompleted- the RollupConsiderationType that specifies the condition required for determining completion. It defines the criteria under which a rollup completion is considered.
-
getRequiredForIncomplete
Retrieves the rollup consideration type required for marking incompletion.- Returns:
- the RollupConsiderationType that specifies the condition required for determining incompletion.
-
setRequiredForIncomplete
Sets the rollup consideration type required for marking incompletion.- Parameters:
requiredForIncomplete- the RollupConsiderationType that specifies the condition required for determining incompletion. It defines the criteria under which a rollup incompletion is considered.
-
isMeasureSatisfactionIfActive
public boolean isMeasureSatisfactionIfActive()Determines whether satisfaction measurement is enabled when active.- Returns:
- true if satisfaction measurement is enabled when active, false otherwise.
-
setMeasureSatisfactionIfActive
public void setMeasureSatisfactionIfActive(boolean measureSatisfactionIfActive) Sets whether satisfaction measurement is enabled when active.- Parameters:
measureSatisfactionIfActive- a boolean value indicating whether satisfaction measurement should be enabled when active. If true, satisfaction measurement will be active; otherwise, it will not be measured.
-
equals
-
hashCode
public int hashCode()
-