public enum FuelTaxRoadType extends Enum<FuelTaxRoadType> implements HasName
| Enum Constant and Description |
|---|
OFF_ROAD
Offroad road type.
|
PRIVATE
Private road type.
|
PUBLIC
Public road type.
|
RAIL
Rail road type.
|
TOLL
Private road type.
|
UNKNOWN
Unknown road type.
|
| Modifier and Type | Method and Description |
|---|---|
static FuelTaxRoadType |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static FuelTaxRoadType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FuelTaxRoadType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FuelTaxRoadType UNKNOWN
public static final FuelTaxRoadType OFF_ROAD
public static final FuelTaxRoadType PUBLIC
public static final FuelTaxRoadType PRIVATE
public static final FuelTaxRoadType TOLL
public static final FuelTaxRoadType RAIL
public static FuelTaxRoadType[] values()
for (FuelTaxRoadType c : FuelTaxRoadType.values()) System.out.println(c);
public static FuelTaxRoadType 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 getCode()
public static FuelTaxRoadType findOrDefault(String name)
Copyright © 2023. All rights reserved.