public enum VehicleDataStatus extends Enum<VehicleDataStatus>
| Enum Constant and Description |
|---|
NO_DATA_EXISTS
No data available
|
OFF
The vehicle item is in Off state
|
ON
The vehicle item is in On state
|
| Modifier and Type | Method and Description |
|---|---|
static VehicleDataStatus |
valueForString(String value)
Convert String to VehicleDataStatus
|
static VehicleDataStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VehicleDataStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleDataStatus NO_DATA_EXISTS
public static final VehicleDataStatus OFF
public static final VehicleDataStatus ON
public static VehicleDataStatus[] values()
for (VehicleDataStatus c : VehicleDataStatus.values()) System.out.println(c);
public static VehicleDataStatus 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 static VehicleDataStatus valueForString(String value)
value - String