public class ReplaySportEventImpl extends Object implements ReplaySportEvent
Constructor and Description |
---|
ReplaySportEventImpl(Urn id,
Integer position,
Integer startTime)
Creates new instance of
ReplaySportEventImpl |
Modifier and Type | Method and Description |
---|---|
Urn |
getId()
Returns an
Urn uniquely identifying the sport event |
Integer |
getPosition()
Returns an
Integer specifying position in the queue |
Integer |
getStartTime()
Returns an
Integer specifying the start time |
public ReplaySportEventImpl(Urn id, Integer position, Integer startTime)
ReplaySportEventImpl
id
- the id of the sport eventposition
- The position of the event in the queuestartTime
- The start time specified when the event was added to the queuepublic Urn getId()
Urn
uniquely identifying the sport eventgetId
in interface ReplaySportEvent
Urn
uniquely identifying the sport eventpublic Integer getPosition()
Integer
specifying position in the queuegetPosition
in interface ReplaySportEvent
Integer
specifying position in the queuepublic Integer getStartTime()
Integer
specifying the start timegetStartTime
in interface ReplaySportEvent
Integer
specifying the start timeCopyright © 2016–2025. All rights reserved.