java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.RefereeImpl
All Implemented Interfaces:
Referee

public class RefereeImpl extends Object implements Referee
Represents a sport event referee
  • Method Details

    • getId

      public Urn getId()
      Returns the unique identifier of the current Referee instance
      Specified by:
      getId in interface Referee
      Returns:
      - the unique identifier of the current Referee instance
    • getName

      public String getName()
      Returns the name of the referee represented by the current Referee instance
      Specified by:
      getName in interface Referee
      Returns:
      - the name of the referee represented by the current Referee instance
    • getNationality

      public String getNationality(Locale locale)
      Returns the nationality in the requested locale
      Specified by:
      getNationality in interface Referee
      Parameters:
      locale - - a Locale in which the nationality is requested
      Returns:
      - the nationality in the requested locale
    • getNationalities

      public Map<Locale,String> getNationalities()
      Returns an unmodifiable Map containing referee nationality in different languages
      Specified by:
      getNationalities in interface Referee
      Returns:
      - an unmodifiable Map containing referee nationality in different languages
      See Also:
      • ImmutableMap
    • toString

      public String toString()
      Returns a String describing the current Referee instance
      Overrides:
      toString in class Object
      Returns:
      - a String describing the current Referee instance