Class GradingCategoryTO
java.lang.Object
de.hsh.graja.transfer.gradingscheme.GradingNodeTO
de.hsh.graja.transfer.gradingscheme.GradingCategoryTO
Inner node of grading scheme.
- See Also:
-
de.hsh.graja.marshal.gradingscheme.GradingCategoryMarshalledTO
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
int
int
depth()
List<? extends GradingNodeTO>
static boolean
isValidFunction
(String function) void
setChildNodes
(List<? extends GradingNodeTO> childNodes) void
setFunction
(String function) Methods inherited from class de.hsh.graja.transfer.gradingscheme.GradingNodeTO
convertAspectOrOrphaneIdToProformaTestRefAndSubRef, convertCategoryIdToProformaCombineId, convertProformaCombineIdToCategoryId, convertProformaTestRefToAspectId, convertProformaTestRefToOrphaneId, getDescription, getId, getInternalDescription, getNullifyCondition, getTitle, getWeight, setDescription, setId, setInternalDescription, setNullifyCondition, setTitle, setWeight
-
Field Details
-
VALID_FUNCTIONS
-
-
Constructor Details
-
GradingCategoryTO
public GradingCategoryTO()
-
-
Method Details
-
isValidFunction
-
getFunction
-
setFunction
-
getChildNodes
-
setChildNodes
-
depth
public int depth()- Specified by:
depth
in classGradingNodeTO
-
countLeaves
public int countLeaves()- Specified by:
countLeaves
in classGradingNodeTO
-
countNodes
public int countNodes()- Specified by:
countNodes
in classGradingNodeTO
-
calcScoreMax
- Specified by:
calcScoreMax
in classGradingNodeTO
- Returns:
- The maximum achievable score, multiplied already by
GradingNodeTO.getWeight()
.
-
findDescendantById
- Specified by:
findDescendantById
in classGradingNodeTO
- Returns:
-