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

MethodgetLearningObjectiveIdTerms
Description

Gets the learning objective Id query terms.

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

Gets the learning objective query terms.

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

Gets the question Id query terms.

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

Gets the question query terms.

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

Gets the answer Id query terms.

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

Gets the answer query terms.

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

Gets the assessment Id query terms.

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

Gets the assessment query terms.

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

Gets the bank Id query terms.

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

Gets the bank query terms.

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

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

Parametersosid.type.TypeitemRecordTypean item record type
Returnosid.assessment.records.ItemQueryInspectorRecordthe item query inspector record
ErrorsNULL_ARGUMENT itemRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(itemRecordType) is false
CompliancemandatoryThis method must be implemented.