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, wait
getId
public 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 Lottery
CategorySummary
representing the category associated with the current instancepublic BonusInfo getBonusInfo()
getBonusInfo
in interface Lottery
public DrawInfo getDrawInfo()
getDrawInfo
in interface Lottery
public List<Draw> getScheduledDraws()
getScheduledDraws
in interface Lottery
public SportSummary getSport()
SportSummary
instance representing the sport associated with the current instancegetSport
in interface LongTermEvent
SportSummary
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 LongTermEvent
TournamentCoverage
instance describing the tournament coverage informationpublic String getName(Locale locale)
getName
in interface SportEvent
locale
- the Locale
in which the name should be providedpublic Urn getSportId()
getSportId
in interface SportEvent
public Date getScheduledTime()
Date
specifying when the sport event associated with the current
instance was scheduledgetScheduledTime
in interface SportEvent
Date
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 SportEvent
Date
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 SportEvent
Boolean
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 SportEvent
Urn
specifying the replacement sport event for the current instancepublic Urn getId()
Urn
uniquely identifying the tournament associated with the current instancegetId
in interface SportEvent
Urn
uniquely identifying the tournament associated with the current instanceCopyright © 2016–2025. All rights reserved.