public enum VehicleUsageEnum extends Enum<VehicleUsageEnum>
Java class for VehicleUsageEnum.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="VehicleUsageEnum">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="agricultural"/>
<enumeration value="commercial"/>
<enumeration value="emergencyServices"/>
<enumeration value="military"/>
<enumeration value="nonCommercial"/>
<enumeration value="patrol"/>
<enumeration value="recoveryServices"/>
<enumeration value="roadMaintenanceOrConstruction"/>
<enumeration value="roadOperator"/>
<enumeration value="taxi"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
AGRICULTURAL |
COMMERCIAL |
EMERGENCY_SERVICES |
MILITARY |
NON_COMMERCIAL |
PATROL |
RECOVERY_SERVICES |
ROAD_MAINTENANCE_OR_CONSTRUCTION |
ROAD_OPERATOR |
TAXI |
| Modifier and Type | Method and Description |
|---|---|
static VehicleUsageEnum |
fromValue(String v) |
String |
value() |
static VehicleUsageEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VehicleUsageEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleUsageEnum AGRICULTURAL
public static final VehicleUsageEnum COMMERCIAL
public static final VehicleUsageEnum EMERGENCY_SERVICES
public static final VehicleUsageEnum MILITARY
public static final VehicleUsageEnum NON_COMMERCIAL
public static final VehicleUsageEnum PATROL
public static final VehicleUsageEnum RECOVERY_SERVICES
public static final VehicleUsageEnum ROAD_MAINTENANCE_OR_CONSTRUCTION
public static final VehicleUsageEnum ROAD_OPERATOR
public static final VehicleUsageEnum TAXI
public static VehicleUsageEnum[] values()
for (VehicleUsageEnum c : VehicleUsageEnum.values()) System.out.println(c);
public static VehicleUsageEnum 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 VehicleUsageEnum fromValue(String v)
Copyright © 2014–2015 Centrum dopravního výzkumu, v.v.i.. All rights reserved.