Class RollupConditions
java.lang.Object
dev.jcputney.elearning.parser.input.scorm2004.ims.ss.rollup.RollupConditions
- All Implemented Interfaces:
Serializable
Represents a set of conditions that control when a rollup rule should apply. Rollup conditions
define specific criteria based on the statuses of child activities, such as completion,
satisfaction, and other properties that affect the rollup logic.
Conditions can be combined based on the logic defined in conditionCombination,
allowing multiple criteria to be evaluated together.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the logical combination of conditions associated with this instance.Retrieves the list of rollup conditions associated with this instance.inthashCode()voidsetConditionCombination(String conditionCombination) Sets the logical combination of rollup conditions for this instance.voidsetRollupConditionList(List<RollupCondition> rollupConditionList) Sets the list of rollup conditions for this instance.
-
Constructor Details
-
RollupConditions
public RollupConditions()Default constructor for the RollupConditions class.This no-argument constructor initializes an instance of the RollupConditions class without setting any fields or performing any specific actions. It can be used to create an empty instance of the class for further configuration or use.
-
-
Method Details
-
getRollupConditionList
Retrieves the list of rollup conditions associated with this instance. Each rollup condition defines a specific criterion, such as completion or satisfaction status, that determines whether a rollup rule should be applied.- Returns:
- a list of
RollupConditionobjects representing the rollup conditions.
-
setRollupConditionList
Sets the list of rollup conditions for this instance. The provided list contains individual conditions that define specific criteria, such as completion or satisfaction status, which determine whether the rollup logic should be applied.- Parameters:
rollupConditionList- the list ofRollupConditionobjects to set, representing the criteria for applying the rollup rule.
-
getConditionCombination
Retrieves the logical combination of conditions associated with this instance. The combination specifies how the individual rollup conditions within the list are evaluated together to determine the overall rule's application.- Returns:
- a string representing the logical combination of rollup conditions.
-
setConditionCombination
Sets the logical combination of rollup conditions for this instance. The combination defines how individual rollup conditions are evaluated together to determine the overall application's rule logic.- Parameters:
conditionCombination- the logical combination of rollup conditions, specified as a string representation (e.g., "ALL", "ANY", etc.).
-
equals
-
hashCode
public int hashCode()
-