package com.gyee.frame.model.auto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WfpfdataExample {
    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    public WfpfdataExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> 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 andWindplantNoIsNull() {
            addCriterion("WINDPLANT_NO is null");
            return (Criteria) this;
        }

        public Criteria andWindplantNoIsNotNull() {
            addCriterion("WINDPLANT_NO is not null");
            return (Criteria) this;
        }

        public Criteria andWindplantNoEqualTo(Short value) {
            addCriterion("WINDPLANT_NO =", value, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoNotEqualTo(Short value) {
            addCriterion("WINDPLANT_NO <>", value, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoGreaterThan(Short value) {
            addCriterion("WINDPLANT_NO >", value, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoGreaterThanOrEqualTo(Short value) {
            addCriterion("WINDPLANT_NO >=", value, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoLessThan(Short value) {
            addCriterion("WINDPLANT_NO <", value, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoLessThanOrEqualTo(Short value) {
            addCriterion("WINDPLANT_NO <=", value, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoIn(List<Short> values) {
            addCriterion("WINDPLANT_NO in", values, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoNotIn(List<Short> values) {
            addCriterion("WINDPLANT_NO not in", values, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoBetween(Short value1, Short value2) {
            addCriterion("WINDPLANT_NO between", value1, value2, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andWindplantNoNotBetween(Short value1, Short value2) {
            addCriterion("WINDPLANT_NO not between", value1, value2, "windplantNo");
            return (Criteria) this;
        }

        public Criteria andModelNoIsNull() {
            addCriterion("MODEL_NO is null");
            return (Criteria) this;
        }

        public Criteria andModelNoIsNotNull() {
            addCriterion("MODEL_NO is not null");
            return (Criteria) this;
        }

        public Criteria andModelNoEqualTo(Integer value) {
            addCriterion("MODEL_NO =", value, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoNotEqualTo(Integer value) {
            addCriterion("MODEL_NO <>", value, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoGreaterThan(Integer value) {
            addCriterion("MODEL_NO >", value, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoGreaterThanOrEqualTo(Integer value) {
            addCriterion("MODEL_NO >=", value, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoLessThan(Integer value) {
            addCriterion("MODEL_NO <", value, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoLessThanOrEqualTo(Integer value) {
            addCriterion("MODEL_NO <=", value, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoIn(List<Integer> values) {
            addCriterion("MODEL_NO in", values, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoNotIn(List<Integer> values) {
            addCriterion("MODEL_NO not in", values, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoBetween(Integer value1, Integer value2) {
            addCriterion("MODEL_NO between", value1, value2, "modelNo");
            return (Criteria) this;
        }

        public Criteria andModelNoNotBetween(Integer value1, Integer value2) {
            addCriterion("MODEL_NO not between", value1, value2, "modelNo");
            return (Criteria) this;
        }

        public Criteria andDataTimeIsNull() {
            addCriterion("DATA_TIME is null");
            return (Criteria) this;
        }

        public Criteria andDataTimeIsNotNull() {
            addCriterion("DATA_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andDataTimeEqualTo(Date value) {
            addCriterion("DATA_TIME =", value, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeNotEqualTo(Date value) {
            addCriterion("DATA_TIME <>", value, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeGreaterThan(Date value) {
            addCriterion("DATA_TIME >", value, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("DATA_TIME >=", value, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeLessThan(Date value) {
            addCriterion("DATA_TIME <", value, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeLessThanOrEqualTo(Date value) {
            addCriterion("DATA_TIME <=", value, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeIn(List<Date> values) {
            addCriterion("DATA_TIME in", values, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeNotIn(List<Date> values) {
            addCriterion("DATA_TIME not in", values, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeBetween(Date value1, Date value2) {
            addCriterion("DATA_TIME between", value1, value2, "dataTime");
            return (Criteria) this;
        }

        public Criteria andDataTimeNotBetween(Date value1, Date value2) {
            addCriterion("DATA_TIME not between", value1, value2, "dataTime");
            return (Criteria) this;
        }

        public Criteria andNrmseIsNull() {
            addCriterion("NRMSE is null");
            return (Criteria) this;
        }

        public Criteria andNrmseIsNotNull() {
            addCriterion("NRMSE is not null");
            return (Criteria) this;
        }

        public Criteria andNrmseEqualTo(Double value) {
            addCriterion("NRMSE =", value, "nrmse");
            return (Criteria) this;
        }

        public Criteria andNrmseNotEqualTo(Double value) {
            addCriterion("NRMSE <>", value, "nrmse");
            return (Criteria) this;
        }

        public Criteria andNrmseGreaterThan(Double value) {
            addCriterion("NRMSE >", value, "nrmse");
            return (Criteria) this;
        }

        public Criteria andNrmseGreaterThanOrEqualTo(Double value) {
            addCriterion("NRMSE >=", value, "nrmse");
            return (Criteria) this;
        }

        public Criteria andNrmseLessThan(Double value) {
            addCriterion("NRMSE <", value, "nrmse");
            return (Criteria) this;
        }

        public Criteria andNrmseLessThanOrEqualTo(Double value) {
            addCriterion("NRMSE <=", value, "nrmse");
            return (Criteria) this;
        }

        public Criteria andNrmseIn(List<Double> values) {
            addCriterion("NRMSE in", values, "nrmse");
            return (Criteria) this;
        }

        public Criteria andNrmseNotIn(List<Double> values) {
            addCriterion("NRMSE not in", values, "nrmse");
            return (Criteria) this;
        }

        public Criteria andNrmseBetween(Double value1, Double value2) {
            addCriterion("NRMSE between", value1, value2, "nrmse");
            return (Criteria) this;
        }

        public Criteria andNrmseNotBetween(Double value1, Double value2) {
            addCriterion("NRMSE not between", value1, value2, "nrmse");
            return (Criteria) this;
        }

        public Criteria andNmaeIsNull() {
            addCriterion("NMAE is null");
            return (Criteria) this;
        }

        public Criteria andNmaeIsNotNull() {
            addCriterion("NMAE is not null");
            return (Criteria) this;
        }

        public Criteria andNmaeEqualTo(Double value) {
            addCriterion("NMAE =", value, "nmae");
            return (Criteria) this;
        }

        public Criteria andNmaeNotEqualTo(Double value) {
            addCriterion("NMAE <>", value, "nmae");
            return (Criteria) this;
        }

        public Criteria andNmaeGreaterThan(Double value) {
            addCriterion("NMAE >", value, "nmae");
            return (Criteria) this;
        }

        public Criteria andNmaeGreaterThanOrEqualTo(Double value) {
            addCriterion("NMAE >=", value, "nmae");
            return (Criteria) this;
        }

        public Criteria andNmaeLessThan(Double value) {
            addCriterion("NMAE <", value, "nmae");
            return (Criteria) this;
        }

        public Criteria andNmaeLessThanOrEqualTo(Double value) {
            addCriterion("NMAE <=", value, "nmae");
            return (Criteria) this;
        }

        public Criteria andNmaeIn(List<Double> values) {
            addCriterion("NMAE in", values, "nmae");
            return (Criteria) this;
        }

        public Criteria andNmaeNotIn(List<Double> values) {
            addCriterion("NMAE not in", values, "nmae");
            return (Criteria) this;
        }

        public Criteria andNmaeBetween(Double value1, Double value2) {
            addCriterion("NMAE between", value1, value2, "nmae");
            return (Criteria) this;
        }

        public Criteria andNmaeNotBetween(Double value1, Double value2) {
            addCriterion("NMAE not between", value1, value2, "nmae");
            return (Criteria) this;
        }

        public Criteria andBiasIsNull() {
            addCriterion("BIAS is null");
            return (Criteria) this;
        }

        public Criteria andBiasIsNotNull() {
            addCriterion("BIAS is not null");
            return (Criteria) this;
        }

        public Criteria andBiasEqualTo(Double value) {
            addCriterion("BIAS =", value, "bias");
            return (Criteria) this;
        }

        public Criteria andBiasNotEqualTo(Double value) {
            addCriterion("BIAS <>", value, "bias");
            return (Criteria) this;
        }

        public Criteria andBiasGreaterThan(Double value) {
            addCriterion("BIAS >", value, "bias");
            return (Criteria) this;
        }

        public Criteria andBiasGreaterThanOrEqualTo(Double value) {
            addCriterion("BIAS >=", value, "bias");
            return (Criteria) this;
        }

        public Criteria andBiasLessThan(Double value) {
            addCriterion("BIAS <", value, "bias");
            return (Criteria) this;
        }

        public Criteria andBiasLessThanOrEqualTo(Double value) {
            addCriterion("BIAS <=", value, "bias");
            return (Criteria) this;
        }

        public Criteria andBiasIn(List<Double> values) {
            addCriterion("BIAS in", values, "bias");
            return (Criteria) this;
        }

        public Criteria andBiasNotIn(List<Double> values) {
            addCriterion("BIAS not in", values, "bias");
            return (Criteria) this;
        }

        public Criteria andBiasBetween(Double value1, Double value2) {
            addCriterion("BIAS between", value1, value2, "bias");
            return (Criteria) this;
        }

        public Criteria andBiasNotBetween(Double value1, Double value2) {
            addCriterion("BIAS not between", value1, value2, "bias");
            return (Criteria) this;
        }

        public Criteria andCorrelationCoeffIsNull() {
            addCriterion("CORRELATION_COEFF is null");
            return (Criteria) this;
        }

        public Criteria andCorrelationCoeffIsNotNull() {
            addCriterion("CORRELATION_COEFF is not null");
            return (Criteria) this;
        }

        public Criteria andCorrelationCoeffEqualTo(Double value) {
            addCriterion("CORRELATION_COEFF =", value, "correlationCoeff");
            return (Criteria) this;
        }

        public Criteria andCorrelationCoeffNotEqualTo(Double value) {
            addCriterion("CORRELATION_COEFF <>", value, "correlationCoeff");
            return (Criteria) this;
        }

        public Criteria andCorrelationCoeffGreaterThan(Double value) {
            addCriterion("CORRELATION_COEFF >", value, "correlationCoeff");
            return (Criteria) this;
        }

        public Criteria andCorrelationCoeffGreaterThanOrEqualTo(Double value) {
            addCriterion("CORRELATION_COEFF >=", value, "correlationCoeff");
            return (Criteria) this;
        }

        public Criteria andCorrelationCoeffLessThan(Double value) {
            addCriterion("CORRELATION_COEFF <", value, "correlationCoeff");
            return (Criteria) this;
        }

        public Criteria andCorrelationCoeffLessThanOrEqualTo(Double value) {
            addCriterion("CORRELATION_COEFF <=", value, "correlationCoeff");
            return (Criteria) this;
        }

        public Criteria andCorrelationCoeffIn(List<Double> values) {
            addCriterion("CORRELATION_COEFF in", values, "correlationCoeff");
            return (Criteria) this;
        }

        public Criteria andCorrelationCoeffNotIn(List<Double> values) {
            addCriterion("CORRELATION_COEFF not in", values, "correlationCoeff");
            return (Criteria) this;
        }

        public Criteria andCorrelationCoeffBetween(Double value1, Double value2) {
            addCriterion("CORRELATION_COEFF between", value1, value2, "correlationCoeff");
            return (Criteria) this;
        }

        public Criteria andCorrelationCoeffNotBetween(Double value1, Double value2) {
            addCriterion("CORRELATION_COEFF not between", value1, value2, "correlationCoeff");
            return (Criteria) this;
        }

        public Criteria andAccuracyRateIsNull() {
            addCriterion("ACCURACY_RATE is null");
            return (Criteria) this;
        }

        public Criteria andAccuracyRateIsNotNull() {
            addCriterion("ACCURACY_RATE is not null");
            return (Criteria) this;
        }

        public Criteria andAccuracyRateEqualTo(Double value) {
            addCriterion("ACCURACY_RATE =", value, "accuracyRate");
            return (Criteria) this;
        }

        public Criteria andAccuracyRateNotEqualTo(Double value) {
            addCriterion("ACCURACY_RATE <>", value, "accuracyRate");
            return (Criteria) this;
        }

        public Criteria andAccuracyRateGreaterThan(Double value) {
            addCriterion("ACCURACY_RATE >", value, "accuracyRate");
            return (Criteria) this;
        }

        public Criteria andAccuracyRateGreaterThanOrEqualTo(Double value) {
            addCriterion("ACCURACY_RATE >=", value, "accuracyRate");
            return (Criteria) this;
        }

        public Criteria andAccuracyRateLessThan(Double value) {
            addCriterion("ACCURACY_RATE <", value, "accuracyRate");
            return (Criteria) this;
        }

        public Criteria andAccuracyRateLessThanOrEqualTo(Double value) {
            addCriterion("ACCURACY_RATE <=", value, "accuracyRate");
            return (Criteria) this;
        }

        public Criteria andAccuracyRateIn(List<Double> values) {
            addCriterion("ACCURACY_RATE in", values, "accuracyRate");
            return (Criteria) this;
        }

        public Criteria andAccuracyRateNotIn(List<Double> values) {
            addCriterion("ACCURACY_RATE not in", values, "accuracyRate");
            return (Criteria) this;
        }

        public Criteria andAccuracyRateBetween(Double value1, Double value2) {
            addCriterion("ACCURACY_RATE between", value1, value2, "accuracyRate");
            return (Criteria) this;
        }

        public Criteria andAccuracyRateNotBetween(Double value1, Double value2) {
            addCriterion("ACCURACY_RATE not between", value1, value2, "accuracyRate");
            return (Criteria) this;
        }

        public Criteria andDataCountIsNull() {
            addCriterion("DATA_COUNT is null");
            return (Criteria) this;
        }

        public Criteria andDataCountIsNotNull() {
            addCriterion("DATA_COUNT is not null");
            return (Criteria) this;
        }

        public Criteria andDataCountEqualTo(Integer value) {
            addCriterion("DATA_COUNT =", value, "dataCount");
            return (Criteria) this;
        }

        public Criteria andDataCountNotEqualTo(Integer value) {
            addCriterion("DATA_COUNT <>", value, "dataCount");
            return (Criteria) this;
        }

        public Criteria andDataCountGreaterThan(Integer value) {
            addCriterion("DATA_COUNT >", value, "dataCount");
            return (Criteria) this;
        }

        public Criteria andDataCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("DATA_COUNT >=", value, "dataCount");
            return (Criteria) this;
        }

        public Criteria andDataCountLessThan(Integer value) {
            addCriterion("DATA_COUNT <", value, "dataCount");
            return (Criteria) this;
        }

        public Criteria andDataCountLessThanOrEqualTo(Integer value) {
            addCriterion("DATA_COUNT <=", value, "dataCount");
            return (Criteria) this;
        }

        public Criteria andDataCountIn(List<Integer> values) {
            addCriterion("DATA_COUNT in", values, "dataCount");
            return (Criteria) this;
        }

        public Criteria andDataCountNotIn(List<Integer> values) {
            addCriterion("DATA_COUNT not in", values, "dataCount");
            return (Criteria) this;
        }

        public Criteria andDataCountBetween(Integer value1, Integer value2) {
            addCriterion("DATA_COUNT between", value1, value2, "dataCount");
            return (Criteria) this;
        }

        public Criteria andDataCountNotBetween(Integer value1, Integer value2) {
            addCriterion("DATA_COUNT not between", value1, value2, "dataCount");
            return (Criteria) this;
        }

        public Criteria andDataFlagIsNull() {
            addCriterion("DATA_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andDataFlagIsNotNull() {
            addCriterion("DATA_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andDataFlagEqualTo(Short value) {
            addCriterion("DATA_FLAG =", value, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagNotEqualTo(Short value) {
            addCriterion("DATA_FLAG <>", value, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagGreaterThan(Short value) {
            addCriterion("DATA_FLAG >", value, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagGreaterThanOrEqualTo(Short value) {
            addCriterion("DATA_FLAG >=", value, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagLessThan(Short value) {
            addCriterion("DATA_FLAG <", value, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagLessThanOrEqualTo(Short value) {
            addCriterion("DATA_FLAG <=", value, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagIn(List<Short> values) {
            addCriterion("DATA_FLAG in", values, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagNotIn(List<Short> values) {
            addCriterion("DATA_FLAG not in", values, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagBetween(Short value1, Short value2) {
            addCriterion("DATA_FLAG between", value1, value2, "dataFlag");
            return (Criteria) this;
        }

        public Criteria andDataFlagNotBetween(Short value1, Short value2) {
            addCriterion("DATA_FLAG not between", value1, value2, "dataFlag");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table WF_DA_PF_DAY_DATA
     *
     * @mbg.generated
     */
    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);
        }
    }
}