root / branches / v2_0_0_prep / libraries / libTools / src / org / gvsig / tools / dynobject / DynAttributeDescriptor.java @ 24616
History | View | Annotate | Download (1.11 KB)
1 |
package org.gvsig.tools.dynobject; |
---|---|
2 |
|
3 |
public interface DynAttributeDescriptor { |
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 String getDescription(); |
12 |
|
13 |
public int getType(); |
14 |
|
15 |
public Object getDefaultValue(); |
16 |
|
17 |
public boolean isMandatory(); |
18 |
|
19 |
public boolean isMetadata(); |
20 |
|
21 |
public boolean isPersistent(); |
22 |
|
23 |
public int getTheTypeOfAvailableValues(); |
24 |
|
25 |
public Object[] getAvailableValues(); |
26 |
|
27 |
public Object getMinValue(); |
28 |
|
29 |
public Object getMaxValue(); |
30 |
|
31 |
public DynAttributeDescriptor setDescription(String description); |
32 |
|
33 |
public DynAttributeDescriptor setType(int type); |
34 |
|
35 |
public DynAttributeDescriptor setDefaultValue(Object defaultValue); |
36 |
|
37 |
public DynAttributeDescriptor setMandatory(boolean mandatory); |
38 |
|
39 |
public DynAttributeDescriptor setPersistent(boolean persistent); |
40 |
|
41 |
public DynAttributeDescriptor setTheTypeOfAvailableValues(int type); |
42 |
|
43 |
public DynAttributeDescriptor setAvailableValues(Object[] values); |
44 |
|
45 |
public DynAttributeDescriptor getMinValue(Object minValue); |
46 |
|
47 |
public DynAttributeDescriptor getMaxValue(Object maxValue); |
48 |
} |