OSID Logo
OSID Specifications
ontology package
Version 3.0.0
Release Candidate Preview
Interfaceosid.ontology.OntologyQueryInspector
Implementsosid.OsidCatalogQueryInspector
Description

This is the query inspector for examining ontology queries.

MethodgetSubjectIdTerms
Description

Gets the subject Id terms.

Returnosid.search.terms.IdTerm[]the subject Id terms
CompliancemandatoryThis method must be implemented.
MethodgetSubjectTerms
Description

Gets the subject terms.

Returnosid.ontology.SubjectQueryInspector[]the subject terms
CompliancemandatoryThis method must be implemented.
MethodgetRelevancyIdTerms
Description

Gets the relevancy Id terms.

Returnosid.search.terms.IdTerm[]the relevancy Id terms
CompliancemandatoryThis method must be implemented.
MethodgetRelevancyTerms
Description

Gets the relevancy terms.

Returnosid.ontology.RelevancyQueryInspector[]the relevancy terms
CompliancemandatoryThis method must be implemented.
MethodgetAncestorOntologyIdTerms
Description

Gets the ancestor ontology Id terms.

Returnosid.search.terms.IdTerm[]the ancestor ontology Id terms
CompliancemandatoryThis method must be implemented.
MethodgetAncestorOntologyTerms
Description

Gets the ancestor ontology terms.

Returnosid.ontology.OntologyQueryInspector[]the ancestor ontology terms
CompliancemandatoryThis method must be implemented.
MethodgetDescendantOntologyIdTerms
Description

Gets the descendant ontology Id terms.

Returnosid.search.terms.IdTerm[]the descendant ontology Id terms
CompliancemandatoryThis method must be implemented.
MethodgetDescendantOntologyTerms
Description

Gets the descendant ontology terms.

Returnosid.ontology.OntologyQueryInspector[]the descendant ontology terms
CompliancemandatoryThis method must be implemented.
MethodgetOntologyQueryInspectorRecord
Description

Gets the ontology query inspector record corresponding to the given Ontology record Type.

Parametersosid.type.TypeontologyRecordTypean ontology record type
Returnosid.ontology.records.OntologyQueryInspectorRecordthe ontology query inspector record
ErrorsNULL_ARGUMENT ontologyRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(ontologyRecordType) is false
CompliancemandatoryThis method must be implemented.