Class SportEventGenericImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.impl.entities.SportEventGenericImpl
- All Implemented Interfaces:
SportEvent
The generic sport event entity, built if the event type could not be
-
Constructor Summary
ConstructorsConstructorDescriptionSportEventGenericImpl(Urn id, Urn sportId) Initializes a new instance ofSportEventGenericImpl -
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns anUrnuniquely identifying the tournament associated with the current instanceReturns the sport event nameReturns 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 associatedReturns theBooleanspecifying if the start time to be determined is set for the current instanceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sportradar.unifiedodds.sdk.entities.SportEvent
getId, getSportId
-
Constructor Details
-
SportEventGenericImpl
Initializes a new instance ofSportEventGenericImpl- Parameters:
id- anUrnuniquely identifying the tournamentsportId- the identifier of the sport to which the event belongs
-
-
Method Details
-
getName
Returns the sport event name- Specified by:
getNamein interfaceSportEvent- Parameters:
locale- theLocalein which the name should be provided- Returns:
- the sport event name if available; otherwise null
-
getScheduledTime
Returns theDatespecifying when the sport event associated with the current instance was scheduled- Specified by:
getScheduledTimein interfaceSportEvent- Returns:
- - a
Dateinstance specifying when the sport event associated with the current instance was scheduled
-
getScheduledEndTime
Returns theDatespecifying when the sport event associated with the current instance was scheduled to end- Specified by:
getScheduledEndTimein interfaceSportEvent- 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- Specified by:
isStartTimeTbdin interfaceSportEvent- 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- Specified by:
getReplacedByin interfaceSportEvent- Returns:
- if available, the
Urnspecifying the replacement sport event for the current instance
-
getId
Returns anUrnuniquely identifying the tournament associated with the current instance- Specified by:
getIdin interfaceSportEvent- Returns:
- - an
Urnuniquely identifying the tournament associated with the current instance
-
getSportId
Returns the unique sport identifier to which this event is associated- Specified by:
getSportIdin interfaceSportEvent- Returns:
- - the unique sport identifier to which this event is associated
-