root / branches / v2_0_0_prep / libraries / libTools / src / org / gvsig / tools / persistence / PersistenceManager.java @ 24060
History | View | Annotate | Download (440 Bytes)
1 |
package org.gvsig.tools.persistence; |
---|---|
2 |
|
3 |
|
4 |
public interface PersistenceManager { |
5 |
|
6 |
public PersistentState createState(Object obj) throws PersistenceException; |
7 |
|
8 |
public PersistentState createState(Object obj, boolean initialize) |
9 |
throws PersistenceException;
|
10 |
|
11 |
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 |
} |