Interface PeriodScore

All Known Implementing Classes:
PeriodScoreImpl

public interface PeriodScore
Defines methods implemented by classes representing a score of a sport event period
  • Method Details

    • getHomeScore

      BigDecimal getHomeScore()
      Returns the score of the home team in the period represented by the current instance
      Returns:
      - the score of the home team in the period represented by the current instance
    • getAwayScore

      BigDecimal getAwayScore()
      Returns the score of the away team in the period represented by the current instance
      Returns:
      - the score of the away team in the period represented by the current instance
    • getPeriodNumber

      Integer getPeriodNumber()
      Returns the sequence number of the period represented by the current instance
      Returns:
      - the sequence number of the period represented by the current instance
    • getPeriodDescription

      LocalizedNamedValue getPeriodDescription()
      Returns the period description translated in the default locale
      Returns:
      - the period description translated in the default locale
    • getPeriodDescription

      LocalizedNamedValue getPeriodDescription(Locale locale)
      Returns the period description translated in the specified language
      Parameters:
      locale - - a Locale specifying the language of the status
      Returns:
      - period description translated in the specified language
    • getPeriodType

      PeriodType getPeriodType()
      Returns the period type
      Returns:
      the period type
    • getMatchStatusCode

      default Integer getMatchStatusCode()
      Returns the match status code
      Returns:
      - the match status code