Interface Round
- All Known Implementing Classes:
RoundImpl
public interface Round
Defines methods implemented by classes providing basic tournament round information
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Betradar identifierdefault StringReturns 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 currentRoundinstancedefault StringgetGroup()Returns the group name of the group associated with the current rounddefault UrnReturns 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 matchdefault StringgetPhase()Returns the phase of the roundgetPhaseOrGroupLongName(Locale locale) Returns the name or group long name for the specified localegetType()Returns the type of the round
-
Method Details
-
getType
String getType()Returns the type of the round- Returns:
- - the type of the round
-
getNumber
Integer getNumber()Returns the value specifying the round number or a null reference if round number is not defined- 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- Parameters:
locale- - aLocalein which the name is requested- Returns:
- - the round instance name translated in the requested locale
-
getNames
-
getOtherMatchId
String getOtherMatchId()Returns the id of the other match- Returns:
- - the id of the other match
-
getCupRoundMatches
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 currentRoundinstance- 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
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 currentRoundinstance- 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
Integer getBetradarId()Returns the Betradar identifier- Returns:
- - the Betradar identifier; or null if unavailable
-
getPhaseOrGroupLongName
Returns the name or group long name for the specified locale- Parameters:
locale-Localespecifying the language of the value- Returns:
- the name or group long name if exists, or null
-
getGroupId
Returns the id of the group associated with the current round- Returns:
- - the id of the group associated with the current round
-
getPhase
Returns the phase of the round- Returns:
- the phase of the round
-
getGroup
Returns the group name of the group associated with the current round- Returns:
- - the group name of the group associated with the current round
-
getBetradarName
Returns the betradar name- Returns:
- - the betradar name
-