svn-gvsig-desktop / branches / Mobile_Compatible_Hito_1 / libFMap_data / src / org / gvsig / data / vectorial / FeatureID.java @ 21688
History | View | Annotate | Download (504 Bytes)
1 |
package org.gvsig.data.vectorial; |
---|---|
2 |
|
3 |
import java.util.HashMap; |
4 |
|
5 |
import org.gvsig.data.ReadException; |
6 |
|
7 |
|
8 |
public interface FeatureID { |
9 |
|
10 |
public Feature getFeature(FeatureType featureType) throws ReadException; |
11 |
|
12 |
/**
|
13 |
* Key: the property name
|
14 |
* value: the value of the property
|
15 |
* It is useful to have a standard way of asking for
|
16 |
* information about the id
|
17 |
* In example a FilterToSQL needs to know this to
|
18 |
* serialize the id
|
19 |
* @return
|
20 |
*/
|
21 |
public HashMap toHashMap(); |
22 |
} |