Class TextPointCalculator
java.lang.Object
ch.tocco.nice2.optional.survey.impl.pointcalculator.TextPointCalculator
- All Implemented Interfaces:
PointCalculator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncalculateActualPoints
(Entity questionAnswerEntity) calculateMaxPoints
(Entity questionEntity, @Nullable Entity deletedAnswerEntity) getTypes()
-
Constructor Details
-
TextPointCalculator
public TextPointCalculator()
-
-
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
-