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