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
-
Method Summary
Modifier and TypeMethodDescriptiongetNode()
@Nullable BigDecimal
@Nullable BigDecimal
getValue()
void
setNode
(RatingNode node) void
setValue
(@Nullable BigDecimal value) toString()
-
Constructor Details
-
ComputedGrade
-
-
Method Details
-
getNode
- Specified by:
getNode
in interfaceValueWithNode
-
setNode
-
getValue
-
setValue
-
getNumber
- Specified by:
getNumber
in interfaceNumberContainer
-
toString
-