weather_service.weatherprovider.weatherdatamodel
Class WeatherReport

java.lang.Object
  extended by 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.
 
Method Summary
 CurrentConditions getCurrentConditions()
           
 Forecast getForecast()
           
 Header getHeader()
           
 Location getLocation()
           
 void setCurrentConditions(CurrentConditions currentConditions)
           
 void setForecast(Forecast forecast)
           
 void setHeader(Header header)
           
 void setLocation(Location location)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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