OSID Logo
OSID Specifications
ontology package
Version 3.0.0
Release Candidate Preview
Interfaceosid.ontology.SubjectQueryInspector
Implementsosid.OsidObjectQueryInspector
osid.OsidFederateableQueryInspector
Description

This is the query inspector for examining subject queries.

MethodgetAncestorSubjectIdTerms
Description

Gets the ancestor subject Id terms.

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

Gets the ancestor subject terms.

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

Gets the descendant subject Id terms.

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

Gets the descendant subject terms.

Returnosid.ontology.SubjectQueryInspector[]the descendant 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.
MethodgetOntologyIdTerms
Description

Gets the ontology Id terms.

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

Gets the ontology terms.

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

Gets the subject query inspector record corresponding to the given Subject record Type.

Parametersosid.type.TypesubjectRecordTypea subject record type
Returnosid.ontology.records.SubjectQueryInspectorRecordthe subject query inspector record
ErrorsNULL_ARGUMENT subjectRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(subjectRecordType) is false
CompliancemandatoryThis method must be implemented.