Class CompetitorPlayerImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.PlayerProfileImpl
com.sportradar.unifiedodds.sdk.internal.impl.entities.CompetitorPlayerImpl
- All Implemented Interfaces:
CompetitorPlayer,Player,PlayerProfile
Represents competitor's player profile information
-
Constructor Summary
ConstructorsConstructorDescriptionCompetitorPlayerImpl(Urn playerId, Integer jerseyNumber, ProfileCache profileCache, List<Urn> possibleAssociatedCompetitorIds, List<Locale> locales, ExceptionHandlingStrategy exceptionHandlingStrategy) Initializes a new instance ofPlayerProfileImpl -
Method Summary
Methods inherited from class com.sportradar.unifiedodds.sdk.internal.impl.entities.PlayerProfileImpl
getCountryCode, getDateOfBirth, getFullName, getGender, getHeight, getId, getName, getNames, getNationalities, getNationality, getNickname, getType, getWeight, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.sportradar.unifiedodds.sdk.entities.Player
getId, getName, getNamesMethods inherited from interface com.sportradar.unifiedodds.sdk.entities.PlayerProfile
getCountryCode, getDateOfBirth, getFullName, getGender, getHeight, getNationalities, getNationality, getNickname, getType, getWeight
-
Constructor Details
-
CompetitorPlayerImpl
public CompetitorPlayerImpl(Urn playerId, Integer jerseyNumber, ProfileCache profileCache, List<Urn> possibleAssociatedCompetitorIds, List<Locale> locales, ExceptionHandlingStrategy exceptionHandlingStrategy) Initializes a new instance ofPlayerProfileImpl- Parameters:
playerId- the associated player identifierprofileCache- the cache used to provide the datapossibleAssociatedCompetitorIds- a list of possible associated competitor ids (used to prefetch data)locales- theLocales in which the data should be availableexceptionHandlingStrategy- the preferred exception handling strategy
-
-
Method Details
-
getJerseyNumber
Description copied from class:PlayerProfileImplReturns the player jersey number- Specified by:
getJerseyNumberin interfaceCompetitorPlayer- Specified by:
getJerseyNumberin interfacePlayerProfile- Overrides:
getJerseyNumberin classPlayerProfileImpl- Returns:
- the jersey number if available; otherwise null
-