View Javadoc
1   package org.opentrafficsim.road.network.factory.vissim;
2   
3   import java.io.Serializable;
4   
5   /**
6    * <p>
7    * Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
8    * BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
9    * <p>
10   * $LastChangedDate: 2019-01-06 01:39:32 +0100 (Sun, 06 Jan 2019) $, @version $Revision: 4833 $, by $Author: averbraeck $,
11   * initial version Jul 23, 2015 <br>
12   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
13   */
14  class ConnectorTag implements Serializable
15  {
16      /** */
17      private static final long serialVersionUID = 20150723L;
18  
19      /** fromLinkNo, cannot be null in implementation of signal head. */
20      @SuppressWarnings("checkstyle:visibilitymodifier")
21      String fromLinkNo = "";
22  
23      /** fromLaneNo, cannot be null in implementation of signal head. */
24      @SuppressWarnings("checkstyle:visibilitymodifier")
25      String fromLaneNo = "";
26  
27      /**
28       * Position of the signalHead on the link, relative to the design line, stored as a string to parse when the length is
29       * known.
30       */
31      @SuppressWarnings("checkstyle:visibilitymodifier")
32      String fromPositionStr = "";
33  
34      /** fromLinkNo, cannot be null in implementation of signal head. */
35      @SuppressWarnings("checkstyle:visibilitymodifier")
36      String toLinkNo = "";
37  
38      /** fromLaneNo, cannot be null in implementation of signal head. */
39      @SuppressWarnings("checkstyle:visibilitymodifier")
40  
41      String toLaneNo = "";
42  
43      String toNodeName = "";
44  
45      String fromNodeName = "";
46  
47      /**
48       * Position of the signalHead on the link, relative to the design line, stored as a string to parse when the length is
49       * known.
50       */
51      @SuppressWarnings("checkstyle:visibilitymodifier")
52      String toPositionStr = "";
53  
54      /** Class name of the TrafficLight. */
55      @SuppressWarnings("checkstyle:visibilitymodifier")
56      String className = "";
57  
58      /** {@inheritDoc} */
59      @Override
60      public final String toString()
61      {
62          return "TrafficLightTag [fromName=" + this.fromLinkNo + ", positionStr=" + this.toPositionStr + ", className="
63                  + this.className + "]";
64      }
65  
66  }