Package org.ka2ddo.yaac.osm
Enum Class AmenityCategory
- All Implemented Interfaces:
Serializable
,Comparable<AmenityCategory>
,Constable
Enum of the categorizations for different types of amenities.
- Author:
- Andrew Pavlin, KA2DDO
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFor-profit businesses that do not fall into any of the other categories.Businesses and facilities related to telecommunications and broadcasting.Educational institutions and businesses.Entertainment facilities that are not sports facilities.Businesses and facilities related to financial transactions.Businesses and facilities related to growing, delivering, and serving food.Geographical landmarks that do not fall into other categories.Facilities and buildings associated with branches of government at any level (national to municipal) that do not fall into thepublic_safety
category.facilities and services related to providing health care.Landmarks of historical and/or archaeological interest.Facilities and buildings related to providing places for people to live (permanently or temporarily).Things that are used in the maritime environment.Amenities that do not fall into any of the other categories.Businesses, non-profits, and government agencies and facilities for protecting the public, including police, fire, and emergency medical service (ambulances).Public service organizations that do not fall into thegovernment
orpublic_safety
categories.Buildings and facilities associated with a religious organization.Buildings and facilities for social groups not related tosport
s.Buildings and facilities for playing sports.Buildings, facilities, and other things provided for the convenience of tourists.Buildings and facilities associated with transportation (especially mass public transport).Buildings and facilities associated with public utility providers (water, electric, natural gas, etc.). -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns the localized name of this enum constant.static AmenityCategory
Returns the enum constant of this class with the specified name.static AmenityCategory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
other
Amenities that do not fall into any of the other categories. -
commercial
For-profit businesses that do not fall into any of the other categories. -
communications
Businesses and facilities related to telecommunications and broadcasting. -
education
Educational institutions and businesses. -
entertainment
Entertainment facilities that are not sports facilities. -
financial
Businesses and facilities related to financial transactions. -
food
Businesses and facilities related to growing, delivering, and serving food. -
geographical
Geographical landmarks that do not fall into other categories. -
government
Facilities and buildings associated with branches of government at any level (national to municipal) that do not fall into thepublic_safety
category. -
health
facilities and services related to providing health care. -
historic
Landmarks of historical and/or archaeological interest. -
lodging
Facilities and buildings related to providing places for people to live (permanently or temporarily). -
marine
Things that are used in the maritime environment. -
public_safety
Businesses, non-profits, and government agencies and facilities for protecting the public, including police, fire, and emergency medical service (ambulances). -
public_service
Public service organizations that do not fall into thegovernment
orpublic_safety
categories. -
religion
Buildings and facilities associated with a religious organization. -
sport
Buildings and facilities for playing sports. -
tourism
Buildings, facilities, and other things provided for the convenience of tourists. -
transportation
Buildings and facilities associated with transportation (especially mass public transport). -
utility
Buildings and facilities associated with public utility providers (water, electric, natural gas, etc.).
-
-
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
-
toString
Returns the localized name of this enum constant.- Overrides:
toString
in classEnum<AmenityCategory>
- Returns:
- the localized name of this enum constant
-
social
sport
s.