Class GermanyFormulaHelper

java.lang.Object
ch.tocco.nice2.optional.de.qualification.impl.GermanyFormulaHelper
All Implemented Interfaces:
FormulaHelper

@Component @Primary public class GermanyFormulaHelper extends Object implements FormulaHelper
  • Constructor Details

  • Method Details

    • calculateGrade

      public BigDecimal calculateGrade(BigDecimal maxPoints, BigDecimal points)
      Description copied from interface: FormulaHelper
      Compute the grade based on the points and the max points node.getMaxPoints()
      Specified by:
      calculateGrade in interface FormulaHelper
      Parameters:
      maxPoints - the max points of the node a grade is calculated for
      points - the points that were actually reached