/******************************************************************************* * Copyright [2015] [Onboard team of SERC, Peking University] * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *******************************************************************************/ package com.onboard.domain.mapper.model; import com.onboard.domain.mapper.model.common.BaseCriteria; import com.onboard.domain.mapper.model.common.BaseExample; import java.util.ArrayList; import java.util.Date; import java.util.List; public class IterationAttachExample implements BaseExample { /** * This field was generated by MyBatis Generator. * This field corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected String orderByClause; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected boolean distinct; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected List<Criteria> oredCriteria; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected int start = 0; /** * This field was generated by MyBatis Generator. * This field corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected int limit = -1; /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public IterationAttachExample() { oredCriteria = new ArrayList<Criteria>(); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void setOrderByClause(String orderByClause) { this.orderByClause = orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public String getOrderByClause() { return orderByClause; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void setDistinct(boolean distinct) { this.distinct = distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public boolean isDistinct() { return distinct; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public List<Criteria> getOredCriteria() { return oredCriteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ 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 iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ 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 iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected Criteria createCriteriaInternal() { Criteria criteria = new Criteria(); return criteria; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void clear() { oredCriteria.clear(); orderByClause = null; distinct = false; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public List<BaseCriteria> getOredBaseCriteria() { List<com.onboard.domain.mapper.model.common.BaseCriteria> list = new ArrayList<com.onboard.domain.mapper.model.common.BaseCriteria>(); list.addAll(oredCriteria); return list; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void setStart(int start) { this.start=start; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public int getStart() { return start; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void setLimit(int limit) { this.limit=limit; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public int getLimit() { return limit; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public void setLimit(int start, int limit) { this.start = start; this.limit = limit; } /** * This method was generated by MyBatis Generator. * This method corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ public IterationAttachExample(IterationAttachObject sample) { oredCriteria = new ArrayList<Criteria>(); Criteria criteria = this.or(); if (sample.getIterationId() != null) { criteria.andIterationIdEqualTo(sample.getIterationId()); } if (sample.getObjectType() != null) { criteria.andObjectTypeEqualTo(sample.getObjectType()); } if (sample.getObjectId() != null) { criteria.andObjectIdEqualTo(sample.getObjectId()); } if (sample.getCompleted() != null) { criteria.andCompletedEqualTo(sample.getCompleted()); } if (sample.getCompletedTime() != null) { criteria.andCompletedTimeEqualTo(sample.getCompletedTime()); } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table iteration_object * * @mbggenerated Wed Aug 26 19:51:19 CST 2015 */ protected abstract static class GeneratedCriteria extends BaseCriteria { protected GeneratedCriteria() { super(); } public Criteria andIdIsNull() { addCriterion("id is null"); return (Criteria) this; } public Criteria andIdIsNotNull() { addCriterion("id is not null"); return (Criteria) this; } public Criteria andIdEqualTo(Integer value) { addCriterion("id =", value, "id"); return (Criteria) this; } public Criteria andIdNotEqualTo(Integer value) { addCriterion("id <>", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThan(Integer value) { addCriterion("id >", value, "id"); return (Criteria) this; } public Criteria andIdGreaterThanOrEqualTo(Integer value) { addCriterion("id >=", value, "id"); return (Criteria) this; } public Criteria andIdLessThan(Integer value) { addCriterion("id <", value, "id"); return (Criteria) this; } public Criteria andIdLessThanOrEqualTo(Integer value) { addCriterion("id <=", value, "id"); return (Criteria) this; } public Criteria andIdIn(List<Integer> values) { addCriterion("id in", values, "id"); return (Criteria) this; } public Criteria andIdNotIn(List<Integer> values) { addCriterion("id not in", values, "id"); return (Criteria) this; } public Criteria andIdBetween(Integer value1, Integer value2) { addCriterion("id between", value1, value2, "id"); return (Criteria) this; } public Criteria andIdNotBetween(Integer value1, Integer value2) { addCriterion("id not between", value1, value2, "id"); return (Criteria) this; } public Criteria andIterationIdIsNull() { addCriterion("iterationId is null"); return (Criteria) this; } public Criteria andIterationIdIsNotNull() { addCriterion("iterationId is not null"); return (Criteria) this; } public Criteria andIterationIdEqualTo(Integer value) { addCriterion("iterationId =", value, "iterationId"); return (Criteria) this; } public Criteria andIterationIdNotEqualTo(Integer value) { addCriterion("iterationId <>", value, "iterationId"); return (Criteria) this; } public Criteria andIterationIdGreaterThan(Integer value) { addCriterion("iterationId >", value, "iterationId"); return (Criteria) this; } public Criteria andIterationIdGreaterThanOrEqualTo(Integer value) { addCriterion("iterationId >=", value, "iterationId"); return (Criteria) this; } public Criteria andIterationIdLessThan(Integer value) { addCriterion("iterationId <", value, "iterationId"); return (Criteria) this; } public Criteria andIterationIdLessThanOrEqualTo(Integer value) { addCriterion("iterationId <=", value, "iterationId"); return (Criteria) this; } public Criteria andIterationIdIn(List<Integer> values) { addCriterion("iterationId in", values, "iterationId"); return (Criteria) this; } public Criteria andIterationIdNotIn(List<Integer> values) { addCriterion("iterationId not in", values, "iterationId"); return (Criteria) this; } public Criteria andIterationIdBetween(Integer value1, Integer value2) { addCriterion("iterationId between", value1, value2, "iterationId"); return (Criteria) this; } public Criteria andIterationIdNotBetween(Integer value1, Integer value2) { addCriterion("iterationId not between", value1, value2, "iterationId"); return (Criteria) this; } public Criteria andObjectTypeIsNull() { addCriterion("objectType is null"); return (Criteria) this; } public Criteria andObjectTypeIsNotNull() { addCriterion("objectType is not null"); return (Criteria) this; } public Criteria andObjectTypeEqualTo(String value) { addCriterion("objectType =", value, "objectType"); return (Criteria) this; } public Criteria andObjectTypeNotEqualTo(String value) { addCriterion("objectType <>", value, "objectType"); return (Criteria) this; } public Criteria andObjectTypeGreaterThan(String value) { addCriterion("objectType >", value, "objectType"); return (Criteria) this; } public Criteria andObjectTypeGreaterThanOrEqualTo(String value) { addCriterion("objectType >=", value, "objectType"); return (Criteria) this; } public Criteria andObjectTypeLessThan(String value) { addCriterion("objectType <", value, "objectType"); return (Criteria) this; } public Criteria andObjectTypeLessThanOrEqualTo(String value) { addCriterion("objectType <=", value, "objectType"); return (Criteria) this; } public Criteria andObjectTypeLike(String value) { addCriterion("objectType like", value, "objectType"); return (Criteria) this; } public Criteria andObjectTypeNotLike(String value) { addCriterion("objectType not like", value, "objectType"); return (Criteria) this; } public Criteria andObjectTypeIn(List<String> values) { addCriterion("objectType in", values, "objectType"); return (Criteria) this; } public Criteria andObjectTypeNotIn(List<String> values) { addCriterion("objectType not in", values, "objectType"); return (Criteria) this; } public Criteria andObjectTypeBetween(String value1, String value2) { addCriterion("objectType between", value1, value2, "objectType"); return (Criteria) this; } public Criteria andObjectTypeNotBetween(String value1, String value2) { addCriterion("objectType not between", value1, value2, "objectType"); return (Criteria) this; } public Criteria andObjectIdIsNull() { addCriterion("objectId is null"); return (Criteria) this; } public Criteria andObjectIdIsNotNull() { addCriterion("objectId is not null"); return (Criteria) this; } public Criteria andObjectIdEqualTo(Integer value) { addCriterion("objectId =", value, "objectId"); return (Criteria) this; } public Criteria andObjectIdNotEqualTo(Integer value) { addCriterion("objectId <>", value, "objectId"); return (Criteria) this; } public Criteria andObjectIdGreaterThan(Integer value) { addCriterion("objectId >", value, "objectId"); return (Criteria) this; } public Criteria andObjectIdGreaterThanOrEqualTo(Integer value) { addCriterion("objectId >=", value, "objectId"); return (Criteria) this; } public Criteria andObjectIdLessThan(Integer value) { addCriterion("objectId <", value, "objectId"); return (Criteria) this; } public Criteria andObjectIdLessThanOrEqualTo(Integer value) { addCriterion("objectId <=", value, "objectId"); return (Criteria) this; } public Criteria andObjectIdIn(List<Integer> values) { addCriterion("objectId in", values, "objectId"); return (Criteria) this; } public Criteria andObjectIdNotIn(List<Integer> values) { addCriterion("objectId not in", values, "objectId"); return (Criteria) this; } public Criteria andObjectIdBetween(Integer value1, Integer value2) { addCriterion("objectId between", value1, value2, "objectId"); return (Criteria) this; } public Criteria andObjectIdNotBetween(Integer value1, Integer value2) { addCriterion("objectId not between", value1, value2, "objectId"); return (Criteria) this; } public Criteria andCompletedIsNull() { addCriterion("completed is null"); return (Criteria) this; } public Criteria andCompletedIsNotNull() { addCriterion("completed is not null"); return (Criteria) this; } public Criteria andCompletedEqualTo(Boolean value) { addCriterion("completed =", value, "completed"); return (Criteria) this; } public Criteria andCompletedNotEqualTo(Boolean value) { addCriterion("completed <>", value, "completed"); return (Criteria) this; } public Criteria andCompletedGreaterThan(Boolean value) { addCriterion("completed >", value, "completed"); return (Criteria) this; } public Criteria andCompletedGreaterThanOrEqualTo(Boolean value) { addCriterion("completed >=", value, "completed"); return (Criteria) this; } public Criteria andCompletedLessThan(Boolean value) { addCriterion("completed <", value, "completed"); return (Criteria) this; } public Criteria andCompletedLessThanOrEqualTo(Boolean value) { addCriterion("completed <=", value, "completed"); return (Criteria) this; } public Criteria andCompletedIn(List<Boolean> values) { addCriterion("completed in", values, "completed"); return (Criteria) this; } public Criteria andCompletedNotIn(List<Boolean> values) { addCriterion("completed not in", values, "completed"); return (Criteria) this; } public Criteria andCompletedBetween(Boolean value1, Boolean value2) { addCriterion("completed between", value1, value2, "completed"); return (Criteria) this; } public Criteria andCompletedNotBetween(Boolean value1, Boolean value2) { addCriterion("completed not between", value1, value2, "completed"); return (Criteria) this; } public Criteria andCompletedTimeIsNull() { addCriterion("completedTime is null"); return (Criteria) this; } public Criteria andCompletedTimeIsNotNull() { addCriterion("completedTime is not null"); return (Criteria) this; } public Criteria andCompletedTimeEqualTo(Date value) { addCriterion("completedTime =", value, "completedTime"); return (Criteria) this; } public Criteria andCompletedTimeNotEqualTo(Date value) { addCriterion("completedTime <>", value, "completedTime"); return (Criteria) this; } public Criteria andCompletedTimeGreaterThan(Date value) { addCriterion("completedTime >", value, "completedTime"); return (Criteria) this; } public Criteria andCompletedTimeGreaterThanOrEqualTo(Date value) { addCriterion("completedTime >=", value, "completedTime"); return (Criteria) this; } public Criteria andCompletedTimeLessThan(Date value) { addCriterion("completedTime <", value, "completedTime"); return (Criteria) this; } public Criteria andCompletedTimeLessThanOrEqualTo(Date value) { addCriterion("completedTime <=", value, "completedTime"); return (Criteria) this; } public Criteria andCompletedTimeIn(List<Date> values) { addCriterion("completedTime in", values, "completedTime"); return (Criteria) this; } public Criteria andCompletedTimeNotIn(List<Date> values) { addCriterion("completedTime not in", values, "completedTime"); return (Criteria) this; } public Criteria andCompletedTimeBetween(Date value1, Date value2) { addCriterion("completedTime between", value1, value2, "completedTime"); return (Criteria) this; } public Criteria andCompletedTimeNotBetween(Date value1, Date value2) { addCriterion("completedTime not between", value1, value2, "completedTime"); return (Criteria) this; } } /** * This class was generated by MyBatis Generator. * This class corresponds to the database table iteration_object * * @mbggenerated do_not_delete_during_merge Wed Aug 26 19:51:19 CST 2015 */ public static class Criteria extends GeneratedCriteria { protected Criteria() { super(); } } }