public static enum LinkType.DEFAULTS extends Enum<LinkType.DEFAULTS>
Enum Constant and Description |
---|
CONNECTOR
Virtual connection between nodes, e.g.
|
FREEWAY
One-directional road, accessible to all road GTU types (excluding PEDESTRIAN and BICYCLE).
|
NONE
The link type that does not allow any vehicles, or pedestrians.
|
RAILWAY
Two-directional rail link.
|
ROAD
Two-directional road, accessible to all road GTU types (including PEDESTRIAN).
|
WATERWAY
Two-directional water way.
|
Modifier and Type | Method and Description |
---|---|
String |
getId() |
static LinkType.DEFAULTS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkType.DEFAULTS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkType.DEFAULTS NONE
public static final LinkType.DEFAULTS ROAD
public static final LinkType.DEFAULTS FREEWAY
public static final LinkType.DEFAULTS WATERWAY
public static final LinkType.DEFAULTS RAILWAY
public static final LinkType.DEFAULTS CONNECTOR
public static LinkType.DEFAULTS[] values()
for (LinkType.DEFAULTS c : LinkType.DEFAULTS.values()) System.out.println(c);
public static LinkType.DEFAULTS valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getId()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.