org.springframework.osgi.samples.weather.dao
Class StaticDataWeatherDaoImpl
java.lang.Object
org.springframework.osgi.samples.weather.dao.StaticDataWeatherDaoImpl
- All Implemented Interfaces:
- WeatherDao
public class StaticDataWeatherDaoImpl
- extends Object
- implements WeatherDao
Implementation of WeatherDao
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticDataWeatherDaoImpl
public StaticDataWeatherDaoImpl()
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.