OSID Logo
OSID Specifications
assessment package
Version 3.1.0
Interfaceosid.assessment.Response
Implementsosid.OsidCondition
Used Byosid.assessment.AssessmentSession
osid.assessment.ResponseList
Description

A response to an assessment item. This interface contains methods to set values in response to an assessmet item and mirrors the item record structure with the corresponding setters.

MethodgetItemId
Description

Gets the Id of the Item.

Returnosid.id.Id the assessment item Id
Compliancemandatory This method must be implemented.
MethodgetItem
Description

Gets the Item.

Returnosid.assessment.Item the assessment item
Compliancemandatory This method must be implemented.
MethodgetResponseRecord
Description

Gets the response record corresponding to the given Item record Type.This method is used to retrieve an object implementing the requested record. The itemRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(itemRecordType) is true.

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