public class CompetitionStatusImpl extends Object implements CompetitionStatus
| Constructor and Description |
|---|
CompetitionStatusImpl(SportEventStatusCi statusCi) |
| Modifier and Type | Method and Description |
|---|---|
List<EventResult> |
getEventResults()
Returns a
List of event results |
Integer |
getPeriodOfLadder()
Returns the period of ladder
|
Map<String,Object> |
getProperties()
Returns an unmodifiable
Map of additional sport event status properties |
Object |
getPropertyValue(String property)
Returns the value of the property specified by it's name
|
ReportingStatus |
getReportingStatus()
Returns a
ReportingStatus describing the reporting status of the associated sport event |
EventStatus |
getStatus()
Returns an
EventStatus describing the high-level status of the associated sport event |
Urn |
getWinnerId()
Returns the sport event winner identifier
|
Map<String,Object> |
toKeyValueStore()
Returns a
Map containing data of the sport event status ordered in key/value pairs |
<T> T |
tryGetPropertyValue(String property,
Class<T> requestedType)
Tries to return the requested property value in the required type
|
public CompetitionStatusImpl(SportEventStatusCi statusCi)
public Urn getWinnerId()
getWinnerId in interface CompetitionStatuspublic EventStatus getStatus()
EventStatus describing the high-level status of the associated sport eventgetStatus in interface CompetitionStatusEventStatus describing the high-level status of the associated sport eventpublic ReportingStatus getReportingStatus()
ReportingStatus describing the reporting status of the associated sport eventgetReportingStatus in interface CompetitionStatusReportingStatus describing the reporting status of the associated sport eventpublic List<EventResult> getEventResults()
List of event resultsgetEventResults in interface CompetitionStatusList of event resultspublic Object getPropertyValue(String property)
getPropertyValue in interface CompetitionStatusproperty - the name of the property to retrievepublic <T> T tryGetPropertyValue(String property, Class<T> requestedType)
tryGetPropertyValue in interface CompetitionStatusT - the generic type value which should be returnedproperty - the name of the property to retrieverequestedType - the type to which the property should be checked againstpublic Map<String,Object> getProperties()
Map of additional sport event status properties
List of possible properties: aggregateAwayScore aggregateHomeScore aggregateWinnerId decidedByFed period winnerId winningReason throw try awayBatter awayDismissals awayGameScore awayLegScore awayPenaltyRuns awayRemainingBowls awaySuspend balls bases currentCtTeam currentEnd currentServer delivery expeditedMode homeBatter homeDismissals homeGameScore homeLegScore homePenaltyRuns homeRemainingBowls homeSuspend innings outs over position possession remainingReds strikes tiebreak visit yards
getProperties in interface CompetitionStatusMap of additional sport event status propertiespublic Map<String,Object> toKeyValueStore()
Map containing data of the sport event status ordered in key/value pairstoKeyValueStore in interface CompetitionStatusMap containing data of the sport event status ordered in key/value pairspublic Integer getPeriodOfLadder()
getPeriodOfLadder in interface CompetitionStatusCopyright © 2016–2025. All rights reserved.