Revision 44328 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/feature/impl/DALFile.java
DALFile.java | ||
---|---|---|
91 | 91 |
throw new RuntimeException("Can't read DAL resource.",ex); |
92 | 92 |
} |
93 | 93 |
} |
94 |
|
|
95 |
public void setFeatureType(FeatureType featureType) throws DataException { |
|
96 |
this.featureTypes.clear(); |
|
97 |
this.featureTypes.add(featureType.getCopy()); |
|
98 |
this.defaultFeatureTypeId = featureType.getId(); |
|
99 |
} |
|
94 | 100 |
|
95 | 101 |
public void setStore(DefaultFeatureStore store) throws DataException { |
96 | 102 |
this.featureTypes.clear(); |
Also available in: Unified diff