Interface CompetitorCi
- All Superinterfaces:
CacheItem
Defines methods used to access competitor information
-
Method Summary
Modifier and TypeMethodDescriptiongetAbbreviations(List<Locale> locales) Returns theMapcontaining translated competitor abbreviationsGet the age group of the playergetAssociatedPlayerIds(List<Locale> locales) Returns aListof associated player idsgetAssociatedPlayerJerseyNumbers(List<Locale> locales) Returns aMapof associated player jersey numbersReturns id of the associated categoryReturns aStringrepresentation of a country codegetCountryNames(List<Locale> locales) Returns theMapcontaining translated country namesThe list of locales used to fetch competitor profilesGet the gender of the playerReturns aListof known competitor jerseysLast time (if any) competitor profile was fetchedgetManager(List<Locale> locales) Returns the associated competitor managerReturns race driver of the competitorReturns the reference ids associated with the current instanceReturn the short nameReturns id of the associated sportgetState()Returns state/province of the countryReturn the associated competitor home venueReturns a value indicating whether represented competitor is virtualMethods inherited from interface com.sportradar.unifiedodds.sdk.internal.caching.CacheItem
getId, getNames, hasTranslationsLoadedFor, merge
-
Method Details
-
getCountryNames
Returns theMapcontaining translated country names -
getAbbreviations
Returns theMapcontaining translated competitor abbreviations -
isVirtual
Boolean isVirtual()Returns a value indicating whether represented competitor is virtual- Returns:
- - a value indicating whether represented competitor is virtual
-
getCountryCode
String getCountryCode()Returns aStringrepresentation of a country code- Returns:
- - a
Stringrepresentation of a country code
-
getReferenceId
ReferenceIdCi getReferenceId()Returns the reference ids associated with the current instance- Returns:
- - the reference ids associated with the current instance
-
getAssociatedPlayerIds
Returns aListof associated player ids- Parameters:
locales- the locales in which the players data should be pre-fetched- Returns:
Listof associated player ids
-
getAssociatedPlayerJerseyNumbers
Returns aMapof associated player jersey numbers- Parameters:
locales- the locales in which the players data should be pre-fetched- Returns:
Mapof associated player jersey numbers
-
getJerseys
Returns aListof known competitor jerseys- Returns:
Listof known competitor jerseys
-
getManager
Returns the associated competitor manager- Parameters:
locales- the locales in which the data should be translated- Returns:
- the associated competitor manager
-
getVenue
Return the associated competitor home venue- Parameters:
locales- the locales in which the data should be translated- Returns:
- the associated competitor home venue
-
getGender
String getGender()Get the gender of the player- Returns:
- the gender
-
getAgeGroup
String getAgeGroup()Get the age group of the player- Returns:
- the age group
-
getRaceDriver
RaceDriverProfileCi getRaceDriver()Returns race driver of the competitor- Returns:
- the race driver of the competitor if available; otherwise null
-
getLastTimeCompetitorProfileIsFetched
Date getLastTimeCompetitorProfileIsFetched()Last time (if any) competitor profile was fetched- Returns:
- Last time (if any) competitor profile was fetched
-
getCultureCompetitorProfileFetched
The list of locales used to fetch competitor profiles- Returns:
- the list of locales used to fetch competitor profiles
-
getState
String getState()Returns state/province of the country- Returns:
- state
-
getSportId
Urn getSportId()Returns id of the associated sport- Returns:
- sport id
-
getCategoryId
Urn getCategoryId()Returns id of the associated category- Returns:
- category id
-
getShortName
String getShortName()Return the short name- Returns:
- the short name
-
getDivision
DivisionCi getDivision()
-