View Javadoc
1   package org.opentrafficsim.kpi.interfaces;
2   
3   /**
4    * <p>
5    * Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
6    * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>.
7    * <p>
8    * @version $Revision$, $LastChangedDate$, by $Author$, initial version 12 okt. 2016 <br>
9    * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
10   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
11   * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
12   */
13  public interface GtuDataInterface
14  {
15  
16      /**
17       * @return unique id of the gtu
18       */
19      String getId();
20      
21      /**
22       * @return origin node of the gtu
23       */
24      NodeDataInterface getOriginNodeData();
25      
26      /**
27       * @return destination node of the gtu
28       */
29      NodeDataInterface getDestinationNodeData();
30      
31      /**
32       * @return type of the gtu
33       */
34      GtuTypeDataInterface getGtuTypeData();
35      
36      /**
37       * @return route of the gtu
38       */
39      RouteDataInterface getRouteData();
40      
41  }