Revision 28474
branches/v2_0_0_prep/libraries/libFMap_dal/src-test/org/gvsig/fmap/dal/feature/impl/JoinTransform.java | ||
---|---|---|
175 | 175 |
|
176 | 176 |
} |
177 | 177 |
|
178 |
public void setState(PersistentState state) throws PersistenceException {
|
|
178 |
public void loadFromState(PersistentState state) throws PersistenceException {
|
|
179 | 179 |
// TODO Auto-generated method stub |
180 | 180 |
|
181 | 181 |
} |
branches/v2_0_0_prep/libraries/libFMap_dal/src-test/org/gvsig/fmap/dal/feature/impl/MyTransform.java | ||
---|---|---|
99 | 99 |
state.set("yname", this.yname); |
100 | 100 |
} |
101 | 101 |
|
102 |
public void setState(PersistentState state) throws PersistenceException {
|
|
102 |
public void loadFromState(PersistentState state) throws PersistenceException {
|
|
103 | 103 |
} |
104 | 104 |
|
105 | 105 |
/* |
branches/v2_0_0_prep/libraries/libFMap_dal/src-test/org/gvsig/fmap/dal/feature/BaseTestFeatureStore.java | ||
---|---|---|
1451 | 1451 |
|
1452 | 1452 |
} |
1453 | 1453 |
|
1454 |
public void setState(PersistentState state) throws PersistenceException {
|
|
1454 |
public void loadFromState(PersistentState state) throws PersistenceException {
|
|
1455 | 1455 |
// TODO Auto-generated method stub |
1456 | 1456 |
|
1457 | 1457 |
} |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureReferenceSelection.java | ||
---|---|---|
294 | 294 |
state.set("selected", selectionData.getSelected().iterator()); |
295 | 295 |
} |
296 | 296 |
|
297 |
public void setState(PersistentState state) throws PersistenceException {
|
|
297 |
public void loadFromState(PersistentState state) throws PersistenceException {
|
|
298 | 298 |
selectionData.setReversed(state.getBoolean("reversed")); |
299 | 299 |
selectionData.setTotalSize(state.getLong("totalSize")); |
300 | 300 |
Iterator it = state.getIterator("selected"); |
301 | 301 |
// FIXME: Esto no funcionara bien. Hay que darle una pensada mas. |
302 | 302 |
while (it.hasNext()) { |
303 |
DefaultFeatureReference ref = new DefaultFeatureReference( |
|
304 |
this.featureStore); |
|
305 |
ref.setState((PersistentState) it.next()); |
|
303 |
DefaultFeatureReference ref = (DefaultFeatureReference) it.next(); |
|
306 | 304 |
selectionData.add(ref); |
307 | 305 |
} |
308 | 306 |
} |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureQuery.java | ||
---|---|---|
344 | 344 |
/** |
345 | 345 |
* @see Persistent#setState() |
346 | 346 |
*/ |
347 |
public void setState(PersistentState state) throws PersistenceException {
|
|
347 |
public void loadFromState(PersistentState state) throws PersistenceException {
|
|
348 | 348 |
// FIXME: falta por terminar de implementar |
349 | 349 |
this.scale = state.getDouble("scale"); |
350 | 350 |
} |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/FeatureTypeManager.java | ||
---|---|---|
286 | 286 |
throw new UnsupportedOperationException(); |
287 | 287 |
} |
288 | 288 |
|
289 |
public void setState(PersistentState state) throws PersistenceException {
|
|
289 |
public void loadFromState(PersistentState state) throws PersistenceException {
|
|
290 | 290 |
// FIXME |
291 | 291 |
throw new UnsupportedOperationException(); |
292 | 292 |
} |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureStoreTransforms.java | ||
---|---|---|
220 | 220 |
} |
221 | 221 |
} |
222 | 222 |
|
223 |
public void setState(PersistentState state) throws PersistenceException {
|
|
223 |
public void loadFromState(PersistentState state) throws PersistenceException {
|
|
224 | 224 |
// TODO |
225 | 225 |
this.isTramsformValues = null; |
226 | 226 |
} |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureStore.java | ||
---|---|---|
327 | 327 |
} |
328 | 328 |
} |
329 | 329 |
|
330 |
public void setState(PersistentState state) throws PersistenceException {
|
|
330 |
public void loadFromState(PersistentState state) throws PersistenceException {
|
|
331 | 331 |
if (this.provider != null) { |
332 | 332 |
throw new PersistenceException("Provider not set"); |
333 | 333 |
} |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureReference.java | ||
---|---|---|
127 | 127 |
|
128 | 128 |
} |
129 | 129 |
|
130 |
public void setState(PersistentState state) throws PersistenceException {
|
|
130 |
public void loadFromState(PersistentState state) throws PersistenceException {
|
|
131 | 131 |
this.oid = state.get("oid"); |
132 | 132 |
this.isNewFeature = state.getBoolean("isNewFeature"); |
133 | 133 |
if (state.get("pk.elements")!=null){ |
branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/raster/imp/DefaultCoverageStore.java | ||
---|---|---|
301 | 301 |
/* (non-Javadoc) |
302 | 302 |
* @see org.gvsig.tools.persistence.Persistent#setState(org.gvsig.tools.persistence.PersistentState) |
303 | 303 |
*/ |
304 |
public void setState(PersistentState state) throws PersistenceException {
|
|
304 |
public void loadFromState(PersistentState state) throws PersistenceException {
|
|
305 | 305 |
// TODO Auto-generated method stub |
306 | 306 |
|
307 | 307 |
} |
Also available in: Unified diff