svn-gvsig-desktop / trunk / libraries / libDataSourceDBBaseDrivers / src / org / gvsig / data / datastores / vectorial / db / jdbc / postgresql / PostgresqlFeatureCollectionWithFeatureID.java @ 19965
History | View | Annotate | Download (1.13 KB)
1 |
package org.gvsig.data.datastores.vectorial.db.jdbc.postgresql; |
---|---|
2 |
|
3 |
import java.util.Collection; |
4 |
|
5 |
import org.gvsig.data.datastores.vectorial.db.jdbc.AbstractJDBCDataFeatureCollectionWithFeatureID; |
6 |
import org.gvsig.data.datastores.vectorial.db.jdbc.JDBCStore; |
7 |
import org.gvsig.data.exception.ReadException; |
8 |
import org.gvsig.data.vectorial.IFeatureCollection; |
9 |
import org.gvsig.data.vectorial.IFeatureType; |
10 |
import org.gvsig.data.vectorial.expansionadapter.FeatureManager; |
11 |
|
12 |
|
13 |
public class PostgresqlFeatureCollectionWithFeatureID extends AbstractJDBCDataFeatureCollectionWithFeatureID { |
14 |
protected Collection featureIDs;//<IFeatureID> |
15 |
protected IFeatureType featureType;
|
16 |
|
17 |
|
18 |
PostgresqlFeatureCollectionWithFeatureID(FeatureManager fm,PostgresqlStore store,IFeatureType type, String filter,String order) throws ReadException { |
19 |
this.featureType=type;
|
20 |
intilizeFeatureIDs(fm, store, filter, order); |
21 |
} |
22 |
|
23 |
public IFeatureCollection newBaseDataFeatureCollection(JDBCStore store, IFeatureType featureType, String filter, String order) { |
24 |
return new PostgresqlFeatureCollection((PostgresqlStore)store,this.featureType,filter,order); |
25 |
} |
26 |
|
27 |
} |