OSID Logo
OSID Specifications
mapping path package
Version 3.1.0
Interfaceosid.mapping.path.IntersectionQuery
Implementsosid.OsidObjectQuery
osid.OsidAggregateableQuery
Used Byosid.mapping.path.IntersectionQuerySession
osid.mapping.path.IntersectionSearchSession
osid.mapping.path.IntersectionSmartMapSession
Description

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

MethodmatchCoordinate
Description

Match intersections overlapping with the given 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.
MethodclearCoordinateTerms
Description

Clears the coordinate query terms.

Compliancemandatory This method must be implemented.
MethodmatchContainingSpatialUnit
Description

Matches intersections 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.
MethodmatchPathId
Description

Sets the path Id for this query to match routes using a designated 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.
MethodmatchAnyPath
Description

Matches intersections with any designated path.

Parametersbooleanmatch true to match routes with any path, false to match routes with no path
Compliancemandatory This method must be implemented.
MethodclearPathTerms
Description

Clears the path query terms.

Compliancemandatory This method must be implemented.
MethodmatchRotary
Description

Matches rotaries.

Parametersbooleanmatch true to match rotaries, false otherwise
Compliancemandatory This method must be implemented.
MethodclearRotaryTerms
Description

Clears the rotary query terms.

Compliancemandatory This method must be implemented.
MethodmatchFork
Description

Matches forks.

Parametersbooleanmatch true to match forks, false otherwise
Compliancemandatory This method must be implemented.
MethodclearForkTerms
Description

Clears the fork query terms.

Compliancemandatory This method must be implemented.
MethodmatchMapId
Description

Sets the map Id for this query to match routes assigned to maps.

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.
MethodgetIntersectionQueryRecord
Description

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

Parametersosid.type.TypeintersectionRecordType an intersection record type
Returnosid.mapping.path.records.IntersectionQueryRecord the intersection query record
ErrorsNULL_ARGUMENT intersectionRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(intersectionRecordType) is false
Compliancemandatory This method must be implemented.