Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libTools / src / org / gvsig / tools / entity / EntityAttribute.java @ 24433

History | View | Annotate | Download (783 Bytes)

1
package org.gvsig.tools.entity;
2

    
3
public interface EntityAttribute {
4

    
5
        public static final int SINGLE = 1;
6
        public static final int CHOICE = 2;
7
        public static final int RANGE = 3;
8

    
9
        public String getName();
10

    
11
        public EntityAttribute setName(String name);
12

    
13
        public String getDescription();
14

    
15
        public EntityAttribute setDescription(String name);
16

    
17
        public EntityDataType getType();
18

    
19
        public EntityAttribute setDataType(int type);
20

    
21
        public Object getDefaultValue();
22

    
23
        public EntityAttribute setDefaultValue(Object defaultValue);
24

    
25
        // y resto de sets
26

    
27
        public boolean isMandatory();
28

    
29
        public boolean isMetadata();
30

    
31
        public boolean isPersistent();
32

    
33
        public int getAvailableValuesType();
34

    
35
        public Object[] getAvailableValues();
36

    
37
        public Object getMinValue();
38

    
39
        public Object getMaxValue();
40

    
41
}