Created
December 11, 2016 20:13
-
-
Save kostovtd/74f60e3b9ee252daa25040f65af96b15 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Just a dummy container class in order to | |
* collect {@link com.google.android.gms.location.Geofence} | |
* and {@link com.google.android.gms.maps.model.LatLng} in one entity | |
*/ | |
public class CompanyLocation { | |
private LatLng coordinates; | |
private Geofence geofence; | |
public CompanyLocation(LatLng coordinates, Geofence geofence) { | |
this.coordinates = coordinates; | |
this.geofence = geofence; | |
} | |
public LatLng getCoordinates() { | |
return coordinates; | |
} | |
public void setCoordinates(LatLng coordinates) { | |
this.coordinates = coordinates; | |
} | |
public Geofence getGeofence() { | |
return geofence; | |
} | |
public void setGeofence(Geofence geofence) { | |
this.geofence = geofence; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment