Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libFMap_dataFile / src / org / gvsig / fmap / data / feature / file / dgn / DGNFeatureCollection.java @ 23303

History | View | Annotate | Download (726 Bytes)

1 22373 jmvivo
package org.gvsig.fmap.data.feature.file.dgn;
2 19618 vcaballero
3
import java.util.Collection;
4
5 22353 jmvivo
import org.gvsig.fmap.data.DataStore;
6 22360 jmvivo
import org.gvsig.fmap.data.feature.FeatureStore;
7
import org.gvsig.fmap.data.feature.FeatureType;
8
import org.gvsig.fmap.data.feature.MemoryFeatureCollection;
9 19618 vcaballero
10
public class DGNFeatureCollection extends MemoryFeatureCollection {
11
12 22353 jmvivo
        public boolean isFromStore(DataStore store) {
13
                return this.store.equals(store);
14 19618 vcaballero
        }
15 22353 jmvivo
16
        public DGNFeatureCollection(FeatureStore store, FeatureType type,
17
                        Collection features) {
18
                super(store, type);
19 22373 jmvivo
                this.addAll(features);
20 22353 jmvivo
                this.allowmodify = false;
21
        }
22
23
        public void dispose() {
24
                super.dispose();
25
                this.store = null;
26
                this.features = null;
27
        }
28
29
30 19618 vcaballero
}