public interface Grade extends OsidObject, Subjugateable
A Grade.
Grades represent qualified performance levels
defined within some grading system.
Modifier and Type | Method and Description |
---|---|
GradeRecord |
getGradeRecord(Type gradeRecordType)
Gets the grade record corresponding to the given
Grade
record Type. |
GradeSystem |
getGradeSystem()
Gets the
GradeSystem in which this grade belongs. |
Id |
getGradeSystemId()
Gets the
GradeSystem Id in which this grade belongs. |
java.math.BigDecimal |
getInputScoreEndRange()
Gets the high end of the input score range equivalent to this grade.
|
java.math.BigDecimal |
getInputScoreStartRange()
Gets the low end of the input score range equivalent to this grade.
|
java.math.BigDecimal |
getOutputScore()
Gets the output score for this grade used for calculating cumultives
or performing articulation.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
Id getGradeSystemId()
GradeSystem Id
in which this grade belongs. Id
mandatory
- This method must be implemented. GradeSystem getGradeSystem()
GradeSystem
in which this grade belongs.mandatory
- This method must be implemented. java.math.BigDecimal getInputScoreStartRange()
mandatory
- This method must be implemented. java.math.BigDecimal getInputScoreEndRange()
mandatory
- This method must be implemented. java.math.BigDecimal getOutputScore()
mandatory
- This method must be implemented. GradeRecord getGradeRecord(Type gradeRecordType) throws OperationFailedException
Grade
record Type.
This method is used to retrieve an object
implementing the requested record. The gradeRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a Type
hierarchy where
hasRecordType(gradeRecordType)
is true
.gradeRecordType
- the type of the record to retrieveNullArgumentException
- gradeRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(gradeRecordType)
is false
mandatory
- This method must be implemented.