forms
Class GeoCodingGetRequest

java.lang.Object
  extended by forms.GeoCodingGetRequest

public class GeoCodingGetRequest
extends java.lang.Object

Class is a form to geocoding "GET" request. Geocoding is searching for objects on the map.


Field Summary
 java.lang.Double lat
           
 java.lang.String layersId
           
 java.lang.Double lon
           
 java.lang.String query
           
 
Constructor Summary
GeoCodingGetRequest()
          Constructor of class.
 
Method Summary
 java.lang.Double getLat()
           
 java.lang.String getLayersId()
           
 java.lang.Double getLon()
           
 java.lang.String getQuery()
           
 java.util.List<java.lang.Long> layersIdList()
           
 void setLat(java.lang.Double lat)
          latitude points - center of the map
 void setLayersId(java.lang.String layersId)
          set string list of layers id, which is a search
 void setLon(java.lang.Double lon)
          set longitude points - center of the map
 void setQuery(java.lang.String query)
          set string on which to search
 java.lang.String validate()
          validate form.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

query

public java.lang.String query

lon

public java.lang.Double lon

lat

public java.lang.Double lat

layersId

public java.lang.String layersId
Constructor Detail

GeoCodingGetRequest

public GeoCodingGetRequest()
Constructor of class.

Method Detail

getQuery

public java.lang.String getQuery()
Returns:
string on which to search

setQuery

public void setQuery(java.lang.String query)
set string on which to search

Parameters:
query - string on which to search

getLon

public java.lang.Double getLon()
Returns:
longitude points - center of the map

setLon

public void setLon(java.lang.Double lon)
set longitude points - center of the map

Parameters:
lon - longitude points - center of the map

getLat

public java.lang.Double getLat()
Returns:
latitude points - center of the map

setLat

public void setLat(java.lang.Double lat)
latitude points - center of the map

Parameters:
lat - latitude points - center of the map

getLayersId

public java.lang.String getLayersId()
Returns:
string list of layers id, which is a search

setLayersId

public void setLayersId(java.lang.String layersId)
set string list of layers id, which is a search

Parameters:
layersId - string list of layers id, which is a search

validate

public java.lang.String validate()
validate form.

Returns:
If the test is successful return null, else return error.

layersIdList

public java.util.List<java.lang.Long> layersIdList()
Returns:
List list of layers id, which is a search