java.lang.Object
ch.tocco.nice2.optional.qualification.impl.drools.facts.PointsContainer
All Implemented Interfaces:
NumberContainer, ValueWithNode
Direct Known Subclasses:
AveragePoints, TotalPoints

public abstract class PointsContainer extends Object implements NumberContainer
  • Field Details

    • value

      @Nullable protected @Nullable BigDecimal value
    • correction

      @Nullable protected @Nullable BigDecimal correction
    • percentage

      @Nullable protected @Nullable BigDecimal percentage
    • node

      protected Node node
  • Constructor Details

    • PointsContainer

      public PointsContainer(Node node, @Nullable @Nullable BigDecimal value)
  • Method Details

    • getValue

      @Nullable public @Nullable BigDecimal getValue()
    • setValue

      public void setValue(@Nullable @Nullable BigDecimal value)
    • getCorrection

      @Nullable public @Nullable BigDecimal getCorrection()
    • setCorrection

      public void setCorrection(@Nullable @Nullable BigDecimal correction)
    • getOriginalValue

      @Nullable public @Nullable BigDecimal getOriginalValue()
    • getPercentage

      @Nullable public @Nullable BigDecimal getPercentage()
    • setPercentage

      public void setPercentage(@Nullable @Nullable BigDecimal percentage)
    • getNode

      public Node getNode()
      Specified by:
      getNode in interface ValueWithNode
    • setNode

      public void setNode(Node node)
    • getNumber

      @Nullable public @Nullable BigDecimal getNumber()
      Specified by:
      getNumber in interface NumberContainer