OSID Logo
OSID Specifications
assessment package
Version 3.1.0
Interfaceosid.assessment.ItemQueryInspector
Implementsosid.OsidObjectQueryInspector
osid.OsidAggregateableQueryInspector
Used Byosid.assessment.AssessmentQueryInspector
osid.assessment.BankQueryInspector
osid.assessment.ItemSearchResults
osid.assessment.ItemSmartBankSession
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.

Like all OsidQueryInspectors, ItemQueryInspector is stateful and must not be accessed by multiple processing threads.

MethodgetLearningObjectiveIdTerms
Description

Gets the learning objective Id query terms.

Returnosid.search.terms.IdTerm[] the learning objective Id terms
Compliancemandatory This method must be implemented.
MethodgetLearningObjectiveTerms
Description

Gets the learning objective query terms.

Returnosid.learning.ObjectiveQueryInspector[] the learning objective terms
Compliancemandatory This method must be implemented.
MethodgetQuestionIdTerms
Description

Gets the question Id query terms.

Returnosid.search.terms.IdTerm[] the question Id terms
Compliancemandatory This method must be implemented.
MethodgetQuestionTerms
Description

Gets the question query terms.

Returnosid.assessment.QuestionQueryInspector[] the question terms
Compliancemandatory This method must be implemented.
MethodgetAnswerIdTerms
Description

Gets the answer Id query terms.

Returnosid.search.terms.IdTerm[] the answer Id terms
Compliancemandatory This method must be implemented.
MethodgetAnswerTerms
Description

Gets the answer query terms.

Returnosid.assessment.AnswerQueryInspector[] the answer terms
Compliancemandatory This method must be implemented.
MethodgetAssessmentIdTerms
Description

Gets the assessment Id query terms.

Returnosid.search.terms.IdTerm[] the assessment Id terms
Compliancemandatory This method must be implemented.
MethodgetAssessmentTerms
Description

Gets the assessment query terms.

Returnosid.assessment.AssessmentQueryInspector[] the assessment terms
Compliancemandatory This method must be implemented.
MethodgetBankIdTerms
Description

Gets the bank Id query terms.

Returnosid.search.terms.IdTerm[] the bank Id terms
Compliancemandatory This method must be implemented.
MethodgetBankTerms
Description

Gets the bank query terms.

Returnosid.assessment.BankQueryInspector[] the bank terms
Compliancemandatory This method must be implemented.
MethodgetItemQueryInspectorRecord
Description

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

Parametersosid.type.TypeitemRecordType an item record type
Returnosid.assessment.records.ItemQueryInspectorRecord the item query inspector record
ErrorsNULL_ARGUMENT itemRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(itemRecordType) is false
Compliancemandatory This method must be implemented.