java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.SeasonInfoImpl
All Implemented Interfaces:
SeasonInfo

public class SeasonInfoImpl extends Object implements SeasonInfo
Provides season information about an entity (sport, category, season, ...)
  • Method Details

    • getId

      public Urn getId()
      Returns a Urn uniquely identifying the current SeasonInfo instance
      Specified by:
      getId in interface SeasonInfo
      Returns:
      - a Urn uniquely identifying the current SeasonInfo instance
    • getName

      public String getName(Locale locale)
      Returns the name of the season in the specified language
      Specified by:
      getName in interface SeasonInfo
      Parameters:
      locale - - a Locale specifying the language of the returned name
      Returns:
      - the name of the season in the specified language
    • getNames

      public Map<Locale,String> getNames()
      Returns an unmodifiable Map containing translated names
      Specified by:
      getNames in interface SeasonInfo
      Returns:
      - an unmodifiable Map containing translated names
      See Also:
      • ImmutableMap
    • getStartDate

      public Date getStartDate()
      Returns the Date specifying the start date of the season
      Specified by:
      getStartDate in interface SeasonInfo
      Returns:
      - the Date specifying the start date of the season
    • getEndDate

      public Date getEndDate()
      Returns the Date specifying the end date of the season
      Specified by:
      getEndDate in interface SeasonInfo
      Returns:
      - the Date specifying the end date of the season
    • getYear

      public String getYear()
      Returns the String representation the year of the season
      Specified by:
      getYear in interface SeasonInfo
      Returns:
      - the String representation the year of the season
    • getTournamentId

      public Urn getTournamentId()
      Returns the associated tournament identifier
      Specified by:
      getTournamentId in interface SeasonInfo
      Returns:
      the associated tournament identifier
    • toString

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