OSID Logo
OSID Specifications
mapping path package
Version 3.1.0
Interfaceosid.mapping.path.PathQuery
Implementsosid.OsidObjectQuery
Used Byosid.mapping.LocationQuery
osid.mapping.MapQuery
osid.mapping.path.IntersectionQuery
osid.mapping.path.ObstacleQuery
osid.mapping.path.PathQuery
osid.mapping.path.PathQuerySession
osid.mapping.path.PathSearchSession
osid.mapping.path.PathSmartMapSession
osid.mapping.path.SignalQuery
osid.mapping.path.SpeedZoneQuery
show 2 more…
osid.mapping.route.RouteQuery
osid.mapping.route.RouteSegmentQuery
Description

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

MethodmatchCoordinate
Description

Matches paths 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.
MethodclearCoordinateTerms
Description

Clears the coordinate query terms.

Compliancemandatory This method must be implemented.
MethodmatchOverlappingSpatialUnit
Description

Matches paths overlapping with 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.
MethodmatchAnyOverlappingSpatialUnit
Description

Matches paths that have any overlapping spatial unit.

Parametersbooleanmatch true to match paths with any spatial dimension, false to match paths with no spatial dimensions
Compliancemandatory This method must be implemented.
MethodclearOverlappingSpatialUnitTerms
Description

Clears the spatial unit query terms.

Compliancemandatory This method must be implemented.
MethodmatchAlongLocationIds
Description

Sets the location Ids for this query to match paths including all the given locations.

Parametersosid.id.Id[]locationIds the location Ids
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT locationIds is null
Compliancemandatory This method must be implemented.
MethodclearAlongLocationIdsTerms
Description

Clears the along location Id query terms.

Compliancemandatory This method must be implemented.
MethodmatchIntersectingPathId
Description

Sets the path Id for this query to match paths intersecting with another 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.
MethodclearIntersectingPathIdTerms
Description

Clears the intersecting path Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsIntersectingPathQuery
Description

Tests if a PathQuery is available for intersecting paths,

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

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

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

Matches paths with any intersecting path,

Parametersbooleanmatch true to match paths with any intersecting path, false to match paths with no intersecting path
Compliancemandatory This method must be implemented.
MethodclearIntersectingPathTerms
Description

Clears the intersecting path query terms.

Compliancemandatory This method must be implemented.
MethodmatchLocationId
Description

Sets the location Id for this query to match paths that pass through locations.

Parametersosid.id.IdlocationId the location Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT locationId is null
Compliancemandatory This method must be implemented.
MethodclearLocationIdTerms
Description

Clears the location Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsLocationQuery
Description

Tests if a LocationQuery is available.

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

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

Returnosid.mapping.LocationQuery the location query
ErrorsUNIMPLEMENTED supportsLocationQuery() is false
Complianceoptional This method must be implemented if supportsLocationQuery() is true.
MethodmatchAnyLocation
Description

Matches routes that go through any location.

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

Clears the location query terms.

Compliancemandatory This method must be implemented.
MethodmatchRouteId
Description

Sets the route Id for this query to match paths used in a route.

Parametersosid.id.IdrouteId a route Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT routeId is null
Compliancemandatory This method must be implemented.
MethodclearRouteIdTerms
Description

Clears the route Id query terms.

Compliancemandatory This method must be implemented.
MethodsupportsRouteQuery
Description

Tests if a RouteQuery is available.

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

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

Returnosid.mapping.route.RouteQuery the route query
ErrorsUNIMPLEMENTED supportsRouteQuery() is false
Complianceoptional This method must be implemented if supportsRouteQuery() is true.
MethodmatchAnyRoute
Description

Matches paths that are used in any route.

Parametersbooleanmatch true to match paths in any route, false to match paths used in no route
Compliancemandatory This method must be implemented.
MethodclearRouteTerms
Description

Clears the route query terms.

Compliancemandatory This method must be implemented.
MethodmatchMapId
Description

Sets the map Id for this query to match paths 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.
MethodgetPathQueryRecord
Description

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

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