public class CompleteRoundCiImpl extends Object implements CompleteRoundCi
| Constructor and Description |
|---|
CompleteRoundCiImpl(ExportableCompleteRoundCi exportable) |
CompleteRoundCiImpl(com.sportradar.uf.sportsapi.datamodel.SapiMatchRound round,
Locale locale)
Initializes a new instance of the
CompleteRoundCiImpl class |
| Modifier and Type | Method and Description |
|---|---|
ExportableCompleteRoundCi |
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
|
boolean |
hasTranslationsFor(List<Locale> locales)
Checks if the associated cache item contains all the provided
Locales |
void |
merge(com.sportradar.uf.sportsapi.datamodel.SapiMatchRound round,
Locale locale)
Merges the information from the provided
SapiMatchRound into the current instance |
String |
toString() |
public CompleteRoundCiImpl(com.sportradar.uf.sportsapi.datamodel.SapiMatchRound round,
Locale locale)
CompleteRoundCiImpl classround - - SapiMatchRound containing information about the roundlocale - - Locale specifying the language of the roundpublic CompleteRoundCiImpl(ExportableCompleteRoundCi exportable)
public void merge(com.sportradar.uf.sportsapi.datamodel.SapiMatchRound round,
Locale locale)
SapiMatchRound into the current instancemerge in interface CompleteRoundCiround - - SapiMatchRound containing information about the roundlocale - - Locale specifying the language of the roundpublic String getType()
public String getGroup()
public Urn getGroupId()
getGroupId in interface RoundCipublic String getOtherMatchId()
getOtherMatchId in interface RoundCipublic Integer getNumber()
public Integer getCupRoundMatches()
getCupRoundMatches in interface RoundCipublic Integer getCupRoundMatchNumber()
getCupRoundMatchNumber in interface RoundCipublic Integer getBetradarId()
getBetradarId in interface RoundCipublic String getPhaseOrGroupLongName(Locale locale)
getPhaseOrGroupLongName in interface RoundCilocale - Locale specifying the language of the valuepublic String getPhase()
public String getBetradarName()
getBetradarName in interface RoundCipublic boolean hasTranslationsFor(List<Locale> locales)
LocaleshasTranslationsFor in interface CompleteRoundCilocales - the Locales that should be checkedtrue if all the provided Locales are cached, otherwise falsepublic ExportableCompleteRoundCi export()
Copyright © 2016–2025. All rights reserved.