Class SeasonInfoImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.SeasonInfoImpl
- All Implemented Interfaces:
SeasonInfo
Provides season information about an entity (sport, category, season, ...)
-
Method Summary
Modifier and TypeMethodDescriptionReturns theDatespecifying the end date of the seasongetId()Returns aUrnuniquely identifying the currentSeasonInfoinstanceReturns the name of the season in the specified languagegetNames()Returns an unmodifiableMapcontaining translated namesReturns theDatespecifying the start date of the seasonReturns the associated tournament identifiergetYear()Returns theStringrepresentation the year of the seasontoString()Returns aStringdescribing the currentSeasonInfoinstance
-
Method Details
-
getId
Returns aUrnuniquely identifying the currentSeasonInfoinstance- Specified by:
getIdin interfaceSeasonInfo- Returns:
- - a
Urnuniquely identifying the currentSeasonInfoinstance
-
getName
Returns the name of the season in the specified language- Specified by:
getNamein interfaceSeasonInfo- Parameters:
locale- - aLocalespecifying the language of the returned name- Returns:
- - the name of the season in the specified language
-
getNames
Returns an unmodifiableMapcontaining translated names- Specified by:
getNamesin interfaceSeasonInfo- Returns:
- - an unmodifiable
Mapcontaining translated names - See Also:
-
ImmutableMap
-
getStartDate
Returns theDatespecifying the start date of the season- Specified by:
getStartDatein interfaceSeasonInfo- Returns:
- - the
Datespecifying the start date of the season
-
getEndDate
Returns theDatespecifying the end date of the season- Specified by:
getEndDatein interfaceSeasonInfo- Returns:
- - the
Datespecifying the end date of the season
-
getYear
Returns theStringrepresentation the year of the season- Specified by:
getYearin interfaceSeasonInfo- Returns:
- - the
Stringrepresentation the year of the season
-
getTournamentId
Returns the associated tournament identifier- Specified by:
getTournamentIdin interfaceSeasonInfo- Returns:
- the associated tournament identifier
-
toString
Returns aStringdescribing the currentSeasonInfoinstance- Overrides:
toStringin classObject- Returns:
- - a
Stringdescribing the currentSeasonInfoinstance
-