01: /*
02: * $RCSfile: BuilderPersisterInterface.java,v $
03: * @modification $Date: 2001/09/28 19:41:42 $
04: * @version $Id: BuilderPersisterInterface.java,v 1.1 2001/09/28 19:41:42 hfalk Exp $
05: *
06: */
07:
08: package com.memoire.vainstall.builder.util;
09:
10: import com.memoire.vainstall.builder.*;
11:
12: /**
13: * This interface is implemented by a builder persistance class.
14: * In that way we can dynamically load a persistance class depending
15: * on what version of java we are running or what kind of datastore
16: * which are available
17: *
18: * @see com.memoire.vainstall.builder.VAIBuilderModel
19: *
20: * @author Henrik Falk
21: * @version $Id: BuilderPersisterInterface.java,v 1.1 2001/09/28 19:41:42 hfalk Exp $
22: */
23: public interface BuilderPersisterInterface {
24:
25: /**
26: * initialize the persister
27: * @param model VAIBuilderModel
28: */
29: public void initialize(VAIBuilderModel model);
30:
31: /**
32: * load from datastore
33: */
34: public void load();
35:
36: /**
37: * save to datastore
38: */
39: public void save();
40: }
|