forms
Class GeoCodingPostRequest

java.lang.Object
  extended by forms.GeoCodingPostRequest

public class GeoCodingPostRequest
extends java.lang.Object

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


Field Summary
 java.util.List<java.lang.Long> layersId
           
 Point point
           
 java.lang.String query
           
 
Constructor Summary
GeoCodingPostRequest()
          Constructor of class.
 
Method Summary
 java.util.List<java.lang.Long> getLayersId()
           
 Point getPoint()
           
 java.lang.String getQuery()
           
 void setLayersId(java.util.List<java.lang.Long> layersId)
          set list of layers id, which is a search
 void setPoint(Point point)
          set 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

point

public Point point

layersId

public java.util.List<java.lang.Long> layersId
Constructor Detail

GeoCodingPostRequest

public GeoCodingPostRequest()
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

getPoint

public Point getPoint()
Returns:
point - center of the map

setPoint

public void setPoint(Point point)
set center of the map

Parameters:
point - center of the map

getLayersId

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

setLayersId

public void setLayersId(java.util.List<java.lang.Long> layersId)
set list of layers id, which is a search

Parameters:
layersId - List 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.