Interface SportEvent

All Known Subinterfaces:
BasicTournament, Competition, Draw, LongTermEvent, Lottery, Match, Season, Stage, Tournament
All Known Implementing Classes:
BasicTournamentImpl, DrawImpl, LotteryImpl, MatchImpl, SeasonImpl, SportEventGenericImpl, StageImpl, TournamentImpl

public interface SportEvent
Defines methods implemented by classes representing the target(tournament, match, race) of feed messages
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns an Urn uniquely identifying the tournament associated with the current instance
    getName(Locale locale)
    Returns the sport event name
    default Urn
    Returns the Urn specifying the replacement sport event for the current instance
    Returns the Date specifying when the sport event associated with the current instance was scheduled to end
    Returns the Date specifying when the sport event associated with the current instance was scheduled
    Returns the unique sport identifier to which this event is associated
    default Boolean
    Returns the Boolean specifying if the start time to be determined is set for the current instance
  • Method Details

    • getId

      Urn getId()
      Returns an Urn uniquely identifying the tournament associated with the current instance
      Returns:
      - an Urn uniquely identifying the tournament associated with the current instance
    • getName

      String getName(Locale locale)
      Returns the sport event name
      Parameters:
      locale - the Locale in which the name should be provided
      Returns:
      the sport event name if available; otherwise null
    • getSportId

      Urn getSportId()
      Returns the unique sport identifier to which this event is associated
      Returns:
      - the unique sport identifier to which this event is associated
    • getScheduledTime

      Date getScheduledTime()
      Returns the Date specifying when the sport event associated with the current instance was scheduled
      Returns:
      - a Date instance specifying when the sport event associated with the current instance was scheduled
    • getScheduledEndTime

      Date getScheduledEndTime()
      Returns the Date specifying when the sport event associated with the current instance was scheduled to end
      Returns:
      - a Date instance specifying when the sport event associated with the current instance was scheduled to end
    • isStartTimeTbd

      default Boolean isStartTimeTbd()
      Returns the Boolean specifying if the start time to be determined is set for the current instance
      Returns:
      if available, the Boolean specifying if the start time to be determined is set for the current instance
    • getReplacedBy

      default Urn getReplacedBy()
      Returns the Urn specifying the replacement sport event for the current instance
      Returns:
      if available, the Urn specifying the replacement sport event for the current instance