Enum Class Healthcare

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

public enum Healthcare extends Enum<Healthcare> implements AmenityOrWay
This enum defines the supported values of the healthcare="*" attribute in OSM. See the definition of healthcare on the OpenStreetMap wiki.
Author:
Andrew Pavlin, KA2DDO
  • Enum Constant Details

    • alternative

      public static final Healthcare alternative
    • audiologist

      public static final Healthcare audiologist
    • birthing_centre

      public static final Healthcare birthing_centre
    • blood_bank

      public static final Healthcare blood_bank
    • blood_donation

      public static final Healthcare blood_donation
    • centre

      public static final Healthcare centre
    • clinic

      public static final Healthcare clinic
    • community_health_worker

      public static final Healthcare community_health_worker
    • counselling

      public static final Healthcare counselling
    • dentist

      public static final Healthcare dentist
    • dialysis

      public static final Healthcare dialysis
    • hospice

      public static final Healthcare hospice
    • hospital

      public static final Healthcare hospital
    • laboratory

      public static final Healthcare laboratory
    • midwife

      public static final Healthcare midwife
    • nurse

      public static final Healthcare nurse
    • occupational_therapist

      public static final Healthcare occupational_therapist
    • optometrist

      public static final Healthcare optometrist
    • pharmacy

      public static final Healthcare pharmacy
    • physiotherapist

      public static final Healthcare physiotherapist
    • podiatrist

      public static final Healthcare podiatrist
    • psychotherapist

      public static final Healthcare psychotherapist
    • rehabilitation

      public static final Healthcare rehabilitation
    • sample_collection

      public static final Healthcare sample_collection
    • speech_therapist

      public static final Healthcare speech_therapist
    • vaccination_centre

      public static final Healthcare vaccination_centre
  • Method Details

    • values

      public static Healthcare[] 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 Healthcare 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:
      always null
    • 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 Healthcare value(String name)
      Get the enum value associated with the string name specified.
      Parameters:
      name - String to convert into an Enum
      Returns:
      LandUse for the string name, or null if no match