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 TypeMethodDescriptionintintintdepth()List<? extends GradingNodeTO>static booleanisValidFunction(String function) voidsetChildNodes(List<? extends GradingNodeTO> childNodes) voidsetFunction(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:
depthin classGradingNodeTO
-
countLeaves
public int countLeaves()- Specified by:
countLeavesin classGradingNodeTO
-
countNodes
public int countNodes()- Specified by:
countNodesin classGradingNodeTO
-
calcScoreMax
- Specified by:
calcScoreMaxin classGradingNodeTO- Returns:
- The maximum achievable score, multiplied already by
GradingNodeTO.getWeight().
-
findDescendantById
- Specified by:
findDescendantByIdin classGradingNodeTO- Returns:
-