Class QualificationEntityModel
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.freemarker.qualificationstructure.QualificationEntityModel
used in
QualificationStructureMethod and DisplayQualificationStructureDirective to send values used
in qualification reports to the freemarker engine
access works with simple dot annotation (e.g. qualificationStructure.label)
-
Constructor Summary
ConstructorsConstructorDescriptionQualificationEntityModel(Node node, Entity user) QualificationEntityModel(Node node, Entity user, @Nullable Map<String, QualificationEntityModel> shortIdMap) -
Method Summary
Modifier and TypeMethodDescription@Nullable QualificationEntityModel@Nullable QualificationEntityModelfindChildrenByPartialIdMatch(String idPart) getData()get the first available data@Nullable EntitygetGrade()@Nullable EntitygetLabel()getLevel()protected NodegetNode()@Nullable EntitygetShort()getText()getUser()booleanboolean
-
Constructor Details
-
QualificationEntityModel
-
QualificationEntityModel
public QualificationEntityModel(Node node, Entity user, @Nullable @Nullable Map<String, QualificationEntityModel> shortIdMap)
-
-
Method Details
-
getUser
-
getDelegate
-
getNodeDataDelegate
-
getInstanceDelegate
-
getNodeDelegate
-
getEvaluationNode
-
getDataSource
-
getLabel
-
getShort
-
getLevel
-
getWeight
-
getGrade
-
getPoints
-
getPointsAverage
-
getPointsCorrection
-
getPercentage
-
isDispensed
-
getText
-
getData
get the first available datathe data in order that it is checked: - text - grade - point - point average
- Returns:
- data to display
-
getChildren
-
findChild
-
findChildRecursively
-
findChildrenByPartialIdMatch
-
isVisible
public boolean isVisible() -
isMandatory
public boolean isMandatory() -
getNode
-