package com.miniframe.model.es; import java.util.ArrayList; import java.util.Date; import java.util.List; public class EsComSQLBuilder { protected String orderByClause; protected boolean distinct; protected List oredCriteria; public EsComSQLBuilder() { oredCriteria = new ArrayList(); } public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } public String getOrderByClause() { return orderByClause; } public void setDistinct(boolean distinct) { this.distinct = distinct; } public boolean isDistinct() { return distinct; } public List getOredCriteria() { return oredCriteria; } public void or(Criteria criteria) { oredCriteria.add(criteria); } public Criteria or() { Criteria criteria = createCriteriaInternal(); oredCriteria.add(criteria); return criteria; } public Criteria createCriteria() { Criteria criteria = createCriteriaInternal(); if (oredCriteria.size() == 0) { oredCriteria.add(criteria); } return criteria; } protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } protected abstract static class GeneratedCriteria { protected List criteria; protected GeneratedCriteria() { super(); criteria = new ArrayList(); } public boolean isValid() { return criteria.size() > 0; } public List getAllCriteria() { return criteria; } public List getCriteria() { return criteria; } protected void addCriterion(String condition) { if (condition == null) { throw new RuntimeException("Value for condition cannot be null"); } criteria.add(new Criterion(condition)); } protected void addCriterion(String condition, Object value, String property) { if (value == null) { throw new RuntimeException("Value for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value)); } protected void addCriterion(String condition, Object value1, Object value2, String property) { if (value1 == null || value2 == null) { throw new RuntimeException("Between values for " + property + " cannot be null"); } criteria.add(new Criterion(condition, value1, value2)); } public Criteria andComIdIsNull() { addCriterion("com_id is null"); return (Criteria) this; } public Criteria andComIdIsNotNull() { addCriterion("com_id is not null"); return (Criteria) this; } public Criteria andComIdEqualTo(String value) { addCriterion("com_id =", value, "comId"); return (Criteria) this; } public Criteria andComIdNotEqualTo(String value) { addCriterion("com_id <>", value, "comId"); return (Criteria) this; } public Criteria andComIdGreaterThan(String value) { addCriterion("com_id >", value, "comId"); return (Criteria) this; } public Criteria andComIdGreaterThanOrEqualTo(String value) { addCriterion("com_id >=", value, "comId"); return (Criteria) this; } public Criteria andComIdLessThan(String value) { addCriterion("com_id <", value, "comId"); return (Criteria) this; } public Criteria andComIdLessThanOrEqualTo(String value) { addCriterion("com_id <=", value, "comId"); return (Criteria) this; } public Criteria andComIdLike(String value) { addCriterion("com_id like", value, "comId"); return (Criteria) this; } public Criteria andComIdNotLike(String value) { addCriterion("com_id not like", value, "comId"); return (Criteria) this; } public Criteria andComIdIn(List values) { addCriterion("com_id in", values, "comId"); return (Criteria) this; } public Criteria andComIdNotIn(List values) { addCriterion("com_id not in", values, "comId"); return (Criteria) this; } public Criteria andComIdBetween(String value1, String value2) { addCriterion("com_id between", value1, value2, "comId"); return (Criteria) this; } public Criteria andComIdNotBetween(String value1, String value2) { addCriterion("com_id not between", value1, value2, "comId"); return (Criteria) this; } public Criteria andNameIsNull() { addCriterion("name is null"); return (Criteria) this; } public Criteria andNameIsNotNull() { addCriterion("name is not null"); return (Criteria) this; } public Criteria andNameEqualTo(String value) { addCriterion("name =", value, "name"); return (Criteria) this; } public Criteria andNameNotEqualTo(String value) { addCriterion("name <>", value, "name"); return (Criteria) this; } public Criteria andNameGreaterThan(String value) { addCriterion("name >", value, "name"); return (Criteria) this; } public Criteria andNameGreaterThanOrEqualTo(String value) { addCriterion("name >=", value, "name"); return (Criteria) this; } public Criteria andNameLessThan(String value) { addCriterion("name <", value, "name"); return (Criteria) this; } public Criteria andNameLessThanOrEqualTo(String value) { addCriterion("name <=", value, "name"); return (Criteria) this; } public Criteria andNameLike(String value) { addCriterion("name like", value, "name"); return (Criteria) this; } public Criteria andNameNotLike(String value) { addCriterion("name not like", value, "name"); return (Criteria) this; } public Criteria andNameIn(List values) { addCriterion("name in", values, "name"); return (Criteria) this; } public Criteria andNameNotIn(List values) { addCriterion("name not in", values, "name"); return (Criteria) this; } public Criteria andNameBetween(String value1, String value2) { addCriterion("name between", value1, value2, "name"); return (Criteria) this; } public Criteria andNameNotBetween(String value1, String value2) { addCriterion("name not between", value1, value2, "name"); return (Criteria) this; } public Criteria andFtypeIsNull() { addCriterion("ftype is null"); return (Criteria) this; } public Criteria andFtypeIsNotNull() { addCriterion("ftype is not null"); return (Criteria) this; } public Criteria andFtypeEqualTo(Short value) { addCriterion("ftype =", value, "ftype"); return (Criteria) this; } public Criteria andFtypeNotEqualTo(Short value) { addCriterion("ftype <>", value, "ftype"); return (Criteria) this; } public Criteria andFtypeGreaterThan(Short value) { addCriterion("ftype >", value, "ftype"); return (Criteria) this; } public Criteria andFtypeGreaterThanOrEqualTo(Short value) { addCriterion("ftype >=", value, "ftype"); return (Criteria) this; } public Criteria andFtypeLessThan(Short value) { addCriterion("ftype <", value, "ftype"); return (Criteria) this; } public Criteria andFtypeLessThanOrEqualTo(Short value) { addCriterion("ftype <=", value, "ftype"); return (Criteria) this; } public Criteria andFtypeIn(List values) { addCriterion("ftype in", values, "ftype"); return (Criteria) this; } public Criteria andFtypeNotIn(List values) { addCriterion("ftype not in", values, "ftype"); return (Criteria) this; } public Criteria andFtypeBetween(Short value1, Short value2) { addCriterion("ftype between", value1, value2, "ftype"); return (Criteria) this; } public Criteria andFtypeNotBetween(Short value1, Short value2) { addCriterion("ftype not between", value1, value2, "ftype"); return (Criteria) this; } public Criteria andImageIsNull() { addCriterion("image is null"); return (Criteria) this; } public Criteria andImageIsNotNull() { addCriterion("image is not null"); return (Criteria) this; } public Criteria andImageEqualTo(String value) { addCriterion("image =", value, "image"); return (Criteria) this; } public Criteria andImageNotEqualTo(String value) { addCriterion("image <>", value, "image"); return (Criteria) this; } public Criteria andImageGreaterThan(String value) { addCriterion("image >", value, "image"); return (Criteria) this; } public Criteria andImageGreaterThanOrEqualTo(String value) { addCriterion("image >=", value, "image"); return (Criteria) this; } public Criteria andImageLessThan(String value) { addCriterion("image <", value, "image"); return (Criteria) this; } public Criteria andImageLessThanOrEqualTo(String value) { addCriterion("image <=", value, "image"); return (Criteria) this; } public Criteria andImageLike(String value) { addCriterion("image like", value, "image"); return (Criteria) this; } public Criteria andImageNotLike(String value) { addCriterion("image not like", value, "image"); return (Criteria) this; } public Criteria andImageIn(List values) { addCriterion("image in", values, "image"); return (Criteria) this; } public Criteria andImageNotIn(List values) { addCriterion("image not in", values, "image"); return (Criteria) this; } public Criteria andImageBetween(String value1, String value2) { addCriterion("image between", value1, value2, "image"); return (Criteria) this; } public Criteria andImageNotBetween(String value1, String value2) { addCriterion("image not between", value1, value2, "image"); return (Criteria) this; } public Criteria andUidIsNull() { addCriterion("uid is null"); return (Criteria) this; } public Criteria andUidIsNotNull() { addCriterion("uid is not null"); return (Criteria) this; } public Criteria andUidEqualTo(String value) { addCriterion("uid =", value, "uid"); return (Criteria) this; } public Criteria andUidNotEqualTo(String value) { addCriterion("uid <>", value, "uid"); return (Criteria) this; } public Criteria andUidGreaterThan(String value) { addCriterion("uid >", value, "uid"); return (Criteria) this; } public Criteria andUidGreaterThanOrEqualTo(String value) { addCriterion("uid >=", value, "uid"); return (Criteria) this; } public Criteria andUidLessThan(String value) { addCriterion("uid <", value, "uid"); return (Criteria) this; } public Criteria andUidLessThanOrEqualTo(String value) { addCriterion("uid <=", value, "uid"); return (Criteria) this; } public Criteria andUidLike(String value) { addCriterion("uid like", value, "uid"); return (Criteria) this; } public Criteria andUidNotLike(String value) { addCriterion("uid not like", value, "uid"); return (Criteria) this; } public Criteria andUidIn(List values) { addCriterion("uid in", values, "uid"); return (Criteria) this; } public Criteria andUidNotIn(List values) { addCriterion("uid not in", values, "uid"); return (Criteria) this; } public Criteria andUidBetween(String value1, String value2) { addCriterion("uid between", value1, value2, "uid"); return (Criteria) this; } public Criteria andUidNotBetween(String value1, String value2) { addCriterion("uid not between", value1, value2, "uid"); return (Criteria) this; } public Criteria andRemarkIsNull() { addCriterion("remark is null"); return (Criteria) this; } public Criteria andRemarkIsNotNull() { addCriterion("remark is not null"); return (Criteria) this; } public Criteria andRemarkEqualTo(String value) { addCriterion("remark =", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotEqualTo(String value) { addCriterion("remark <>", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThan(String value) { addCriterion("remark >", value, "remark"); return (Criteria) this; } public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("remark >=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThan(String value) { addCriterion("remark <", value, "remark"); return (Criteria) this; } public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("remark <=", value, "remark"); return (Criteria) this; } public Criteria andRemarkLike(String value) { addCriterion("remark like", value, "remark"); return (Criteria) this; } public Criteria andRemarkNotLike(String value) { addCriterion("remark not like", value, "remark"); return (Criteria) this; } public Criteria andRemarkIn(List values) { addCriterion("remark in", values, "remark"); return (Criteria) this; } public Criteria andRemarkNotIn(List values) { addCriterion("remark not in", values, "remark"); return (Criteria) this; } public Criteria andRemarkBetween(String value1, String value2) { addCriterion("remark between", value1, value2, "remark"); return (Criteria) this; } public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("remark not between", value1, value2, "remark"); return (Criteria) this; } public Criteria andCreateTimeIsNull() { addCriterion("create_time is null"); return (Criteria) this; } public Criteria andCreateTimeIsNotNull() { addCriterion("create_time is not null"); return (Criteria) this; } public Criteria andCreateTimeEqualTo(Date value) { addCriterion("create_time =", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotEqualTo(Date value) { addCriterion("create_time <>", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeGreaterThan(Date value) { addCriterion("create_time >", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { addCriterion("create_time >=", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLessThan(Date value) { addCriterion("create_time <", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeLessThanOrEqualTo(Date value) { addCriterion("create_time <=", value, "createTime"); return (Criteria) this; } public Criteria andCreateTimeIn(List values) { addCriterion("create_time in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotIn(List values) { addCriterion("create_time not in", values, "createTime"); return (Criteria) this; } public Criteria andCreateTimeBetween(Date value1, Date value2) { addCriterion("create_time between", value1, value2, "createTime"); return (Criteria) this; } public Criteria andCreateTimeNotBetween(Date value1, Date value2) { addCriterion("create_time not between", value1, value2, "createTime"); return (Criteria) this; } public Criteria andUpdateTimeIsNull() { addCriterion("update_time is null"); return (Criteria) this; } public Criteria andUpdateTimeIsNotNull() { addCriterion("update_time is not null"); return (Criteria) this; } public Criteria andUpdateTimeEqualTo(Date value) { addCriterion("update_time =", value, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeNotEqualTo(Date value) { addCriterion("update_time <>", value, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeGreaterThan(Date value) { addCriterion("update_time >", value, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) { addCriterion("update_time >=", value, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeLessThan(Date value) { addCriterion("update_time <", value, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeLessThanOrEqualTo(Date value) { addCriterion("update_time <=", value, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeIn(List values) { addCriterion("update_time in", values, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeNotIn(List values) { addCriterion("update_time not in", values, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeBetween(Date value1, Date value2) { addCriterion("update_time between", value1, value2, "updateTime"); return (Criteria) this; } public Criteria andUpdateTimeNotBetween(Date value1, Date value2) { addCriterion("update_time not between", value1, value2, "updateTime"); return (Criteria) this; } public Criteria andFlagIsNull() { addCriterion("flag is null"); return (Criteria) this; } public Criteria andFlagIsNotNull() { addCriterion("flag is not null"); return (Criteria) this; } public Criteria andFlagEqualTo(Short value) { addCriterion("flag =", value, "flag"); return (Criteria) this; } public Criteria andFlagNotEqualTo(Short value) { addCriterion("flag <>", value, "flag"); return (Criteria) this; } public Criteria andFlagGreaterThan(Short value) { addCriterion("flag >", value, "flag"); return (Criteria) this; } public Criteria andFlagGreaterThanOrEqualTo(Short value) { addCriterion("flag >=", value, "flag"); return (Criteria) this; } public Criteria andFlagLessThan(Short value) { addCriterion("flag <", value, "flag"); return (Criteria) this; } public Criteria andFlagLessThanOrEqualTo(Short value) { addCriterion("flag <=", value, "flag"); return (Criteria) this; } public Criteria andFlagIn(List values) { addCriterion("flag in", values, "flag"); return (Criteria) this; } public Criteria andFlagNotIn(List values) { addCriterion("flag not in", values, "flag"); return (Criteria) this; } public Criteria andFlagBetween(Short value1, Short value2) { addCriterion("flag between", value1, value2, "flag"); return (Criteria) this; } public Criteria andFlagNotBetween(Short value1, Short value2) { addCriterion("flag not between", value1, value2, "flag"); return (Criteria) this; } public Criteria andIdCodeIsNull() { addCriterion("id_code is null"); return (Criteria) this; } public Criteria andIdCodeIsNotNull() { addCriterion("id_code is not null"); return (Criteria) this; } public Criteria andIdCodeEqualTo(String value) { addCriterion("id_code =", value, "idCode"); return (Criteria) this; } public Criteria andIdCodeNotEqualTo(String value) { addCriterion("id_code <>", value, "idCode"); return (Criteria) this; } public Criteria andIdCodeGreaterThan(String value) { addCriterion("id_code >", value, "idCode"); return (Criteria) this; } public Criteria andIdCodeGreaterThanOrEqualTo(String value) { addCriterion("id_code >=", value, "idCode"); return (Criteria) this; } public Criteria andIdCodeLessThan(String value) { addCriterion("id_code <", value, "idCode"); return (Criteria) this; } public Criteria andIdCodeLessThanOrEqualTo(String value) { addCriterion("id_code <=", value, "idCode"); return (Criteria) this; } public Criteria andIdCodeLike(String value) { addCriterion("id_code like", value, "idCode"); return (Criteria) this; } public Criteria andIdCodeNotLike(String value) { addCriterion("id_code not like", value, "idCode"); return (Criteria) this; } public Criteria andIdCodeIn(List values) { addCriterion("id_code in", values, "idCode"); return (Criteria) this; } public Criteria andIdCodeNotIn(List values) { addCriterion("id_code not in", values, "idCode"); return (Criteria) this; } public Criteria andIdCodeBetween(String value1, String value2) { addCriterion("id_code between", value1, value2, "idCode"); return (Criteria) this; } public Criteria andIdCodeNotBetween(String value1, String value2) { addCriterion("id_code not between", value1, value2, "idCode"); return (Criteria) this; } public Criteria andTypeIsNull() { addCriterion("type is null"); return (Criteria) this; } public Criteria andTypeIsNotNull() { addCriterion("type is not null"); return (Criteria) this; } public Criteria andTypeEqualTo(String value) { addCriterion("type =", value, "type"); return (Criteria) this; } public Criteria andTypeNotEqualTo(String value) { addCriterion("type <>", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThan(String value) { addCriterion("type >", value, "type"); return (Criteria) this; } public Criteria andTypeGreaterThanOrEqualTo(String value) { addCriterion("type >=", value, "type"); return (Criteria) this; } public Criteria andTypeLessThan(String value) { addCriterion("type <", value, "type"); return (Criteria) this; } public Criteria andTypeLessThanOrEqualTo(String value) { addCriterion("type <=", value, "type"); return (Criteria) this; } public Criteria andTypeLike(String value) { addCriterion("type like", value, "type"); return (Criteria) this; } public Criteria andTypeNotLike(String value) { addCriterion("type not like", value, "type"); return (Criteria) this; } public Criteria andTypeIn(List values) { addCriterion("type in", values, "type"); return (Criteria) this; } public Criteria andTypeNotIn(List values) { addCriterion("type not in", values, "type"); return (Criteria) this; } public Criteria andTypeBetween(String value1, String value2) { addCriterion("type between", value1, value2, "type"); return (Criteria) this; } public Criteria andTypeNotBetween(String value1, String value2) { addCriterion("type not between", value1, value2, "type"); return (Criteria) this; } public Criteria andCodeIsNull() { addCriterion("code is null"); return (Criteria) this; } public Criteria andCodeIsNotNull() { addCriterion("code is not null"); return (Criteria) this; } public Criteria andCodeEqualTo(String value) { addCriterion("code =", value, "code"); return (Criteria) this; } public Criteria andCodeNotEqualTo(String value) { addCriterion("code <>", value, "code"); return (Criteria) this; } public Criteria andCodeGreaterThan(String value) { addCriterion("code >", value, "code"); return (Criteria) this; } public Criteria andCodeGreaterThanOrEqualTo(String value) { addCriterion("code >=", value, "code"); return (Criteria) this; } public Criteria andCodeLessThan(String value) { addCriterion("code <", value, "code"); return (Criteria) this; } public Criteria andCodeLessThanOrEqualTo(String value) { addCriterion("code <=", value, "code"); return (Criteria) this; } public Criteria andCodeLike(String value) { addCriterion("code like", value, "code"); return (Criteria) this; } public Criteria andCodeNotLike(String value) { addCriterion("code not like", value, "code"); return (Criteria) this; } public Criteria andCodeIn(List values) { addCriterion("code in", values, "code"); return (Criteria) this; } public Criteria andCodeNotIn(List values) { addCriterion("code not in", values, "code"); return (Criteria) this; } public Criteria andCodeBetween(String value1, String value2) { addCriterion("code between", value1, value2, "code"); return (Criteria) this; } public Criteria andCodeNotBetween(String value1, String value2) { addCriterion("code not between", value1, value2, "code"); return (Criteria) this; } public Criteria andPtcomIsNull() { addCriterion("ptcom is null"); return (Criteria) this; } public Criteria andPtcomIsNotNull() { addCriterion("ptcom is not null"); return (Criteria) this; } public Criteria andPtcomEqualTo(Integer value) { addCriterion("ptcom =", value, "ptcom"); return (Criteria) this; } public Criteria andPtcomNotEqualTo(Integer value) { addCriterion("ptcom <>", value, "ptcom"); return (Criteria) this; } public Criteria andPtcomGreaterThan(Integer value) { addCriterion("ptcom >", value, "ptcom"); return (Criteria) this; } public Criteria andPtcomGreaterThanOrEqualTo(Integer value) { addCriterion("ptcom >=", value, "ptcom"); return (Criteria) this; } public Criteria andPtcomLessThan(Integer value) { addCriterion("ptcom <", value, "ptcom"); return (Criteria) this; } public Criteria andPtcomLessThanOrEqualTo(Integer value) { addCriterion("ptcom <=", value, "ptcom"); return (Criteria) this; } public Criteria andPtcomIn(List values) { addCriterion("ptcom in", values, "ptcom"); return (Criteria) this; } public Criteria andPtcomNotIn(List values) { addCriterion("ptcom not in", values, "ptcom"); return (Criteria) this; } public Criteria andPtcomBetween(Integer value1, Integer value2) { addCriterion("ptcom between", value1, value2, "ptcom"); return (Criteria) this; } public Criteria andPtcomNotBetween(Integer value1, Integer value2) { addCriterion("ptcom not between", value1, value2, "ptcom"); return (Criteria) this; } public Criteria andPtsiteIsNull() { addCriterion("ptsite is null"); return (Criteria) this; } public Criteria andPtsiteIsNotNull() { addCriterion("ptsite is not null"); return (Criteria) this; } public Criteria andPtsiteEqualTo(String value) { addCriterion("ptsite =", value, "ptsite"); return (Criteria) this; } public Criteria andPtsiteNotEqualTo(String value) { addCriterion("ptsite <>", value, "ptsite"); return (Criteria) this; } public Criteria andPtsiteGreaterThan(String value) { addCriterion("ptsite >", value, "ptsite"); return (Criteria) this; } public Criteria andPtsiteGreaterThanOrEqualTo(String value) { addCriterion("ptsite >=", value, "ptsite"); return (Criteria) this; } public Criteria andPtsiteLessThan(String value) { addCriterion("ptsite <", value, "ptsite"); return (Criteria) this; } public Criteria andPtsiteLessThanOrEqualTo(String value) { addCriterion("ptsite <=", value, "ptsite"); return (Criteria) this; } public Criteria andPtsiteLike(String value) { addCriterion("ptsite like", value, "ptsite"); return (Criteria) this; } public Criteria andPtsiteNotLike(String value) { addCriterion("ptsite not like", value, "ptsite"); return (Criteria) this; } public Criteria andPtsiteIn(List values) { addCriterion("ptsite in", values, "ptsite"); return (Criteria) this; } public Criteria andPtsiteNotIn(List values) { addCriterion("ptsite not in", values, "ptsite"); return (Criteria) this; } public Criteria andPtsiteBetween(String value1, String value2) { addCriterion("ptsite between", value1, value2, "ptsite"); return (Criteria) this; } public Criteria andPtsiteNotBetween(String value1, String value2) { addCriterion("ptsite not between", value1, value2, "ptsite"); return (Criteria) this; } } public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } public static class Criterion { private String condition; private Object value; private Object secondValue; private boolean noValue; private boolean singleValue; private boolean betweenValue; private boolean listValue; private String typeHandler; public String getCondition() { return condition; } public Object getValue() { return value; } public Object getSecondValue() { return secondValue; } public boolean isNoValue() { return noValue; } public boolean isSingleValue() { return singleValue; } public boolean isBetweenValue() { return betweenValue; } public boolean isListValue() { return listValue; } public String getTypeHandler() { return typeHandler; } protected Criterion(String condition) { super(); this.condition = condition; this.typeHandler = null; this.noValue = true; } protected Criterion(String condition, Object value, String typeHandler) { super(); this.condition = condition; this.value = value; this.typeHandler = typeHandler; if (value instanceof List) { this.listValue = true; } else { this.singleValue = true; } } protected Criterion(String condition, Object value) { this(condition, value, null); } protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { super(); this.condition = condition; this.value = value; this.secondValue = secondValue; this.typeHandler = typeHandler; this.betweenValue = true; } protected Criterion(String condition, Object value, Object secondValue) { this(condition, value, secondValue, null); } } }