OSID Logo
OSID Specifications
assessment package
Version 3.0.0
Release Candidate Preview
Interfaceosid.assessment.QuestionQueryInspector
Implementsosid.OsidObjectQueryInspector
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.

MethodgetQuestionQueryInspectorRecord
Description

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

Parametersosid.type.TypequestionRecordTypea question record type
Returnosid.assessment.records.QuestionQueryInspectorRecordthe question query inspector record
ErrorsNULL_ARGUMENT questionRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(questionRecordType) is false
CompliancemandatoryThis method must be implemented.