public interface GradeSystemTransform extends OsidRule
A GradeSystemTransform
represents a translation between
two grade systems. The transform is directional such that a translation
between the source and target may not equal a translation between the
target and the source grade systems.
Modifier and Type | Method and Description |
---|---|
GradeMapList |
getGradeMaps()
Gets any one-to-one mapping of grades.
|
GradeSystemTransformRecord |
getGradeSystemTransformRecord(Type gradeSystemTransformRecordType)
Gets the grade system transform record corresponding to the given
GradeSystemTransform record Type. |
GradeSystem |
getSourceGradeSystem()
Gets the source
GradeSystem. |
Id |
getSourceGradeSystemId()
Gets the source
GradeSystem Id. |
GradeSystem |
getTargetGradeSystem()
Gets the target
GradeSystem. |
Id |
getTargetGradeSystemId()
Gets the target
GradeSystem Id. |
boolean |
normalizesInputScores()
Tests if this transformation is based on normalization of the input
scores.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
isActive, isDisabled, isEnabled, isOperational
Id getSourceGradeSystemId()
GradeSystem Id.
Id
mandatory
- This method must be implemented. GradeSystem getSourceGradeSystem() throws OperationFailedException
GradeSystem.
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getTargetGradeSystemId()
GradeSystem Id.
Id
mandatory
- This method must be implemented. GradeSystem getTargetGradeSystem() throws OperationFailedException
GradeSystem.
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. boolean normalizesInputScores()
true
of a normalization is performed,
false
otherwisemandatory
- This method must be implemented. GradeMapList getGradeMaps()
mandatory
- This method must be implemented. GradeSystemTransformRecord getGradeSystemTransformRecord(Type gradeSystemTransformRecordType) throws OperationFailedException
GradeSystemTransform
record Type.
This
method is used to retrieve an object implementing the requested
record. The gradeSystemTransformRecordType
may be the
Type
returned in getRecordTypes()
or any
of its parents in a Type
hierarchy where
hasRecordType(gradeSystemTransformRecordType)
is true
.gradeSystemTransformRecordType
- the type of the record to
retrieveNullArgumentException
-
gradeSystemTransformRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(gradeSystemTransformRecordType)
is
false
mandatory
- This method must be implemented.