public class PlacePrototype extends Object
GeoOperations.findSimilarPlaces(double, double, String)
.
It is the only type that can be given to GeoOperations.createPlace(PlacePrototype)
to create a new place.
This guarantees consistency between the query performed when finding similar places and when creating a new place so that the create token will be valid.Constructor and Description |
---|
PlacePrototype(String createToken,
double latitude,
double longitude,
String name,
String streetAddress,
String containedWithin) |
Modifier and Type | Method and Description |
---|---|
String |
getContainedWithin() |
String |
getCreateToken() |
double |
getLatitude() |
double |
getLongitude() |
String |
getName() |
String |
getStreetAddress() |