OSID Logo
OSID Specifications
assessment package
Version 3.1.0
Interfaceosid.assessment.Answer
Implementsosid.OsidObject
Used Byosid.assessment.AnswerList
osid.assessment.ItemAdminSession
Description

An Answer represents the question portion of an assessment item. Like all OSID objects, an Answer is identified by its Id and any persisted references should use the Id.

MethodgetAnswerRecord
Description

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

Parametersosid.type.TypeanswerRecordType the type of the record to retrieve
Returnosid.assessment.records.AnswerRecord the answer record
ErrorsNULL_ARGUMENT answerRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(answerRecordType) is false
Compliancemandatory This method must be implemented.