Class VenueImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.VenueImpl
- All Implemented Interfaces:
Venue
Represents a sport event venue
-
Method Summary
Modifier and TypeMethodDescriptionReturns the capacity of the venue associated with currentVenueinstanceReturns an unmodifiableMapcontaining venue's city names in different languagesReturns the city name in the specified languageReturns the map coordinates specifying the exact location of the venue represented by currentVenueReturns an unmodifiableMapcontaining venue's country names in different languagesgetCountry(Locale locale) Returns the country name in the specified languageReturns the associated country codeGets the list of the course holesgetId()Returns the name of the venue in the specified languagegetNames()Returns an unmodifiableMapcontaining venue's names in different languagesgetState()Returns state/province of the countrytoString()
-
Method Details
-
getId
-
getName
Returns the name of the venue in the specified language -
getCity
Returns the city name in the specified language -
getCountry
Returns the country name in the specified language- Specified by:
getCountryin interfaceVenue- Parameters:
locale- - aLocalespecifying the language of the returned country name- Returns:
- - the country name in the specified language
-
getNames
Returns an unmodifiableMapcontaining venue's names in different languages -
getCities
Returns an unmodifiableMapcontaining venue's city names in different languages -
getCountries
Returns an unmodifiableMapcontaining venue's country names in different languages- Specified by:
getCountriesin interfaceVenue- Returns:
- - an unmodifiable
Mapcontaining venue's country names in different languages
-
getCapacity
Returns the capacity of the venue associated with currentVenueinstance- Specified by:
getCapacityin interfaceVenue- Returns:
- - the capacity of the venue, or a null if the capacity is not specified
-
getCoordinates
Returns the map coordinates specifying the exact location of the venue represented by currentVenue- Specified by:
getCoordinatesin interfaceVenue- Returns:
- - the map coordinates specifying the exact location of the venue
-
getCountryCode
Returns the associated country code- Specified by:
getCountryCodein interfaceVenue- Returns:
- the associated country code
-
getState
Description copied from interface:VenueReturns state/province of the country -
getCourses
Description copied from interface:VenueGets the list of the course holes- Specified by:
getCoursesin interfaceVenue- Returns:
- the list of the course holes
-
toString
-