OSID Logo
OSID Specifications
mapping path package
Version 3.1.0
Interfaceosid.mapping.path.SpeedZone
Implementsosid.OsidRule
Used Byosid.mapping.path.SpeedZoneAdminSession
osid.mapping.path.SpeedZoneList
osid.mapping.path.SpeedZoneLookupSession
Description

A SpeedZone represents a speed zone in a Map.

MethodgetPathId
Description

Gets the path Id of this speed zone.

Returnosid.id.Id the Id of the path
Compliancemandatory This method must be implemented.
MethodgetPath
Description

Gets the path of this speed zone.

Returnosid.mapping.path.Path the path
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetStartingCoordinate
Description

Gets the starting coordinate of the speed zone on the path.

Returnosid.mapping.Coordinate the start of the zone
Compliancemandatory This method must be implemented.
MethodgetEndingCoordinate
Description

Gets the ending coordinate of the speed zone on the path.

Returnosid.mapping.Coordinate the end of the zone
Compliancemandatory This method must be implemented.
MethodisImplicit
Description

Tests if this speed zone is implicit. An implicit speed zone is generated from other information such as an Obstacle.

Returnboolean true if this speed zone is implicit, false if explicitly managed
Compliancemandatory This method must be implemented.
MethodgetSpeedLimit
Description

Gets the speed limit in this zone.

Returnosid.mapping.Speed the speed limit
Compliancemandatory This method must be implemented.
MethodgetSpeedZoneRecord
Description

Gets the speed zone record corresponding to the given SpeedZone record Type. This method is used to retrieve an object implementing the requested record. The speedZoneRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(speedZoneRecordType) is true.

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