weather_service.weatherprovider.weatherdatamodel
Class WeatherReport
java.lang.Object
weather_service.weatherprovider.weatherdatamodel.WeatherReport
public class WeatherReport
- extends java.lang.Object
Weather information returned by all calls to the weather.com XML Data Feed.
Constructor Summary |
WeatherReport()
Default constructor, for bean cloning purposes only. |
WeatherReport(java.lang.String type)
WeatherChannel Constructor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
WeatherReport
public WeatherReport()
- Default constructor, for bean cloning purposes only.
WeatherReport
public WeatherReport(java.lang.String type)
- WeatherChannel Constructor. All properties, except the type, are set to null.
- Parameters:
type
- the type of the feed.
getHeader
public Header getHeader()
setHeader
public void setHeader(Header header)
getLocation
public Location getLocation()
setLocation
public void setLocation(Location location)
getCurrentConditions
public CurrentConditions getCurrentConditions()
setCurrentConditions
public void setCurrentConditions(CurrentConditions currentConditions)
getForecast
public Forecast getForecast()
setForecast
public void setForecast(Forecast forecast)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object