java.lang.Object
ch.tocco.nice2.optional.qualification.impl.drools.facts.qs.Node
Direct Known Subclasses:
EvalNode, RatingNode

public abstract class Node extends Object
  • Constructor Details

  • Method Details

    • getParent

      @Nullable public @Nullable EvalNode getParent()
    • getWeight

      public BigDecimal getWeight()
    • getRounding

      public BigDecimal getRounding()
    • getRoundingPoints

      @Nullable public @Nullable BigDecimal getRoundingPoints()
    • getRoundingPercentage

      @Nullable public @Nullable BigDecimal getRoundingPercentage()
    • flatten

      public abstract Collection<Node> flatten()
    • getPk

      public String getPk()
      Returns:
      the primary key of the underlying entity prefixed with "E-" for EvalNodes and "R-" for RatingNodes respectively
    • getIdentifier

      public String getIdentifier()
    • isMandatory

      public boolean isMandatory()
    • getMaxPoints

      @Nullable public @Nullable BigDecimal getMaxPoints()
    • getSummarize

      public Boolean getSummarize()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hasParent

      public boolean hasParent(EvaluationNode evaluationNode)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object