OSID Logo
OSID Specifications
grading transform package
Version 3.1.0
Interfaceosid.grading.transform.GradeSystemTransformationSession
Implementsosid.OsidSession
Used Byosid.grading.transform.GradingTransformManager
osid.grading.transform.GradingTransformProxyManager
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.Id the Gradebook Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetSourceGradeSystem
Description

Gets the Gradebook associated with this session.

Returnosid.grading.Gradebook the Gradebook associated with this session
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodgetTargetGradeSystemId
Description

Gets the Gradebook Id associated with this session.

Returnosid.id.Id the Gradebook Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetTargetGradeSystem
Description

Gets the Gradebook associated with this session.

Returnosid.grading.Gradebook the Gradebook associated with this session
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodtransformScore
Description

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

Parametersdecimalscore a score from the source grade system
Returndecimal the target score
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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.Grade the target grade
ErrorsNOT_FOUND no transformation rule found for gradeId
NULL_ARGUMENT gradeId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method is must be implemented.