java.lang.Object
dev.jcputney.elearning.parser.input.scorm2004.ims.ss.rollup.RollupCondition
All Implemented Interfaces:
Serializable

public final class RollupCondition extends Object implements 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 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

      public ConditionOperatorType getOperator()
      Retrieves the operator used to evaluate the rollup condition.
      Returns:
      the ConditionOperatorType representing the operator for this rollup condition.
    • setOperator

      public void setOperator(ConditionOperatorType operator)
      Sets the operator for this rollup condition. The operator determines how the condition is evaluated during the rollup process.
      Parameters:
      operator - the ConditionOperatorType to set as the operator for this rollup condition, which specifies whether to invert the condition (NOT) or apply it as-is (NO_OP).
    • getCondition

      public RollupRuleConditionType 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 RollupRuleConditionType representing the specific condition of this rollup condition.
    • setCondition

      public void setCondition(RollupRuleConditionType condition)
      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 - the RollupRuleConditionType representing the criterion to set for this rollup condition, such as completion, satisfaction, or other activity-related metrics.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object