Class GermanyFormulaHelper
java.lang.Object
ch.tocco.nice2.optional.de.qualification.impl.GermanyFormulaHelper
- All Implemented Interfaces:
FormulaHelper
-
Constructor Summary
ConstructorDescriptionGermanyFormulaHelper
(ExternalQualificationService externalQualificationService) -
Method Summary
Modifier and TypeMethodDescriptioncalculateGrade
(BigDecimal maxPoints, BigDecimal points) Compute the grade based on the points and the max pointsnode.getMaxPoints()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.optional.qualification.api.drools.helper.FormulaHelper
calculate, validatePoints
-
Constructor Details
-
GermanyFormulaHelper
-
-
Method Details
-
calculateGrade
Description copied from interface:FormulaHelper
Compute the grade based on the points and the max pointsnode.getMaxPoints()
- Specified by:
calculateGrade
in interfaceFormulaHelper
- Parameters:
maxPoints
- the max points of the node a grade is calculated forpoints
- the points that were actually reached
-