com.ltu.smd116.beans
Class WeatherBean


public class WeatherBean

The WeatherBean class will set and get the weather.

Author:
Anna Nilsson

Field Summary
 private DBWeatherdbWeather
           

Constructor Summary
WeatherBean()
          The contructor

Method Summary
 WeatherContainergetWeather(java.sql.Date date)
          gets the WeatherContainer thats already been set.
 voidsetWeather(WeatherContainer w)
          set a new weatherContainer.

Field Detail

dbWeather

private DBWeather dbWeather
Constructor Detail

WeatherBean

public WeatherBean()
The contructor
Method Detail

getWeather

public WeatherContainer getWeather(java.sql.Date date)
gets the WeatherContainer thats already been set.
Parameters:
date - the date of the day that you would like
to see the weather.
Returns: the weather of the specified day

setWeather

public void setWeather(WeatherContainer w)
set a new weatherContainer.
Parameters:
weather - the name of the weatherContainer.

Association Links

to Class com.ltu.smd116.dbp.DBWeather