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
Locale s |
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 CompleteRoundCi
round
- - SapiMatchRound
containing information about the roundlocale
- - Locale
specifying the language of the roundpublic 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 boolean hasTranslationsFor(List<Locale> locales)
Locale
shasTranslationsFor
in interface CompleteRoundCi
locales
- the Locale
s that should be checkedtrue
if all the provided Locale
s are cached, otherwise false
public ExportableCompleteRoundCi export()
Copyright © 2016–2025. All rights reserved.