OSID Logo
OSID Specifications
grading package
Version 3.0.0
Release Candidate Preview
Interfaceosid.grading.GradebookColumnForm
Implementsosid.OsidObjectForm
Description

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

MethodgetGradeSystemMetadata
Description

Gets the metadata for a grade system.

Returnosid.Metadatametadata for the grade system
CompliancemandatoryThis method must be implemented.
MethodsetGradeSystem
Description

Sets the grade system.

Parametersosid.id.IdgradeSystemIdthe new grade system
ErrorsINVALID_ARGUMENT gradeSystemId is invalid
NO_ACCESS gradeSystemId cannot be modified
NULL_ARGUMENT gradeSystemId is null
CompliancemandatoryThis method must be implemented.
MethodclearGradeSystem
Description

Clears the grade system

ErrorsNO_ACCESS Metadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetGradebookColumnFormRecord
Description

Gets the GradebookColumnFormRecord corresponding to the given gradebook column record Type.

Parametersosid.type.TypegradebookColumnRecordTypea gradebook column record type
Returnosid.grading.records.GradebookColumnFormRecordthe gradebook column form record
ErrorsNULL_ARGUMENT gradebookColumnRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(gradebookColumnRecordType) is false
CompliancemandatoryThis method must be implemented.