Interface Round

All Known Implementing Classes:
RoundImpl

public interface Round
Defines methods implemented by classes providing basic tournament round information
  • 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

      String getName(Locale locale)
      Returns the round instance name in the requested locale
      Parameters:
      locale - - a Locale in which the name is requested
      Returns:
      - the round instance name translated in the requested locale
    • getNames

      Map<Locale,String> getNames()
      Returns an unmodifiable Map which contains translated Round names
      Returns:
      - an unmodifiable Map which contains translated Round names
    • 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 current Round instance
      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 Round instance
    • 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 current Round instance
      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 Round instance
    • getBetradarId

      Integer getBetradarId()
      Returns the Betradar identifier
      Returns:
      - the Betradar identifier; or null if unavailable
    • getPhaseOrGroupLongName

      String getPhaseOrGroupLongName(Locale locale)
      Returns the name or group long name for the specified locale
      Parameters:
      locale - Locale specifying the language of the value
      Returns:
      the name or group long name if exists, or null
    • getGroupId

      default Urn getGroupId()
      Returns the id of the group associated with the current round
      Returns:
      - the id of the group associated with the current round
    • getPhase

      default String getPhase()
      Returns the phase of the round
      Returns:
      the phase of the round
    • getGroup

      default String 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

      default String getBetradarName()
      Returns the betradar name
      Returns:
      - the betradar name