public enum SectionType extends java.lang.Enum<SectionType>
Enum Constant and Description |
---|
CAR_TRAIN
Defines section type reported in the route response as carTrain.
|
COUNTRY
Defines section type reported in the route response as country.
|
FERRY
Defines section type reported in the route response as ferry.
|
MOTORWAY
Defines section type reported in the route response as motorway.
|
PEDESTRIAN
Defines section type reported in the route response as pedestrian.
|
TOLL_ROAD
Defines section type reported in the route response as toll road.
|
TOLL_VIGNETTE
Defines section type reported in the route response as toll and vignette.
|
TRAFFIC
Defines section type reported in the route response as traffic.
|
TRAVEL_MODE
Defines section type reported in the route response as travel mode.
|
TUNNEL
Defines section type reported in the route response as tunnel.
|
UNDEFINED
Makes section type reported in the route response undefined.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static SectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SectionType UNDEFINED
public static final SectionType CAR_TRAIN
public static final SectionType COUNTRY
public static final SectionType FERRY
public static final SectionType MOTORWAY
public static final SectionType PEDESTRIAN
public static final SectionType TOLL_ROAD
public static final SectionType TOLL_VIGNETTE
public static final SectionType TRAFFIC
public static final SectionType TRAVEL_MODE
public static final SectionType TUNNEL
public static SectionType[] values()
for (SectionType c : SectionType.values()) System.out.println(c);
public static SectionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<SectionType>