OSID Logo
OSID Specifications
grading package
Version 3.0.0
Release Candidate Preview
Interfaceosid.grading.GradeSystemForm
Implementsosid.OsidObjectForm
osid.OsidAggregateableForm
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.Metadatametadata for the grade-based designation
CompliancemandatoryThis method must be implemented.
MethodsetBaseOnGrades
Description

Sets the grade-based designation.

Parametersbooleangradesthe grade-based designation
ErrorsINVALID_ARGUMENT grades is invalid
NO_ACCESS grades cannot be modified
CompliancemandatoryThis method must be implemented.
MethodclearBasedOnGrades
Description

Clears the based on grades designation.

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

Gets the metadata for the lowest numeric score.

Returnosid.Metadatametadata for the lowest numeric score
CompliancemandatoryThis method must be implemented.
MethodsetLowestNumericScore
Description

Sets the lowest numeric score.

Parametersdecimalscorethe lowest numeric score
ErrorsINVALID_ARGUMENT score is invalid
NO_ACCESS score cannot be modified
CompliancemandatoryThis method must be implemented.
MethodclearLowestScore
Description

Clears the lowest score.

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

Gets the metadata for the lowest numeric score.

Returnosid.Metadatametadata for the lowest numeric score
CompliancemandatoryThis method must be implemented.
MethodsetNumericScoreIncrement
Description

Sets the numeric score increment.

Parametersdecimalincrementthe numeric score increment
ErrorsINVALID_ARGUMENT increment is invalid
NO_ACCESS increment cannot be modified
CompliancemandatoryThis method must be implemented.
MethodclearNumericScoreIncrement
Description

Clears the numeric score increment.

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

Gets the metadata for the highest numeric score.

Returnosid.Metadatametadata for the highest numeric score
CompliancemandatoryThis method must be implemented.
MethodsetHighestNumericScore
Description

Sets the highest numeric score.

Parametersdecimalscorethe highest numeric score
ErrorsINVALID_ARGUMENT score is invalid
NO_ACCESS score cannot be modified
CompliancemandatoryThis method must be implemented.
MethodclearHighestNumericScore
Description

Clears the highest numeric score.

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

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

Parametersosid.type.TypegradeSystemRecordTypethe grade system record type
Returnosid.grading.records.GradeSystemFormRecordthe grade system form record
ErrorsNULL_ARGUMENT gradeSystemRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(gradeSystemRecordType) is false
CompliancemandatoryThis method must be implemented.