Class GradingNodeTO
java.lang.Object
de.hsh.graja.transfer.gradingscheme.GradingNodeTO
- Direct Known Subclasses:
GradingAspectTO,GradingCategoryTO
A bean with request data for Graja.
This bean will use defaults, if optional attribute values are missing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BigDecimalstatic String[]static StringconvertCategoryIdToProformaCombineId(String categoryId) static StringconvertProformaCombineIdToCategoryId(String combineId) static StringconvertProformaTestRefToAspectId(String ref, String subRef, int cnt) static StringconvertProformaTestRefToOrphaneId(String ref, String subRef) abstract intabstract intabstract intdepth()abstract GradingNodeTOgetId()getTitle()voidsetDescription(String description) voidvoidsetInternalDescription(String internalDescription) voidsetNullifyCondition(NullifyConditionTO nullifyCondition) voidvoidsetWeight(BigDecimal weight)
-
Constructor Details
-
GradingNodeTO
public GradingNodeTO()
-
-
Method Details
-
getId
-
setId
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getInternalDescription
-
setInternalDescription
-
getWeight
-
setWeight
-
getNullifyCondition
-
setNullifyCondition
-
depth
public abstract int depth() -
countNodes
public abstract int countNodes() -
countLeaves
public abstract int countLeaves() -
calcScoreMax
- Returns:
- The maximum achievable score, multiplied already by
getWeight().
-
findDescendantById
- Parameters:
id-- Returns:
-
convertProformaCombineIdToCategoryId
-
convertProformaTestRefToAspectId
-
convertProformaTestRefToOrphaneId
-
convertCategoryIdToProformaCombineId
-
convertAspectOrOrphaneIdToProformaTestRefAndSubRef
-