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