Class SportEventStatusCiImpl
java.lang.Object
com.sportradar.unifiedodds.sdk.internal.caching.impl.ci.SportEventStatusCiImpl
- All Implemented Interfaces:
SportEventStatusCi
A basic implementation of sport event status cache representation
-
Constructor Summary
ConstructorsConstructorDescriptionSportEventStatusCiImpl(SportEventStatusDto feedDto, SportEventStatusDto sapiDto) -
Method Summary
Modifier and TypeMethodDescriptionGet the penalty score of the away competitor competing on the associated sport event (for Ice Hockey)Returns the score of the home team in the current sport eventReturns anEventClockinstance describing the timings in the current eventReturns aListof event resultsReturns theSportEventStatusDtoreceived from the feedGet the penalty score of the home competitor competing on the associated sport event (for Ice Hockey)Returns the score of the home team in the current sport eventintReturns a numeric representation of the event statusReturns the period of ladderReturns aListof period scoresReturns an unmodifiableMapwhich contains all the additional sport event status properties which aren't specifically exposedReturns aReportingStatusdescribing the reporting status of the associated sport eventReturns theSportEventStatusDtoreceived from the Sports APIReturns aSportEventStatisticsDtoinstance describing the associated event statisticsReturns anEventStatusdescribing the status of the associated sport eventReturns the sport event winner identifierReturns an indication if the status is decided by fedvoidsetFeedStatus(SportEventStatusDto feedDto) Sets theSportEventStatusDtoreceived from the feedvoidsetSapiStatus(SportEventStatusDto sapiDto) Sets theSportEventStatusDtoreceived from the Sports APIReturns aMapcontaining data of the sport event status ordered in key/value pairs
-
Constructor Details
-
SportEventStatusCiImpl
-
-
Method Details
-
getFeedStatusDto
Description copied from interface:SportEventStatusCiReturns theSportEventStatusDtoreceived from the feed- Specified by:
getFeedStatusDtoin interfaceSportEventStatusCi- Returns:
- the
SportEventStatusDtoreceived from the feed
-
setFeedStatus
Description copied from interface:SportEventStatusCiSets theSportEventStatusDtoreceived from the feed- Specified by:
setFeedStatusin interfaceSportEventStatusCi- Parameters:
feedDto- theSportEventStatusDtoreceived from the feed
-
getSapiStatusDto
Description copied from interface:SportEventStatusCiReturns theSportEventStatusDtoreceived from the Sports API- Specified by:
getSapiStatusDtoin interfaceSportEventStatusCi- Returns:
- the
SportEventStatusDtoreceived from the Sports API
-
setSapiStatus
Description copied from interface:SportEventStatusCiSets theSportEventStatusDtoreceived from the Sports API- Specified by:
setSapiStatusin interfaceSportEventStatusCi- Parameters:
sapiDto- theSportEventStatusDtoreceived from the Sports API
-
getWinnerId
Description copied from interface:SportEventStatusCiReturns the sport event winner identifier- Specified by:
getWinnerIdin interfaceSportEventStatusCi- Returns:
- the sport event winner identifier, if available; otherwise null
-
getStatus
Description copied from interface:SportEventStatusCiReturns anEventStatusdescribing the status of the associated sport event- Specified by:
getStatusin interfaceSportEventStatusCi- Returns:
- - an
EventStatusdescribing the status of the associated sport event
-
getMatchStatusId
public int getMatchStatusId()Description copied from interface:SportEventStatusCiReturns a numeric representation of the event status- Specified by:
getMatchStatusIdin interfaceSportEventStatusCi- Returns:
- - a numeric representation of the event status
-
getReportingStatus
Description copied from interface:SportEventStatusCiReturns aReportingStatusdescribing the reporting status of the associated sport event- Specified by:
getReportingStatusin interfaceSportEventStatusCi- Returns:
- - a
ReportingStatusdescribing the reporting status of the associated sport event
-
getHomeScore
Description copied from interface:SportEventStatusCiReturns the score of the home team in the current sport event- Specified by:
getHomeScorein interfaceSportEventStatusCi- Returns:
- - if available a
BigDecimalindicating the score of the home team in the associated event; otherwise null
-
getAwayScore
Description copied from interface:SportEventStatusCiReturns the score of the home team in the current sport event- Specified by:
getAwayScorein interfaceSportEventStatusCi- Returns:
- - if available a
BigDecimalindicating the score of the away team in the associated event; otherwise null
-
getPeriodScores
Description copied from interface:SportEventStatusCiReturns aListof period scores- Specified by:
getPeriodScoresin interfaceSportEventStatusCi- Returns:
- - a
Listof period scores
-
getEventClock
Description copied from interface:SportEventStatusCiReturns anEventClockinstance describing the timings in the current event- Specified by:
getEventClockin interfaceSportEventStatusCi- Returns:
- - an
EventClockinstance describing the timings in the current event
-
getEventResults
Description copied from interface:SportEventStatusCiReturns aListof event results- Specified by:
getEventResultsin interfaceSportEventStatusCi- Returns:
- - a
Listof event results
-
getSportEventStatisticsDto
Description copied from interface:SportEventStatusCiReturns aSportEventStatisticsDtoinstance describing the associated event statistics- Specified by:
getSportEventStatisticsDtoin interfaceSportEventStatusCi- Returns:
- an object describing the associated event statistics if available; otherwise null
-
getProperties
Description copied from interface:SportEventStatusCiReturns an unmodifiableMapwhich contains all the additional sport event status properties which aren't specifically exposed- Specified by:
getPropertiesin interfaceSportEventStatusCi- Returns:
- - an unmodifiable
Mapwhich contains all the additional sport event status properties which aren't specifically exposed
-
getHomePenaltyScore
Description copied from interface:SportEventStatusCiGet the penalty score of the home competitor competing on the associated sport event (for Ice Hockey)- Specified by:
getHomePenaltyScorein interfaceSportEventStatusCi
-
getAwayPenaltyScore
Description copied from interface:SportEventStatusCiGet the penalty score of the away competitor competing on the associated sport event (for Ice Hockey)- Specified by:
getAwayPenaltyScorein interfaceSportEventStatusCi
-
toKeyValueStore
Description copied from interface:SportEventStatusCiReturns aMapcontaining data of the sport event status ordered in key/value pairs- Specified by:
toKeyValueStorein interfaceSportEventStatusCi- Returns:
- - a
Mapcontaining data of the sport event status ordered in key/value pairs
-
isDecidedByFed
Description copied from interface:SportEventStatusCiReturns an indication if the status is decided by fed- Specified by:
isDecidedByFedin interfaceSportEventStatusCi- Returns:
- an indication if the status is decided by fed if available; otherwise null
-
getPeriodOfLadder
Description copied from interface:SportEventStatusCiReturns the period of ladder- Specified by:
getPeriodOfLadderin interfaceSportEventStatusCi- Returns:
- the period of ladder
-