Class ComputedGrade
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.drools.facts.ComputedGrade
- All Implemented Interfaces:
NumberContainer,ValueWithNode
Fact class to represent a grade computed from Ratings. A ComputedGrade is "converted" to a Grade, if no
Grade (i.e. pregrade) and no IsDispensed fact exists for the same node
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNode()@Nullable BigDecimal@Nullable BigDecimalgetValue()voidsetNode(RatingNode node) voidsetValue(@Nullable BigDecimal value) toString()
-
Constructor Details
-
ComputedGrade
-
-
Method Details
-
getNode
- Specified by:
getNodein interfaceValueWithNode
-
setNode
-
getValue
-
setValue
-
getNumber
- Specified by:
getNumberin interfaceNumberContainer
-
toString
-