com.ltu.smd116.beans
Class WeatherBean
- public class WeatherBean
The WeatherBean class will set and get the weather.
- Author:
- Anna Nilsson
dbWeather
private DBWeather dbWeather
WeatherBean
public WeatherBean()
- The contructor
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.
to Class com.ltu.smd116.dbp.DBWeather