Revision 28468 branches/v2_0_0_prep/libraries/libTools/src/org/gvsig/tools/persistence/PersistentState.java
PersistentState.java | ||
---|---|---|
70 | 70 |
throws PersistenceValueNotFoundException; |
71 | 71 |
|
72 | 72 |
/** |
73 |
* Gets a <code>PersistentState</code> property. |
|
74 |
* @param name The name of the property to get |
|
75 |
* |
|
76 |
* @return The <code>PersistentState</code> property associated to the provided name |
|
77 |
* @throws PersistenceValueNotFoundException |
|
78 |
*/ |
|
79 |
public PersistentState getState(String name) |
|
80 |
throws PersistenceValueNotFoundException, PersistenceException; |
|
81 |
|
|
82 |
/** |
|
83 | 73 |
* Gets an <code>Object</code> property. |
84 | 74 |
* @param name The name of the property to get |
85 | 75 |
* |
... | ... | |
161 | 151 |
public void set(String name, boolean value); |
162 | 152 |
|
163 | 153 |
/** |
164 |
* <p>Sets a property of type PersistentState.</p> |
|
165 |
* |
|
166 |
* @param name The name of the property to store |
|
167 |
* @param it The PersistentState object to be stored in the state. |
|
168 |
* |
|
169 |
* @throws PersistenceException |
|
170 |
*/ |
|
171 |
public void set(String name, PersistentState state) throws PersistenceException; |
|
172 |
|
|
173 |
/** |
|
174 | 154 |
* <p>Sets a property of type Persistent.</p> |
175 | 155 |
* |
176 | 156 |
* @param name The name of the property to store |
Also available in: Unified diff