org.gsm.oneapi.responsebean.location
Class TerminalLocation.CurrentLocation

java.lang.Object
  extended by org.gsm.oneapi.responsebean.location.TerminalLocation.CurrentLocation
Enclosing class:
TerminalLocation

public static class TerminalLocation.CurrentLocation
extends java.lang.Object

the inner class CurrentLocation contains the location information relating to this mobile terminal


Constructor Summary
TerminalLocation.CurrentLocation()
           
 
Method Summary
 java.lang.Double getAccuracy()
          return accuracy in metres
 java.lang.Double getAltitude()
          return altitude in metres
 java.lang.Double getLatitude()
          return latitude in decimal degrees
 java.lang.Double getLongitude()
          return longitude in decimal degrees
 java.lang.String getTimestamp()
          return timestamp as an ISO 8601 format string
 java.util.Date getTimestampAsDate()
          return timestamp as a java.util.Date object
 void setAccuracy(java.lang.Double accuracy)
          set accuracy in metres.
 void setAltitude(java.lang.Double altitude)
          set altitude in metres.
 void setLatitude(java.lang.Double latitude)
          set latitude in decimal degrees.
 void setLongitude(java.lang.Double longitude)
          set longitude in decimal degrees.
 void setTimestamp(java.lang.String timestamp)
          set timestamp as an ISO 8601 format string.
 void setTimestampAsDate(java.util.Date timestamp)
          set timestamp as a java.util.Date object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerminalLocation.CurrentLocation

public TerminalLocation.CurrentLocation()
Method Detail

getAccuracy

public java.lang.Double getAccuracy()
return accuracy in metres


getAltitude

public java.lang.Double getAltitude()
return altitude in metres


getLatitude

public java.lang.Double getLatitude()
return latitude in decimal degrees


getLongitude

public java.lang.Double getLongitude()
return longitude in decimal degrees


getTimestamp

public java.lang.String getTimestamp()
return timestamp as an ISO 8601 format string


getTimestampAsDate

public java.util.Date getTimestampAsDate()
return timestamp as a java.util.Date object


setAccuracy

public void setAccuracy(java.lang.Double accuracy)
set accuracy in metres. This is called internally to set the contents according to the JSON response.


setAltitude

public void setAltitude(java.lang.Double altitude)
set altitude in metres. This is called internally to set the contents according to the JSON response.


setLatitude

public void setLatitude(java.lang.Double latitude)
set latitude in decimal degrees. This is called internally to set the contents according to the JSON response.


setLongitude

public void setLongitude(java.lang.Double longitude)
set longitude in decimal degrees. This is called internally to set the contents according to the JSON response.


setTimestamp

public void setTimestamp(java.lang.String timestamp)
set timestamp as an ISO 8601 format string. This is called internally to set the contents according to the JSON response.


setTimestampAsDate

public void setTimestampAsDate(java.util.Date timestamp)
set timestamp as a java.util.Date object.