org.geomajas.command.dto
Class SearchByLocationResponse
java.lang.Object
org.geomajas.command.CommandResponse
org.geomajas.command.dto.SearchByLocationResponse
- All Implemented Interfaces:
- Serializable
@Api(allMethods=true)
public class SearchByLocationResponse
- extends CommandResponse
Response object for SearchByLocationCommand.
- Since:
- 1.6.0
- Author:
- Jan De Moerloose, Pieter De Graef, Joachim Van der Auwera
- See Also:
- Serialized Form
SearchByLocationResponse
public SearchByLocationResponse()
addLayer
public boolean addLayer(String layerId,
List<Feature> features)
- Add a features for a layer in the response. Only adds features for a layer once.
- Parameters:
layerId - layer idfeatures - features
- Returns:
- true when features were added, false when response already contained features for the layer
getFeatureMap
public Map<String,List<Feature>> getFeatureMap()
- Get map with features. The map key is the layer id, the value are the found features.
- Returns:
- features map
setFeatureMap
public void setFeatureMap(Map<String,List<Feature>> featureMap)
- Set map with features. The map key is the layer id, the value are the found features.
- Parameters:
featureMap - features map
toString
public String toString()
- Overrides:
toString in class CommandResponse
Copyright © 2014 Geosparc. All Rights Reserved.