Class SingleChoicePointCalculator
java.lang.Object
ch.tocco.nice2.optional.survey.impl.pointcalculator.SingleChoicePointCalculator
- All Implemented Interfaces:
PointCalculator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalculateActualPoints
(Entity questionAnswerEntity) calculateMaxPoints
(Entity questionEntity, @Nullable Entity deletedAnswerEntity) getTypes()
-
Constructor Details
-
SingleChoicePointCalculator
public SingleChoicePointCalculator()
-
-
Method Details
-
getTypes
- Specified by:
getTypes
in interfacePointCalculator
-
calculateMaxPoints
public BigDecimal calculateMaxPoints(Entity questionEntity, @Nullable @Nullable Entity deletedAnswerEntity) - Specified by:
calculateMaxPoints
in interfacePointCalculator
-
calculateActualPoints
- Specified by:
calculateActualPoints
in interfacePointCalculator
-