org.opengts.db.tables
Class Device.NearbyDevice
java.lang.Object
org.opengts.db.tables.Device.NearbyDevice
- Enclosing class:
- Device
public static class Device.NearbyDevice
- extends java.lang.Object
Container class for a detected nearby device
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Device.NearbyDevice
public Device.NearbyDevice(Account acct,
java.lang.String targID,
java.lang.String devID,
GeoPoint gp,
double kph,
double dir,
long timestamp,
double distM)
getAccount
public Account getAccount()
getAccountID
public java.lang.String getAccountID()
getTargetDeviceID
public java.lang.String getTargetDeviceID()
getDeviceID
public java.lang.String getDeviceID()
isTargetDevice
public boolean isTargetDevice()
getDevice
public Device getDevice()
throws DBException
- Throws:
DBException
getDeviceDescription
public java.lang.String getDeviceDescription()
getTimestamp
public long getTimestamp()
getStatusCode
public int getStatusCode()
hasGeoPoint
public boolean hasGeoPoint()
getGeoPoint
public GeoPoint getGeoPoint()
getLatitude
public double getLatitude()
getLongitude
public double getLongitude()
getGpsAge
public long getGpsAge()
getSpeedKPH
public double getSpeedKPH()
getHeading
public double getHeading()
getDistanceMeters
public double getDistanceMeters()
getDistanceKM
public double getDistanceKM()
getAddress
public java.lang.String getAddress()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object