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 TypeMethodDescriptiongetId()Returns anUrnuniquely identifying the tournament associated with the current instanceReturns the sport event namedefault UrnReturns theUrnspecifying the replacement sport event for the current instanceReturns theDatespecifying when the sport event associated with the current instance was scheduled to endReturns theDatespecifying when the sport event associated with the current instance was scheduledReturns the unique sport identifier to which this event is associateddefault BooleanReturns theBooleanspecifying if the start time to be determined is set for the current instance
-
Method Details
-
getId
Urn getId()Returns anUrnuniquely identifying the tournament associated with the current instance- Returns:
- - an
Urnuniquely identifying the tournament associated with the current instance
-
getName
Returns the sport event name- Parameters:
locale- theLocalein 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 theDatespecifying when the sport event associated with the current instance was scheduled- Returns:
- - a
Dateinstance specifying when the sport event associated with the current instance was scheduled
-
getScheduledEndTime
Date getScheduledEndTime()Returns theDatespecifying when the sport event associated with the current instance was scheduled to end- Returns:
- - a
Dateinstance specifying when the sport event associated with the current instance was scheduled to end
-
isStartTimeTbd
Returns theBooleanspecifying if the start time to be determined is set for the current instance- Returns:
- if available, the
Booleanspecifying if the start time to be determined is set for the current instance
-
getReplacedBy
Returns theUrnspecifying the replacement sport event for the current instance- Returns:
- if available, the
Urnspecifying the replacement sport event for the current instance
-