Enum Class AmenityCategory

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

public enum AmenityCategory extends Enum<AmenityCategory>
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 Constants
    Enum Constant
    Description
    For-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 the public_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 the government or public_safety categories.
    Buildings and facilities associated with a religious organization.
    Buildings and facilities for social groups not related to sports.
    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 Type
    Method
    Description
    Returns the localized name of this enum constant.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • other

      public static final AmenityCategory other
      Amenities that do not fall into any of the other categories.
    • commercial

      public static final AmenityCategory commercial
      For-profit businesses that do not fall into any of the other categories.
    • communications

      public static final AmenityCategory communications
      Businesses and facilities related to telecommunications and broadcasting.
    • education

      public static final AmenityCategory education
      Educational institutions and businesses.
    • entertainment

      public static final AmenityCategory entertainment
      Entertainment facilities that are not sports facilities.
    • financial

      public static final AmenityCategory financial
      Businesses and facilities related to financial transactions.
    • food

      public static final AmenityCategory food
      Businesses and facilities related to growing, delivering, and serving food.
    • geographical

      public static final AmenityCategory geographical
      Geographical landmarks that do not fall into other categories.
    • government

      public static final AmenityCategory government
      Facilities and buildings associated with branches of government at any level (national to municipal) that do not fall into the public_safety category.
    • health

      public static final AmenityCategory health
      facilities and services related to providing health care.
    • historic

      public static final AmenityCategory historic
      Landmarks of historical and/or archaeological interest.
    • lodging

      public static final AmenityCategory lodging
      Facilities and buildings related to providing places for people to live (permanently or temporarily).
    • marine

      public static final AmenityCategory marine
      Things that are used in the maritime environment.
    • public_safety

      public static final AmenityCategory 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 static final AmenityCategory public_service
      Public service organizations that do not fall into the government or public_safety categories.
    • religion

      public static final AmenityCategory religion
      Buildings and facilities associated with a religious organization.
    • social

      public static final AmenityCategory social
      Buildings and facilities for social groups not related to sports.
    • sport

      public static final AmenityCategory sport
      Buildings and facilities for playing sports.
    • tourism

      public static final AmenityCategory tourism
      Buildings, facilities, and other things provided for the convenience of tourists.
    • transportation

      public static final AmenityCategory transportation
      Buildings and facilities associated with transportation (especially mass public transport).
    • utility

      public static final AmenityCategory utility
      Buildings and facilities associated with public utility providers (water, electric, natural gas, etc.).
  • Method Details

    • values

      public static AmenityCategory[] 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 AmenityCategory 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
    • toString

      public String toString()
      Returns the localized name of this enum constant.
      Overrides:
      toString in class Enum<AmenityCategory>
      Returns:
      the localized name of this enum constant