Class Node
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.util.entities.eval.Node
- All Implemented Interfaces:
Comparable
-
Field Summary
Modifier and TypeFieldDescriptionprotected final boolean
protected final int
protected final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract List
<EvaluationActionService.ColumnModel> getColumnModel
(InnerNode rootNode) abstract List
<EvaluationActionService.ColumnModel> getColumnModel
(InnerNode rootNode, Set<String> nodesToIgnore, Set<String> uniquePksToIgnoreRecursively) abstract List
<AbstractData> abstract @Nullable BigDecimal
abstract GradeData
getGrades
(Entity participant, int maxLevel, boolean ignoreFlag, Set<String> uniquePksToIgnore, Set<String> uniquePksToIgnoreRecursiveley) abstract AbstractInstance
abstract AbstractInstance
getInstance
(Entity participant) int
getLevel()
abstract AbstractNode
getNode()
abstract BigDecimal
boolean
abstract boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
startLevel
protected final int startLevel -
maxLevel
protected final int maxLevel -
ignoreFlag
protected final boolean ignoreFlag
-
-
Constructor Details
-
Node
public Node(int level, int startLevel, int maxLevel, boolean ignoreFlag)
-
-
Method Details
-
getInstance
-
getInstance
-
getWeight
-
getGrade
-
getGrades
- Throws:
InterruptedException
-
getColumnModel
-
getColumnModel
-
getGrades
public abstract List<GradeData> getGrades(Entity participant, int maxLevel, boolean ignoreFlag) throws InterruptedException - Throws:
InterruptedException
-
getGrades
public abstract List<GradeData> getGrades(Entity participant, int maxLevel, boolean ignoreFlag, Set<String> uniquePksToIgnore, Set<String> uniquePksToIgnoreRecursiveley) throws InterruptedException - 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
- Throws:
InterruptedException
-
isMandatory
public abstract boolean isMandatory() -
getNode
-
isIncluded
public boolean isIncluded() -
getLevel
public int getLevel() -
getDurationHourActual
-