public enum VehicleType extends Enum<VehicleType>
Clase Java para VehicleType.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<simpleType name="VehicleType">
<restriction base="{http://www.w3.org/2001/XMLSchema}int">
<enumeration value="1"/>
<enumeration value="2"/>
<enumeration value="3"/>
<enumeration value="4"/>
<enumeration value="5"/>
<enumeration value="6"/>
<enumeration value="7"/>
<enumeration value="8"/>
<enumeration value="9"/>
<enumeration value="10"/>
<enumeration value="11"/>
<enumeration value="12"/>
<enumeration value="13"/>
<enumeration value="14"/>
<enumeration value="15"/>
<enumeration value="16"/>
<enumeration value="17"/>
<enumeration value="18"/>
<enumeration value="19"/>
<enumeration value="20"/>
<enumeration value="21"/>
<enumeration value="22"/>
<enumeration value="23"/>
<enumeration value="24"/>
<enumeration value="25"/>
<enumeration value="26"/>
</restriction>
</simpleType>
| Modifier and Type | Method and Description |
|---|---|
static VehicleType |
fromValue(int v) |
int |
value() |
static VehicleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VehicleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleType AMBULANCE
public static final VehicleType BUS
public static final VehicleType SCHOOL_BUS
public static final VehicleType BICYCLE
public static final VehicleType TANKER_WITH_TOW
public static final VehicleType TANKER_WITHOUT_TOW
public static final VehicleType TRUCK_WITH_TOW
public static final VehicleType TRUCK_WITHOUT_TOW
public static final VehicleType CHAIROT
public static final VehicleType SCOOTER
public static final VehicleType HANDICAPPED_CAR
public static final VehicleType LIGHT_QUAD
public static final VehicleType HEAVY_QUAD
public static final VehicleType UNKNOWN
public static final VehicleType VAN
public static final VehicleType WORKS_AND_FARM_MACHINERY
public static final VehicleType MOTORCYCLE
public static final VehicleType OTHER_BUS
public static final VehicleType OTHER_VEHICLE
public static final VehicleType AGRICULTURAL_TRACTOR_WITH_TOW
public static final VehicleType AGRICULTURAL_TRACTOR_WITHOUT_TOW
public static final VehicleType TRAIN
public static final VehicleType TOURISM_UP_TO_9_SEATS
public static final VehicleType TOURISM_WITH_TOWN
public static final VehicleType TOURISM_WITHOUT_TOWN
public static final VehicleType ARTICULATED_VEHICLE
public static VehicleType[] values()
for (VehicleType c : VehicleType.values()) System.out.println(c);
public static VehicleType 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 int value()
public static VehicleType fromValue(int v)
Copyright © 2018. All rights reserved.