Statistics
| Revision:

root / trunk / libraries / libDataSource / src / org / gvsig / data / vectorial / IFeatureType.java @ 20469

History | View | Annotate | Download (1.29 KB)

1 19399 vcaballero
package org.gvsig.data.vectorial;
2
3
import java.text.DateFormat;
4
import java.util.List;
5
6
7
public interface IFeatureType extends List {
8
9
10
                public void setDefaultGeometry(String name);
11
                public String getDefaultGeometry();
12
13 20412 vcaballero
                public IFeature create(IFeatureStore store) throws IsNotFeatureSettingException;
14 19399 vcaballero
15
                public void addRule(IFeatureRule rule);
16
                public void clearRules();
17
                public void validateFeatureModifiction(IFeature feature,IFeatureStore featureStore);
18
                public void validateFeatureEnd(IFeature feature,IFeatureStore featureStore);
19
                public void validateFeature(IFeature feature,IFeatureStore featureStore);
20
21
                public List getAllSRS();
22
                public void setAllSRS(List allSRS);
23 19414 vcaballero
                public String getDefaultSRS();
24
                public void setDefaultSRS(String defaultSRS);
25 19399 vcaballero
26
                public int[] getGeometryTypes();
27
                public IFeatureType cloneFeatureType();
28
29
                public DateFormat getDateFormat();
30
                public void setDateFormat(DateFormat dateFormat);
31
                public void setGeometryTypes(int[] geometryTypes);
32 19548 vcaballero
                //FIXME si tiene que haber uno o pueden haber varios.
33 20412 vcaballero
                public String[] getFieldsId();
34 20131 jmvivo
                public void setFieldsId(String[] fieldsId);
35 19608 jmvivo
36
                public int getFieldIndex(String name);
37 19692 jmvivo
38 20412 vcaballero
                public Object get(String name);
39 20469 vcaballero
                public int getCount();
40
                public IFeatureAttributeDescriptor getByOrder(int i);
41 20412 vcaballero
42 19399 vcaballero
}