Interface LatLonAware

All Known Implementing Classes:
LatitudeLongitude, LatLon

public interface LatLonAware
The interface lat lon aware.
Author:
Christian Bremer
  • Method Details

    • getLatitude

      BigDecimal getLatitude()
      Gets latitude.
      Returns:
      the latitude
    • getLongitude

      BigDecimal getLongitude()
      Gets longitude.
      Returns:
      the longitude
    • hasValues

      default boolean hasValues()
      Determines whether latitude and longitude have values.
      Returns:
      true if latitude and longitude is not null, otherwise false
    • toLatLonString

      default String toLatLonString()
      To comma separated latitude longitude string.
      Returns:
      the string
    • toLonLatString

      default String toLonLatString()
      To comma separated longitude latitude string.
      Returns:
      the string
    • builder

      static LatLonAware.Builder builder()
      Returns a new builder.
      Returns:
      the builder