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