OSID Logo
OSID Specifications
assessment package
Version 3.1.0
Interfaceosid.assessment.AssessmentForm
Implementsosid.OsidObjectForm
Implemented Byosid.assessment.batch.AssessmentBatchForm
Used Byosid.assessment.AssessmentAdminSession
Description

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

MethodgetLevelMetadata
Description

Gets the metadata for a grade level.

Returnosid.Metadata metadata for the grade level
Compliancemandatory This method must be implemented.
MethodsetLevel
Description

Sets the level of difficulty expressed as a Grade.

Parametersosid.id.IdgradeId the grade level
ErrorsINVALID_ARGUMENT gradeId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeId is null
Compliancemandatory This method must be implemented.
MethodclearLevel
Description

Clears the grade level.

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

Gets the metadata for a rubric assessment.

Returnosid.Metadata metadata for the assesment
Compliancemandatory This method must be implemented.
MethodsetRubric
Description

Sets the rubric expressed as another assessment.

Parametersosid.id.IdassessmentId the assessment Id
ErrorsINVALID_ARGUMENT assessmentId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT assessmentId is null
Compliancemandatory This method must be implemented.
MethodclearRubric
Description

Clears the rubric.

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

Gets the AssessmentFormRecord corresponding to the given assessment record Type.

Parametersosid.type.TypeassessmentFormRecordType the assessment record type
Returnosid.assessment.records.AssessmentFormRecord the assessment record
ErrorsNULL_ARGUMENT assessmentFormRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(assessmentFormRecordType) is false
Compliancemandatory This method must be implemented.