public enum Historic extends java.lang.Enum<Historic> implements AmenityOrWay, EnumMayHaveFlags
Enum Constant and Description |
---|
aircraft |
aqueduct |
archaeological_site |
battlefield |
boundary_stone |
building |
canal |
cannon |
castle |
church |
city_gate |
citywalls |
farm |
fort |
gallows |
highwater_mark |
house |
locomotive |
manor |
memorial |
menhir |
milestone |
monastery |
monument |
optical_telegraph |
pillory |
railway |
railway_depot |
road |
roman_road |
ruins |
rune_stone |
ship |
tomb |
wayside_cross |
wayside_shrine |
wreck |
yes |
Modifier and Type | Method and Description |
---|---|
AmenityType |
getAmenityType()
Get amenity type associated with this enumeration; only for types that are amenities.
|
short |
getFlagMask()
Indicates any flag bits implied by this enum type.
|
static Historic |
value(java.lang.String name)
Get the enum value associated with the string name specified.
|
static Historic |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Historic[] |
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 Historic aircraft
public static final Historic aqueduct
public static final Historic archaeological_site
public static final Historic battlefield
public static final Historic boundary_stone
public static final Historic building
public static final Historic canal
public static final Historic cannon
public static final Historic castle
public static final Historic church
public static final Historic city_gate
public static final Historic citywalls
public static final Historic farm
public static final Historic fort
public static final Historic gallows
public static final Historic highwater_mark
public static final Historic house
public static final Historic locomotive
public static final Historic manor
public static final Historic memorial
public static final Historic menhir
public static final Historic milestone
public static final Historic monastery
public static final Historic monument
public static final Historic optical_telegraph
public static final Historic pillory
public static final Historic railway
public static final Historic railway_depot
public static final Historic road
public static final Historic roman_road
public static final Historic ruins
public static final Historic rune_stone
public static final Historic ship
public static final Historic tomb
public static final Historic wayside_cross
public static final Historic wayside_shrine
public static final Historic wreck
public static final Historic yes
public static Historic[] values()
for (Historic c : Historic.values()) System.out.println(c);
public static Historic 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 short getFlagMask()
getFlagMask
in interface EnumMayHaveFlags
public static Historic value(java.lang.String name)
name
- String to convert into an Enum