public class SportEventConditionsImpl extends Object implements SportEventConditions
| Constructor and Description |
|---|
SportEventConditionsImpl(SportEventConditionsCi sportEventConditionsCi,
List<Locale> locales)
Initializes a new instance of
SportEventConditionsImpl |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttendance()
Returns a
String specifying the attendance of the associated sport event |
String |
getEventMode()
Returns the mode of the event
|
List<Pitcher> |
getPitchers()
Returns the list of
Pitcher |
Referee |
getReferee()
Returns the
Referee instance representing the referee presiding over the associated sport event |
WeatherInfo |
getWeatherInfo()
Returns the
WeatherInfo instance representing the expected weather on the associated sport event |
String |
toString()
Returns a
String describing the current SportEventConditions instance |
public SportEventConditionsImpl(SportEventConditionsCi sportEventConditionsCi, List<Locale> locales)
SportEventConditionsImplsportEventConditionsCi - - a SportEventConditionsCi used to build the instancelocales - - a List of locales supported by the instancepublic String getAttendance()
String specifying the attendance of the associated sport eventgetAttendance in interface SportEventConditionsString specifying the attendance of the associated sport eventpublic String getEventMode()
getEventMode in interface SportEventConditionspublic Referee getReferee()
Referee instance representing the referee presiding over the associated sport eventgetReferee in interface SportEventConditionsReferee instance representing the referee presiding over the associated sport event, if available;
otherwise nullpublic WeatherInfo getWeatherInfo()
WeatherInfo instance representing the expected weather on the associated sport eventgetWeatherInfo in interface SportEventConditionsWeatherInfo instance representing the expected weather on the associated sport event, if available;
otherwise nullpublic List<Pitcher> getPitchers()
PitchergetPitchers in interface SportEventConditionsPitcherpublic String toString()
String describing the current SportEventConditions instancetoString in class ObjectString describing the current SportEventConditions instanceCopyright © 2016–2025. All rights reserved.