OSID Logo
OSID Specifications
offering package
Version 3.1.0
Interfaceosid.offering.ResultForm
Implementsosid.OsidObjectForm
osid.OsidTemporalForm
osid.OsidSubjugateableForm
Implemented Byosid.offering.batch.ResultBatchForm
Used Byosid.offering.ResultAdminSession
Description

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

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 grade Id
ErrorsINVALID_ARGUMENT gradeId is invalid
NO_ACCESS Metadata.isReadOnly() is true
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.
MethodgetValueMetadata
Description

Gets the metadata for a value/

Returnosid.Metadata metadata for the value
Compliancemandatory This method must be implemented.
MethodsetValue
Description

Sets the value.

Parametersdecimalvalue the value
ErrorsINVALID_ARGUMENT value is invalid
NO_ACCESS Metadata.isReadOnly() is true
Compliancemandatory This method must be implemented.
MethodclearValue
Description

Clears the value.

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

Gets the ResultFormRecord interface corresponding to the given result record Type .

Parametersosid.type.TyperesultRecordType the result record type
Returnosid.offering.records.ResultFormRecord the record
ErrorsNULL_ARGUMENT resultRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(resultRecordType) is false
Compliancemandatory This method must be implemented.