Package org.ka2ddo.yaac.osm
Enum Class Healthcare
- All Implemented Interfaces:
Serializable
,Comparable<Healthcare>
,Constable
,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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionGet amenity type associated with this enumeration; only for types that are amenities.static Healthcare
Get the enum value associated with the string name specified.static Healthcare
Returns the enum constant of this class with the specified name.static Healthcare[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.wayType()
Report the WayType for rendering this type of Way.
-
Enum Constant Details
-
alternative
-
audiologist
-
birthing_centre
-
blood_bank
-
blood_donation
-
centre
-
clinic
-
community_health_worker
-
counselling
-
dentist
-
dialysis
-
hospice
-
hospital
-
laboratory
-
midwife
-
nurse
-
occupational_therapist
-
optometrist
-
pharmacy
-
physiotherapist
-
podiatrist
-
psychotherapist
-
rehabilitation
-
sample_collection
-
speech_therapist
-
vaccination_centre
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
wayType
Report the WayType for rendering this type of Way.- Specified by:
wayType
in interfaceAmenityOrWay
- Returns:
- always null
-
getAmenityType
Get amenity type associated with this enumeration; only for types that are amenities.- Specified by:
getAmenityType
in interfaceAmenityOrWay
- Returns:
- AmenityType for this type, or null if not an amenity
-
value
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
-