public static enum Vehicle.EnumVehicleType extends Enum<Vehicle.EnumVehicleType>
| Enum Constant and Description |
|---|
VALUE_BOAT |
VALUE_CAR_TRUCK |
VALUE_COMMERCIAL |
VALUE_MOTORCYCLE |
VALUE_OTHER |
VALUE_POWERSPORT |
VALUE_RV_CAMPER |
VALUE_TRAILER |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Vehicle.EnumVehicleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Vehicle.EnumVehicleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Vehicle.EnumVehicleType VALUE_BOAT
public static final Vehicle.EnumVehicleType VALUE_CAR_TRUCK
public static final Vehicle.EnumVehicleType VALUE_COMMERCIAL
public static final Vehicle.EnumVehicleType VALUE_MOTORCYCLE
public static final Vehicle.EnumVehicleType VALUE_OTHER
public static final Vehicle.EnumVehicleType VALUE_POWERSPORT
public static final Vehicle.EnumVehicleType VALUE_RV_CAMPER
public static final Vehicle.EnumVehicleType VALUE_TRAILER
public static Vehicle.EnumVehicleType[] values()
for (Vehicle.EnumVehicleType c : Vehicle.EnumVehicleType.values()) System.out.println(c);
public static Vehicle.EnumVehicleType 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 toString()
toString in class Enum<Vehicle.EnumVehicleType>Copyright © 2020. All rights reserved.