DataSourceDetailExample.java 16.6 KB
Newer Older
frank.xa.zhang's avatar
frank.xa.zhang committed
1
package pwc.taxtech.atms.vat.entity;
2 3 4 5 6 7 8

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

public class DataSourceDetailExample {
    /**
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
9
     * This field corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
10 11 12 13 14 15 16
     *
     * @mbg.generated
     */
    protected String orderByClause;

    /**
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
17
     * This field corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
18 19 20 21 22 23 24
     *
     * @mbg.generated
     */
    protected boolean distinct;

    /**
     * This field was generated by MyBatis Generator.
neo's avatar
neo committed
25
     * This field corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
26 27 28 29 30 31 32
     *
     * @mbg.generated
     */
    protected List<Criteria> oredCriteria;

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
33
     * This method corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
34 35 36 37 38 39 40 41 42
     *
     * @mbg.generated
     */
    public DataSourceDetailExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
43
     * This method corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
44 45 46 47 48 49 50 51 52
     *
     * @mbg.generated
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
53
     * This method corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
54 55 56 57 58 59 60 61 62
     *
     * @mbg.generated
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
63
     * This method corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
64 65 66 67 68 69 70 71 72
     *
     * @mbg.generated
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
73
     * This method corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
74 75 76 77 78 79 80 81 82
     *
     * @mbg.generated
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
83
     * This method corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
84 85 86 87 88 89 90 91 92
     *
     * @mbg.generated
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
93
     * This method corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
94 95 96 97 98 99 100 101 102
     *
     * @mbg.generated
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
103
     * This method corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
104 105 106 107 108 109 110 111 112 113 114
     *
     * @mbg.generated
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
115
     * This method corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
116 117 118 119 120 121 122 123 124 125 126 127 128
     *
     * @mbg.generated
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
129
     * This method corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
130 131 132 133 134 135 136 137 138 139
     *
     * @mbg.generated
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This method was generated by MyBatis Generator.
neo's avatar
neo committed
140
     * This method corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
141 142 143 144 145 146 147 148 149 150 151
     *
     * @mbg.generated
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * This class was generated by MyBatis Generator.
neo's avatar
neo committed
152
     * This class corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196
     *
     * @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));
        }

197
        public Criteria andIdIsNull() {
198
            addCriterion("ID is null");
199 200 201
            return (Criteria) this;
        }

202
        public Criteria andIdIsNotNull() {
203
            addCriterion("ID is not null");
204 205 206
            return (Criteria) this;
        }

207
        public Criteria andIdEqualTo(Long value) {
208
            addCriterion("ID =", value, "id");
209 210 211
            return (Criteria) this;
        }

212
        public Criteria andIdNotEqualTo(Long value) {
213
            addCriterion("ID <>", value, "id");
214 215 216
            return (Criteria) this;
        }

217
        public Criteria andIdGreaterThan(Long value) {
218
            addCriterion("ID >", value, "id");
219 220 221
            return (Criteria) this;
        }

222
        public Criteria andIdGreaterThanOrEqualTo(Long value) {
223
            addCriterion("ID >=", value, "id");
224 225 226
            return (Criteria) this;
        }

227
        public Criteria andIdLessThan(Long value) {
228
            addCriterion("ID <", value, "id");
229 230 231
            return (Criteria) this;
        }

232
        public Criteria andIdLessThanOrEqualTo(Long value) {
233
            addCriterion("ID <=", value, "id");
234 235 236
            return (Criteria) this;
        }

237
        public Criteria andIdIn(List<Long> values) {
238
            addCriterion("ID in", values, "id");
239 240 241
            return (Criteria) this;
        }

242
        public Criteria andIdNotIn(List<Long> values) {
243
            addCriterion("ID not in", values, "id");
244 245 246
            return (Criteria) this;
        }

247
        public Criteria andIdBetween(Long value1, Long value2) {
248
            addCriterion("ID between", value1, value2, "id");
249 250 251
            return (Criteria) this;
        }

252
        public Criteria andIdNotBetween(Long value1, Long value2) {
253
            addCriterion("ID not between", value1, value2, "id");
254 255 256
            return (Criteria) this;
        }

257
        public Criteria andDataSourceIdIsNull() {
258
            addCriterion("DATA_SOURCE_ID is null");
259 260 261
            return (Criteria) this;
        }

262
        public Criteria andDataSourceIdIsNotNull() {
263
            addCriterion("DATA_SOURCE_ID is not null");
264 265 266
            return (Criteria) this;
        }

267
        public Criteria andDataSourceIdEqualTo(Long value) {
268
            addCriterion("DATA_SOURCE_ID =", value, "dataSourceId");
269 270 271
            return (Criteria) this;
        }

272
        public Criteria andDataSourceIdNotEqualTo(Long value) {
273
            addCriterion("DATA_SOURCE_ID <>", value, "dataSourceId");
274 275 276
            return (Criteria) this;
        }

277
        public Criteria andDataSourceIdGreaterThan(Long value) {
278
            addCriterion("DATA_SOURCE_ID >", value, "dataSourceId");
279 280 281
            return (Criteria) this;
        }

282
        public Criteria andDataSourceIdGreaterThanOrEqualTo(Long value) {
283
            addCriterion("DATA_SOURCE_ID >=", value, "dataSourceId");
284 285 286
            return (Criteria) this;
        }

287
        public Criteria andDataSourceIdLessThan(Long value) {
288
            addCriterion("DATA_SOURCE_ID <", value, "dataSourceId");
289 290 291
            return (Criteria) this;
        }

292
        public Criteria andDataSourceIdLessThanOrEqualTo(Long value) {
293
            addCriterion("DATA_SOURCE_ID <=", value, "dataSourceId");
294 295 296
            return (Criteria) this;
        }

