package com.se.nsl.domain.vo;
|
|
@SuppressWarnings("ALL")
|
public class QueryVo {
|
private Integer start;
|
|
private Integer count;
|
|
private String layerid;
|
|
private Boolean containCount;
|
|
private String where;
|
|
private String geometry;
|
|
private Double buffer;
|
|
private Boolean returnGeom;
|
|
public QueryVo() {
|
}
|
|
public void setDefault() {
|
if (null == start || start < 1) start = 1;
|
if (null == count || count < 0) count = 10;
|
if (count > 10000) count = 10000;
|
if (null == containCount) containCount = false;
|
if (null == returnGeom) returnGeom = false;
|
}
|
|
public int getCount() {
|
return count;
|
}
|
|
public void setCount(int count) {
|
this.count = count;
|
}
|
|
public String getLayerid() {
|
return layerid;
|
}
|
|
public void setLayerid(String layerid) {
|
this.layerid = layerid;
|
}
|
|
public boolean isContainCount() {
|
return containCount;
|
}
|
|
public void setContainCount(boolean containCount) {
|
this.containCount = containCount;
|
}
|
|
public String getWhere() {
|
return where;
|
}
|
|
public void setWhere(String where) {
|
this.where = where;
|
}
|
|
public Integer getStart() {
|
return start;
|
}
|
|
public void setStart(Integer start) {
|
this.start = start;
|
}
|
|
public void setCount(Integer count) {
|
this.count = count;
|
}
|
|
public Boolean getContainCount() {
|
return containCount;
|
}
|
|
public void setContainCount(Boolean containCount) {
|
this.containCount = containCount;
|
}
|
|
public String getGeometry() {
|
return geometry;
|
}
|
|
public void setGeometry(String geometry) {
|
this.geometry = geometry;
|
}
|
|
public Double getBuffer() {
|
return buffer;
|
}
|
|
public void setBuffer(Double buffer) {
|
this.buffer = buffer;
|
}
|
|
public Boolean getReturnGeom() {
|
return returnGeom;
|
}
|
|
public void setReturnGeom(Boolean returnGeom) {
|
this.returnGeom = returnGeom;
|
}
|
}
|