public class Location extends AbstractMessage
| Modifier and Type | Field and Description |
|---|---|
static MessageDescriptor<Location> |
DESCRIPTOR |
| Modifier and Type | Method and Description |
|---|---|
Location |
clearLat() |
Location |
clearLng() |
Location |
copy() |
MessageDescriptor<? extends Location> |
descriptor() |
static Location |
fromJson(String s) |
static Location |
fromMap(Map<String,Object> map) |
double |
getLat() |
double |
getLng() |
boolean |
hasLat() |
boolean |
hasLng() |
void |
merge(Message message) |
Location |
setLat(double value) |
Location |
setLng(double value) |
public static final MessageDescriptor<Location> DESCRIPTOR
public Location()
public Location(Location another)
public double getLat()
public Location setLat(double value)
public boolean hasLat()
public Location clearLat()
public double getLng()
public Location setLng(double value)
public boolean hasLng()
public Location clearLng()
public Location copy()
copy in interface Messagecopy in class AbstractMessagepublic void merge(Message message)
merge in interface Messagemerge in class AbstractMessagepublic MessageDescriptor<? extends Location> descriptor()
Copyright © 2014. All Rights Reserved.