Package com.esri.arcgisruntime.mapping
Interface GeoElement
-
- All Known Implementing Classes:
ArcGISFeature
,EncFeature
,Feature
,Graphic
,KmlPlacemark
,RasterCell
,WmsFeature
public interface GeoElement
Common interface for entities which possess both a geometry and attribute table.- Since:
- 100.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,Object>
getAttributes()
Gets a java.util.Map of all the available attributes as name value pairs.Geometry
getGeometry()
Gets the geometry of this geoelement.void
setGeometry(Geometry geometry)
Sets the GeoElement's geometry.
-
-
-
Method Detail
-
getAttributes
Map<String,Object> getAttributes()
Gets a java.util.Map of all the available attributes as name value pairs.Attribute values are returned as Object instances, but the underlying value type is based on the
Field.Type
.- Returns:
- all the available attributes as name value pairs.
- Since:
- 100.0.0
-
getGeometry
Geometry getGeometry()
Gets the geometry of this geoelement.- Returns:
- the geometry of this geoelement
- Since:
- 100.0.0
-
setGeometry
void setGeometry(Geometry geometry)
Sets the GeoElement's geometry.- Parameters:
geometry
- the geometry to set- Since:
- 100.0.0
-
-