public enum RoadTypeEnum extends Enum<RoadTypeEnum>
Java class for RoadTypeEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RoadTypeEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="motorway"/>
<enumeration value="trunkRoad"/>
<enumeration value="mainRoad"/>
<enumeration value="other"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
MAIN_ROAD |
MOTORWAY |
OTHER |
TRUNK_ROAD |
| Modifier and Type | Method and Description |
|---|---|
static RoadTypeEnum |
fromValue(String v) |
String |
value() |
static RoadTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoadTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoadTypeEnum MOTORWAY
public static final RoadTypeEnum TRUNK_ROAD
public static final RoadTypeEnum MAIN_ROAD
public static final RoadTypeEnum OTHER
public static RoadTypeEnum[] values()
for (RoadTypeEnum c : RoadTypeEnum.values()) System.out.println(c);
public static RoadTypeEnum 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 value()
public static RoadTypeEnum fromValue(String v)
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.