com.shephertz.app42.paas.sdk.jme.geo
Class GeoPoint

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.jme.geo.GeoPoint

public class GeoPoint
extends java.lang.Object

This Geo Point object is the value object which contains the properties of Geo Point along with the setter & getter for those properties.


Constructor Summary
GeoPoint()
           
GeoPoint(java.lang.Double lat, java.lang.Double lng, java.lang.String marker)
           
 
Method Summary
 org.json.jme.JSONObject getJSONObject()
          Values coming from response are converted into JSON format.
 java.lang.Double getLat()
          Returns the lat point for Geo.
 java.lang.Double getLng()
          Returns the lng point for Geo.
 java.lang.String getMarker()
          Returns the marker point for Geo.
 void setLat(java.lang.Double lat)
          Sets the lat point for Geo.
 void setLng(java.lang.Double lng)
          Sets the lng point for Geo.
 void setMarker(java.lang.String marker)
          Sets the marker point for Geo.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoPoint

public GeoPoint()

GeoPoint

public GeoPoint(java.lang.Double lat,
                java.lang.Double lng,
                java.lang.String marker)
Method Detail

getJSONObject

public org.json.jme.JSONObject getJSONObject()
                                      throws org.json.jme.JSONException
Values coming from response are converted into JSON format.

Returns:
JSON Response
Throws:
org.json.jme.JSONException

getLat

public java.lang.Double getLat()
Returns the lat point for Geo.

Returns:
the lat point for Geo.

getLng

public java.lang.Double getLng()
Returns the lng point for Geo.

Returns:
the lng point for Geo.

getMarker

public java.lang.String getMarker()
Returns the marker point for Geo.

Returns:
the marker point for Geo.

setLat

public void setLat(java.lang.Double lat)
Sets the lat point for Geo.

Parameters:
lat - - lat point for Geo.

setLng

public void setLng(java.lang.Double lng)
Sets the lng point for Geo.

Parameters:
lng - - lng point for Geo.

setMarker

public void setMarker(java.lang.String marker)
Sets the marker point for Geo.

Parameters:
marker - - marker point for Geo.