OSID Logo
OSID Specifications
offering package
Version 3.0.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.Metadatametadata for the grade
CompliancemandatoryThis method must be implemented.
MethodsetGrade
Description

Sets the grade.

Parametersosid.id.IdgradeIdthe grade Id
ErrorsINVALID_ARGUMENTgradeId is invalid
NO_ACCESSMetadata.isReadOnly() is true
NULL_ARGUMENTgradeId is null
CompliancemandatoryThis method must be implemented.
MethodclearGrade
Description

Clears the grade.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetValueMetadata
Description

Gets the metadata for a value/

Returnosid.Metadatametadata for the value
CompliancemandatoryThis method must be implemented.
MethodsetValue
Description

Sets the value.

Parametersdecimalvaluethe value
ErrorsINVALID_ARGUMENTvalue is invalid
NO_ACCESSMetadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearValue
Description

Clears the value.

ErrorsNO_ACCESSMetadata.isRequired() or Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodgetResultFormRecord
Description

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

Parametersosid.type.TyperesultRecordTypethe result record type
Returnosid.offering.records.ResultFormRecordthe record
ErrorsNULL_ARGUMENTresultRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(resultRecordType) is false
CompliancemandatoryThis method must be implemented.