Class RestPoint

java.lang.Object
de.dlr.proseo.geotools.rest.model.RestPoint
All Implemented Interfaces:
Serializable

public class RestPoint extends Object implements Serializable
See Also:
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      See Also:
    • lat

      protected Double lat
      The latitude in double format
    • lon

      protected Double lon
      The longitude in double format
  • Constructor Details

    • RestPoint

      public RestPoint()
      Creates a new RestPoint.
    • RestPoint

      public RestPoint(Double lat, Double lon)
      Creates a new RestPoint.
  • Method Details

    • getLat

      @NotNull public Double getLat()
      Returns the lat.
      Returns:
      lat
    • setLat

      public void setLat(Double lat)
      Set the lat.
      Parameters:
      lat - the new lat
    • getLon

      @NotNull public Double getLon()
      Returns the lon.
      Returns:
      lon
    • setLon

      public void setLon(Double lon)
      Set the lon.
      Parameters:
      lon - the new lon
    • hashCode

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object