public class DrawImpl extends Object implements Draw
| Constructor and Description |
|---|
DrawImpl(Urn id,
Urn sportId,
List<Locale> locales,
SportEventCache sportEventCache,
SportEntityFactory sportEntityFactory,
ExceptionHandlingStrategy exceptionHandlingStrategy) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getDisplayId()
Returns the display id
|
Urn |
getId()
Returns an
Urn uniquely identifying the tournament associated with the current instance |
Lottery |
getLottery()
Returns the associated lottery
|
String |
getName(Locale locale)
Returns the sport event name
|
Urn |
getReplacedBy()
Returns the
Urn specifying the replacement sport event for the current instance |
List<DrawResult> |
getResults()
Returns a list of draw results
|
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 |
Urn |
getSportId()
Returns the associated sport identifier
(This method its overridden because the superclass SportEvent does not contain the sportId in all cases)
|
DrawStatus |
getStatus()
Returns the status of the draw
|
Boolean |
isStartTimeTbd()
Returns the
Boolean specifying if the start time to be determined is set for the current instance |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdpublic DrawImpl(Urn id, Urn sportId, List<Locale> locales, SportEventCache sportEventCache, SportEntityFactory sportEntityFactory, ExceptionHandlingStrategy exceptionHandlingStrategy)
public DrawStatus getStatus()
public List<DrawResult> getResults()
getResults in interface Drawpublic Lottery getLottery()
getLottery in interface Drawpublic String getName(Locale locale)
getName in interface SportEventlocale - the Locale in which the name should be providedpublic 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 getSportId()
getSportId in interface SportEventpublic Integer getDisplayId()
getDisplayId in interface Drawpublic 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.