OSID Logo
OSID Specifications
grading transform package
Version 3.0.0
Release Candidate Preview
Interfaceosid.grading.transform.GradeSystemTransform
Implementsosid.OsidRule
Description

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.

MethodgetSourceGradeSystemId
Description

Gets the source GradeSystem Id.

Returnosid.id.Idthe source grade system Id
CompliancemandatoryThis method must be implemented.
MethodgetSourceGradeSystem
Description

Gets the source GradeSystem.

Returnosid.grading.GradeSystemthe source grade system
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetTargetGradeSystemId
Description

Gets the target GradeSystem Id.

Returnosid.id.Idthe target grade system Id
CompliancemandatoryThis method must be implemented.
MethodgetTargetGradeSystem
Description

Gets the target GradeSystem.

Returnosid.grading.GradeSystemthe target grade system
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodnormalizesInputScores
Description

Tests if this transformation is based on normalization of the input scores.

Returnboolean true of a normalization is performed, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGradeMaps
Description

Gets any one-to-one mapping of grades.

Returnosid.grading.transform.GradeMapListthe grade maps
CompliancemandatoryThis method must be implemented.
MethodgetGradeSystemTransformRecord
Description

Gets the grade system transform record corresponding to the given 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 .

Parametersosid.type.TypegradeSystemTransformRecordTypethe type of the record to retrieve
Returnosid.grading.transform.records.GradeSystemTransformRecordthe grade system transform record
ErrorsNULL_ARGUMENT gradeSystemTransformRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(gradeSystemTransformRecordType) is false
CompliancemandatoryThis method must be implemented.