OSID Logo
OSID Specifications
assessment package
Version 3.0.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.TypeanswerRecordTypethe type of the record to retrieve
Returnosid.assessment.records.AnswerRecordthe answer record
ErrorsNULL_ARGUMENTanswerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(answerRecordType) is false
CompliancemandatoryThis method must be implemented.