OSID Logo
OSID Specifications
offering package
Version 3.0.0
Release Candidate Preview
Interfaceosid.offering.Result
Implementsosid.OsidObject
osid.Temporal
osid.Subjugateable
Description

An Result is an outcome from a Participation.

MethodgetParticipantId
Description

Gets the Id of the participant in this result.

Returnosid.id.Idthe Participant Id
CompliancemandatoryThis method must be implemented.
MethodgetParticipant
Description

Gets the participant in this result.

Returnosid.offering.Participantthe Participant
ErrorsOPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodisGraded
Description

Tests if a grade or score has been assigned to this entry. Generally, an entry is created with a grade or score.

Returnboolean true if a grade has been assigned, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGradeId
Description

Gets the grade Id in this entry if the grading system is based on grades.

Returnosid.id.Idthe grade Id
ErrorsILLEGAL_STATE isGraded() is false or GradeSystem.isBasedOnGrades() is false
CompliancemandatoryThis method must be implemented.
MethodgetGrade
Description

Gets the grade in this entry if the grading system is based on grades.

Returnosid.grading.Gradethe grade
ErrorsILLEGAL_STATE isGraded() is false or GradeSystem.isBasedOnGrades() is false
OPERATION_FAILEDunable to complete request
CompliancemandatoryThis method must be implemented.
MethodgetValue
Description

Gets the value in this entry if the grading system is not based on grades.

Returndecimalthe value
ErrorsILLEGAL_STATE isGraded() is false or GradeSystem.isBasedOnGrades() is true
CompliancemandatoryThis method must be implemented.
MethodgetResultRecord
Description

Gets the record corresponding to the given Result record Type. This method is used to retrieve an object implementing the requested record. The resultRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(resultRecordType) is true .

Parametersosid.type.TyperesultRecordTypethe type of result record to retrieve
Returnosid.offering.records.ResultRecordthe result record
ErrorsNULL_ARGUMENT resultRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(resultRecordType) is false
CompliancemandatoryThis method must be implemented.