OSID Logo
OSID Specifications
assessment package
Version 3.1.0
Interfaceosid.assessment.AnswerQueryInspector
Implementsosid.OsidObjectQueryInspector
Used Byosid.assessment.ItemQueryInspector
Description

The query inspectors provide a means of accessing the match terms of a query. These interfaces are used to examine the actual query terms used in a search or that may be used to create a smart catalog. Query inspectors may be converted to OsidQuery interfaces for reuse or modification in the search sessions.

MethodgetAnswerQueryInspectorRecord
Description

Gets the record query inspector corresponding to the given Question record Type.

Parametersosid.type.TypequestionRecordType a question record type
Returnosid.assessment.records.AnswerQueryInspectorRecord the answer query inspector record
ErrorsNULL_ARGUMENT questionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(questionRecordType) is false
Compliancemandatory This method must be implemented.