public enum RoadVehicleModeEnumeration extends Enum<RoadVehicleModeEnumeration>
Java class for RoadVehicleModeEnumeration.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="RoadVehicleModeEnumeration">
<restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN">
<enumeration value="bus"/>
<enumeration value="coach"/>
<enumeration value="trolleyBus"/>
<enumeration value="tram"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BUS |
COACH |
TRAM |
TROLLEY_BUS |
| Modifier and Type | Method and Description |
|---|---|
static RoadVehicleModeEnumeration |
fromValue(String v) |
String |
value() |
static RoadVehicleModeEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoadVehicleModeEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoadVehicleModeEnumeration BUS
public static final RoadVehicleModeEnumeration COACH
public static final RoadVehicleModeEnumeration TROLLEY_BUS
public static final RoadVehicleModeEnumeration TRAM
public static RoadVehicleModeEnumeration[] values()
for (RoadVehicleModeEnumeration c : RoadVehicleModeEnumeration.values()) System.out.println(c);
public static RoadVehicleModeEnumeration 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 RoadVehicleModeEnumeration fromValue(String v)
Copyright © 2018 Entur AS. All rights reserved.