public class SportEventStatusCiImpl extends Object implements SportEventStatusCi
Constructor and Description |
---|
SportEventStatusCiImpl(SportEventStatusDto feedDto,
SportEventStatusDto sapiDto) |
Modifier and Type | Method and Description |
---|---|
Integer |
getAwayPenaltyScore()
Get the penalty score of the away competitor competing on the associated sport event (for Ice Hockey)
|
BigDecimal |
getAwayScore()
Returns the score of the home team in the current sport event
|
EventClock |
getEventClock()
Returns an
EventClock instance describing the timings in the current event |
List<EventResult> |
getEventResults()
Returns a
List of event results |
SportEventStatusDto |
getFeedStatusDto()
Returns the
SportEventStatusDto received from the feed |
Integer |
getHomePenaltyScore()
Get the penalty score of the home competitor competing on the associated sport event (for Ice Hockey)
|
BigDecimal |
getHomeScore()
Returns the score of the home team in the current sport event
|
int |
getMatchStatusId()
Returns a numeric representation of the event status
|
Integer |
getPeriodOfLadder()
Returns the period of ladder
|
List<PeriodScoreDto> |
getPeriodScores()
Returns a
List of period scores |
Map<String,Object> |
getProperties()
Returns an unmodifiable
Map which contains all the additional sport event status properties
which aren't specifically exposed |
ReportingStatus |
getReportingStatus()
Returns a
ReportingStatus describing the reporting status of the associated sport event |
SportEventStatusDto |
getSapiStatusDto()
Returns the
SportEventStatusDto received from the Sports API |
SportEventStatisticsDto |
getSportEventStatisticsDto()
Returns a
SportEventStatisticsDto instance describing the associated event statistics |
EventStatus |
getStatus()
Returns an
EventStatus describing the status of the associated sport event |
Urn |
getWinnerId()
Returns the sport event winner identifier
|
Boolean |
isDecidedByFed()
Returns an indication if the status is decided by fed
|
void |
setFeedStatus(SportEventStatusDto feedDto)
Sets the
SportEventStatusDto received from the feed |
void |
setSapiStatus(SportEventStatusDto sapiDto)
Sets the
SportEventStatusDto received from the Sports API |
Map<String,Object> |
toKeyValueStore()
Returns a
Map containing data of the sport event status ordered in key/value pairs |
public SportEventStatusCiImpl(SportEventStatusDto feedDto, SportEventStatusDto sapiDto)
public SportEventStatusDto getFeedStatusDto()
SportEventStatusCi
SportEventStatusDto
received from the feedgetFeedStatusDto
in interface SportEventStatusCi
SportEventStatusDto
received from the feedpublic void setFeedStatus(SportEventStatusDto feedDto)
SportEventStatusCi
SportEventStatusDto
received from the feedsetFeedStatus
in interface SportEventStatusCi
feedDto
- the SportEventStatusDto
received from the feedpublic SportEventStatusDto getSapiStatusDto()
SportEventStatusCi
SportEventStatusDto
received from the Sports APIgetSapiStatusDto
in interface SportEventStatusCi
SportEventStatusDto
received from the Sports APIpublic void setSapiStatus(SportEventStatusDto sapiDto)
SportEventStatusCi
SportEventStatusDto
received from the Sports APIsetSapiStatus
in interface SportEventStatusCi
sapiDto
- the SportEventStatusDto
received from the Sports APIpublic Urn getWinnerId()
SportEventStatusCi
getWinnerId
in interface SportEventStatusCi
public EventStatus getStatus()
SportEventStatusCi
EventStatus
describing the status of the associated sport eventgetStatus
in interface SportEventStatusCi
EventStatus
describing the status of the associated sport eventpublic int getMatchStatusId()
SportEventStatusCi
getMatchStatusId
in interface SportEventStatusCi
public ReportingStatus getReportingStatus()
SportEventStatusCi
ReportingStatus
describing the reporting status of the associated sport eventgetReportingStatus
in interface SportEventStatusCi
ReportingStatus
describing the reporting status of the associated sport eventpublic BigDecimal getHomeScore()
SportEventStatusCi
getHomeScore
in interface SportEventStatusCi
BigDecimal
indicating the score of the home team
in the associated event; otherwise nullpublic BigDecimal getAwayScore()
SportEventStatusCi
getAwayScore
in interface SportEventStatusCi
BigDecimal
indicating the score of the away team
in the associated event; otherwise nullpublic List<PeriodScoreDto> getPeriodScores()
SportEventStatusCi
List
of period scoresgetPeriodScores
in interface SportEventStatusCi
List
of period scorespublic EventClock getEventClock()
SportEventStatusCi
EventClock
instance describing the timings in the current eventgetEventClock
in interface SportEventStatusCi
EventClock
instance describing the timings in the current eventpublic List<EventResult> getEventResults()
SportEventStatusCi
List
of event resultsgetEventResults
in interface SportEventStatusCi
List
of event resultspublic SportEventStatisticsDto getSportEventStatisticsDto()
SportEventStatusCi
SportEventStatisticsDto
instance describing the associated event statisticsgetSportEventStatisticsDto
in interface SportEventStatusCi
public Map<String,Object> getProperties()
SportEventStatusCi
Map
which contains all the additional sport event status properties
which aren't specifically exposedgetProperties
in interface SportEventStatusCi
Map
which contains all the additional sport event status properties
which aren't specifically exposedpublic Integer getHomePenaltyScore()
SportEventStatusCi
getHomePenaltyScore
in interface SportEventStatusCi
public Integer getAwayPenaltyScore()
SportEventStatusCi
getAwayPenaltyScore
in interface SportEventStatusCi
public Map<String,Object> toKeyValueStore()
SportEventStatusCi
Map
containing data of the sport event status ordered in key/value pairstoKeyValueStore
in interface SportEventStatusCi
Map
containing data of the sport event status ordered in key/value pairspublic Boolean isDecidedByFed()
SportEventStatusCi
isDecidedByFed
in interface SportEventStatusCi
public Integer getPeriodOfLadder()
SportEventStatusCi
getPeriodOfLadder
in interface SportEventStatusCi
Copyright © 2016–2025. All rights reserved.