297
        public Criteria andDataSourceIdIn(List<Long> values) {
298
            addCriterion("DATA_SOURCE_ID in", values, "dataSourceId");
299 300 301
            return (Criteria) this;
        }

302
        public Criteria andDataSourceIdNotIn(List<Long> values) {
303
            addCriterion("DATA_SOURCE_ID not in", values, "dataSourceId");
304 305 306
            return (Criteria) this;
        }

307
        public Criteria andDataSourceIdBetween(Long value1, Long value2) {
308
            addCriterion("DATA_SOURCE_ID between", value1, value2, "dataSourceId");
309 310 311
            return (Criteria) this;
        }

312
        public Criteria andDataSourceIdNotBetween(Long value1, Long value2) {
313
            addCriterion("DATA_SOURCE_ID not between", value1, value2, "dataSourceId");
314 315 316 317
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeIsNull() {
318
            addCriterion("DATA_SOURCE_TYPE is null");
319 320 321 322
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeIsNotNull() {
323
            addCriterion("DATA_SOURCE_TYPE is not null");
324 325 326 327
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeEqualTo(Integer value) {
328
            addCriterion("DATA_SOURCE_TYPE =", value, "dataSourceType");
329 330 331 332
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeNotEqualTo(Integer value) {
333
            addCriterion("DATA_SOURCE_TYPE <>", value, "dataSourceType");
334 335 336 337
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeGreaterThan(Integer value) {
338
            addCriterion("DATA_SOURCE_TYPE >", value, "dataSourceType");
339 340 341 342
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeGreaterThanOrEqualTo(Integer value) {
343
            addCriterion("DATA_SOURCE_TYPE >=", value, "dataSourceType");
344 345 346 347
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeLessThan(Integer value) {
348
            addCriterion("DATA_SOURCE_TYPE <", value, "dataSourceType");
349 350 351 352
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeLessThanOrEqualTo(Integer value) {
353
            addCriterion("DATA_SOURCE_TYPE <=", value, "dataSourceType");
354 355 356 357
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeIn(List<Integer> values) {
358
            addCriterion("DATA_SOURCE_TYPE in", values, "dataSourceType");
359 360 361 362
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeNotIn(List<Integer> values) {
363
            addCriterion("DATA_SOURCE_TYPE not in", values, "dataSourceType");
364 365 366 367
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeBetween(Integer value1, Integer value2) {
368
            addCriterion("DATA_SOURCE_TYPE between", value1, value2, "dataSourceType");
369 370 371 372
            return (Criteria) this;
        }

        public Criteria andDataSourceTypeNotBetween(Integer value1, Integer value2) {
373
            addCriterion("DATA_SOURCE_TYPE not between", value1, value2, "dataSourceType");
374 375 376 377
            return (Criteria) this;
        }

        public Criteria andItemValueIsNull() {
378
            addCriterion("ITEM_VALUE is null");
379 380 381 382
            return (Criteria) this;
        }

        public Criteria andItemValueIsNotNull() {
383
            addCriterion("ITEM_VALUE is not null");
384 385 386 387
            return (Criteria) this;
        }

        public Criteria andItemValueEqualTo(String value) {
388
            addCriterion("ITEM_VALUE =", value, "itemValue");
389 390 391 392
            return (Criteria) this;
        }

        public Criteria andItemValueNotEqualTo(String value) {
393
            addCriterion("ITEM_VALUE <>", value, "itemValue");
394 395 396 397
            return (Criteria) this;
        }

        public Criteria andItemValueGreaterThan(String value) {
398
            addCriterion("ITEM_VALUE >", value, "itemValue");
399 400 401 402
            return (Criteria) this;
        }

        public Criteria andItemValueGreaterThanOrEqualTo(String value) {
403
            addCriterion("ITEM_VALUE >=", value, "itemValue");
404 405 406 407
            return (Criteria) this;
        }

        public Criteria andItemValueLessThan(String value) {
408
            addCriterion("ITEM_VALUE <", value, "itemValue");
409 410 411 412
            return (Criteria) this;
        }

        public Criteria andItemValueLessThanOrEqualTo(String value) {
413
            addCriterion("ITEM_VALUE <=", value, "itemValue");
414 415 416 417
            return (Criteria) this;
        }

        public Criteria andItemValueLike(String value) {
418
            addCriterion("ITEM_VALUE like", value, "itemValue");
419 420 421 422
            return (Criteria) this;
        }

        public Criteria andItemValueNotLike(String value) {
423
            addCriterion("ITEM_VALUE not like", value, "itemValue");
424 425 426 427
            return (Criteria) this;
        }

        public Criteria andItemValueIn(List<String> values) {
428
            addCriterion("ITEM_VALUE in", values, "itemValue");
429 430 431 432
            return (Criteria) this;
        }

        public Criteria andItemValueNotIn(List<String> values) {
433
            addCriterion("ITEM_VALUE not in", values, "itemValue");
434 435 436 437
            return (Criteria) this;
        }

        public Criteria andItemValueBetween(String value1, String value2) {
438
            addCriterion("ITEM_VALUE between", value1, value2, "itemValue");
439 440 441 442
            return (Criteria) this;
        }

        public Criteria andItemValueNotBetween(String value1, String value2) {
443
            addCriterion("ITEM_VALUE not between", value1, value2, "itemValue");
444 445 446 447 448 449
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
neo's avatar
neo committed
450
     * This class corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
451 452 453 454 455 456 457 458 459 460 461 462
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
neo's avatar
neo committed
463
     * This class corresponds to the database table TAX_PROJECT.DATA_SOURCE_DETAIL
464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552
     *
     * @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);
        }
    }
}