Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libTools / src / org / gvsig / tools / persistence / PersistenceManager.java @ 24060

History | View | Annotate | Download (440 Bytes)

1 24019 jjdelcerro
package org.gvsig.tools.persistence;
2
3 24060 jjdelcerro
4 24019 jjdelcerro
public interface PersistenceManager {
5
6 24042 jjdelcerro
        public PersistentState createState(Object obj) throws PersistenceException;
7 24019 jjdelcerro
8 24042 jjdelcerro
        public PersistentState createState(Object obj, boolean initialize)
9
                        throws PersistenceException;
10
11 24019 jjdelcerro
        public Object create(PersistentState state) throws PersistenceException;
12
13
        public void addAlias(String name, Class aClass);
14
15
        public void addAlias(String name, String className);
16
17
}