public final class GTUType extends Object implements Serializable
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Field and Description |
|---|---|
static GTUType |
ALL
ALL GTUType to be used only for permeability and accessibility.
|
static GTUType |
NONE
NONE GTUType to be used only for permeability and accessibility.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getId() |
int |
hashCode() |
boolean |
hasTurnIndicator() |
static GTUType |
makeGTUType(String id)
Construct a new GTUType or (if it already exists) return an existing GTUType.
|
void |
setHasTurnIndicator(boolean hasTurnIndicator) |
String |
toString() |
public static final GTUType ALL
public static final GTUType NONE
public static GTUType makeGTUType(String id)
id - String; the id of the GTUTypepublic String getId()
public boolean hasTurnIndicator()
public void setHasTurnIndicator(boolean hasTurnIndicator)
hasTurnIndicator - set whether the GTUType has a turnIndicator or notCopyright © 2014–2016 Delft University of Technology. All rights reserved.