Package com.example.qrgo.models
Class GeoLocation
- java.lang.Object
-
- com.example.qrgo.models.GeoLocation
-
public class GeoLocation extends java.lang.Object
Represents 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.Double
geoLocationLat
protected java.lang.Double
geoLocationLon
-
Constructor Summary
Constructors Constructor Description GeoLocation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
getGeoLocationLat()
Gets the latitude coordinate of the geographic location.java.lang.Double
getGeoLocationLon()
Gets the longitude coordinate of the geographic location.void
setGeoLocationLat(java.lang.Double geoLocationLat)
Sets the latitude coordinate of the geographic location.void
setGeoLocationLon(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.
-
-