01: package net.sourceforge.jaxor.api;
02:
03: import java.util.List;
04:
05: /**
06: * Created By: Mike
07: * Date: Mar 2, 2004
08: * Time: 10:18:32 PM
09: *
10: * Last Checkin: $Author: mrettig $
11: * Date: $Date: 2004/03/03 04:42:10 $
12: * Revision: $Revision: 1.1 $
13: */
14:
15: /**
16: * Simple adapter interace for type safe lists
17: */
18: public interface EntityListAdapter {
19:
20: public void deleteAll();
21:
22: public int size();
23:
24: /**
25: * A shallow copy of the list
26: **/
27: public List toList();
28:
29: /**
30: * A deep copy of the list
31: **/
32: public List getList();
33:
34: }
|