public class GtuData extends Object implements GtuDataInterface
Copyright (c) 2013-2018 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
- the idgtuType
- the gtu typeroute
- the routepublic final String getId()
getId
in interface Identifiable
getId
in interface GtuDataInterface
public final NodeDataInterface getOriginNodeData()
getOriginNodeData
in interface GtuDataInterface
public final NodeDataInterface getDestinationNodeData()
getDestinationNodeData
in interface GtuDataInterface
public final GtuTypeDataInterface getGtuTypeData()
getGtuTypeData
in interface GtuDataInterface
public final RouteDataInterface getRouteData()
getRouteData
in interface GtuDataInterface
Copyright © 2014–2018 Delft University of Technology. All rights reserved.