Class RollupCondition
java.lang.Object
dev.jcputney.elearning.parser.input.scorm2004.ims.ss.rollup.RollupCondition
- All Implemented Interfaces:
Serializable
Represents an individual rollup condition within a set of rollup conditions. Each condition
specifies a specific criterion, such as completion or satisfaction status, that affects whether
the associated rollup rule is applied.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanRetrieves the condition specified for this rollup condition.Retrieves the operator used to evaluate the rollup condition.inthashCode()voidsetCondition(RollupRuleConditionType condition) Sets the specific condition to evaluate within this rollup condition.voidsetOperator(ConditionOperatorType operator) Sets the operator for this rollup condition.
-
Constructor Details
-
RollupCondition
public RollupCondition()Default constructor for the RollupCondition class. This constructor initializes an instance of the RollupCondition without setting any initial values for its fields or properties.
-
-
Method Details
-
getOperator
Retrieves the operator used to evaluate the rollup condition.- Returns:
- the
ConditionOperatorTyperepresenting the operator for this rollup condition.
-
setOperator
Sets the operator for this rollup condition. The operator determines how the condition is evaluated during the rollup process.- Parameters:
operator- theConditionOperatorTypeto set as the operator for this rollup condition, which specifies whether to invert the condition (NOT) or apply it as-is (NO_OP).
-
getCondition
Retrieves the condition specified for this rollup condition. The condition determines the criteria being evaluated, such as completion status, progress, or other activity-related metrics, which influence the associated rollup rule.- Returns:
- the
RollupRuleConditionTyperepresenting the specific condition of this rollup condition.
-
setCondition
Sets the specific condition to evaluate within this rollup condition. The provided condition determines the criteria related to the learner's progress, completion, or activity status that affect the rollup rule's application.- Parameters:
condition- theRollupRuleConditionTyperepresenting the criterion to set for this rollup condition, such as completion, satisfaction, or other activity-related metrics.
-
equals
-
hashCode
public int hashCode()
-