public interface Venue
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
|
default 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 |
default String |
getState()
Returns state/province of the country
|
String getName(Locale locale)
locale
- - a Locale
specifying the language of the returned venue nameString getCity(Locale locale)
locale
- - a Locale
specifying the language of the returned city nameString getCountry(Locale locale)
locale
- - a Locale
specifying the language of the returned country nameMap<Locale,String> getNames()
Map
containing venue's names in different languagesMap
containing venue's names in different languagesMap<Locale,String> getCities()
Map
containing venue's city names in different languagesMap
containing venue's city names in different languagesMap<Locale,String> getCountries()
Map
containing venue's country names in different languagesMap
containing venue's country names in different languagesInteger getCapacity()
Venue
instanceString getCoordinates()
Venue
String getCountryCode()
default String getState()
UnsupportedOperationException
- when method isn't implementedCopyright © 2016–2025. All rights reserved.