Revision 45425 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 | ||
---|---|---|
37 | 37 |
import org.gvsig.tools.evaluator.Evaluator; |
38 | 38 |
import org.gvsig.tools.evaluator.EvaluatorData; |
39 | 39 |
import org.gvsig.tools.util.GetItemByKeyWithSizeAndGetKeys; |
40 |
import org.gvsig.json.SupportToJson; |
|
40 | 41 |
|
41 | 42 |
/** |
42 | 43 |
* <p> |
... | ... | |
78 | 79 |
* </p> |
79 | 80 |
* |
80 | 81 |
*/ |
81 |
public interface Feature extends GetItemByKeyWithSizeAndGetKeys<String, Object> { |
|
82 |
public interface Feature extends GetItemByKeyWithSizeAndGetKeys<String, Object>, SupportToJson {
|
|
82 | 83 |
|
83 | 84 |
/** |
84 | 85 |
* Returns a unique identifier for this Feature in the associated store. |
... | ... | |
288 | 289 |
* @param name name of the attribute |
289 | 290 |
* @return value of the specified attribute |
290 | 291 |
*/ |
291 |
public Date getDate(String name); |
|
292 |
public java.sql.Date getDate(String name);
|
|
292 | 293 |
|
293 | 294 |
/** |
294 | 295 |
* Returns the Date value of an attribute given its position. |
... | ... | |
296 | 297 |
* @param index position of the attribute |
297 | 298 |
* @return value of the specified attribute |
298 | 299 |
*/ |
299 |
public Date getDate(int index); |
|
300 |
public java.sql.Date getDate(int index);
|
|
300 | 301 |
|
301 |
public Date getTime(String name);
|
|
302 |
public Date getTime(int index);
|
|
302 |
public java.sql.Time getTime(String name);
|
|
303 |
public java.sql.Time getTime(int index);
|
|
303 | 304 |
|
304 |
public Date getTimestamp(String name);
|
|
305 |
public Date getTimestamp(int index);
|
|
305 |
public java.sql.Timestamp getTimestamp(String name);
|
|
306 |
public java.sql.Timestamp getTimestamp(int index);
|
|
306 | 307 |
|
307 | 308 |
/** |
308 | 309 |
* Returns the String value of an attribute given its name. |
Also available in: Unified diff