OSID Logo
OSID Specifications
mapping path package
Version 3.1.0
Interfaceosid.mapping.path.SignalQuery
Implementsosid.OsidRuleQuery
Used Byosid.mapping.path.SignalQuerySession
osid.mapping.path.SignalSearchSession
osid.mapping.path.SignalSmartMapSession
osid.mapping.path.rules.SignalEnablerQuery
Description

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

MethodmatchPathId
Description

Sets the path Id for this query to match speed zones along the given path.

Parametersosid.id.IdpathId the path Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT pathId is null
Compliancemandatory This method must be implemented.
MethodclearPathIdTerms
Description

Clears the path Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsPathQuery
Description

Tests if a PathQuery is available.

Returnboolean true if a path query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetPathQuery
Description

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

Returnosid.mapping.path.PathQuery the path query
ErrorsUNIMPLEMENTED supportsPathQuery() is false
Complianceoptional This method must be implemented if supportsPathQuery() is true.
MethodclearPathTerms
Description

Clears the path query terms.

Compliancemandatory This method must be implemented.
MethodmatchCoordinate
Description

Matches signals overlapping with the specified Coordinate.

Parametersosid.mapping.Coordinatecoordinate a coordinate
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT coordinate is null
Compliancemandatory This method must be implemented.
MethodmatchAnyCoordinate
Description

Matches signals that have any coordinate assignment.

Parametersbooleanmatch true to match signals with any coordinate, false to match signals with no coordinates
Compliancemandatory This method must be implemented.
MethodclearCoordinateTerms
Description

Clears the coordinate query terms.

Compliancemandatory This method must be implemented.
MethodmatchContainingSpatialUnit
Description

Matches signals within the specified SpatialUnit.

Parametersosid.mapping.SpatialUnitspatialUnit a spatial unit
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT spatialUnit is null
Compliancemandatory This method must be implemented.
MethodclearContainingSpatialUnitTerms
Description

Clears the spatial unit terms.

Compliancemandatory This method must be implemented.
MethodmatchStateId
Description

Sets the state Id for this query.

Parametersosid.id.IdstateId the state Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT stateId is null
Compliancemandatory This method must be implemented.
MethodclearStateIdTerms
Description

Clears the state Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsStateQuery
Description

Tests if a StateQuery is available.

Returnboolean true if a state query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetStateQuery
Description

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

Returnosid.process.StateQuery the state query
ErrorsUNIMPLEMENTED supportsStateQuery() is false
Complianceoptional This method must be implemented if supportsStateQuery() is true.
MethodclearStateTerms
Description

Clears the state query terms.

Compliancemandatory This method must be implemented.
MethodmatchMapId
Description

Sets the map Id for this query.

Parametersosid.id.IdmapId the map Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT mapId is null
Compliancemandatory This method must be implemented.
MethodclearMapIdTerms
Description

Clears the map Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsMapQuery
Description

Tests if a MapQuery is available.

Returnboolean true if a map query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetMapQuery
Description

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

Returnosid.mapping.MapQuery the map query
ErrorsUNIMPLEMENTED supportsMapQuery() is false
Complianceoptional This method must be implemented if supportsMapQuery() is true.
MethodclearMapTerms
Description

Clears the map query terms.

Compliancemandatory This method must be implemented.
MethodgetSignalQueryRecord
Description

Gets the signal query record corresponding to the given Signal record Type .Multiple record retrievals produce a nested OR term.

Parametersosid.type.TypesignalRecordType a signal record type
Returnosid.mapping.path.records.SignalQueryRecord the signal query record
ErrorsNULL_ARGUMENT signalRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(signalRecordType) is false
Compliancemandatory This method must be implemented.