Revision 44669 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.api/src/main/java/org/gvsig/fmap/dal/feature/Feature.java
Feature.java | ||
---|---|---|
23 | 23 |
*/ |
24 | 24 |
package org.gvsig.fmap.dal.feature; |
25 | 25 |
|
26 |
import java.math.BigDecimal; |
|
26 | 27 |
import java.util.Date; |
27 | 28 |
import java.util.List; |
28 | 29 |
import org.cresques.cts.IProjection; |
... | ... | |
132 | 133 |
public long getLongOrDefault(String name, long defaultValue); |
133 | 134 |
public float getFloatOrDefault(String name, float defaultValue); |
134 | 135 |
public double getDoubleOrDefault(String name, double defaultValue); |
136 |
public BigDecimal getDecimalOrDefault(String name, BigDecimal defaultValue); |
|
135 | 137 |
public Date getDateOrDefault(String name, Date defaultValue); |
136 | 138 |
|
137 | 139 |
public Object getOrDefault(int index, Object defaultValue); |
... | ... | |
140 | 142 |
public long getLongOrDefault(int index, long defaultValue); |
141 | 143 |
public float getFloatOrDefault(int index, float defaultValue); |
142 | 144 |
public double getDoubleOrDefault(int index, double defaultValue); |
145 |
public BigDecimal getDecimalOrDefault(int index, BigDecimal defaultValue); |
|
143 | 146 |
public Date getDateOrDefault(int index, Date defaultValue); |
144 | 147 |
|
145 | 148 |
/** |
... | ... | |
163 | 166 |
*/ |
164 | 167 |
public Object get(int index); |
165 | 168 |
|
169 |
public boolean isNull(int index); |
|
170 |
|
|
171 |
public boolean isNull(String name); |
|
172 |
|
|
166 | 173 |
/** |
167 | 174 |
* Returns the int value of an attribute given its name. |
168 | 175 |
* |
... | ... | |
264 | 271 |
public double getDouble(int index); |
265 | 272 |
|
266 | 273 |
/** |
274 |
* Returns the BigDecimal value of an attribute given its name. |
|
275 |
* |
|
276 |
* @param name |
|
277 |
* name of the attribute |
|
278 |
* @return |
|
279 |
* value of the specified attribute |
|
280 |
*/ |
|
281 |
public BigDecimal getDecimal(String name); |
|
282 |
|
|
283 |
/** |
|
284 |
* Returns the BigDecimal value of an attribute given its position. |
|
285 |
* |
|
286 |
* @param index |
|
287 |
* position of the attribute |
|
288 |
* @return |
|
289 |
* value of the specified attribute |
|
290 |
*/ |
|
291 |
public BigDecimal getDecimal(int index); |
|
292 |
|
|
293 |
/** |
|
267 | 294 |
* Returns the Date value of an attribute given its name. |
268 | 295 |
* |
269 | 296 |
* @param name |
Also available in: Unified diff