OSID Logo
OSID Specifications
grading package
Version 3.1.0
Interfaceosid.grading.GradeSystemForm
Implementsosid.OsidObjectForm
osid.OsidAggregateableForm
Implemented Byosid.grading.batch.GradeSystemBatchForm
Used Byosid.grading.GradeSystemAdminSession
Description

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

MethodgetBasedOnGradesMetadata
Description

Gets the metadata for a grade-based designation.

Returnosid.Metadata metadata for the grade-based designation
Compliancemandatory This method must be implemented.
MethodsetBasedOnGrades
Description

Sets the grade-based designation.

Parametersbooleangrades the grade-based designation
ErrorsINVALID_ARGUMENT grades is invalid
NO_ACCESS grades cannot be modified
Compliancemandatory This method must be implemented.
MethodclearBasedOnGrades
Description

Clears the based on grades designation.

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

Gets the metadata for the lowest numeric score.

Returnosid.Metadata metadata for the lowest numeric score
Compliancemandatory This method must be implemented.
MethodsetLowestNumericScore
Description

Sets the lowest numeric score.

Parametersdecimalscore the lowest numeric score
ErrorsINVALID_ARGUMENT score is invalid
NO_ACCESS score cannot be modified
Compliancemandatory This method must be implemented.
MethodclearLowestNumericScore
Description

Clears the lowest score.

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

Gets the metadata for the lowest numeric score.

Returnosid.Metadata metadata for the lowest numeric score
Compliancemandatory This method must be implemented.
MethodsetNumericScoreIncrement
Description

Sets the numeric score increment.

Parametersdecimalincrement the numeric score increment
ErrorsINVALID_ARGUMENT increment is invalid
NO_ACCESS increment cannot be modified
Compliancemandatory This method must be implemented.
MethodclearNumericScoreIncrement
Description

Clears the numeric score increment.

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

Gets the metadata for the highest numeric score.

Returnosid.Metadata metadata for the highest numeric score
Compliancemandatory This method must be implemented.
MethodsetHighestNumericScore
Description

Sets the highest numeric score.

Parametersdecimalscore the highest numeric score
ErrorsINVALID_ARGUMENT score is invalid
NO_ACCESS score cannot be modified
Compliancemandatory This method must be implemented.
MethodclearHighestNumericScore
Description

Clears the highest numeric score.

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

Gets the GradeSystemFormRecord corresponding to the given grade system record Type.

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