OSID Logo
OSID Specifications
assessment package
Version 3.1.0
Interfaceosid.assessment.ItemForm
Implementsosid.OsidObjectForm
osid.OsidAggregateableForm
Implemented Byosid.assessment.batch.QuestionBatchForm
osid.assessment.batch.AnswerBatchForm
osid.assessment.batch.ItemBatchForm
Used Byosid.assessment.ItemAdminSession
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.Metadata metadata for the learning objectives
Compliancemandatory This method must be implemented.
MethodsetLearningObjectives
Description

Sets the learning objectives.

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

Clears the learning objectives.

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

Gets the ItemnFormRecord corresponding to the given item record Type.

Parametersosid.type.TypeitemRecordType the item record type
Returnosid.assessment.records.ItemFormRecord the item record
ErrorsNULL_ARGUMENT itemRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(itemRecordType) is false
Compliancemandatory This method must be implemented.