Revision 20029 trunk/libraries/libDataSourceDBBaseDrivers/src/org/gvsig/data/datastores/vectorial/db/DBAttributeDescriptor.java
DBAttributeDescriptor.java | ||
---|---|---|
6 | 6 |
public class DBAttributeDescriptor extends DefaultAttributeDescriptor { |
7 | 7 |
private boolean readOnly; |
8 | 8 |
private boolean autoIncrement; |
9 |
private String label; |
|
9 | 10 |
|
10 | 11 |
public boolean isReadOnly() { |
11 | 12 |
return readOnly; |
... | ... | |
20 | 21 |
DBAttributeDescriptor newFD = (DBAttributeDescriptor)super.cloneAttribute(); |
21 | 22 |
newFD.readOnly = this.readOnly; |
22 | 23 |
newFD.autoIncrement = this.autoIncrement; |
24 |
newFD.label = this.label; |
|
23 | 25 |
|
24 | 26 |
return newFD; |
25 | 27 |
} |
... | ... | |
36 | 38 |
this.autoIncrement = autoIncrement; |
37 | 39 |
} |
38 | 40 |
|
41 |
public String getLabel() { |
|
42 |
return label; |
|
43 |
} |
|
44 |
public void setLabel(String label) { |
|
45 |
this.label = label; |
|
46 |
} |
|
47 |
|
|
39 | 48 |
} |
Also available in: Unified diff