Class GradingAspectTO
- java.lang.Object
-
- de.hsh.graja.transfer.gradingscheme.GradingNodeTO
-
- de.hsh.graja.transfer.gradingscheme.GradingAspectTO
-
public class GradingAspectTO extends GradingNodeTO
Third level of grading scheme structure. The parent is aGradingCategoryTO
. This class only contains references to a module and a sub-module.- See Also:
de.hsh.graja.marshal.gradingscheme.GradingAspectMarshalledTO
-
-
Constructor Summary
Constructors Constructor Description GradingAspectTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
calcScoreMax()
int
countLeaves()
int
countNodes()
int
depth()
GradingNodeTO
findDescendantById(String id)
String
getModuleRefId()
String
getModuleSubRefId()
void
setModuleRefId(String moduleRefId)
void
setModuleSubRefId(String moduleSubRefId)
-
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
-
-
-
-
Method Detail
-
getModuleRefId
public String getModuleRefId()
-
setModuleRefId
public void setModuleRefId(String moduleRefId)
-
getModuleSubRefId
public String getModuleSubRefId()
-
setModuleSubRefId
public void setModuleSubRefId(String moduleSubRefId)
-
calcScoreMax
public BigDecimal calcScoreMax()
- Specified by:
calcScoreMax
in classGradingNodeTO
- Returns:
- The maximum achievable score, multiplied already by
GradingNodeTO.getWeight()
.
-
depth
public int depth()
- Specified by:
depth
in classGradingNodeTO
-
countNodes
public int countNodes()
- Specified by:
countNodes
in classGradingNodeTO
-
countLeaves
public int countLeaves()
- Specified by:
countLeaves
in classGradingNodeTO
-
findDescendantById
public GradingNodeTO findDescendantById(String id)
- Specified by:
findDescendantById
in classGradingNodeTO
- Returns:
-
-