OSID Logo
OSID Specifications
relationship package
Version 3.1.0
Interfaceosid.relationship.RelationshipQueryInspector
Implementsosid.OsidRelationshipQueryInspector
Used Byosid.OsidObjectQueryInspector
osid.relationship.FamilyQueryInspector
osid.relationship.RelationshipSearchResults
osid.relationship.RelationshipSmartFamilySession
osid.relationship.rules.RelationshipEnablerQueryInspector
Description

This is the query inspector for examining relationship queries.

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

MethodgetSourceIdTerms
Description

Gets the peer Id terms.

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

Gets the other peer Id terms.

Returnosid.search.terms.IdTerm[] the other peer Id terms
Compliancemandatory This method must be implemented.
MethodgetSamePeerIdTerms
Description

Gets the same peer terms.

Returnosid.search.terms.BooleanTerm[] the same peer terms
Compliancemandatory This method must be implemented.
MethodgetFamilyIdTerms
Description

Gets the family Id terms.

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

Gets the family terms.

Returnosid.relationship.FamilyQueryInspector[] the family terms
Compliancemandatory This method must be implemented.
MethodgetRelationshipQueryInspectorRecord
Description

Gets the relationship query inspector record corresponding to the given Relationship record Type.

Parametersosid.type.TyperelationshipRecordType a relationship record type
Returnosid.relationship.records.RelationshipQueryInspectorRecord the relationship query inspector record
ErrorsNULL_ARGUMENT relationshipRecordType is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure occurred
UNSUPPORTED hasRecordType(relationshipRecordType) is false
Compliancemandatory This method must be implemented.