Package com.example.qrgo.models
Class GeoLocation
- java.lang.Object
-
- com.example.qrgo.models.GeoLocation
-
public class GeoLocation extends java.lang.ObjectRepresents the geographic location of a point on the Earth's surface specified by latitude and longitude coordinates.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.DoublegeoLocationLatprotected java.lang.DoublegeoLocationLon
-
Constructor Summary
Constructors Constructor Description GeoLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.DoublegetGeoLocationLat()Gets the latitude coordinate of the geographic location.java.lang.DoublegetGeoLocationLon()Gets the longitude coordinate of the geographic location.voidsetGeoLocationLat(java.lang.Double geoLocationLat)Sets the latitude coordinate of the geographic location.voidsetGeoLocationLon(java.lang.Double geoLocationLon)Sets the longitude coordinate of the geographic location.
-
-
-
Method Detail
-
getGeoLocationLat
public java.lang.Double getGeoLocationLat()
Gets the latitude coordinate of the geographic location.- Returns:
- The latitude coordinate of the geographic location.
-
setGeoLocationLat
public void setGeoLocationLat(java.lang.Double geoLocationLat)
Sets the latitude coordinate of the geographic location.- Parameters:
geoLocationLat- The latitude coordinate of the geographic location.
-
getGeoLocationLon
public java.lang.Double getGeoLocationLon()
Gets the longitude coordinate of the geographic location.- Returns:
- The longitude coordinate of the geographic location.
-
setGeoLocationLon
public void setGeoLocationLon(java.lang.Double geoLocationLon)
Sets the longitude coordinate of the geographic location.- Parameters:
geoLocationLon- The longitude coordinate of the geographic location.
-
-