Class LeafNode
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.util.entities.eval.Node
ch.tocco.nice2.optional.qualification.impl.util.entities.eval.LeafNode
- All Implemented Interfaces:
Comparable
-
Field Summary
Fields inherited from class ch.tocco.nice2.optional.qualification.impl.util.entities.eval.Node
ignoreFlag, maxLevel, startLevel
-
Constructor Summary
ConstructorDescriptionLeafNode
(EvaluationNode evaluationNode, Input input, int level, int startLevel, int levels, boolean ignoreFlag) -
Method Summary
Modifier and TypeMethodDescriptionint
getColumnModel
(InnerNode rootNode) getColumnModel
(InnerNode rootNode, Set<String> uniquePksToIgnore, Set<String> uniquePksToIgnoreRecursively) @Nullable BigDecimal
getGrades
(Entity participant, int maxLevel, boolean ignoreFlag, Set<String> uniquePksToIgnore, Set<String> uniquePksToIgnoreRecursively) @Nullable InputData
getInputData
(Entity participant) @Nullable AbstractInstance
@Nullable AbstractInstance
getInstance
(Entity participant) getNode()
getTooltip
(InnerNode rootNode) boolean
Methods inherited from class ch.tocco.nice2.optional.qualification.impl.util.entities.eval.Node
getLevel, isIncluded
-
Constructor Details
-
LeafNode
-
LeafNode
-
LeafNode
public LeafNode(EvaluationNode evaluationNode, Input input, int level, int startLevel, int levels, boolean ignoreFlag)
-
-
Method Details
-
getInstance
- Specified by:
getInstance
in classNode
-
getInstance
- Specified by:
getInstance
in classNode
-
getWeight
-
getGrades
- Specified by:
getGrades
in classNode
- Throws:
InterruptedException
-
getGrade
-
getGrades
public List<GradeData> getGrades(Entity participant, int maxLevel, boolean ignoreFlag) throws InterruptedException - Specified by:
getGrades
in classNode
- Throws:
InterruptedException
-
getGrades
public List<GradeData> getGrades(Entity participant, int maxLevel, boolean ignoreFlag, Set<String> uniquePksToIgnore, Set<String> uniquePksToIgnoreRecursively) throws InterruptedException - Specified by:
getGrades
in classNode
- Parameters:
uniquePksToIgnore
- a list of nodes to ignore. The strings of the set must be unique pks obtained by calling $AbstractNode.getUniquePk()
- Returns:
- all grades from this node (including child nodes)
- Throws:
InterruptedException
-
getData
- Specified by:
getData
in classNode
- Throws:
InterruptedException
-
getColumnModel
- Specified by:
getColumnModel
in classNode
-
getColumnModel
public ArrayList<EvaluationActionService.ColumnModel> getColumnModel(InnerNode rootNode, Set<String> uniquePksToIgnore, Set<String> uniquePksToIgnoreRecursively) - Specified by:
getColumnModel
in classNode
-
isMandatory
public boolean isMandatory()- Specified by:
isMandatory
in classNode
-
getNode
-
getDurationHourActual
- Specified by:
getDurationHourActual
in classNode
-
getHeader
-
getTooltip
-
getInputData
-
getInputNode
-
compareTo
-