Interface SportEventStatusCi

All Known Implementing Classes:
SportEventStatusCiImpl

public interface SportEventStatusCi
A sport event status cache representation
  • Method Details

    • getFeedStatusDto

      SportEventStatusDto getFeedStatusDto()
      Returns the SportEventStatusDto received from the feed
      Returns:
      the SportEventStatusDto received from the feed
    • setFeedStatus

      void setFeedStatus(SportEventStatusDto feedDto)
      Sets the SportEventStatusDto received from the feed
      Parameters:
      feedDto - the SportEventStatusDto received from the feed
    • getSapiStatusDto

      SportEventStatusDto getSapiStatusDto()
      Returns the SportEventStatusDto received from the Sports API
      Returns:
      the SportEventStatusDto received from the Sports API
    • setSapiStatus

      void setSapiStatus(SportEventStatusDto sapiDto)
      Sets the SportEventStatusDto received from the Sports API
      Parameters:
      sapiDto - the SportEventStatusDto received 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 an EventStatus describing the status of the associated sport event
      Returns:
      - an EventStatus describing 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 a ReportingStatus describing the reporting status of the associated sport event
      Returns:
      - a ReportingStatus describing 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 BigDecimal indicating 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 BigDecimal indicating the score of the away team in the associated event; otherwise null
    • getPeriodScores

      List<PeriodScoreDto> getPeriodScores()
      Returns a List of period scores
      Returns:
      - a List of period scores
    • getEventClock

      EventClock getEventClock()
      Returns an EventClock instance describing the timings in the current event
      Returns:
      - an EventClock instance describing the timings in the current event
    • getEventResults

      List<EventResult> getEventResults()
      Returns a List of event results
      Returns:
      - a List of event results
    • getSportEventStatisticsDto

      SportEventStatisticsDto getSportEventStatisticsDto()
      Returns a SportEventStatisticsDto instance describing the associated event statistics
      Returns:
      an object describing the associated event statistics if available; otherwise null
    • getProperties

      Map<String,Object> getProperties()
      Returns an unmodifiable Map which contains all the additional sport event status properties which aren't specifically exposed
      Returns:
      - an unmodifiable Map which 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

      Map<String,Object> toKeyValueStore()
      Returns a Map containing data of the sport event status ordered in key/value pairs
      Returns:
      - a Map containing 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