OSID Logo
OSID Specifications
mapping path package
Version 3.1.0
Interfaceosid.mapping.path.Signal
Implementsosid.OsidRule
Used Byosid.mapping.path.SignalAdminSession
osid.mapping.path.SignalList
osid.mapping.path.SignalLookupSession
Description

A Signal represents a traffic signal in a Map. The genus type indicates the type of signal. A signal has one or more States that are used to instruct traffic.

MethodgetPathId
Description

Gets the path Id.

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

Gets the path.

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

Gets the coordinate of the signal on the path.

Returnosid.mapping.Coordinate the coordinate
Compliancemandatory This method must be implemented.
MethodgetStateIds
Description

Gets the valid state Ids of this signal.

Returnosid.id.IdList the Ids of the states
Compliancemandatory This method must be implemented.
MethodgetStates
Description

Gets the states of this signal.

Returnosid.process.StateList the states
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetSignalRecord
Description

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

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