OSID Logo
OSID Specifications
topology rules package
Version 3.0.0
Interfaceosid.topology.rules.EdgeEnablerQuery
Implementsosid.OsidEnablerQuery
Used Byosid.topology.rules.EdgeEnablerQuerySession
osid.topology.rules.EdgeEnablerSearchSession
osid.topology.rules.EdgeEnablerSmartGraphSession
Description

This is the query for searching edge enablers. Each method match specifies an AND term while multiple invocations of the same method produce a nested OR .

MethodmatchRuledEdgeId
Description

Matches enablers mapped to the edge.

Parametersosid.id.IdedgeIdthe edge Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTedgeId is null
CompliancemandatoryThis method must be implemented.
MethodclearRuledEdgeIdTerms
Description

Clears the edge Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRuledEdgeQuery
Description

Tests if an EdgeQuery is available.

Returnbooleantrue if an edge query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRuledEdgeQuery
Description

Gets the query for an edge. Multiple retrievals produce a nested OR term.

Returnosid.topology.EdgeQuerythe edge query
ErrorsUNIMPLEMENTEDsupportsRuledEdgeQuery() is false
ComplianceoptionalThis method must be implemented if supportsRuledEdgeQuery() is true .
MethodmatchAnyRuledEdge
Description

Matches enablers mapped to any edge.

Parametersbooleanmatchtrue for enablers mapped to any edge, false to match enablers mapped to no edge
CompliancemandatoryThis method must be implemented.
MethodclearRuledEdgeTerms
Description

Clears the edge query terms.

CompliancemandatoryThis method must be implemented.
MethodmatchGraphId
Description

Matches enablers mapped to the graph.

Parametersosid.id.IdgraphIdthe graph Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTgraphId is null
CompliancemandatoryThis method must be implemented.
MethodclearGraphIdTerms
Description

Clears the graph Id query terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsGraphQuery
Description

Tests if a GraphQuery is available.

Returnbooleantrue if a graph query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetGraphQuery
Description

Gets the query for a graph. Multiple retrievals produce a nested OR term.

Returnosid.topology.GraphQuerythe graph query
ErrorsUNIMPLEMENTEDsupportsGraphQuery() is false
ComplianceoptionalThis method must be implemented if supportsGraphQuery() is true .
MethodclearGraphTerms
Description

Clears the graph query terms.

CompliancemandatoryThis method must be implemented.
MethodgetEdgeEnablerQueryRecord
Description

Gets the edge enabler query record corresponding to the given EdgeEnabler record Type . Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypeedgeEnablerRecordTypean edge enabler record type
Returnosid.topology.rules.records.EdgeEnablerQueryRecordthe edge enabler query record
ErrorsNULL_ARGUMENTedgeEnablerRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(edgeEnablerRecordType) is false
CompliancemandatoryThis method must be implemented.