
org.geomajas.command.dto.SearchAttributesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of geomajas-command Show documentation
Show all versions of geomajas-command Show documentation
Geomajas server: Main - commands
The newest version!
/*
* This is part of Geomajas, a GIS framework, http://www.geomajas.org/.
*
* Copyright 2008-2016 Geosparc nv, http://www.geosparc.com/, Belgium.
*
* The program is available in open source according to the GNU Affero
* General Public License. All contributions in this program are covered
* by the Geomajas Contributors License Agreement. For full licensing
* details, see LICENSE.txt in the project root.
*/
package org.geomajas.command.dto;
import org.geomajas.command.LayerIdCommandRequest;
/**
* Request object for {@link org.geomajas.command.feature.SearchAttributesCommand}.
*
* @author Pieter De Graef
*/
public class SearchAttributesRequest extends LayerIdCommandRequest {
private static final long serialVersionUID = 154L;
/**
* Command name for this request.
*
* @since 1.9.0
* */
public static final String COMMAND = "command.feature.SearchAttributes";
private String attributePath;
private String filter;
// Constructors:
public SearchAttributesRequest() {
}
public SearchAttributesRequest(String layerId, String attributePath) {
setLayerId(layerId);
this.attributePath = attributePath;
}
public SearchAttributesRequest(String layerId, String attributePath, String filter) {
setLayerId(layerId);
this.attributePath = attributePath;
this.filter = filter;
}
// Getters and setters:
public String getAttributePath() {
return attributePath;
}
public void setAttributePath(String attributePath) {
this.attributePath = attributePath;
}
public String getFilter() {
return filter;
}
public void setFilter(String filter) {
this.filter = filter;
}
@Override
public String toString() {
return "SearchAttributesRequest{" +
"attributePath='" + attributePath + '\'' +
", filter='" + filter + '\'' +
'}';
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy