root / trunk / libraries / libDataSource / src / org / gvsig / data / vectorial / IFeatureType.java @ 20599
History | View | Annotate | Download (1.34 KB)
1 |
package org.gvsig.data.vectorial; |
---|---|
2 |
|
3 |
import java.text.DateFormat; |
4 |
import java.util.List; |
5 |
|
6 |
import org.gvsig.data.exception.InitializeException; |
7 |
|
8 |
|
9 |
public interface IFeatureType extends List { |
10 |
|
11 |
|
12 |
public void setDefaultGeometry(String name); |
13 |
public String getDefaultGeometry(); |
14 |
|
15 |
public IFeature create(IFeatureStore store) throws InitializeException; |
16 |
|
17 |
public void addRule(IFeatureRule rule); |
18 |
public void clearRules(); |
19 |
public void validateFeatureModifiction(IFeature feature,IFeatureStore featureStore); |
20 |
public void validateFeatureEnd(IFeature feature,IFeatureStore featureStore); |
21 |
public void validateFeature(IFeature feature,IFeatureStore featureStore); |
22 |
|
23 |
public List getAllSRS(); |
24 |
public void setAllSRS(List allSRS); |
25 |
public String getDefaultSRS(); |
26 |
public void setDefaultSRS(String defaultSRS); |
27 |
|
28 |
public int[] getGeometryTypes(); |
29 |
public IFeatureType cloneFeatureType();
|
30 |
|
31 |
public DateFormat getDateFormat(); |
32 |
public void setDateFormat(DateFormat dateFormat); |
33 |
public void setGeometryTypes(int[] geometryTypes); |
34 |
//FIXME si tiene que haber uno o pueden haber varios.
|
35 |
public String[] getFieldsId(); |
36 |
public void setFieldsId(String[] fieldsId); |
37 |
|
38 |
public int getFieldIndex(String name); |
39 |
|
40 |
public Object get(String name); |
41 |
public int getCount(); |
42 |
public IFeatureAttributeDescriptor getByOrder(int i); |
43 |
|
44 |
} |