public class Geo extends Object implements Serializable, RtbBean
Depending on the parent object, this object describes the current geographic location of the device (e.g., based on IP address or GPS), or it may describe the home geo of the user (e.g., based on registration data).
Geo
,
User.getGeo()
,
Device.getGeo()
,
Lot49Ext.getGeo()
,
Serialized FormModifier and Type | Field and Description |
---|---|
private String |
city |
private String |
country |
private Map |
ext |
private Float |
lat |
private Float |
lon |
private String |
metro |
private String |
region |
private String |
regionfips104 |
private String |
regionFullName |
private static long |
serialVersionUID |
private Integer |
type |
private String |
utcoffset |
private String |
zip |
Constructor and Description |
---|
Geo() |
Geo(String city,
String metro,
String zip,
String region,
String country) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getCity() |
String |
getCountry() |
Map |
getExt()
This will probably have at least
Lot49ExtGeo under Lot49ExtGeo.GEO_EXT_KEY
key if this is within Lot49Ext.getGeo() . |
Float |
getLat() |
Float |
getLon() |
String |
getMetro() |
String |
getRegion() |
String |
getRegionfips104() |
String |
getRegionFullName() |
Integer |
getType() |
String |
getUtcoffset() |
String |
getZip() |
void |
setCity(String city) |
void |
setCountry(String country) |
void |
setExt(Map ext) |
void |
setLat(Float lat) |
void |
setLon(Float lon) |
void |
setMetro(String metro) |
void |
setRegion(String region) |
void |
setRegionfips104(String regionfips104) |
void |
setRegionFullName(String regionFullName) |
void |
setType(Integer type) |
void |
setUtcoffset(String utcoffset) |
void |
setZip(String zip) |
String |
toString() |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
handleUnknown
private String utcoffset
private static final long serialVersionUID
private Float lat
private Float lon
private String country
private String region
private String regionfips104
private String metro
private String city
private String zip
private Integer type
private String regionFullName
private Map ext
public String getUtcoffset()
public void setUtcoffset(String utcoffset)
public String getRegionFullName()
public void setRegionFullName(String regionFullName)
public Float getLat()
public void setLat(Float lat)
public Float getLon()
public void setLon(Float lon)
public String getCountry()
public String getRegion()
public String getRegionfips104()
public void setRegionfips104(String regionfips104)
public String getMetro()
public String getCity()
public String getZip()
public Integer getType()
public void setType(Integer type)
public Map getExt()
Lot49ExtGeo
under Lot49ExtGeo.GEO_EXT_KEY
key if this is within Lot49Ext.getGeo()
.public void setExt(Map ext)
public void setMetro(String metro)
public void setCity(String city)
public void setRegion(String region)
public void setCountry(String country)
public void setZip(String zip)