public static enum Constants.DetailedModeOfTransportType extends Enum<Constants.DetailedModeOfTransportType>
| Enum Constant and Description |
|---|
AERIALWAY
e.g.
|
AIRPLANE
air-bound transport
|
BICYCLE |
BUS |
CABLE_CAR
ground-based vehicles that are pulled by a cable (such as the popular
cable cars in San Francisco).
|
CAR |
FOOT |
FUNICULAR
a special type of BasePublicTransportMot#CABLE_CAR, see
https://en.wikipedia.org/wiki/Funicular
|
HGV
heavy goods vehicle / truck / lorry, see
https://en.wikipedia.org/wiki/Large_goods_vehicle
|
LONG_DISTANCE_RAILWAY
high-speed / long distance trains such as the Austrian RailJet
|
MOTORCYCLE |
MOTORHOME
motor home / recreational vehicle (RV), see
https://en.wikipedia.org/wiki/Motorhome
|
RAILWAY
trains (in general)
|
SHIP
water-bound transport
|
SUBURBAN_RAILWAY |
SUBWAY
metro
|
TAXI
'classic' taxis / cabs (for modern ride-sharing such as Uber use
CAR and a proper Constants.Sharing. |
TRAM |
TRANSFER
walking or taking elevators, escalators,..
|
TROLLEYBUS |
URBAN_RAILWAY |
| Modifier and Type | Method and Description |
|---|---|
Constants.GeneralizedModeOfTransportType |
getGeneralizedType() |
static Constants.DetailedModeOfTransportType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.DetailedModeOfTransportType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.DetailedModeOfTransportType RAILWAY
public static final Constants.DetailedModeOfTransportType LONG_DISTANCE_RAILWAY
public static final Constants.DetailedModeOfTransportType SUBURBAN_RAILWAY
public static final Constants.DetailedModeOfTransportType URBAN_RAILWAY
public static final Constants.DetailedModeOfTransportType SUBWAY
public static final Constants.DetailedModeOfTransportType TRAM
public static final Constants.DetailedModeOfTransportType CABLE_CAR
public static final Constants.DetailedModeOfTransportType FUNICULAR
public static final Constants.DetailedModeOfTransportType BUS
public static final Constants.DetailedModeOfTransportType TROLLEYBUS
public static final Constants.DetailedModeOfTransportType AERIALWAY
public static final Constants.DetailedModeOfTransportType SHIP
public static final Constants.DetailedModeOfTransportType AIRPLANE
public static final Constants.DetailedModeOfTransportType FOOT
public static final Constants.DetailedModeOfTransportType TRANSFER
public static final Constants.DetailedModeOfTransportType BICYCLE
public static final Constants.DetailedModeOfTransportType MOTORCYCLE
public static final Constants.DetailedModeOfTransportType CAR
public static final Constants.DetailedModeOfTransportType MOTORHOME
public static final Constants.DetailedModeOfTransportType HGV
public static final Constants.DetailedModeOfTransportType TAXI
CAR and a proper Constants.Sharing.public static Constants.DetailedModeOfTransportType[] values()
for (Constants.DetailedModeOfTransportType c : Constants.DetailedModeOfTransportType.values()) System.out.println(c);
public static Constants.DetailedModeOfTransportType 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 Constants.GeneralizedModeOfTransportType getGeneralizedType()
Copyright © 2018. All rights reserved.