Modifier and Type | Method and Description |
---|---|
Integer |
getCapacity()
Returns the capacity of the venue associated with current
Venue instance |
Map<Locale,String> |
getCities()
Returns an unmodifiable
Map containing venue's city names in different languages |
String |
getCity(Locale locale)
Returns the city name in the specified language
|
String |
getCoordinates()
Returns the map coordinates specifying the exact location of the venue represented by current
Venue |
Map<Locale,String> |
getCountries()
Returns an unmodifiable
Map containing venue's country names in different languages |
String |
getCountry(Locale locale)
Returns the country name in the specified language
|
String |
getCountryCode()
Returns the associated country code
|
List<Course> |
getCourses()
Gets the list of the course holes
|
Urn |
getId()
|
String |
getName(Locale locale)
Returns the name of the venue in the specified language
|
Map<Locale,String> |
getNames()
Returns an unmodifiable
Map containing venue's names in different languages |
String |
getState()
Returns state/province of the country
|
String |
toString()
|
public Urn getId()
public String getName(Locale locale)
public String getCountry(Locale locale)
getCountry
in interface Venue
locale
- - a Locale
specifying the language of the returned country namepublic Map<Locale,String> getNames()
Map
containing venue's names in different languagespublic Map<Locale,String> getCities()
Map
containing venue's city names in different languagespublic Map<Locale,String> getCountries()
Map
containing venue's country names in different languagesgetCountries
in interface Venue
Map
containing venue's country names in different languagespublic Integer getCapacity()
Venue
instancegetCapacity
in interface Venue
public String getCoordinates()
Venue
getCoordinates
in interface Venue
public String getCountryCode()
getCountryCode
in interface Venue
public String getState()
Venue
public List<Course> getCourses()
Venue
getCourses
in interface Venue
Copyright © 2016–2025. All rights reserved.