OSID Logo
OSID Specifications
resource package
Version 3.0.0
Release Candidate Preview
Interfaceosid.resource.ResourceRelationshipQueryInspector
Implementsosid.OsidRelationshipQueryInspector
Description

This is the query inspector for examining resource relationship queries.

MethodgetSourceResourceIdTerms
Description

Gets the source resource Id query terms.

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

Gets the source resource query terms.

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

Gets the Destination resource Id query terms.

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

Gets the Destination resource query terms.

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

Gets the same resource query terms.

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

Gets the bin Id query terms.

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

Gets the bin query terms.

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

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

Parametersosid.type.TyperesourceRelationshipRecordTypea resource relationship record type
Returnosid.resource.records.ResourceRelationshipQueryInspectorRecordthe resource relationship query inspector record
ErrorsNULL_ARGUMENT resourceRelationshipRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTED hasRecordType(resourceRelationshipRecordType) is false
CompliancemandatoryThis method must be implemented.