public class

GenericLane

extends Object
java.lang.Object
   ↳ com.commsignia.v2x.client.model.GenericLane

Class Overview

Represents a generic lane.

Summary

Public Constructors
GenericLane()
Creates a new instance
Public Methods
void clearSpeedLimit()
Clears the speed limit value.
boolean equals(Object o)
AllowedManeuvers getAllowedManeuvers()
Returns the allowed maneuvers.
Long getApproachGroupEgress()
Returns the egress group approach id
Long getApproachGroupIngress()
Returns the ingress group approach id
List<LaneConnection> getConnectsTo()
Returns the list of connections to other lanes.
LaneBundling getLaneBundling()
Returns the lane bundling type.
LaneDirection getLaneDirection()
Returns the direction of this lane.
int getLaneId()
Returns the lane id.
LaneType getLaneType()
Returns the lane type
String getName()
Returns the name of the lane
List<LaneNode> getNodeList()
Returns the list of nodes for this lane.
LaneSharing getSharedWith()
Returns the lane sharing status.
Double getSpeedLimit(SpeedUnit unit)
Returns the speed limit in the specified unit
boolean hasSpeedLimit()
Determines if this generic lane has a set speed limit.
int hashCode()
void setAllowedManeuvers(AllowedManeuvers allowedManeuvers)
Sets the allowed maneuvers.
void setApproachGroupEgress(Long approachGroupEgress)
Sets the egress group approach id
void setApproachGroupIngress(Long approachGroupIngress)
Sets the ingress group approach id
void setConnectsTo(List<LaneConnection> connectsTo)
Sets the list of connections to other lanes.
void setLaneBundling(LaneBundling laneBundling)
Sets the lane bundling type.
void setLaneDirection(LaneDirection laneDirection)
Sets the direction of this lane.
void setLaneId(int laneId)
Sets the lane id
void setLaneType(LaneType laneType)
Sets the lane type
void setName(String name)
Sets the name of the lane
void setNodeList(List<LaneNode> nodeList)
Sets the list of nodes for this lane.
void setSharedWith(LaneSharing sharedWith)
Sets the lane sharing status.
void setSpeedLimit(double speedLimit, SpeedUnit speedLimitUnit)
Sets the speed limit in the specified unit
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public GenericLane ()

Creates a new instance

Public Methods

public void clearSpeedLimit ()

Clears the speed limit value.

public boolean equals (Object o)

public AllowedManeuvers getAllowedManeuvers ()

Returns the allowed maneuvers.

Returns
  • allowed maneuvers

public Long getApproachGroupEgress ()

Returns the egress group approach id

Returns
  • egress group approach id

public Long getApproachGroupIngress ()

Returns the ingress group approach id

Returns
  • ingress group approach id

public List<LaneConnection> getConnectsTo ()

Returns the list of connections to other lanes.

Returns
  • list of connections to other lanes

public LaneBundling getLaneBundling ()

Returns the lane bundling type.

Returns
  • lane bundling type.

public LaneDirection getLaneDirection ()

Returns the direction of this lane.

Returns
  • direction of this lane

public int getLaneId ()

Returns the lane id.

Returns
  • lane id

public LaneType getLaneType ()

Returns the lane type

Returns
  • lane type

public String getName ()

Returns the name of the lane

Returns
  • name of the lane

public List<LaneNode> getNodeList ()

Returns the list of nodes for this lane.

Returns
  • list of nodes for this lane, contains points comprising this lane

public LaneSharing getSharedWith ()

Returns the lane sharing status.

Returns
  • lane sharing status (shared with bus, taxi, pedestrian, etc.)

public Double getSpeedLimit (SpeedUnit unit)

Returns the speed limit in the specified unit

Parameters
unit target unit
Returns
  • speed limit

public boolean hasSpeedLimit ()

Determines if this generic lane has a set speed limit.

Returns
  • true if the lane has a speed limit, false otherwise

public int hashCode ()

public void setAllowedManeuvers (AllowedManeuvers allowedManeuvers)

Sets the allowed maneuvers.

Parameters
allowedManeuvers allowed maneuvers

public void setApproachGroupEgress (Long approachGroupEgress)

Sets the egress group approach id

Parameters
approachGroupEgress egress group approach id

public void setApproachGroupIngress (Long approachGroupIngress)

Sets the ingress group approach id

Parameters
approachGroupIngress ingress group approach id

public void setConnectsTo (List<LaneConnection> connectsTo)

Sets the list of connections to other lanes.

Parameters
connectsTo list of connections to other lanes

public void setLaneBundling (LaneBundling laneBundling)

Sets the lane bundling type.

Parameters
laneBundling lane bundling type.

public void setLaneDirection (LaneDirection laneDirection)

Sets the direction of this lane.

Parameters
laneDirection direction of this lane

public void setLaneId (int laneId)

Sets the lane id

Parameters
laneId lane id

public void setLaneType (LaneType laneType)

Sets the lane type

Parameters
laneType lane type

public void setName (String name)

Sets the name of the lane

Parameters
name name of the lane

public void setNodeList (List<LaneNode> nodeList)

Sets the list of nodes for this lane.

Parameters
nodeList list of nodes for this lane, contains points comprising of lane

public void setSharedWith (LaneSharing sharedWith)

Sets the lane sharing status.

Parameters
sharedWith lane sharing status (whether shared with bus, taxi, pedestrian, etc.)

public void setSpeedLimit (double speedLimit, SpeedUnit speedLimitUnit)

Sets the speed limit in the specified unit

Parameters
speedLimit speed limit value
speedLimitUnit speed limit unit

public String toString ()