OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.AssessmentForm
Implementsosid.OsidObjectForm
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.Metadatametadata for the grade level
CompliancemandatoryThis method must be implemented.
MethodsetLevel
Description

Sets the level of difficulty expressed as a Grade.

Parametersosid.id.IdgradeIdthe grade level
ErrorsINVALID_ARGUMENT gradeId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT gradeId is null
CompliancemandatoryThis method must be implemented.
MethodclearLevel
Description

Clears the grade level.

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

Gets the metadata for a rubric assessment.

Returnosid.Metadatametadata for the assesment
CompliancemandatoryThis method must be implemented.
MethodsetRubric
Description

Sets the rubric expressed as another assessment.

Parametersosid.id.IdassessmentIdthe assessment Id
ErrorsINVALID_ARGUMENT assessmentId is invalid
NO_ACCESS Metadata.isReadOnly() is true
NULL_ARGUMENT assessmentId is null
CompliancemandatoryThis method must be implemented.
MethodclearRubric
Description

Clears the rubric.

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

Gets the AssessmentFormRecord corresponding to the given assessment record Type.

Parametersosid.type.TypeassessmentRecordTypethe assessment record type
Returnosid.assessment.records.AssessmentFormRecordthe assessment record
ErrorsNULL_ARGUMENT assessmentRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(assessmentRecordType) is false
CompliancemandatoryThis method must be implemented.