Class Node
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.util.entities.eval.Node
- All Implemented Interfaces:
Comparable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final intprotected final int -
Constructor Summary
Constructors -
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 BigDecimalabstract GradeDatagetGrades(Entity participant, int maxLevel, boolean ignoreFlag, Set<String> uniquePksToIgnore, Set<String> uniquePksToIgnoreRecursiveley) abstract AbstractInstanceabstract AbstractInstancegetInstance(Entity participant) intgetLevel()abstract AbstractNodegetNode()abstract BigDecimalbooleanabstract booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-