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 Details

    • 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 high-level status of the associated sport event
      Returns:
      an EventStatus describing the high-level status of the associated sport event
    • 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
    • getEventResults

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

      Object getPropertyValue(String property)
      Returns the value of the property specified by it's name (for a list of all available properties look at getProperties())
      Parameters:
      property - the name of the property to retrieve
      Returns:
      the value of the requested property if available; otherwise null
    • tryGetPropertyValue

      <T> T tryGetPropertyValue(String property, Class<T> requestedType)
      Tries to return the requested property value in the required type (for a list of all available properties look at getProperties())
      Type Parameters:
      T - the generic type value which should be returned
      Parameters:
      property - the name of the property to retrieve
      requestedType - 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

      Map<String,Object> getProperties()
      Returns an unmodifiable Map of additional sport event status properties

      List 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 Map of additional sport event status properties
    • 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
    • getPeriodOfLadder

      default Integer getPeriodOfLadder()
      Returns the period of ladder
      Returns:
      the period of ladder