OSID Logo
OSID Specifications
assessment package
Version 3.1.0
Interfaceosid.assessment.Question
Implementsosid.OsidObject
Used Byosid.assessment.AssessmentSession
osid.assessment.Item
osid.assessment.ItemAdminSession
osid.assessment.QuestionList
Description

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

MethodgetQuestionRecord
Description

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

Parametersosid.type.TypequestionRecordType the type of the record to retrieve
Returnosid.assessment.records.QuestionRecord the question record
ErrorsNULL_ARGUMENT questionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(questionRecordType) is false
Compliancemandatory This method must be implemented.