Statistics
| Revision:

root / trunk / libraries / libDataSourceDBBaseDrivers / src / org / gvsig / data / datastores / vectorial / driver / jdbc / DBFeatureType.java @ 19742

History | View | Annotate | Download (934 Bytes)

1
package org.gvsig.data.datastores.vectorial.driver.jdbc;
2

    
3
import org.gvsig.data.vectorial.DefaultFeatureType;
4
import org.gvsig.data.vectorial.IFeatureType;
5

    
6
public class DBFeatureType extends DefaultFeatureType {
7
        private int dimension=2;
8
        private String tableID;
9

    
10
        /**?????
11
         * @deprecated
12
         * @return
13
         */
14
        public int getDimension() {
15
                return dimension;
16
        }
17

    
18
        /** ?????
19
         * @deprecated
20
         * @return
21
         */
22
        public void setDimension(int dimension){
23
                this.dimension=dimension;
24
        }
25

    
26
        public String getTableID() {
27
                return tableID;
28
        }
29

    
30
        public void setTableID(String tableID) {
31
                this.tableID = tableID;
32
        }
33

    
34
        protected IFeatureType newFeatureType() {
35
                return new DBFeatureType();
36
        }
37

    
38
        public IFeatureType cloneFeatureType() {
39
                DBFeatureType newFType = (DBFeatureType)super.cloneFeatureType();
40
                newFType.dimension = this.dimension;
41
                newFType.tableID = this.tableID;
42
                return newFType;
43
        }
44

    
45
}