OSID Logo
OSID Specifications
grading package
Version 3.1.0
Interfaceosid.grading.GradeForm
Implementsosid.OsidObjectForm
osid.OsidSubjugateableForm
Implemented Byosid.grading.batch.GradeBatchForm
Used Byosid.grading.GradeAdminSession
osid.grading.GradeSystemAdminSession
osid.ordering.PriceScheduleAdminSession
Description

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

MethodgetInputScoreStartRangeMetadata
Description

Gets the metadata for the input score start range.

Returnosid.Metadata metadata for the input score start range
Compliancemandatory This method must be implemented.
MethodsetInputScoreStartRange
Description

Sets the input score start range.

Parametersdecimalscore the new start range
ErrorsINVALID_ARGUMENT score is invalid
NO_ACCESS range cannot be modified
Compliancemandatory This method must be implemented.
MethodclearInputScoreStartRange
Description

Clears the input score start.

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

Gets the metadata for the input score start range.

Returnosid.Metadata metadata for the input score start range
Compliancemandatory This method must be implemented.
MethodsetInputScoreEndRange
Description

Sets the input score start range.

Parametersdecimalscore the new start range
ErrorsINVALID_ARGUMENT score is invalid
NO_ACCESS range cannot be modified
Compliancemandatory This method must be implemented.
MethodclearInputScoreEndRange
Description

Clears the input score start.

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

Gets the metadata for the output score start range.

Returnosid.Metadata metadata for the output score start range
Compliancemandatory This method must be implemented.
MethodsetOutputScore
Description

Sets the output score.

Parametersdecimalscore the new output score
ErrorsINVALID_ARGUMENT score is invalid
NO_ACCESS score cannot be modified
Compliancemandatory This method must be implemented.
MethodclearOutputScore
Description

Clears the output score.

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

Gets the GradeFormRecord corresponding to the given grade record Type.

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