public class GtuData extends Object implements GtuDataInterface
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
GtuData(String id,
GtuTypeData gtuType,
RouteData route) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
NodeDataInterface |
getDestinationNodeData() |
GtuTypeDataInterface |
getGtuTypeData() |
String |
getId() |
NodeDataInterface |
getOriginNodeData() |
RouteDataInterface |
getRouteData() |
int |
hashCode() |
String |
toString() |
public GtuData(String id, GtuTypeData gtuType, RouteData route)
id - String; the idgtuType - GtuTypeData; the gtu typeroute - RouteData; the routepublic final String getId()
getId in interface IdentifiablegetId in interface GtuDataInterfacepublic final NodeDataInterface getOriginNodeData()
getOriginNodeData in interface GtuDataInterfacepublic final NodeDataInterface getDestinationNodeData()
getDestinationNodeData in interface GtuDataInterfacepublic final GtuTypeDataInterface getGtuTypeData()
getGtuTypeData in interface GtuDataInterfacepublic final RouteDataInterface getRouteData()
getRouteData in interface GtuDataInterfaceCopyright © 2014–2019 Delft University of Technology. All rights reserved.