OSID Logo
OSID Specifications
mapping path package
Version 3.1.0
Interfaceosid.mapping.path.Path
Implementsosid.OsidObject
Used Byosid.mapping.path.MyPathSession
osid.mapping.path.Obstacle
osid.mapping.path.PathAdminSession
osid.mapping.path.PathList
osid.mapping.path.PathLookupSession
osid.mapping.path.ResourceVelocity
osid.mapping.path.Signal
osid.mapping.path.SpeedZone
osid.mapping.route.RouteSegment
Description

A Path represents a navigable path or road. The Path is the interface to relate a navigable route to a physical path.

MethodgetPathRecord
Description

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

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