Revision 5747 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/drivers/DBLayerDefinition.java
DBLayerDefinition.java | ||
---|---|---|
80 | 80 |
public String getFieldID() { |
81 | 81 |
return fieldID; |
82 | 82 |
} |
83 |
/** |
|
84 |
* @param fieldID |
|
85 |
*/ |
|
83 | 86 |
public void setFieldID(String fieldID) { |
84 | 87 |
this.fieldID = fieldID; |
88 |
// No se usa lo de a?adir el id por otro lado. |
|
89 |
// Se hace en MyFinishAction |
|
90 |
/* boolean bFound = false; |
|
91 |
for (int i=0; i< fieldsDesc.length; i++) |
|
92 |
{ |
|
93 |
if (fieldsDesc[i].getFieldName().compareToIgnoreCase(fieldID) == 0) |
|
94 |
bFound = true; |
|
95 |
} |
|
96 |
if (bFound != true) |
|
97 |
{ |
|
98 |
int length = fieldsDesc.length; |
|
99 |
FieldDescription[] aux = new FieldDescription[length+1]; |
|
100 |
System.arraycopy(fieldsDesc, 0, aux, 0, length); |
|
101 |
FieldDescription f = new FieldDescription(); |
|
102 |
aux[length] = field |
|
103 |
} */ |
|
85 | 104 |
} |
86 | 105 |
/** |
87 | 106 |
* @return GeometryField is not included in this list |
Also available in: Unified diff