Class TeamCompetitorImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.CompetitorImpl
com.sportradar.unifiedodds.sdk.internal.impl.entities.TeamCompetitorImpl
- All Implemented Interfaces:
Competitor,Player,TeamCompetitor
Represents a competing team
-
Field Summary
Fields inherited from class com.sportradar.unifiedodds.sdk.internal.impl.entities.CompetitorImpl
IsVirtual, TeamDivision, TeamQualifier -
Constructor Summary
ConstructorsConstructorDescriptionTeamCompetitorImpl(Urn competitorId, ProfileCache profileCache, String qualifier, Integer division, Boolean isVirtual, SportEventCi parentSportEventCi, List<Locale> locales, SportEntityFactory sportEntityFactory, ExceptionHandlingStrategy exceptionHandlingStrategy) Initializes a new instance of theTeamCompetitorImplclass -
Method Summary
Modifier and TypeMethodDescriptionReturns the qualifier additionally describing the competitor (e.g.toString()Returns aStringdescribing the currentTeamCompetitorinstanceMethods inherited from class com.sportradar.unifiedodds.sdk.internal.impl.entities.CompetitorImpl
FetchEventCompetitorsDivisions, FetchEventCompetitorsQualifiers, FetchEventCompetitorsReferenceIds, getAbbreviation, getAbbreviations, getAgeGroup, getCategory, getCountries, getCountry, getCountryCode, getDivision, getGender, getId, getJerseys, getManager, getName, getNames, getPlayers, getRaceDriver, getReferences, getShortName, getSport, getState, getVenue, isVirtualMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sportradar.unifiedodds.sdk.entities.Competitor
getAbbreviation, getAbbreviations, getAgeGroup, getCategory, getCountries, getCountry, getCountryCode, getDivision, getGender, getJerseys, getManager, getPlayers, getRaceDriver, getReferences, getShortName, getSport, getState, getVenue, isVirtual
-
Constructor Details
-
TeamCompetitorImpl
public TeamCompetitorImpl(Urn competitorId, ProfileCache profileCache, String qualifier, Integer division, Boolean isVirtual, SportEventCi parentSportEventCi, List<Locale> locales, SportEntityFactory sportEntityFactory, ExceptionHandlingStrategy exceptionHandlingStrategy) Initializes a new instance of theTeamCompetitorImplclass- Parameters:
competitorId- the associated competitor idprofileCache- the cache instance used to retrieve the cached dataqualifier- the associated team qualifierisVirtual- indication if the competitor is marked as virtualparentSportEventCi- theSportEventCithisCompetitorCibelongs tolocales- aListin which is provided theCompetitorCisportEntityFactory- the factory used to create additional entitiesexceptionHandlingStrategy- the exception handling strategy
-
-
Method Details
-
getQualifier
Returns the qualifier additionally describing the competitor (e.g. home, away, ...)- Specified by:
getQualifierin interfaceTeamCompetitor- Returns:
- - the qualifier additionally describing the competitor (e.g. home, away, ...)
-
toString
Returns aStringdescribing the currentTeamCompetitorinstance- Overrides:
toStringin classCompetitorImpl- Returns:
- - a
Stringdescribing the currentTeamCompetitorinstance
-