Class EvaluationResultImpl
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.drools.promotion.EvaluationResultImpl
- All Implemented Interfaces:
EvaluationResult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAveragePoints
(List<AveragePoints> averagePoints) void
addDefinateGrades
(List<ComputedGrade> computedGrades) void
addDispenses
(List<IsDispensed> dispenses) void
void
addTotalPoints
(List<TotalPoints> totalPoints) Get a map with all computed average points calculated during the evaluationGet a map with all definate grades for 'Input_node's calculated during the evaluationGet map with all grades for 'Input_node's calculated during the evaluation.Get a map with all computed grades calculated during the evaluation
-
Constructor Details
-
EvaluationResultImpl
-
-
Method Details
-
getStatus
- Specified by:
getStatus
in interfaceEvaluationResult
- Returns:
- the 'Promotion_status' for the 'Evaluation_data' that resulted from the evaluation
-
isBordercase
- Specified by:
isBordercase
in interfaceEvaluationResult
-
getRatingNodeGrades
Description copied from interface:EvaluationResult
Get map with all grades for 'Input_node's calculated during the evaluation.- Specified by:
getRatingNodeGrades
in interfaceEvaluationResult
- Returns:
- a map mapping pk's of 'Input_nodes' to calculated grades (field 'grade' on 'Input_data')
-
getEvalNodeGrades
- Specified by:
getEvalNodeGrades
in interfaceEvaluationResult
- Returns:
- a map mapping pk's of 'Evaluation_node' to calculated grades
-
getDefinateGrades
Description copied from interface:EvaluationResult
Get a map with all definate grades for 'Input_node's calculated during the evaluation- Specified by:
getDefinateGrades
in interfaceEvaluationResult
- Returns:
- a map mapping pk's of 'Input_node's to definate grades (field 'definate_grade' on 'Input_data')
-
getDispenses
- Specified by:
getDispenses
in interfaceEvaluationResult
-
getTotalPoints
Description copied from interface:EvaluationResult
Get a map with all computed grades calculated during the evaluation- Specified by:
getTotalPoints
in interfaceEvaluationResult
- Returns:
- a map mapping pk's of inputnodes in the QS to calculated grades
-
getAveragePoints
Description copied from interface:EvaluationResult
Get a map with all computed average points calculated during the evaluation- Specified by:
getAveragePoints
in interfaceEvaluationResult
- Returns:
- a map mapping keys of input nodes in the QS to calculated point averages
-
addGrades
-
addDefinateGrades
-
addTotalPoints
-
addAveragePoints
-
addDispenses
-
getFinalConclusion
- Specified by:
getFinalConclusion
in interfaceEvaluationResult
-