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)
SportEventConditionsImpl
sportEventConditionsCi
- - 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 SportEventConditions
String
specifying the attendance of the associated sport eventpublic String getEventMode()
getEventMode
in interface SportEventConditions
public Referee getReferee()
Referee
instance representing the referee presiding over the associated sport eventgetReferee
in interface SportEventConditions
Referee
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 SportEventConditions
WeatherInfo
instance representing the expected weather on the associated sport event, if available;
otherwise nullpublic List<Pitcher> getPitchers()
Pitcher
getPitchers
in interface SportEventConditions
Pitcher
public String toString()
String
describing the current SportEventConditions
instancetoString
in class Object
String
describing the current SportEventConditions
instanceCopyright © 2016–2025. All rights reserved.