Class Feature
- java.lang.Object
-
- eu.europa.ec.eurostat.jgiscotools.feature.Feature
-
-
Constructor Summary
Constructors Constructor Description Feature()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String attributeName)Get attribute value.Map<String,Object>getAttributes()org.locationtech.jts.geom.GeometrygetGeometry()StringgetID()ObjectsetAttribute(String attributeName, Object value)Set attribute value.voidsetGeometry(org.locationtech.jts.geom.Geometry geometry)Set geometry.voidsetID(String id)Set feature identifier.
-
-
-
Method Detail
-
getID
public String getID()
- Returns:
- The feature identifier.
-
setID
public void setID(String id)
Set feature identifier.- Parameters:
id-
-
getGeometry
public org.locationtech.jts.geom.Geometry getGeometry()
- Returns:
- The feature Geometry
-
setGeometry
public void setGeometry(org.locationtech.jts.geom.Geometry geometry)
Set geometry.- Parameters:
geometry-
-
getAttribute
public Object getAttribute(String attributeName)
Get attribute value.- Parameters:
attributeName-- Returns:
-
-