java.lang.Object
org.bremersee.geojson.spring.data.mongodb.convert.app.GeometryEntity

public class GeometryEntity extends Object
The geometry entity.
Author:
Christian Bremer
  • Constructor Details

    • GeometryEntity

      public GeometryEntity()
      Instantiates a new geometry entity.
    • GeometryEntity

      public GeometryEntity(org.locationtech.jts.geom.Geometry geometry)
      Instantiates a new geometry entity.
      Parameters:
      geometry - the geometry
  • Method Details

    • getId

      public String getId()
      Gets id.
      Returns:
      the id
    • setId

      public void setId(String id)
      Sets id.
      Parameters:
      id - the id
    • getGeometry

      public org.locationtech.jts.geom.Geometry getGeometry()
      Gets geometry.
      Returns:
      the geometry
    • setGeometry

      public void setGeometry(org.locationtech.jts.geom.Geometry geometry)
      Sets geometry.
      Parameters:
      geometry - the geometry
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object