OSID Logo
OSID Specifications
grading transform package
Version 3.0.0
Release Candidate Preview
Interfaceosid.grading.transform.GradeSystemTransformationSession
Implementsosid.OsidSession
Description

The session defines methods for translating Grades and scores among GradeSystems. This session provides a means for moving across grade systems but does not perform an articulation based on content or a specific qualifier.

MethodgetSourceGradeSystemId
Description

Gets the Gradebook Id associated with this session.

Returnosid.id.Idthe Gradebook Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetSourceGradeSystem
Description

Gets the Gradebook associated with this session.

Returnosid.grading.Gradebookthe Gradebook associated with this session
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodgetTargetGradeSystemId
Description

Gets the Gradebook Id associated with this session.

Returnosid.id.Idthe Gradebook Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetTargetGradeSystem
Description

Gets the Gradebook associated with this session.

Returnosid.grading.Gradebookthe Gradebook associated with this session
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanTransformGradeSystems
Description

Tests if this user can perform grade transformations. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.

Returnboolean false if grade transformation methods are not authorized, true otherwise
CompliancemandatoryThis method must be implemented.
MethodtransformScore
Description

Gets the score equivalent between the source and target grade systems.

Parametersdecimalscorea score from the source grade system
Returndecimalthe target score
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method is must be implemented.
MethodtransformGrade
Description

Gets the grade equivalent between the source and target grade systems.

Parametersosid.id.IdgradeId Id of a Grade from the source grade system
Returnosid.grading.Gradethe target grade
ErrorsNOT_FOUNDno transformation rule found for gradeId
NULL_ARGUMENT gradeId is null
OPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method is must be implemented.