org.ka2ddo.yaac.osm
Enum Man_Made

java.lang.Object
  extended by java.lang.Enum<Man_Made>
      extended by org.ka2ddo.yaac.osm.Man_Made
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Man_Made>, AmenityOrWay

public enum Man_Made
extends java.lang.Enum<Man_Made>
implements AmenityOrWay

This enum describes the supported types of man_made objects described in OSM. See the definition of man_made on the OpenStreetMap wiki.


Enum Constant Summary
adit
           
beacon
           
breakwater
           
communications_tower
           
groyne
           
lighthouse
           
mine
           
mineshaft
           
petroleum_well
           
pier
           
pipeline
           
reservior_covered
           
tower
           
user_defined
           
wastewater_plant
           
water_tower
           
water_well
           
water_works
           
watermill
           
windmill
           
 
Method Summary
 AmenityType getAmenityType()
          Get amenity type associated with this enumeration; only for types that are amenities.
static Man_Made value(java.lang.String name)
          Get the enum value associated with the string name specified.
static Man_Made valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Man_Made[] 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

user_defined

public static final Man_Made user_defined

adit

public static final Man_Made adit

beacon

public static final Man_Made beacon

groyne

public static final Man_Made groyne

lighthouse

public static final Man_Made lighthouse

mine

public static final Man_Made mine

mineshaft

public static final Man_Made mineshaft

petroleum_well

public static final Man_Made petroleum_well

pier

public static final Man_Made pier

pipeline

public static final Man_Made pipeline

reservior_covered

public static final Man_Made reservior_covered

tower

public static final Man_Made tower

wastewater_plant

public static final Man_Made wastewater_plant

watermill

public static final Man_Made watermill

water_tower

public static final Man_Made water_tower

water_works

public static final Man_Made water_works

water_well

public static final Man_Made water_well

windmill

public static final Man_Made windmill

breakwater

public static final Man_Made breakwater

communications_tower

public static final Man_Made communications_tower
Method Detail

values

public static Man_Made[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Man_Made c : Man_Made.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Man_Made valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

wayType

public WayType wayType()
Report the WayType for rendering this type of Way.

Specified by:
wayType in interface AmenityOrWay
Returns:
WayType

getAmenityType

public AmenityType getAmenityType()
Get amenity type associated with this enumeration; only for types that are amenities.

Specified by:
getAmenityType in interface AmenityOrWay
Returns:
AmenityType for this type, or null if not an amenity

value

public static Man_Made value(java.lang.String name)
Get the enum value associated with the string name specified.

Parameters:
name - String to convert into an Enum
Returns:
Man_Made for the string name, or null if no match