public class LoadableRoundCiImpl extends Object implements LoadableRoundCi
Constructor and Description |
---|
LoadableRoundCiImpl(CacheItem associatedEventCi,
DataRouterManager dataRouterManager,
Locale defaultLocale,
ExceptionHandlingStrategy exceptionHandlingStrategy) |
LoadableRoundCiImpl(CacheItem associatedEventCi,
ExportableLoadableRoundCi exportable,
DataRouterManager dataRouterManager,
ExceptionHandlingStrategy exceptionHandlingStrategy) |
LoadableRoundCiImpl(com.sportradar.uf.sportsapi.datamodel.SapiMatchRound roundData,
boolean isFixtureEndpoint,
Locale dataLocale,
CacheItem associatedEventCi,
DataRouterManager dataRouterManager,
Locale defaultLocale,
ExceptionHandlingStrategy exceptionHandlingStrategy) |
Modifier and Type | Method and Description |
---|---|
ExportableLoadableRoundCi |
export() |
Integer |
getBetradarId()
Returns the betradar identifier
|
String |
getBetradarName()
Returns the betradar name
|
Integer |
getCupRoundMatches()
Returns a value specifying the number of matches in the current cup round or a null reference
if number of matches is not applicable to current instance
|
Integer |
getCupRoundMatchNumber()
Returns a value specifying the number of the match in the current cup round or a null reference
if match number is not applicable to current instance
|
String |
getGroup()
Returns the name of the group associated with the current round
|
Urn |
getGroupId()
Returns the id of the group associated with the current round
|
String |
getName(Locale locale)
Returns the name for specific locale
|
Integer |
getNumber()
Returns a value specifying the round number or a null reference if round number is not defined
|
String |
getOtherMatchId()
Returns the id of the other match
|
String |
getPhase()
Returns the phase of the round
|
String |
getPhaseOrGroupLongName(Locale locale)
Returns the name or group long name for the specified locale
|
String |
getType()
Returns the type of the round
|
void |
merge(com.sportradar.uf.sportsapi.datamodel.SapiMatchRound round,
Locale locale,
boolean isFixtureEndpoint)
Merges the information from the provided
SapiMatchRound into the current instance |
String |
toString() |
public LoadableRoundCiImpl(CacheItem associatedEventCi, DataRouterManager dataRouterManager, Locale defaultLocale, ExceptionHandlingStrategy exceptionHandlingStrategy)
public LoadableRoundCiImpl(com.sportradar.uf.sportsapi.datamodel.SapiMatchRound roundData, boolean isFixtureEndpoint, Locale dataLocale, CacheItem associatedEventCi, DataRouterManager dataRouterManager, Locale defaultLocale, ExceptionHandlingStrategy exceptionHandlingStrategy)
public LoadableRoundCiImpl(CacheItem associatedEventCi, ExportableLoadableRoundCi exportable, DataRouterManager dataRouterManager, ExceptionHandlingStrategy exceptionHandlingStrategy)
public String getType()
public String getGroup()
public Urn getGroupId()
getGroupId
in interface RoundCi
public String getOtherMatchId()
getOtherMatchId
in interface RoundCi
public Integer getNumber()
public Integer getCupRoundMatches()
getCupRoundMatches
in interface RoundCi
public Integer getCupRoundMatchNumber()
getCupRoundMatchNumber
in interface RoundCi
public Integer getBetradarId()
getBetradarId
in interface RoundCi
public String getPhaseOrGroupLongName(Locale locale)
getPhaseOrGroupLongName
in interface RoundCi
locale
- Locale
specifying the language of the valuepublic String getPhase()
public String getBetradarName()
getBetradarName
in interface RoundCi
public void merge(com.sportradar.uf.sportsapi.datamodel.SapiMatchRound round, Locale locale, boolean isFixtureEndpoint)
SapiMatchRound
into the current instancemerge
in interface LoadableRoundCi
round
- SapiMatchRound
containing information about the roundlocale
- Locale
specifying the language of the provided dataisFixtureEndpoint
- an indication if the data provided was extracted from the fixture endpointpublic ExportableLoadableRoundCi export()
Copyright © 2016–2025. All rights reserved.