Revision 25571
branches/v2_0_0_prep/libraries/libTools/src/org/gvsig/tools/persistence/PersistentState.java | ||
---|---|---|
1 | 1 |
package org.gvsig.tools.persistence; |
2 | 2 |
|
3 | 3 |
import java.util.Iterator; |
4 |
import java.util.List; |
|
4 | 5 |
|
5 | 6 |
public interface PersistentState { |
6 | 7 |
|
... | ... | |
35 | 36 |
public Object get(String name) throws PersistenceValueNotFoundException, |
36 | 37 |
PersistenceException; |
37 | 38 |
|
39 |
// Este metodo lo quitaria y dejaria solo el get para pillar |
|
40 |
// un iterador. |
|
38 | 41 |
public Iterator getIterator(String name) throws PersistenceException; |
39 | 42 |
|
40 | 43 |
public PersistentState set(String name, String value); |
... | ... | |
52 | 55 |
public PersistentState set(String name, PersistentState state); |
53 | 56 |
|
54 | 57 |
public PersistentState set(String name, Persistent obj) |
55 |
throws PersistenceException; |
|
58 |
throws PersistenceException;
|
|
56 | 59 |
|
57 | 60 |
public PersistentState set(String name, Object obj) |
58 | 61 |
throws PersistenceException; |
... | ... | |
60 | 63 |
public PersistentState set(String name, Iterator it) |
61 | 64 |
throws PersistenceException; |
62 | 65 |
|
66 |
/* |
|
67 |
public PersistentState set(String name, Object[] values) |
|
68 |
throws PersistenceException; |
|
69 |
|
|
70 |
public PersistentState set(String name, List values) |
|
71 |
throws PersistenceException; |
|
72 |
|
|
73 |
public PersistentState set(String name, Map values) |
|
74 |
throws PersistenceException; |
|
75 |
*/ |
|
76 |
|
|
63 | 77 |
public Iterator getNames(); |
64 | 78 |
} |
Also available in: Unified diff