Class GeometryEntity

java.lang.Object
org.n52.series.db.beans.GeometryEntity
All Implemented Interfaces:
Serializable

@Embeddable public class GeometryEntity extends Object implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • GeometryEntity

      public GeometryEntity()
  • Method Details

    • isSetGeometry

      public boolean isSetGeometry()
    • setGeometry

      public void setGeometry(org.locationtech.jts.geom.Geometry geometry)
    • getGeometry

      public org.locationtech.jts.geom.Geometry getGeometry()
      Returns the Geometry or creates a Geometry with the given srid in case of geometry has been set via lat/lon.
      Returns:
      the geometry or a created geometry (with given srid)
    • isSetLonLat

      public boolean isSetLonLat()
    • getLon

      public Double getLon()
    • setLon

      public void setLon(Double lon)
    • getLat

      public Double getLat()
    • setLat

      public void setLat(Double lat)
    • getAlt

      public Double getAlt()
    • setAlt

      public void setAlt(Double alt)
    • getSrid

      public int getSrid()
    • setSrid

      public GeometryEntity setSrid(int srid)
    • isEmpty

      public boolean isEmpty()
    • getGeometryFactory

      public org.locationtech.jts.geom.GeometryFactory getGeometryFactory()
    • setGeometryFactory

      public void setGeometryFactory(org.locationtech.jts.geom.GeometryFactory geometryFactory)
    • union

      public void union(GeometryEntity entity)
    • expand

      public void expand(GeometryEntity entity)
    • copy

      public GeometryEntity copy()
    • toString

      public String toString()
      Overrides:
      toString in class Object