public enum AmenityCategory extends java.lang.Enum<AmenityCategory>
AmenityType
Enum Constant and Description |
---|
agriculture
Businesses and facilities related to growing food.
|
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 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 the
public_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.
|
other
Amenities that do not fall into any of the other categories.
|
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 the
government or public_safety
categories. |
religion
Buildings and facilities associated with a religious organization.
|
social
Buildings and facilities for social groups not related to
sport s. |
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.).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns the localized name of this enum constant.
|
static AmenityCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AmenityCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmenityCategory other
public static final AmenityCategory agriculture
public static final AmenityCategory commercial
public static final AmenityCategory communications
public static final AmenityCategory education
public static final AmenityCategory entertainment
public static final AmenityCategory financial
public static final AmenityCategory food
public static final AmenityCategory geographical
public static final AmenityCategory government
public_safety
category.public static final AmenityCategory health
public static final AmenityCategory historic
public static final AmenityCategory lodging
public static final AmenityCategory marine
public static final AmenityCategory public_safety
public static final AmenityCategory public_service
government
or public_safety
categories.public static final AmenityCategory religion
public static final AmenityCategory social
sport
s.public static final AmenityCategory sport
public static final AmenityCategory tourism
public static final AmenityCategory transportation
public static final AmenityCategory utility
public static AmenityCategory[] values()
for (AmenityCategory c : AmenityCategory.values()) System.out.println(c);
public static AmenityCategory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<AmenityCategory>