org.opengts.db
Class EventDataProviderAdapter

java.lang.Object
  extended by org.opengts.db.EventDataProviderAdapter
All Implemented Interfaces:
EventDataProvider
Direct Known Subclasses:
GPSEvent

public class EventDataProviderAdapter
extends java.lang.Object
implements EventDataProvider


Constructor Summary
EventDataProviderAdapter()
           
 
Method Summary
 java.lang.String getAccountID()
           
 java.lang.String getAddress()
           
 double getAltitude()
           
 double getBatteryLevel()
           
 double getBestAccuracy()
           
 GeoPoint getBestGeoPoint()
           
 long getCreationAge()
           
 java.lang.String getDeviceDescription()
           
 java.lang.String getDeviceID()
           
 java.lang.String getDeviceVIN()
           
 int getEventIndex()
           
 GeoPoint getGeoPoint()
           
 java.lang.String getGeozoneID()
           
 long getGpsAge()
           
 double getHeading()
           
 double getHorzAccuracy()
           
 long getInputMask()
           
 boolean getIsFirstEvent()
           
 boolean getIsLastEvent()
           
 double getLatitude()
           
 double getLongitude()
           
 double getOdometerKM()
           
 int getPushpinIconIndex(java.lang.String iconSelector, OrderedSet<java.lang.String> iconKeys, boolean isFleet, BasicPrivateLabel bpl)
           
 int getSatelliteCount()
           
 double getSpeedKPH()
           
 int getStatusCode()
           
 java.lang.String getStatusCodeDescription(BasicPrivateLabel bpl)
           
 StatusCodeProvider getStatusCodeProvider(BasicPrivateLabel bpl)
           
 long getTimestamp()
           
 boolean isValidGeoPoint()
           
 void setEventIndex(int ndx)
           
 void setIsLastEvent(boolean isLast)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventDataProviderAdapter

public EventDataProviderAdapter()
Method Detail

getAccountID

public java.lang.String getAccountID()
Specified by:
getAccountID in interface EventDataProvider

getDeviceID

public java.lang.String getDeviceID()
Specified by:
getDeviceID in interface EventDataProvider

getDeviceDescription

public java.lang.String getDeviceDescription()
Specified by:
getDeviceDescription in interface EventDataProvider

getDeviceVIN

public java.lang.String getDeviceVIN()
Specified by:
getDeviceVIN in interface EventDataProvider

getTimestamp

public long getTimestamp()
Specified by:
getTimestamp in interface EventDataProvider

getStatusCode

public int getStatusCode()
Specified by:
getStatusCode in interface EventDataProvider

getStatusCodeDescription

public java.lang.String getStatusCodeDescription(BasicPrivateLabel bpl)
Specified by:
getStatusCodeDescription in interface EventDataProvider

getStatusCodeProvider

public StatusCodeProvider getStatusCodeProvider(BasicPrivateLabel bpl)
Specified by:
getStatusCodeProvider in interface EventDataProvider

getPushpinIconIndex

public int getPushpinIconIndex(java.lang.String iconSelector,
                               OrderedSet<java.lang.String> iconKeys,
                               boolean isFleet,
                               BasicPrivateLabel bpl)
Specified by:
getPushpinIconIndex in interface EventDataProvider

isValidGeoPoint

public boolean isValidGeoPoint()
Specified by:
isValidGeoPoint in interface EventDataProvider

getLatitude

public double getLatitude()
Specified by:
getLatitude in interface EventDataProvider

getLongitude

public double getLongitude()
Specified by:
getLongitude in interface EventDataProvider

getGeoPoint

public GeoPoint getGeoPoint()
Specified by:
getGeoPoint in interface EventDataProvider

getGpsAge

public long getGpsAge()
Specified by:
getGpsAge in interface EventDataProvider

getCreationAge

public long getCreationAge()
Specified by:
getCreationAge in interface EventDataProvider

getHorzAccuracy

public double getHorzAccuracy()
Specified by:
getHorzAccuracy in interface EventDataProvider

getBestGeoPoint

public GeoPoint getBestGeoPoint()
Specified by:
getBestGeoPoint in interface EventDataProvider

getBestAccuracy

public double getBestAccuracy()
Specified by:
getBestAccuracy in interface EventDataProvider

getSatelliteCount

public int getSatelliteCount()
Specified by:
getSatelliteCount in interface EventDataProvider

getBatteryLevel

public double getBatteryLevel()
Specified by:
getBatteryLevel in interface EventDataProvider

getSpeedKPH

public double getSpeedKPH()
Specified by:
getSpeedKPH in interface EventDataProvider

getHeading

public double getHeading()
Specified by:
getHeading in interface EventDataProvider

getAltitude

public double getAltitude()
Specified by:
getAltitude in interface EventDataProvider

getGeozoneID

public java.lang.String getGeozoneID()
Specified by:
getGeozoneID in interface EventDataProvider

getAddress

public java.lang.String getAddress()
Specified by:
getAddress in interface EventDataProvider

getInputMask

public long getInputMask()
Specified by:
getInputMask in interface EventDataProvider

getOdometerKM

public double getOdometerKM()
Specified by:
getOdometerKM in interface EventDataProvider

setEventIndex

public void setEventIndex(int ndx)
Specified by:
setEventIndex in interface EventDataProvider

getEventIndex

public int getEventIndex()
Specified by:
getEventIndex in interface EventDataProvider

getIsFirstEvent

public boolean getIsFirstEvent()
Specified by:
getIsFirstEvent in interface EventDataProvider

setIsLastEvent

public void setIsLastEvent(boolean isLast)
Specified by:
setIsLastEvent in interface EventDataProvider

getIsLastEvent

public boolean getIsLastEvent()
Specified by:
getIsLastEvent in interface EventDataProvider