Class GeometryCollectionEntity

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

public class GeometryCollectionEntity extends Object
The geometry collection entity.
Author:
Christian Bremer
  • 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

      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.GeometryCollection getGeometry()
      Gets geometry.
      Returns:
      the geometry
    • setGeometry

      public void setGeometry(org.locationtech.jts.geom.GeometryCollection 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