View Javadoc
1   package org.opentrafficsim.water.network;
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/docs/current/license.html">OpenTrafficSim License</a>.
7    * </p>
8    * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
9    * initial version Nov 6, 2016 <br>
10   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
11   */
12  public abstract class Obstacle
13  {
14      /** */
15      private static final long serialVersionUID = 20161105L;
16  
17      /** the waterway along which it is located, and the location on the waterway. */
18      private final WaterwayLocation waterwayLocation;
19  
20      /**
21       * @param waterwayLocation location of the obstacle along the waterway
22       */
23      public Obstacle(final WaterwayLocation waterwayLocation)
24      {
25          super();
26          this.waterwayLocation = waterwayLocation;
27      }
28  
29  }