featureStore().modifyFeatures(originalTypes, originalValues, store.retypeFilter(filter, typeMap));
}
public void setFeatures(FeatureReader<SimpleFeatureType, SimpleFeature> reader)
throws IOException {
RetypingFeatureReader retypingFeatureReader;
retypingFeatureReader = new RetypingFeatureReader(reader, typeMap.getOriginalFeatureType());
featureStore().setFeatures(retypingFeatureReader);
}