package com.gyee.frame.model.auto;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table curvefittingsub
     *
     * @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 curvefittingsub
     *
     * @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 curvefittingsub
     *
     * @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 curvefittingsub
     *
     * @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 curvefittingsub
     *
     * @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 andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andWindturbineidIsNull() {
            addCriterion("windturbineid is null");
            return (Criteria) this;
        }

        public Criteria andWindturbineidIsNotNull() {
            addCriterion("windturbineid is not null");
            return (Criteria) this;
        }

        public Criteria andWindturbineidEqualTo(String value) {
            addCriterion("windturbineid =", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidNotEqualTo(String value) {
            addCriterion("windturbineid <>", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidGreaterThan(String value) {
            addCriterion("windturbineid >", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidGreaterThanOrEqualTo(String value) {
            addCriterion("windturbineid >=", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidLessThan(String value) {
            addCriterion("windturbineid <", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidLessThanOrEqualTo(String value) {
            addCriterion("windturbineid <=", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidLike(String value) {
            addCriterion("windturbineid like", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidNotLike(String value) {
            addCriterion("windturbineid not like", value, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidIn(List<String> values) {
            addCriterion("windturbineid in", values, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidNotIn(List<String> values) {
            addCriterion("windturbineid not in", values, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidBetween(String value1, String value2) {
            addCriterion("windturbineid between", value1, value2, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andWindturbineidNotBetween(String value1, String value2) {
            addCriterion("windturbineid not between", value1, value2, "windturbineid");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateIsNull() {
            addCriterion("monthdeviationrate is null");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateIsNotNull() {
            addCriterion("monthdeviationrate is not null");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateEqualTo(Double value) {
            addCriterion("monthdeviationrate =", value, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateNotEqualTo(Double value) {
            addCriterion("monthdeviationrate <>", value, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateGreaterThan(Double value) {
            addCriterion("monthdeviationrate >", value, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateGreaterThanOrEqualTo(Double value) {
            addCriterion("monthdeviationrate >=", value, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateLessThan(Double value) {
            addCriterion("monthdeviationrate <", value, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateLessThanOrEqualTo(Double value) {
            addCriterion("monthdeviationrate <=", value, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateIn(List<Double> values) {
            addCriterion("monthdeviationrate in", values, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateNotIn(List<Double> values) {
            addCriterion("monthdeviationrate not in", values, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateBetween(Double value1, Double value2) {
            addCriterion("monthdeviationrate between", value1, value2, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andMonthdeviationrateNotBetween(Double value1, Double value2) {
            addCriterion("monthdeviationrate not between", value1, value2, "monthdeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateIsNull() {
            addCriterion("yeardeviationrate is null");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateIsNotNull() {
            addCriterion("yeardeviationrate is not null");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateEqualTo(Double value) {
            addCriterion("yeardeviationrate =", value, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateNotEqualTo(Double value) {
            addCriterion("yeardeviationrate <>", value, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateGreaterThan(Double value) {
            addCriterion("yeardeviationrate >", value, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateGreaterThanOrEqualTo(Double value) {
            addCriterion("yeardeviationrate >=", value, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateLessThan(Double value) {
            addCriterion("yeardeviationrate <", value, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateLessThanOrEqualTo(Double value) {
            addCriterion("yeardeviationrate <=", value, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateIn(List<Double> values) {
            addCriterion("yeardeviationrate in", values, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateNotIn(List<Double> values) {
            addCriterion("yeardeviationrate not in", values, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateBetween(Double value1, Double value2) {
            addCriterion("yeardeviationrate between", value1, value2, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andYeardeviationrateNotBetween(Double value1, Double value2) {
            addCriterion("yeardeviationrate not between", value1, value2, "yeardeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateIsNull() {
            addCriterion("standarddeviationrate is null");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateIsNotNull() {
            addCriterion("standarddeviationrate is not null");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateEqualTo(Double value) {
            addCriterion("standarddeviationrate =", value, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateNotEqualTo(Double value) {
            addCriterion("standarddeviationrate <>", value, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateGreaterThan(Double value) {
            addCriterion("standarddeviationrate >", value, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateGreaterThanOrEqualTo(Double value) {
            addCriterion("standarddeviationrate >=", value, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateLessThan(Double value) {
            addCriterion("standarddeviationrate <", value, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateLessThanOrEqualTo(Double value) {
            addCriterion("standarddeviationrate <=", value, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateIn(List<Double> values) {
            addCriterion("standarddeviationrate in", values, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateNotIn(List<Double> values) {
            addCriterion("standarddeviationrate not in", values, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateBetween(Double value1, Double value2) {
            addCriterion("standarddeviationrate between", value1, value2, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andStandarddeviationrateNotBetween(Double value1, Double value2) {
            addCriterion("standarddeviationrate not between", value1, value2, "standarddeviationrate");
            return (Criteria) this;
        }

        public Criteria andRecorddateIsNull() {
            addCriterion("recorddate is null");
            return (Criteria) this;
        }

        public Criteria andRecorddateIsNotNull() {
            addCriterion("recorddate is not null");
            return (Criteria) this;
        }

        public Criteria andRecorddateEqualTo(Date value) {
            addCriterion("recorddate =", value, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateNotEqualTo(Date value) {
            addCriterion("recorddate <>", value, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateGreaterThan(Date value) {
            addCriterion("recorddate >", value, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateGreaterThanOrEqualTo(Date value) {
            addCriterion("recorddate >=", value, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateLessThan(Date value) {
            addCriterion("recorddate <", value, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateLessThanOrEqualTo(Date value) {
            addCriterion("recorddate <=", value, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateIn(List<Date> values) {
            addCriterion("recorddate in", values, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateNotIn(List<Date> values) {
            addCriterion("recorddate not in", values, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateBetween(Date value1, Date value2) {
            addCriterion("recorddate between", value1, value2, "recorddate");
            return (Criteria) this;
        }

        public Criteria andRecorddateNotBetween(Date value1, Date value2) {
            addCriterion("recorddate not between", value1, value2, "recorddate");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1IsNull() {
            addCriterion("deviationrate1 is null");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1IsNotNull() {
            addCriterion("deviationrate1 is not null");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1EqualTo(Double value) {
            addCriterion("deviationrate1 =", value, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1NotEqualTo(Double value) {
            addCriterion("deviationrate1 <>", value, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1GreaterThan(Double value) {
            addCriterion("deviationrate1 >", value, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1GreaterThanOrEqualTo(Double value) {
            addCriterion("deviationrate1 >=", value, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1LessThan(Double value) {
            addCriterion("deviationrate1 <", value, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1LessThanOrEqualTo(Double value) {
            addCriterion("deviationrate1 <=", value, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1In(List<Double> values) {
            addCriterion("deviationrate1 in", values, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1NotIn(List<Double> values) {
            addCriterion("deviationrate1 not in", values, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1Between(Double value1, Double value2) {
            addCriterion("deviationrate1 between", value1, value2, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate1NotBetween(Double value1, Double value2) {
            addCriterion("deviationrate1 not between", value1, value2, "deviationrate1");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2IsNull() {
            addCriterion("deviationrate2 is null");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2IsNotNull() {
            addCriterion("deviationrate2 is not null");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2EqualTo(Double value) {
            addCriterion("deviationrate2 =", value, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2NotEqualTo(Double value) {
            addCriterion("deviationrate2 <>", value, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2GreaterThan(Double value) {
            addCriterion("deviationrate2 >", value, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2GreaterThanOrEqualTo(Double value) {
            addCriterion("deviationrate2 >=", value, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2LessThan(Double value) {
            addCriterion("deviationrate2 <", value, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2LessThanOrEqualTo(Double value) {
            addCriterion("deviationrate2 <=", value, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2In(List<Double> values) {
            addCriterion("deviationrate2 in", values, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2NotIn(List<Double> values) {
            addCriterion("deviationrate2 not in", values, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2Between(Double value1, Double value2) {
            addCriterion("deviationrate2 between", value1, value2, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate2NotBetween(Double value1, Double value2) {
            addCriterion("deviationrate2 not between", value1, value2, "deviationrate2");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3IsNull() {
            addCriterion("deviationrate3 is null");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3IsNotNull() {
            addCriterion("deviationrate3 is not null");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3EqualTo(Double value) {
            addCriterion("deviationrate3 =", value, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3NotEqualTo(Double value) {
            addCriterion("deviationrate3 <>", value, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3GreaterThan(Double value) {
            addCriterion("deviationrate3 >", value, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3GreaterThanOrEqualTo(Double value) {
            addCriterion("deviationrate3 >=", value, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3LessThan(Double value) {
            addCriterion("deviationrate3 <", value, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3LessThanOrEqualTo(Double value) {
            addCriterion("deviationrate3 <=", value, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3In(List<Double> values) {
            addCriterion("deviationrate3 in", values, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3NotIn(List<Double> values) {
            addCriterion("deviationrate3 not in", values, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3Between(Double value1, Double value2) {
            addCriterion("deviationrate3 between", value1, value2, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andDeviationrate3NotBetween(Double value1, Double value2) {
            addCriterion("deviationrate3 not between", value1, value2, "deviationrate3");
            return (Criteria) this;
        }

        public Criteria andSpeedIsNull() {
            addCriterion("speed is null");
            return (Criteria) this;
        }

        public Criteria andSpeedIsNotNull() {
            addCriterion("speed is not null");
            return (Criteria) this;
        }

        public Criteria andSpeedEqualTo(Double value) {
            addCriterion("speed =", value, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedNotEqualTo(Double value) {
            addCriterion("speed <>", value, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedGreaterThan(Double value) {
            addCriterion("speed >", value, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedGreaterThanOrEqualTo(Double value) {
            addCriterion("speed >=", value, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedLessThan(Double value) {
            addCriterion("speed <", value, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedLessThanOrEqualTo(Double value) {
            addCriterion("speed <=", value, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedIn(List<Double> values) {
            addCriterion("speed in", values, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedNotIn(List<Double> values) {
            addCriterion("speed not in", values, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedBetween(Double value1, Double value2) {
            addCriterion("speed between", value1, value2, "speed");
            return (Criteria) this;
        }

        public Criteria andSpeedNotBetween(Double value1, Double value2) {
            addCriterion("speed not between", value1, value2, "speed");
            return (Criteria) this;
        }
    }

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