Interface CompetitionStatus
- All Known Subinterfaces:
MatchStatus,StageStatus
- All Known Implementing Classes:
CompetitionStatusImpl,MatchStatusImpl,StageStatusImpl
public interface CompetitionStatus
Defines methods used to access general competition status attributes
-
Method Summary
Modifier and TypeMethodDescriptionReturns aListof event resultsdefault IntegerReturns the period of ladderReturns an unmodifiableMapof additional sport event status propertiesgetPropertyValue(String property) Returns the value of the property specified by it's name (for a list of all available properties look atgetProperties())Returns aReportingStatusdescribing the reporting status of the associated sport eventReturns anEventStatusdescribing the high-level status of the associated sport eventReturns the sport event winner identifierReturns aMapcontaining data of the sport event status ordered in key/value pairs<T> TtryGetPropertyValue(String property, Class<T> requestedType) Tries to return the requested property value in the required type (for a list of all available properties look atgetProperties())
-
Method Details
-
getWinnerId
Urn getWinnerId()Returns the sport event winner identifier- Returns:
- the sport event winner identifier, if available; otherwise null
-
getStatus
EventStatus getStatus()Returns anEventStatusdescribing the high-level status of the associated sport event- Returns:
- an
EventStatusdescribing the high-level status of the associated sport event
-
getReportingStatus
ReportingStatus getReportingStatus()Returns aReportingStatusdescribing the reporting status of the associated sport event- Returns:
- a
ReportingStatusdescribing the reporting status of the associated sport event
-
getEventResults
List<EventResult> getEventResults()Returns aListof event results- Returns:
- - a
Listof event results
-
getPropertyValue
Returns the value of the property specified by it's name (for a list of all available properties look atgetProperties())- Parameters:
property- the name of the property to retrieve- Returns:
- the value of the requested property if available; otherwise null
-
tryGetPropertyValue
Tries to return the requested property value in the required type (for a list of all available properties look atgetProperties())- Type Parameters:
T- the generic type value which should be returned- Parameters:
property- the name of the property to retrieverequestedType- the type to which the property should be checked against- Returns:
- the value of the requested property if available and the types are compatible; otherwise null
-
getProperties
Returns an unmodifiableMapof additional sport event status propertiesList of possible properties:
- AggregateAwayScore
- AggregateHomeScore
- AggregateWinnerId
- DecidedByFed
- Period
- 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
- Returns:
- an unmodifiable
Mapof additional sport event status properties
-
toKeyValueStore
Returns aMapcontaining data of the sport event status ordered in key/value pairs- Returns:
- a
Mapcontaining data of the sport event status ordered in key/value pairs
-
getPeriodOfLadder
Returns the period of ladder- Returns:
- the period of ladder
-