Enum Class Man_Made

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

public enum Man_Made extends Enum<Man_Made> implements AmenityOrWay, EnumMayHaveFlags
This enum describes the supported types of man_made objects described in OSM. See the definition of man_made on the OpenStreetMap wiki.
Author:
Andrew Pavlin, KA2DDO
  • Enum Constant Details

    • 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
    • drinking_fountain

      public static final Man_Made drinking_fountain
    • dyke

      public static final Man_Made dyke
    • kiln

      public static final Man_Made kiln
    • obelisk

      public static final Man_Made obelisk
    • observatory

      public static final Man_Made observatory
    • survey_point

      public static final Man_Made survey_point
    • bridge

      public static final Man_Made bridge
    • bunker_silo

      public static final Man_Made bunker_silo
    • carpet_hanger

      public static final Man_Made carpet_hanger
    • chimney

      public static final Man_Made chimney
    • crane

      public static final Man_Made crane
    • cross

      public static final Man_Made cross
    • cutline

      public static final Man_Made cutline
    • clearcut

      public static final Man_Made clearcut
    • dovecote

      public static final Man_Made dovecote
    • embankment

      public static final Man_Made embankment
    • flagpole

      public static final Man_Made flagpole
    • gasometer

      public static final Man_Made gasometer
    • goods_conveyor

      public static final Man_Made goods_conveyor
    • island

      public static final Man_Made island
    • mast

      public static final Man_Made mast
    • monitoring_station

      public static final Man_Made monitoring_station
    • offshore_platform

      public static final Man_Made offshore_platform
    • pumping_station

      public static final Man_Made pumping_station
    • pumping_rig

      public static final Man_Made pumping_rig
    • quay

      public static final Man_Made quay
    • reservoir_covered

      public static final Man_Made reservoir_covered
    • silo

      public static final Man_Made silo
    • snow_fence

      public static final Man_Made snow_fence
    • snow_net

      public static final Man_Made snow_net
    • storage_tank

      public static final Man_Made storage_tank
    • street_cabinet

      public static final Man_Made street_cabinet
    • surveillance

      public static final Man_Made surveillance
    • telescope

      public static final Man_Made telescope
    • wildlife_crossing

      public static final Man_Made wildlife_crossing
    • works

      public static final Man_Made works
    • culvert

      public static final Man_Made culvert
    • manhole

      public static final Man_Made manhole
    • spillway

      public static final Man_Made spillway
    • water_tap

      public static final Man_Made water_tap
    • beehive

      public static final Man_Made beehive
    • cairn

      public static final Man_Made cairn
    • cellar_entrance

      public static final Man_Made cellar_entrance
    • column

      public static final Man_Made column
    • dolphin

      public static final Man_Made dolphin
    • flare

      public static final Man_Made flare
    • footwear_decontamination

      public static final Man_Made footwear_decontamination
    • gantry

      public static final Man_Made gantry
    • guard_stone

      public static final Man_Made guard_stone
    • insect_hotel

      public static final Man_Made insect_hotel
    • nesting_site

      public static final Man_Made nesting_site
    • planter

      public static final Man_Made planter
    • spoil_heap

      public static final Man_Made spoil_heap
    • stupa

      public static final Man_Made stupa
    • tailings_pond

      public static final Man_Made tailings_pond
    • torii

      public static final Man_Made torii
    • utility_pole

      public static final Man_Made utility_pole
    • video_wall

      public static final Man_Made video_wall
  • Method Details

    • values

      public static Man_Made[] 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

      public static Man_Made valueOf(String name)
      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 name
      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
    • isDiscardable

      public boolean isDiscardable()
      Indicate if elements of this Man_Made type should be discarded, as they add no value for map rendering.
      Returns:
      boolean true if element of this type should be discarded from map importing
    • getFlagMask

      public short getFlagMask()
      Indicates any flag bits implied by this enum type.
      Specified by:
      getFlagMask in interface EnumMayHaveFlags
      Returns:
      bitmask of flags if this enum implies flags
    • value

      public static Man_Made value(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