public enum Training extends java.lang.Enum<Training> implements AmenityOrWay
Enum Constant and Description |
---|
art |
aviation |
bicycle |
brewing |
computer |
cooking |
dance |
driving |
firearm |
first_aid |
language |
music |
professional |
public_examination |
sport |
surf |
Modifier and Type | Method and Description |
---|---|
AmenityType |
getAmenityType()
Get amenity type associated with this enumeration; only for types that are amenities.
|
static Training |
value(java.lang.String name)
Get the enum value associated with the string name specified.
|
static Training |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Training[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
WayType |
wayType()
Report the WayType for rendering this type of Way.
|
public static final Training art
public static final Training aviation
public static final Training bicycle
public static final Training brewing
public static final Training computer
public static final Training cooking
public static final Training dance
public static final Training driving
public static final Training firearm
public static final Training first_aid
public static final Training language
public static final Training music
public static final Training professional
public static final Training public_examination
public static final Training sport
public static final Training surf
public static Training[] values()
for (Training c : Training.values()) System.out.println(c);
public static Training 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 WayType wayType()
wayType
in interface AmenityOrWay
public AmenityType getAmenityType()
getAmenityType
in interface AmenityOrWay
public static Training value(java.lang.String name)
name
- String to convert into an Enum