Interface SeasonInfo

All Known Implementing Classes:
SeasonInfoImpl

public interface SeasonInfo
Defines methods implemented by classes providing season information about an entity (sport, category, season, ...)
  • Method Details

    • getId

      Urn getId()
      Returns a Urn uniquely identifying the current SeasonInfo instance
      Returns:
      - a Urn uniquely identifying the current SeasonInfo instance
    • getName

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

      Map<Locale,String> getNames()
      Returns an unmodifiable Map containing translated names
      Returns:
      - an unmodifiable Map containing translated names
    • getStartDate

      default Date getStartDate()
      Returns the Date specifying the start date of the season
      Returns:
      - the Date specifying the start date of the season
    • getEndDate

      default Date getEndDate()
      Returns the Date specifying the end date of the season
      Returns:
      - the Date specifying the end date of the season
    • getYear

      default String getYear()
      Returns the String representation the year of the season
      Returns:
      - the String representation the year of the season
    • getTournamentId

      default Urn getTournamentId()
      Returns the associated tournament identifier
      Returns:
      the associated tournament identifier