Class GeometryCollectionEntity
java.lang.Object
org.bremersee.geojson.spring.data.mongodb.convert.app.GeometryCollectionEntity
The geometry collection entity.
- Author:
- Christian Bremer
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new geometry collection entity.GeometryCollectionEntity(org.locationtech.jts.geom.GeometryCollection geometry) Instantiates a new geometry collection entity. -
Method Summary
Modifier and TypeMethodDescriptionbooleanorg.locationtech.jts.geom.GeometryCollectionGets geometry.getId()Gets id.inthashCode()voidsetGeometry(org.locationtech.jts.geom.GeometryCollection geometry) Sets geometry.voidSets id.toString()
-
Constructor Details
-
GeometryCollectionEntity
public GeometryCollectionEntity()Instantiates a new geometry collection entity. -
GeometryCollectionEntity
public GeometryCollectionEntity(org.locationtech.jts.geom.GeometryCollection geometry) Instantiates a new geometry collection entity.- Parameters:
geometry- the geometry
-
-
Method Details
-
getId
Gets id.- Returns:
- the id
-
setId
Sets id.- Parameters:
id- the id
-
getGeometry
public org.locationtech.jts.geom.GeometryCollection getGeometry()Gets geometry.- Returns:
- the geometry
-
setGeometry
public void setGeometry(org.locationtech.jts.geom.GeometryCollection geometry) Sets geometry.- Parameters:
geometry- the geometry
-
equals
-
hashCode
public int hashCode() -
toString
-