org.springframework.osgi.samples.weather.dao
Class StaticDataWeatherDaoImpl

java.lang.Object
  extended by org.springframework.osgi.samples.weather.dao.StaticDataWeatherDaoImpl
All Implemented Interfaces:
WeatherDao

public class StaticDataWeatherDaoImpl
extends Object
implements WeatherDao

Implementation of WeatherDao


Constructor Summary
StaticDataWeatherDaoImpl()
           
 
Method Summary
 WeatherData find(Date date)
          Returns the WeatherData for a date, or null if there is none
 WeatherData save(Date date)
          Saves the WeatherData for a date
 WeatherData update(Date date)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticDataWeatherDaoImpl

public StaticDataWeatherDaoImpl()
Method Detail

find

public WeatherData find(Date date)
Description copied from interface: WeatherDao
Returns the WeatherData for a date, or null if there is none

Specified by:
find in interface WeatherDao
Parameters:
date - the date to search on

save

public WeatherData save(Date date)
Description copied from interface: WeatherDao
Saves the WeatherData for a date

Specified by:
save in interface WeatherDao

update

public WeatherData update(Date date)
Specified by:
update in interface WeatherDao


Copyright © 2006-2007 Spring Framework. All Rights Reserved.