root / trunk / libraries / libDataSource / src / org / gvsig / data / vectorial / IFeatureType.java @ 20469
History | View | Annotate | Download (1.29 KB)
1 |
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 |
public IFeature create(IFeatureStore store) throws IsNotFeatureSettingException; |
14 |
|
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 |
public String getDefaultSRS(); |
24 |
public void setDefaultSRS(String defaultSRS); |
25 |
|
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 |
//FIXME si tiene que haber uno o pueden haber varios.
|
33 |
public String[] getFieldsId(); |
34 |
public void setFieldsId(String[] fieldsId); |
35 |
|
36 |
public int getFieldIndex(String name); |
37 |
|
38 |
public Object get(String name); |
39 |
public int getCount(); |
40 |
public IFeatureAttributeDescriptor getByOrder(int i); |
41 |
|
42 |
} |