public class LotteryImpl extends Object implements Lottery
| Constructor and Description |
|---|
LotteryImpl(Urn id,
Urn sportId,
List<Locale> locales,
SportEventCache sportEventCache,
SportEntityFactory sportEntityFactory,
ExceptionHandlingStrategy exceptionHandlingStrategy) |
| Modifier and Type | Method and Description |
|---|---|
BonusInfo |
getBonusInfo()
Returns the associated bonus info
|
CategorySummary |
getCategory()
Returns a
CategorySummary representing the category associated with the current instance |
DrawInfo |
getDrawInfo()
Returns the associated draw info
|
Urn |
getId()
Returns an
Urn uniquely identifying the tournament associated with the current instance |
String |
getName(Locale locale)
Returns the sport event name
|
Urn |
getReplacedBy()
Returns the
Urn specifying the replacement sport event for the current instance |
List<Draw> |
getScheduledDraws()
Returns the lottery draws
|
Date |
getScheduledEndTime()
Returns the
Date specifying when the sport event associated with the current
instance was scheduled to end |
Date |
getScheduledTime()
Returns the
Date specifying when the sport event associated with the current
instance was scheduled |
SportSummary |
getSport()
Returns a
SportSummary instance representing the sport associated with the current instance |
Urn |
getSportId()
Returns the unique sport identifier to which this event is associated
|
TournamentCoverage |
getTournamentCoverage()
Returns a
TournamentCoverage instance which describes the associated tournament coverage information
(no coverage info available for lotteries) |
Boolean |
isStartTimeTbd()
Returns the
Boolean specifying if the start time to be determined is set for the current instance |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetIdpublic LotteryImpl(Urn id, Urn sportId, List<Locale> locales, SportEventCache sportEventCache, SportEntityFactory sportEntityFactory, ExceptionHandlingStrategy exceptionHandlingStrategy)
public CategorySummary getCategory()
CategorySummary representing the category associated with the current instancegetCategory in interface LotteryCategorySummary representing the category associated with the current instancepublic BonusInfo getBonusInfo()
getBonusInfo in interface Lotterypublic DrawInfo getDrawInfo()
getDrawInfo in interface Lotterypublic List<Draw> getScheduledDraws()
getScheduledDraws in interface Lotterypublic SportSummary getSport()
SportSummary instance representing the sport associated with the current instancegetSport in interface LongTermEventSportSummary instance representing the sport associated with the current instancepublic TournamentCoverage getTournamentCoverage()
TournamentCoverage instance which describes the associated tournament coverage information
(no coverage info available for lotteries)getTournamentCoverage in interface LongTermEventTournamentCoverage instance describing the tournament coverage informationpublic String getName(Locale locale)
getName in interface SportEventlocale - the Locale in which the name should be providedpublic Urn getSportId()
getSportId in interface SportEventpublic Date getScheduledTime()
Date specifying when the sport event associated with the current
instance was scheduledgetScheduledTime in interface SportEventDate instance specifying when the sport event associated with the current
instance was scheduledpublic Date getScheduledEndTime()
Date specifying when the sport event associated with the current
instance was scheduled to endgetScheduledEndTime in interface SportEventDate instance specifying when the sport event associated with the current
instance was scheduled to endpublic Boolean isStartTimeTbd()
Boolean specifying if the start time to be determined is set for the current instanceisStartTimeTbd in interface SportEventBoolean specifying if the start time to be determined is set for the current instancepublic Urn getReplacedBy()
Urn specifying the replacement sport event for the current instancegetReplacedBy in interface SportEventUrn specifying the replacement sport event for the current instancepublic Urn getId()
Urn uniquely identifying the tournament associated with the current instancegetId in interface SportEventUrn uniquely identifying the tournament associated with the current instanceCopyright © 2016–2025. All rights reserved.