Enum Class TripTransportationMode
java.lang.Object
java.lang.Enum<TripTransportationMode>
org.bremersee.garmin.trip.v1.model.ext.TripTransportationMode
- All Implemented Interfaces:
Serializable,Comparable<TripTransportationMode>,Constable
The trip transportation mode.
- Author:
- Christian Bremer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAtv transportation mode.Automotive transportation mode.Bicycling transportation mode.Dirt biking transportation mode.Hiking transportation mode.Motorcycling transportation mode.Mountain biking transportation mode.Mountaineering transportation mode.Offroad transportation mode.Rv transportation mode.Tour cycling transportation mode.Trucking transportation mode.Walking transportation mode. -
Method Summary
Modifier and TypeMethodDescriptionstatic TripTransportationModeFrom value.toString()static TripTransportationModeReturns the enum constant of this class with the specified name.static TripTransportationMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTOMOTIVE
Automotive transportation mode. -
MOTORCYCLING
Motorcycling transportation mode. -
WALKING
Walking transportation mode. -
HIKING
Hiking transportation mode. -
MOUNTAINEERING
Mountaineering transportation mode. -
BICYCLING
Bicycling transportation mode. -
TOUR_CYCLING
Tour cycling transportation mode. -
MOUNTAIN_BIKING
Mountain biking transportation mode. -
ATV
Atv transportation mode. -
DIRT_BIKING
Dirt biking transportation mode. -
TRUCKING
Trucking transportation mode. -
RV
Rv transportation mode. -
OFFROAD
Offroad transportation mode.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<TripTransportationMode>
-
fromValue
From value.- Parameters:
value- the value- Returns:
- the trip transportation mode
-