Revision 29789 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultEditableFeature.java
DefaultEditableFeature.java | ||
---|---|---|
92 | 92 |
public void setByte(String name, byte value) { |
93 | 93 |
FeatureAttributeDescriptor attribute = this.getType() |
94 | 94 |
.getAttributeDescriptor(name); |
95 |
this.set(attribute, Byte.valueOf(value));
|
|
95 |
this.set(attribute, new Byte(value));
|
|
96 | 96 |
} |
97 | 97 |
|
98 | 98 |
public void setByte(int index, byte value) { |
99 | 99 |
FeatureAttributeDescriptor attribute = this.getType() |
100 | 100 |
.getAttributeDescriptor(index); |
101 |
this.set(attribute, Byte.valueOf(value));
|
|
101 |
this.set(attribute, new Byte(value));
|
|
102 | 102 |
} |
103 | 103 |
|
104 | 104 |
public void setDate(String name, Date value) { |
... | ... | |
116 | 116 |
public void setDouble(String name, double value) { |
117 | 117 |
FeatureAttributeDescriptor attribute = this.getType() |
118 | 118 |
.getAttributeDescriptor(name); |
119 |
this.set(attribute, Double.valueOf(value));
|
|
119 |
this.set(attribute, new Double(value));
|
|
120 | 120 |
} |
121 | 121 |
|
122 | 122 |
public void setDouble(int index, double value) { |
123 | 123 |
FeatureAttributeDescriptor attribute = this.getType() |
124 | 124 |
.getAttributeDescriptor(index); |
125 |
this.set(attribute, Double.valueOf(value));
|
|
125 |
this.set(attribute, new Double(value));
|
|
126 | 126 |
} |
127 | 127 |
|
128 | 128 |
public void setFeature(String name, Feature value) { |
... | ... | |
146 | 146 |
public void setFloat(int index, float value) { |
147 | 147 |
FeatureAttributeDescriptor attribute = this.getType() |
148 | 148 |
.getAttributeDescriptor(index); |
149 |
this.set(attribute, Float.valueOf(value));
|
|
149 |
this.set(attribute, new Float(value));
|
|
150 | 150 |
} |
151 | 151 |
|
152 | 152 |
public void setGeometry(String name, Geometry value) { |
... | ... | |
164 | 164 |
public void setInt(String name, int value) { |
165 | 165 |
FeatureAttributeDescriptor attribute = this.getType() |
166 | 166 |
.getAttributeDescriptor(name); |
167 |
this.set(attribute, Integer.valueOf(value));
|
|
167 |
this.set(attribute, new Integer(value));
|
|
168 | 168 |
} |
169 | 169 |
|
170 | 170 |
public void setInt(int index, int value) { |
171 | 171 |
FeatureAttributeDescriptor attribute = this.getType() |
172 | 172 |
.getAttributeDescriptor(index); |
173 |
this.set(attribute, Integer.valueOf(value));
|
|
173 |
this.set(attribute, new Integer(value));
|
|
174 | 174 |
} |
175 | 175 |
|
176 | 176 |
public void setLong(String name, long value) { |
177 | 177 |
FeatureAttributeDescriptor attribute = this.getType() |
178 | 178 |
.getAttributeDescriptor(name); |
179 |
this.set(attribute, Long.valueOf(value));
|
|
179 |
this.set(attribute, new Long(value));
|
|
180 | 180 |
} |
181 | 181 |
|
182 | 182 |
public void setLong(int index, long value) { |
183 | 183 |
FeatureAttributeDescriptor attribute = this.getType() |
184 | 184 |
.getAttributeDescriptor(index); |
185 |
this.set(attribute, Long.valueOf(value));
|
|
185 |
this.set(attribute, new Long(value));
|
|
186 | 186 |
} |
187 | 187 |
|
188 | 188 |
public void setString(String name, String value) { |
Also available in: Unified diff