Class FeatureGeometry
- java.lang.Object
-
- org.gcube.spatial.data.geoutility.shared.wfs.FeatureGeometry
-
- All Implemented Interfaces:
Serializable,WFSGeometry
public class FeatureGeometry extends Object implements WFSGeometry, Serializable
The Class FeatureGeometry.- Author:
- Francesco Mangiacrapa at ISTI-CNR francesco.mangiacrapa@isti.cnr.it Sep 6, 2021
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FeatureGeometry()Instantiates a new feature geometry.FeatureGeometry(String type, String coordinatesJSON)Instantiates a new feature geometry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCoordinatesJSON()Gets the coordinates JSON.StringgetToJSONObject()StringgetType()Gets the type.voidsetCoordinatesJSON(String coordinatesJSON)voidsetType(String type)StringtoString()
-
-
-
Method Detail
-
getType
public String getType()
Description copied from interface:WFSGeometryGets the type.- Specified by:
getTypein interfaceWFSGeometry- Returns:
- the type
-
getCoordinatesJSON
public String getCoordinatesJSON()
Description copied from interface:WFSGeometryGets the coordinates JSON.- Specified by:
getCoordinatesJSONin interfaceWFSGeometry- Returns:
- the coordinates JSON
-
setType
public void setType(String type)
-
setCoordinatesJSON
public void setCoordinatesJSON(String coordinatesJSON)
-
getToJSONObject
public String getToJSONObject()
-
-