Interface SportEventStatusCi
- All Known Implementing Classes:
SportEventStatusCiImpl
public interface SportEventStatusCi
A sport event status cache representation
-
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
-
Method Details
-
getFeedStatusDto
SportEventStatusDto getFeedStatusDto()Returns theSportEventStatusDtoreceived from the feed- Returns:
- the
SportEventStatusDtoreceived from the feed
-
setFeedStatus
Sets theSportEventStatusDtoreceived from the feed- Parameters:
feedDto- theSportEventStatusDtoreceived from the feed
-
getSapiStatusDto
SportEventStatusDto getSapiStatusDto()Returns theSportEventStatusDtoreceived from the Sports API- Returns:
- the
SportEventStatusDtoreceived from the Sports API
-
setSapiStatus
Sets theSportEventStatusDtoreceived from the Sports API- Parameters:
sapiDto- theSportEventStatusDtoreceived from the Sports API
-
getWinnerId
Urn getWinnerId()Returns the sport event winner identifier- Returns:
- the sport event winner identifier, if available; otherwise null
-
getStatus
EventStatus getStatus()Returns anEventStatusdescribing the status of the associated sport event- Returns:
- - an
EventStatusdescribing the status of the associated sport event
-
getMatchStatusId
int getMatchStatusId()Returns a numeric representation of the event status- Returns:
- - a numeric representation of the event status
-
getReportingStatus
ReportingStatus getReportingStatus()Returns aReportingStatusdescribing the reporting status of the associated sport event- Returns:
- - a
ReportingStatusdescribing the reporting status of the associated sport event
-
getHomeScore
BigDecimal getHomeScore()Returns the score of the home team in the current sport event- Returns:
- - if available a
BigDecimalindicating the score of the home team in the associated event; otherwise null
-
getAwayScore
BigDecimal getAwayScore()Returns the score of the home team in the current sport event- Returns:
- - if available a
BigDecimalindicating the score of the away team in the associated event; otherwise null
-
getPeriodScores
List<PeriodScoreDto> getPeriodScores()Returns aListof period scores- Returns:
- - a
Listof period scores
-
getEventClock
EventClock getEventClock()Returns anEventClockinstance describing the timings in the current event- Returns:
- - an
EventClockinstance describing the timings in the current event
-
getEventResults
List<EventResult> getEventResults()Returns aListof event results- Returns:
- - a
Listof event results
-
getSportEventStatisticsDto
SportEventStatisticsDto getSportEventStatisticsDto()Returns aSportEventStatisticsDtoinstance describing the associated event statistics- Returns:
- an object describing the associated event statistics if available; otherwise null
-
getProperties
Returns an unmodifiableMapwhich contains all the additional sport event status properties which aren't specifically exposed- Returns:
- - an unmodifiable
Mapwhich contains all the additional sport event status properties which aren't specifically exposed
-
getHomePenaltyScore
Integer getHomePenaltyScore()Get the penalty score of the home competitor competing on the associated sport event (for Ice Hockey) -
getAwayPenaltyScore
Integer getAwayPenaltyScore()Get the penalty score of the away competitor competing on the associated sport event (for Ice Hockey) -
toKeyValueStore
Returns aMapcontaining data of the sport event status ordered in key/value pairs- Returns:
- - a
Mapcontaining data of the sport event status ordered in key/value pairs
-
isDecidedByFed
Boolean isDecidedByFed()Returns an indication if the status is decided by fed- Returns:
- an indication if the status is decided by fed if available; otherwise null
-
getPeriodOfLadder
Integer getPeriodOfLadder()Returns the period of ladder- Returns:
- the period of ladder
-