package org.opentrafficsim.water.role; import org.opentrafficsim.water.AbstractNamedLocated; import nl.tudelft.simulation.language.d3.DirectedPoint; /** *

* Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See OpenTrafficSim License. *

* $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, * initial version Dec 22, 2016
* @author Alexander Verbraeck * @author Peter Knoppers * @author Wouter Schakel */ public class Company extends AbstractNamedLocated { /** code for the company. */ final String code; /** * @param code String; code * @param name String; name * @param location DirectedPoint; location */ public Company(final String code, final String name, final DirectedPoint location) { super(name, location); this.code = code; } /** * @return code */ public final String getCode() { return this.code; } }