Class BwGeo

All Implemented Interfaces:
Serializable, Comparable<BwGeo>, org.bedework.util.logging.Logged

public class BwGeo extends DumpEntity<BwGeo> implements Comparable<BwGeo>, Serializable
A geo value in bedework.
Version:
1.0
See Also:
  • Constructor Details

    • BwGeo

      public BwGeo()
      Constructor
    • BwGeo

      public BwGeo(BigDecimal latitude, BigDecimal longitude)
      Parameters:
      latitude - BigDecimal
      longitude - BigDecimal
  • Method Details

    • setLatitude

      public void setLatitude(BigDecimal val)
      Set the latitude
      Parameters:
      val - BigDecimal latitude
    • getLatitude

      public BigDecimal getLatitude()
      Get the latitude
      Returns:
      BigDecimal latitude
    • setLongitude

      public void setLongitude(BigDecimal val)
      Set the longitude
      Parameters:
      val - BigDecimal longitude
    • getLongitude

      public BigDecimal getLongitude()
      Get the longitude
      Returns:
      BigDecimal longitude
    • compareTo

      public int compareTo(BwGeo that)
      Specified by:
      compareTo in interface Comparable<BwGeo>
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object
    • clone

      public Object clone()
      Overrides:
      clone in class Object