svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_data / src / org / gvsig / fmap / data / feature / EditableFeatureAttributeDescriptor.java @ 24034
History | View | Annotate | Download (1.43 KB)
1 | 23754 | jjdelcerro | package org.gvsig.fmap.data.feature; |
---|---|---|---|
2 | |||
3 | 23772 | jjdelcerro | import org.gvsig.fmap.data.feature.exceptions.AttributeFeatureTypeIntegrityException; |
4 | 23754 | jjdelcerro | import org.gvsig.tools.evaluator.Evaluator; |
5 | |||
6 | public interface EditableFeatureAttributeDescriptor extends |
||
7 | FeatureAttributeDescriptor { |
||
8 | |||
9 | /**
|
||
10 | * Checks attribute integrity
|
||
11 | */
|
||
12 | 23772 | jjdelcerro | void checkIntegrity() throws AttributeFeatureTypeIntegrityException; |
13 | 23754 | jjdelcerro | |
14 | public EditableFeatureAttributeDescriptor setName(String name); |
||
15 | |||
16 | public EditableFeatureAttributeDescriptor setDataType(int type); |
||
17 | |||
18 | public EditableFeatureAttributeDescriptor setSize(int size); |
||
19 | |||
20 | public EditableFeatureAttributeDescriptor setPrecision(int precision); |
||
21 | |||
22 | public EditableFeatureAttributeDescriptor setObjectClass(Class theClass); |
||
23 | |||
24 | public EditableFeatureAttributeDescriptor setMinimumOccurrences(
|
||
25 | int minimumOccurrences);
|
||
26 | |||
27 | public EditableFeatureAttributeDescriptor setMaximumOccurrences(
|
||
28 | int maximumOccurrences);
|
||
29 | |||
30 | public EditableFeatureAttributeDescriptor setIsPrimaryKey(
|
||
31 | boolean isPrimaryKey);
|
||
32 | |||
33 | public EditableFeatureAttributeDescriptor setEvaluator(Evaluator evaluator);
|
||
34 | |||
35 | public EditableFeatureAttributeDescriptor setIsReadOnly(boolean isReadOnly); |
||
36 | |||
37 | public EditableFeatureAttributeDescriptor setAllowNull(boolean allowNull); |
||
38 | |||
39 | public EditableFeatureAttributeDescriptor setSRS(String SRS); |
||
40 | |||
41 | public EditableFeatureAttributeDescriptor setGeometryType(int geometryType); |
||
42 | |||
43 | public EditableFeatureAttributeDescriptor setDefaultValue(
|
||
44 | Object defaultValue);
|
||
45 | |||
46 | } |