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 CompetitorCi
sportEntityFactory
- 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 CompetitorCi
sportEntityFactory
- 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 Player
Urn
identifier representing the current Competitor
instancepublic Map<Locale,String> getNames()
public String getName(Locale locale)
public Map<Locale,String> getCountries()
getCountries
in interface Competitor
ImmutableMap
public Map<Locale,String> getAbbreviations()
getAbbreviations
in interface Competitor
ImmutableMap
public Boolean isVirtual()
isVirtual
in interface Competitor
public Reference getReferences()
getReferences
in interface Competitor
public String getCountryCode()
String
representation of a country codegetCountryCode
in interface Competitor
String
representation of a country codepublic String getCountry(Locale locale)
getCountry
in interface Competitor
locale
- - a Locale
specifying the language in which to get the country namepublic String getAbbreviation(Locale locale)
getAbbreviation
in interface Competitor
locale
- - a Locale
specifying the language in which to get the abbreviationpublic List<Player> getPlayers()
List
of associated playersgetPlayers
in interface Competitor
List
of associated playerspublic List<Jersey> getJerseys()
List
of known competitor jerseysgetJerseys
in interface Competitor
List
of known competitor jerseyspublic Manager getManager()
getManager
in interface Competitor
public Venue getVenue()
getVenue
in interface Competitor
public String getGender()
getGender
in interface Competitor
public RaceDriverProfile getRaceDriver()
getRaceDriver
in interface Competitor
public String getAgeGroup()
getAgeGroup
in interface Competitor
public String getState()
Competitor
getState
in interface Competitor
public Sport getSport()
getSport
in interface Competitor
public CategorySummary getCategory()
getCategory
in interface Competitor
public String getShortName()
getShortName
in interface Competitor
public Division getDivision()
getDivision
in interface Competitor
public String toString()
String
describing the current Competitor
instancetoString
in class Object
String
describing the current Competitor
instanceprotected void FetchEventCompetitorsReferenceIds()
protected void FetchEventCompetitorsQualifiers()
protected void FetchEventCompetitorsDivisions()
Copyright © 2016–2025. All rights reserved.