package com.se.simu.domain.vo;
|
|
import com.se.simu.helper.StringHelper;
|
|
@SuppressWarnings("ALL")
|
public class QueryVo {
|
private String token;
|
|
private Integer start;
|
|
private Integer count;
|
|
private String dbid;
|
|
private String layerid;
|
|
private Boolean containCount;
|
|
private String where;
|
|
private String querytype;
|
|
private String geometry;
|
|
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 (StringHelper.isEmpty(querytype)) querytype = "entity";
|
}
|
|
public String getToken() {
|
return token;
|
}
|
|
public void setToken(String token) {
|
this.token = token;
|
}
|
|
public int getCount() {
|
return count;
|
}
|
|
public void setCount(int count) {
|
this.count = count;
|
}
|
|
public String getDbid() {
|
return dbid;
|
}
|
|
public void setDbid(String dbid) {
|
this.dbid = dbid;
|
}
|
|
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 String getQuerytype() {
|
return querytype;
|
}
|
|
public void setQuerytype(String querytype) {
|
this.querytype = querytype;
|
}
|
|
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;
|
}
|
}
|