OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.Question
Implementsosid.OsidObject
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.TypequestionRecordTypethe type of the record to retrieve
Returnosid.assessment.records.QuestionRecordthe question record
ErrorsNULL_ARGUMENT questionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(questionRecordType) is false
CompliancemandatoryThis method must be implemented.