public class DeviceLocation extends Object
| Constructor and Description |
|---|
DeviceLocation() |
| Modifier and Type | Method and Description |
|---|---|
DeviceLocation |
city(String city) |
DeviceLocation |
country(String country) |
DeviceLocation |
deviceId(Integer deviceId) |
DeviceLocation |
deviceType(String deviceType) |
boolean |
equals(Object o) |
String |
getCity()
City of the device location.
|
String |
getCountry()
Country of the device address.
|
Integer |
getDeviceId()
Id of the device in the database
|
String |
getDeviceType()
The device type such as ios, android, windows or fire-alarm.
|
Double |
getLatitude()
Device GPS latitude.
|
Double |
getLongitude()
Device GPS longitude.
|
String |
getState()
State of the device address.
|
String |
getStreet1()
First line of the address.
|
String |
getStreet2()
Second line of the address.
|
Date |
getUpdatedTime()
Last updated location of the device
|
String |
getZip()
Zip code of the device address.
|
int |
hashCode() |
DeviceLocation |
latitude(Double latitude) |
DeviceLocation |
longitude(Double longitude) |
void |
setCity(String city) |
void |
setCountry(String country) |
void |
setDeviceId(Integer deviceId) |
void |
setDeviceType(String deviceType) |
void |
setLatitude(Double latitude) |
void |
setLongitude(Double longitude) |
void |
setState(String state) |
void |
setStreet1(String street1) |
void |
setStreet2(String street2) |
void |
setUpdatedTime(Date updatedTime) |
void |
setZip(String zip) |
DeviceLocation |
state(String state) |
DeviceLocation |
street1(String street1) |
DeviceLocation |
street2(String street2) |
String |
toString() |
DeviceLocation |
updatedTime(Date updatedTime) |
DeviceLocation |
zip(String zip) |
public DeviceLocation deviceId(Integer deviceId)
public Integer getDeviceId()
public void setDeviceId(Integer deviceId)
public DeviceLocation deviceType(String deviceType)
public String getDeviceType()
public void setDeviceType(String deviceType)
public DeviceLocation latitude(Double latitude)
public Double getLatitude()
public void setLatitude(Double latitude)
public DeviceLocation longitude(Double longitude)
public Double getLongitude()
public void setLongitude(Double longitude)
public DeviceLocation street1(String street1)
public String getStreet1()
public void setStreet1(String street1)
public DeviceLocation street2(String street2)
public String getStreet2()
public void setStreet2(String street2)
public DeviceLocation city(String city)
public String getCity()
public void setCity(String city)
public DeviceLocation state(String state)
public String getState()
public void setState(String state)
public DeviceLocation zip(String zip)
public String getZip()
public void setZip(String zip)
public DeviceLocation country(String country)
public String getCountry()
public void setCountry(String country)
public DeviceLocation updatedTime(Date updatedTime)
public Date getUpdatedTime()
public void setUpdatedTime(Date updatedTime)
Copyright © 2017 WSO2. All rights reserved.