Class Node
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.drools.facts.qs.Node
- Direct Known Subclasses:
EvalNode
,RatingNode
-
Constructor Summary
ModifierConstructorDescriptionprotected
Node
(String identifier, @Nullable EvalNode parent, BigDecimal weight, BigDecimal rounding, @Nullable BigDecimal roundingPoints, @Nullable BigDecimal roundingPercentage, boolean mandatory, String pk, @Nullable BigDecimal maxPoints, Boolean summarize) -
Method Summary
Modifier and TypeMethodDescriptionboolean
abstract Collection
<Node> flatten()
@Nullable BigDecimal
@Nullable EvalNode
getPk()
@Nullable BigDecimal
@Nullable BigDecimal
int
hashCode()
boolean
hasParent
(EvaluationNode evaluationNode) boolean
toString()
-
Constructor Details
-
Node
protected Node(String identifier, @Nullable @Nullable EvalNode parent, BigDecimal weight, BigDecimal rounding, @Nullable @Nullable BigDecimal roundingPoints, @Nullable @Nullable BigDecimal roundingPercentage, boolean mandatory, String pk, @Nullable @Nullable BigDecimal maxPoints, Boolean summarize)
-
-
Method Details
-
getParent
-
getWeight
-
getRounding
-
getRoundingPoints
-
getRoundingPercentage
-
flatten
-
getPk
- Returns:
- the primary key of the underlying entity prefixed with "E-" for EvalNodes and "R-" for RatingNodes respectively
-
getIdentifier
-
isMandatory
public boolean isMandatory() -
getMaxPoints
-
getSummarize
-
toString
-
hasParent
-
equals
-
hashCode
public int hashCode()
-