OSID Logo
OSID Specifications
grading package
Version 3.1.0
Interfaceosid.grading.GradeEntryForm
Implementsosid.OsidRelationshipForm
Implemented Byosid.grading.batch.GradeEntryBatchForm
Used Byosid.grading.GradeEntryAdminSession
Description

This is the form for creating and updating GradeEntries. Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the GradeEntryAdminSession. For each data element that may be set, metadata may be examined to provide display hints or data constraints.

MethodgetIgnoredForCalculationsMetadata
Description

Gets the metadata for the ignore flag.

Returnosid.Metadata metadata for the ignore flag
Compliancemandatory This method must be implemented.
MethodsetIgnoredForCalculations
Description

Sets the ignore for calculations flag.

Parametersbooleanignore the new ignore flag
ErrorsINVALID_ARGUMENT ignore is invalid
NO_ACCESS ignore cannot be modified
Compliancemandatory This method must be implemented.
MethodclearIgnoredForCalculations
Description

Clears the ignore for calculations flag.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetGradeMetadata
Description

Gets the metadata for a grade.

Returnosid.Metadata metadata for the grade
Compliancemandatory This method must be implemented.
MethodsetGrade
Description

Sets the grade.

Parametersosid.id.IdgradeId the new grade
ErrorsINVALID_ARGUMENT gradeId is invalid or GradebookColumn.getGradeSystem().isBasedOnGrades() is false
NO_ACCESS gradeId cannot be modified
NULL_ARGUMENT gradeId is null
Compliancemandatory This method must be implemented.
MethodclearGrade
Description

Clears the grade.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetScoreMetadata
Description

Gets the metadata for a score.

Returnosid.Metadata metadata for the score
Compliancemandatory This method must be implemented.
MethodsetScore
Description

Sets the score.

Parametersdecimalscore the new score
ErrorsINVALID_ARGUMENT score is invalid or GradebookColumn.getGradeSystem().isBasedOnGrades() is true
NO_ACCESS score cannot be modified
Compliancemandatory This method must be implemented.
MethodclearScore
Description

Clears the score.

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodgetGradeEntryFormRecord
Description

Gets the GradeEntryFormRecord corresponding to the given grade entry record Type.

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