Class SeasonCi
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.caching.ci.SeasonCi
A season representation used by caching components
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of theSeasonCiclassSeasonCi(ExportableSeasonCi exportable) -
Method Summary
Modifier and TypeMethodDescriptionbooleanDetermines whether the specified object is equal to the current objectexport()Returns theDatespecifying the end date of the seasongetId()Returns theUrnof the represented sport entityReturns the name of the season in the specified languageReturns theDatespecifying the start date of the seasonReturns the associated tournament identifiergetYear()Returns theStringrepresentation the year of the seasoninthashCode()Serves as the default hash functionbooleanhasTranslationsFor(List<Locale> locales) voidMerges the information from the providedSapiSeasonExtendedinto the current instancevoidMerges the information from the providedSeasonCiinto the current instance
-
Constructor Details
-
Method Details
-
merge
Merges the information from the providedSapiSeasonExtendedinto the current instance- Parameters:
season- -SapiSeasonExtendedcontaining information about the seasonlocale- -Localespecifying the language of the season
-
merge
Merges the information from the providedSeasonCiinto the current instance -
getStartDate
Returns theDatespecifying the start date of the season- Returns:
- - the
Datespecifying the start date of the season
-
getEndDate
Returns theDatespecifying the end date of the season- Returns:
- - the
Datespecifying the end date of the season
-
getYear
Returns theStringrepresentation the year of the season- Returns:
- - the
Stringrepresentation the year of the season
-
getTournamentId
Returns the associated tournament identifier- Returns:
- the associated tournament identifier
-
getName
Returns the name of the season in the specified language- Parameters:
locale- -Localespecifying the language of the returned abbreviation- Returns:
- - The name of the season in the specified language if it exists. Null otherwise.
-
hasTranslationsFor
-
export
-
getId
Returns theUrnof the represented sport entity- Returns:
- - the
Urnof the represented sport entity
-
equals
Determines whether the specified object is equal to the current object -
hashCode
public int hashCode()Serves as the default hash function
-