Class RoundImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.RoundImpl
- All Implemented Interfaces:
Round
Provides basic tournament round information
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Betradar identifierReturns the betradar nameReturns a value specifying the number of matches in the current cup round or a null reference if number of matches is not applicable to currentRoundinstanceReturns a value specifying the number of the match in the current cup round or a null reference if match number is not applicable to currentRoundinstancegetGroup()Returns the group of the group associated with the current roundReturns the id of the group associated with the current roundReturns the round instance name in the requested localegetNames()Returns the value specifying the round number or a null reference if round number is not definedReturns the id of the other matchgetPhase()Returns the phase of the roundgetPhaseOrGroupLongName(Locale locale) Returns the name or group long name for the specified localegetType()Returns the type of the roundtoString()
-
Method Details
-
getType
Returns the type of the round -
getNumber
Returns the value specifying the round number or a null reference if round number is not defined -
getName
Returns the round instance name in the requested locale -
getNames
-
getPhaseOrGroupLongName
Returns the name or group long name for the specified locale- Specified by:
getPhaseOrGroupLongNamein interfaceRound- Parameters:
locale-Localespecifying the language of the value- Returns:
- the name or group long name if exists, or null
-
getOtherMatchId
Returns the id of the other match- Specified by:
getOtherMatchIdin interfaceRound- Returns:
- - the id of the other match
-
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 currentRoundinstance- Specified by:
getCupRoundMatchesin interfaceRound- 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
Roundinstance
-
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 currentRoundinstance- Specified by:
getCupRoundMatchNumberin interfaceRound- 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
Roundinstance
-
getBetradarId
Returns the Betradar identifier- Specified by:
getBetradarIdin interfaceRound- Returns:
- - the Betradar identifier; or null if unavailable
-
getGroupId
Returns the id of the group associated with the current round- Specified by:
getGroupIdin interfaceRound- Returns:
- - the id of the group associated with the current round
-
getPhase
Returns the phase of the round -
getGroup
Returns the group of the group associated with the current round -
getBetradarName
Returns the betradar name- Specified by:
getBetradarNamein interfaceRound- Returns:
- - the betradar name
-
toString
-