public class MatchStatusImpl extends CompetitionStatusImpl implements MatchStatus
Constructor and Description |
---|
MatchStatusImpl(SportEventStatusCi statusCi,
LocalizedNamedValueCache matchStatuses) |
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 away competitor competing on the associated sport event
|
EventClock |
getEventClock()
Returns an
EventClock instance describing the timings in the current event |
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 competitor competing on the associated sport event
|
LocalizedNamedValue |
getMatchStatus()
Returns the match status translated in the default locale
|
LocalizedNamedValue |
getMatchStatus(Locale locale)
Returns the match status translated in the specified language
|
int |
getMatchStatusId()
Returns the match status id
|
List<PeriodScore> |
getPeriodScores()
Returns a
List of period scores |
MatchStatistics |
getStatistics()
Returns the statistics of the associated match
|
Boolean |
isDecidedByFed()
Returns an indication if the status is decided by fed
|
getEventResults, getPeriodOfLadder, getProperties, getPropertyValue, getReportingStatus, getStatus, getWinnerId, toKeyValueStore, tryGetPropertyValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEventResults, getPeriodOfLadder, getProperties, getPropertyValue, getReportingStatus, getStatus, getWinnerId, toKeyValueStore, tryGetPropertyValue
public MatchStatusImpl(SportEventStatusCi statusCi, LocalizedNamedValueCache matchStatuses)
public EventClock getEventClock()
EventClock
instance describing the timings in the current eventgetEventClock
in interface MatchStatus
EventClock
instance describing the timings in the current eventpublic List<PeriodScore> getPeriodScores()
List
of period scoresgetPeriodScores
in interface MatchStatus
List
of period scorespublic int getMatchStatusId()
getMatchStatusId
in interface MatchStatus
public LocalizedNamedValue getMatchStatus()
getMatchStatus
in interface MatchStatus
public LocalizedNamedValue getMatchStatus(Locale locale)
getMatchStatus
in interface MatchStatus
locale
- a Locale
specifying the language of the statuspublic BigDecimal getHomeScore()
getHomeScore
in interface MatchStatus
public BigDecimal getAwayScore()
getAwayScore
in interface MatchStatus
public MatchStatistics getStatistics()
getStatistics
in interface MatchStatus
public Integer getHomePenaltyScore()
getHomePenaltyScore
in interface MatchStatus
public Integer getAwayPenaltyScore()
getAwayPenaltyScore
in interface MatchStatus
public Boolean isDecidedByFed()
isDecidedByFed
in interface MatchStatus
Copyright © 2016–2025. All rights reserved.