Revision 37496 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/FeatureTypeManager.java
FeatureTypeManager.java | ||
---|---|---|
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
|
1 |
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
|
|
2 | 2 |
* |
3 | 3 |
* Copyright (C) 2005 IVER T.I. and Generalitat Valenciana. |
4 | 4 |
* |
... | ... | |
20 | 20 |
* |
21 | 21 |
* Generalitat Valenciana |
22 | 22 |
* Conselleria d'Infraestructures i Transport |
23 |
* Av. Blasco Ib??ez, 50
|
|
23 |
* Av. Blasco Ib��ez, 50
|
|
24 | 24 |
* 46010 VALENCIA |
25 | 25 |
* SPAIN |
26 | 26 |
* |
... | ... | |
49 | 49 |
import java.util.List; |
50 | 50 |
|
51 | 51 |
import org.gvsig.fmap.dal.exception.DataException; |
52 |
import org.gvsig.fmap.dal.feature.AbstractFeatureStoreTransform; |
|
52 | 53 |
import org.gvsig.fmap.dal.feature.EditableFeature; |
53 | 54 |
import org.gvsig.fmap.dal.feature.EditableFeatureType; |
54 | 55 |
import org.gvsig.fmap.dal.feature.Feature; |
... | ... | |
190 | 191 |
return oldNum; |
191 | 192 |
} |
192 | 193 |
|
193 |
private class UpdateFeatureTypeTransform implements FeatureStoreTransform {
|
|
194 |
private class UpdateFeatureTypeTransform extends AbstractFeatureStoreTransform {
|
|
194 | 195 |
private FeatureType ftSource; |
195 | 196 |
private FeatureType ftTarget; |
196 | 197 |
private WeakReference wkRefStore; |
... | ... | |
205 | 206 |
this.initializeAttributesToUse(); |
206 | 207 |
} |
207 | 208 |
|
208 |
public String getDescription() { |
|
209 |
//TODO |
|
210 |
return ""; |
|
211 |
} |
|
212 |
|
|
213 |
public String getName() { |
|
214 |
//TODO |
|
215 |
return ""; |
|
216 |
} |
|
217 |
|
|
218 | 209 |
private void initializeAttributesToUse() { |
219 | 210 |
attrToUse = new ArrayList(ftTarget.size()); |
220 | 211 |
Iterator iter = ftTarget.iterator(); |
... | ... | |
286 | 277 |
this.wkRefStore = new WeakReference(featureStore); |
287 | 278 |
} |
288 | 279 |
|
289 |
public PersistentState getState() throws PersistenceException { |
|
290 |
// FIXME |
|
291 |
throw new UnsupportedOperationException(); |
|
292 |
} |
|
293 |
|
|
294 |
public void saveToState(PersistentState state) |
|
295 |
throws PersistenceException { |
|
296 |
// FIXME |
|
297 |
throw new UnsupportedOperationException(); |
|
298 |
} |
|
299 |
|
|
300 |
public void loadFromState(PersistentState state) throws PersistenceException { |
|
301 |
// FIXME |
|
302 |
throw new UnsupportedOperationException(); |
|
303 |
} |
|
304 |
|
|
305 | 280 |
public boolean isTransformsOriginalValues() { |
306 | 281 |
return false; |
307 | 282 |
} |
Also available in: Unified diff