public class CompetitorImpl extends Object implements Competitor
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
IsVirtual |
protected Integer |
TeamDivision |
protected String |
TeamQualifier |
| Constructor and Description |
|---|
CompetitorImpl(Urn competitorId,
ProfileCache profileCache,
Map<Urn,ReferenceIdCi> eventCompetitorsReferences,
Boolean isVirtual,
List<Locale> locales,
SportEntityFactory sportEntityFactory,
ExceptionHandlingStrategy exceptionHandlingStrategy)
Initializes a new instance of the
CompetitorImpl class |
CompetitorImpl(Urn competitorId,
ProfileCache profileCache,
SportEventCi parentSportEventCi,
List<Locale> locales,
SportEntityFactory sportEntityFactory,
ExceptionHandlingStrategy exceptionHandlingStrategy,
Boolean isVirtual)
Initializes a new instance of the
CompetitorImpl class |
| Modifier and Type | Method and Description |
|---|---|
protected void |
FetchEventCompetitorsDivisions() |
protected void |
FetchEventCompetitorsQualifiers() |
protected void |
FetchEventCompetitorsReferenceIds() |
String |
getAbbreviation(Locale locale)
Returns the translated competitor abbreviation
|
Map<Locale,String> |
getAbbreviations()
Returns an unmodifiable map of available translated competitor abbreviations
|
String |
getAgeGroup()
Returns age group of the competitor
|
CategorySummary |
getCategory()
Returns associated category
|
Map<Locale,String> |
getCountries()
Returns an unmodifiable map of available translated competitor country names
|
String |
getCountry(Locale locale)
Returns the translated competitor country name
|
String |
getCountryCode()
Returns a
String representation of a country code |
Division |
getDivision() |
String |
getGender()
Returns gender of the competitor
|
Urn |
getId()
Returns the unique
Urn identifier representing the current Competitor instance |
List<Jersey> |
getJerseys()
Returns a
List of known competitor jerseys |
Manager |
getManager()
Returns the associated competitor manager
|
String |
getName(Locale locale)
Returns the name of the player in the specified language
|
Map<Locale,String> |
getNames()
Returns an unmodifiable map of available translated names
|
List<Player> |
getPlayers()
Returns a
List of associated players |
RaceDriverProfile |
getRaceDriver()
Returns race driver of the competitor
|
Reference |
getReferences()
Returns the reference ids
|
String |
getShortName()
Returns the short name of the competitor
|
Sport |
getSport()
Returns associated sport
|
String |
getState()
Returns the state (default method)
|
Venue |
getVenue()
Return the associated competitor home venue
|
Boolean |
isVirtual()
Returns a value indicating whether the current instance represents a placeholder team
|
String |
toString()
Returns a
String describing the current Competitor instance |
protected String TeamQualifier
protected Integer TeamDivision
protected Boolean IsVirtual
public CompetitorImpl(Urn competitorId, ProfileCache profileCache, Map<Urn,ReferenceIdCi> eventCompetitorsReferences, Boolean isVirtual, List<Locale> locales, SportEntityFactory sportEntityFactory, ExceptionHandlingStrategy exceptionHandlingStrategy)
CompetitorImpl classcompetitorId - the associated competitor idprofileCache - the cache instance used to retrieve the cached dataeventCompetitorsReferences - the list of competitors and associated referencesisVirtual - indication if the competitor is marked as virtuallocales - a List in which is provided the CompetitorCisportEntityFactory - the factory used to create additional entitiesexceptionHandlingStrategy - the exception handling strategypublic CompetitorImpl(Urn competitorId, ProfileCache profileCache, SportEventCi parentSportEventCi, List<Locale> locales, SportEntityFactory sportEntityFactory, ExceptionHandlingStrategy exceptionHandlingStrategy, Boolean isVirtual)
CompetitorImpl classcompetitorId - the associated competitor idprofileCache - the cache instance used to retrieve the cached dataparentSportEventCi - the SportEventCi this CompetitorCi belongs tolocales - a List in which is provided the CompetitorCisportEntityFactory - the factory used to create additional entitiesexceptionHandlingStrategy - the exception handling strategyisVirtual - indication if the competitor is marked as virtualpublic Urn getId()
Urn identifier representing the current Competitor instancegetId in interface PlayerUrn identifier representing the current Competitor instancepublic Map<Locale,String> getNames()
public String getName(Locale locale)
public Map<Locale,String> getCountries()
getCountries in interface CompetitorImmutableMappublic Map<Locale,String> getAbbreviations()
getAbbreviations in interface CompetitorImmutableMappublic Boolean isVirtual()
isVirtual in interface Competitorpublic Reference getReferences()
getReferences in interface Competitorpublic String getCountryCode()
String representation of a country codegetCountryCode in interface CompetitorString representation of a country codepublic String getCountry(Locale locale)
getCountry in interface Competitorlocale - - a Locale specifying the language in which to get the country namepublic String getAbbreviation(Locale locale)
getAbbreviation in interface Competitorlocale - - a Locale specifying the language in which to get the abbreviationpublic List<Player> getPlayers()
List of associated playersgetPlayers in interface CompetitorList of associated playerspublic List<Jersey> getJerseys()
List of known competitor jerseysgetJerseys in interface CompetitorList of known competitor jerseyspublic Manager getManager()
getManager in interface Competitorpublic Venue getVenue()
getVenue in interface Competitorpublic String getGender()
getGender in interface Competitorpublic RaceDriverProfile getRaceDriver()
getRaceDriver in interface Competitorpublic String getAgeGroup()
getAgeGroup in interface Competitorpublic String getState()
CompetitorgetState in interface Competitorpublic Sport getSport()
getSport in interface Competitorpublic CategorySummary getCategory()
getCategory in interface Competitorpublic String getShortName()
getShortName in interface Competitorpublic Division getDivision()
getDivision in interface Competitorpublic String toString()
String describing the current Competitor instancetoString in class ObjectString describing the current Competitor instanceprotected void FetchEventCompetitorsReferenceIds()
protected void FetchEventCompetitorsQualifiers()
protected void FetchEventCompetitorsDivisions()
Copyright © 2016–2025. All rights reserved.