OSID Logo
OSID Specifications
mapping route package
Version 3.1.0
Interfaceosid.mapping.route.RouteSegmentSearchOrder
Implementsosid.OsidObjectSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByStartingInstructions
Description

Specifies a preference for oredering the results by starting instructions.

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

Specifies a preference for oredering the results by ending instructions.

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

Specifies a preference for oredering the results by distance.

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

Specifies a preference for oredering the results by estimated travel time.

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

Specifies a preference for oredering the results by path.

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

Tests if a search order for the route is available.

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

Gets a route search order.

Returnosid.mapping.route.RouteSearchOrder the path search order
ErrorsUNIMPLEMENTED supportsRouteSearchOrder() is false
Complianceoptional This method must be implemented if supportsRouteSearchOrder() is true.
MethodorderByPath
Description

Specifies a preference for oredering 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 search order for the path 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.
MethodgetRouteSegmentSearchOrderRecord
Description

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

Parametersosid.type.TyperouteSegmentRecordType a route segment record type
Returnosid.mapping.route.records.RouteSegmentSearchOrderRecord the route segment search order record
ErrorsNULL_ARGUMENT routeSegmentRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(routeSegmentRecordType) is false
Compliancemandatory This method must be implemented.