OSID Logo
OSID Specifications
mapping path package
Version 3.1.0
Interfaceosid.mapping.path.SpeedZoneSearchOrder
Implementsosid.OsidRuleSearchOrder
Used Byosid.mapping.path.SpeedZoneSearchSession
osid.mapping.path.SpeedZoneSmartMapSession
Description

An interface for specifying the ordering of search results.

MethodorderByPath
Description

Orders the results by path.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsPathSearchOrder
Description

Tests if a path search order is available.

Returnboolean true if a path search order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetPathSearchOrder
Description

Gets a path search order.

Returnosid.mapping.path.PathSearchOrder the path search order
ErrorsUNIMPLEMENTED supportsPathSearchOrder() is false
Complianceoptional This method must be implemented if supportsPathSearchOrder() is true.
MethodorderByLength
Description

Orders the results by the length of the zone.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderBySpeedLimit
Description

Specifies a preference for ordering the results by speed limit.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodgetSpeedZoneSearchOrderRecord
Description

Gets the speed zone search order record corresponding to the given speed zone record Type. Multiple retrievals return the same underlying object.

Parametersosid.type.TypespeedZoneRecordType a speed zone record type
Returnosid.mapping.path.records.SpeedZoneSearchOrderRecord the speed zone search order record
ErrorsNULL_ARGUMENT speedZoneRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(speedZoneRecordType) is false
Compliancemandatory This method must be implemented.