OSID Logo
OSID Specifications
grading package
Version 3.1.0
Interfaceosid.grading.GradeEntry
Implementsosid.OsidRelationship
Used Byosid.grading.GradeEntry
osid.grading.GradeEntryAdminSession
osid.grading.GradeEntryList
osid.grading.GradeEntryLookupSession
Description

A GradeEntry represents an entry in a Gradebook.

MethodgetGradebookColumnId
Description

Gets the Id of the GradebookColumn.

Returnosid.id.Id the Id of the GradebookColumn
Compliancemandatory This method must be implemented.
MethodgetGradebookColumn
Description

Gets the GradebookColumn.

Returnosid.grading.GradebookColumn the GradebookColumn
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetKeyResourceId
Description

Gets the Id of the key resource of this entry. The key resource may be a student or other applicable key to identify a row of grading entries.

Returnosid.id.Id Id of the key resource
Compliancemandatory This method must be implemented.
MethodgetKeyResource
Description

Gets the key resource of this entry. The key resource may be a student or other applicable key to identify a row of grading entries.

Returnosid.resource.Resource the key resource
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodisDerived
Description

Tests if this is a calculated entry.

Returnboolean true if this entry is a calculated entry, false otherwise. If true, then overridesCalculatedEntry() must be false.
Compliancemandatory This method must be implemented.
MethodoverridesCalculatedEntry
Description

Tests if this is a manual entry that overrides a calculated entry.

Returnboolean true if this entry overrides a calculated entry, false otherwise. If true, then isDerived() must be false.
Compliancemandatory This method must be implemented.
MethodgetOverriddenCalculatedEntryId
Description

Gets the calculated entry Id this entry overrides.

Returnosid.id.Id the calculated entry Id
ErrorsILLEGAL_STATE overridesDerivedEntry() is false
Compliancemandatory This method must be implemented.
MethodgetOverriddenCalculatedEntry
Description

Gets the calculated entry this entry overrides.

Returnosid.grading.GradeEntry the calculated entry
ErrorsILLEGAL_STATE overridesCalculatedEntry() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodisIgnoredForCalculations
Description

Tests if this is entry should be ignored in any averaging, scaling or curve calculation.

Returnboolean true if this entry is ignored, false otherwise
Compliancemandatory This 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
Compliancemandatory This method must be implemented.
MethodgetGradeId
Description

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

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

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

Returnosid.grading.Grade the grade
ErrorsILLEGAL_STATE isGraded() is false or GradeSystem.isBasedOnGrades() is false
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetScore
Description

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

Returndecimal the score
ErrorsILLEGAL_STATE isGraded() is false or GradeSystem.isBasedOnGrades() is true
Compliancemandatory This method must be implemented.
MethodgetTimeGraded
Description

Gets the time the gradeable object was graded.

Returnosid.calendaring.DateTime the timestamp of the grading entry
ErrorsILLEGAL_STATE isGraded() is false or isDerived() is true
Compliancemandatory This method must be implemented.
MethodgetGraderId
Description

Gets the Id of the Resource that created this entry.

Returnosid.id.Id the Id of the Resource
ErrorsILLEGAL_STATE isGraded() is false or isDerived() is true
Compliancemandatory This method must be implemented.
MethodgetGrader
Description

Gets the Resource that created this entry.

Returnosid.resource.Resource the Resource
ErrorsILLEGAL_STATE isGraded() is false or isDerived() is true
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetGradingAgentId
Description

Gets the Id of the Agent that created this entry.

Returnosid.id.Id the Id of the Agent
ErrorsILLEGAL_STATE isGraded() is false or isDerived() is true
Compliancemandatory This method must be implemented.
MethodgetGradingAgent
Description

Gets the Agent that created this entry.

Returnosid.authentication.Agent the Agent
ErrorsILLEGAL_STATE isGraded() is false or isDerived() is true
OPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetGradeEntryRecord
Description

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

Parametersosid.type.TypegradeEntryRecordType the type of the record to retrieve
Returnosid.grading.records.GradeEntryRecord the grade entry record
ErrorsNULL_ARGUMENT gradeEntryRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(gradeEntryRecordType) is false
Compliancemandatory This method must be implemented.