OSID Logo
OSID Specifications
resource package
Version 3.1.0
Interfaceosid.resource.ResourceRelationshipQueryInspector
Implementsosid.OsidRelationshipQueryInspector
Used Byosid.resource.ResourceQueryInspector
osid.resource.ResourceRelationshipSearchResults
osid.resource.ResourceRelationshipSmartBinSession
Description

This is the query inspector for examining resource relationship queries.

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

MethodgetSourceResourceIdTerms
Description

Gets the source resource Id query terms.

Returnosid.search.terms.IdTerm[] the query terms
Compliancemandatory This method must be implemented.
MethodgetSourceResourceTerms
Description

Gets the source resource query terms.

Returnosid.resource.ResourceQueryInspector[] the query terms
Compliancemandatory This method must be implemented.
MethodgetDestinationResourceIdTerms
Description

Gets the Destination resource Id query terms.

Returnosid.search.terms.IdTerm[] the query terms
Compliancemandatory This method must be implemented.
MethodgetDestinationResourceTerms
Description

Gets the Destination resource query terms.

Returnosid.resource.ResourceQueryInspector[] the query terms
Compliancemandatory This method must be implemented.
MethodgetSameResourceTerms
Description

Gets the same resource query terms.

Returnosid.search.terms.BooleanTerm[] the query terms
Compliancemandatory This method must be implemented.
MethodgetBinIdTerms
Description

Gets the bin Id query terms.

Returnosid.search.terms.IdTerm[] the query terms
Compliancemandatory This method must be implemented.
MethodgetBinTerms
Description

Gets the bin query terms.

Returnosid.resource.BinQueryInspector[] the query terms
Compliancemandatory This method must be implemented.
MethodgetResourceRelationshipQueryInspectorRecord
Description

Gets the resource relationship query inspector record corresponding to the given ResourceRelationship record Type .

Parametersosid.type.TyperesourceRelationshipRecordType a resource relationship record type
Returnosid.resource.records.ResourceRelationshipQueryInspectorRecord the resource relationship query inspector record
ErrorsNULL_ARGUMENT resourceRelationshipRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(resourceRelationshipRecordType) is false
Compliancemandatory This method must be implemented.