OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.ItemForm
Implementsosid.OsidObjectForm
osid.OsidAggregateableForm
Description

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

MethodgetLearningObjectivesMetadata
Description

Gets the metadata for learning objectives.

Returnosid.Metadatametadata for the learning objectives
CompliancemandatoryThis method must be implemented.
MethodsetLearningObjectives
Description

Sets the learning objectives.

Parametersosid.id.Id[]objectiveIdsthe learning objective Ids
ErrorsINVALID_ARGUMENT objectiveIds is invalid
NO_ACCESS Metadata.isReadOnly() is true
CompliancemandatoryThis method must be implemented.
MethodclearLearningObjectives
Description

Clears the learning objectives.

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

Gets the ItemnFormRecord corresponding to the given item record Type.

Parametersosid.type.TypeitemRecordTypethe item record type
Returnosid.assessment.records.ItemFormRecordthe item record
ErrorsNULL_ARGUMENT itemRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(itemRecordType) is false
CompliancemandatoryThis method must be implemented.