org.nanocontainer.nanowar.sample.dao.simple
Class MemoryCheeseDao

java.lang.Object
  extended by org.nanocontainer.nanowar.sample.dao.simple.MemoryCheeseDao
All Implemented Interfaces:
Serializable, CheeseDao

public class MemoryCheeseDao
extends Object
implements CheeseDao, Serializable

Author:
Stephen Molitor
See Also:
Serialized Form

Constructor Summary
MemoryCheeseDao()
           
 
Method Summary
 Collection all()
           
 Cheese get(String name)
           
 void remove(Cheese cheese)
           
 void save(Cheese cheese)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryCheeseDao

public MemoryCheeseDao()
Method Detail

save

public void save(Cheese cheese)
Specified by:
save in interface CheeseDao

remove

public void remove(Cheese cheese)
Specified by:
remove in interface CheeseDao

get

public Cheese get(String name)
Specified by:
get in interface CheeseDao

all

public Collection all()
Specified by:
all in interface CheeseDao


Copyright © 2003-2007 Codehaus. All Rights Reserved.