TaxRuleSettingOrganizationExample.java 23.4 KB
Newer Older
1
package pwc.taxtech.atms.entity;
2 3 4 5 6 7 8 9

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

public class TaxRuleSettingOrganizationExample {
    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
10
     * This field corresponds to the database table tax_rule_setting_organization
11 12 13 14 15 16 17
     *
     * @mbg.generated
     */
    protected String orderByClause;

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
153
     * This class corresponds to the database table tax_rule_setting_organization
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 197
     *
     * @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));
        }

198
        public Criteria andIdIsNull() {
gary's avatar
gary committed
199
            addCriterion("id is null");
200 201 202
            return (Criteria) this;
        }

203
        public Criteria andIdIsNotNull() {
gary's avatar
gary committed
204
            addCriterion("id is not null");
205 206 207
            return (Criteria) this;
        }

208
        public Criteria andIdEqualTo(Long value) {
gary's avatar
gary committed
209
            addCriterion("id =", value, "id");
210 211 212
            return (Criteria) this;
        }

213
        public Criteria andIdNotEqualTo(Long value) {
gary's avatar
gary committed
214
            addCriterion("id <>", value, "id");
215 216 217
            return (Criteria) this;
        }

218
        public Criteria andIdGreaterThan(Long value) {
gary's avatar
gary committed
219
            addCriterion("id >", value, "id");
220 221 222
            return (Criteria) this;
        }

223
        public Criteria andIdGreaterThanOrEqualTo(Long value) {
gary's avatar
gary committed
224
            addCriterion("id >=", value, "id");
225 226 227
            return (Criteria) this;
        }

228
        public Criteria andIdLessThan(Long value) {
gary's avatar
gary committed
229
            addCriterion("id <", value, "id");
230 231 232
            return (Criteria) this;
        }

233
        public Criteria andIdLessThanOrEqualTo(Long value) {
gary's avatar
gary committed
234
            addCriterion("id <=", value, "id");
235 236 237
            return (Criteria) this;
        }

238
        public Criteria andIdIn(List<Long> values) {
gary's avatar
gary committed
239
            addCriterion("id in", values, "id");
240 241 242
            return (Criteria) this;
        }

243
        public Criteria andIdNotIn(List<Long> values) {
gary's avatar
gary committed
244
            addCriterion("id not in", values, "id");
245 246 247
            return (Criteria) this;
        }

248
        public Criteria andIdBetween(Long value1, Long value2) {
gary's avatar
gary committed
249
            addCriterion("id between", value1, value2, "id");
250 251 252
            return (Criteria) this;
        }

253
        public Criteria andIdNotBetween(Long value1, Long value2) {
gary's avatar
gary committed
254
            addCriterion("id not between", value1, value2, "id");
255 256 257
            return (Criteria) this;
        }

258
        public Criteria andTaxSettingIdIsNull() {
gary's avatar
gary committed
259
            addCriterion("tax_setting_id is null");
260 261 262
            return (Criteria) this;
        }

263
        public Criteria andTaxSettingIdIsNotNull() {
gary's avatar
gary committed
264
            addCriterion("tax_setting_id is not null");
265 266 267
            return (Criteria) this;
        }

268
        public Criteria andTaxSettingIdEqualTo(Long value) {
gary's avatar
gary committed
269
            addCriterion("tax_setting_id =", value, "taxSettingId");
270 271 272
            return (Criteria) this;
        }

273
        public Criteria andTaxSettingIdNotEqualTo(Long value) {
gary's avatar
gary committed
274
            addCriterion("tax_setting_id <>", value, "taxSettingId");
275 276 277
            return (Criteria) this;
        }

278
        public Criteria andTaxSettingIdGreaterThan(Long value) {
gary's avatar
gary committed
279
            addCriterion("tax_setting_id >", value, "taxSettingId");
280 281 282
            return (Criteria) this;
        }

283
        public Criteria andTaxSettingIdGreaterThanOrEqualTo(Long value) {
gary's avatar
gary committed
284
            addCriterion("tax_setting_id >=", value, "taxSettingId");
285 286 287
            return (Criteria) this;
        }

288
        public Criteria andTaxSettingIdLessThan(Long value) {
gary's avatar
gary committed
289
            addCriterion("tax_setting_id <", value, "taxSettingId");
290 291 292
            return (Criteria) this;
        }

293
        public Criteria andTaxSettingIdLessThanOrEqualTo(Long value) {
gary's avatar
gary committed
294
            addCriterion("tax_setting_id <=", value, "taxSettingId");
295 296 297
            return (Criteria) this;
        }

298
        public Criteria andTaxSettingIdIn(List<Long> values) {
gary's avatar
gary committed
299
            addCriterion("tax_setting_id in", values, "taxSettingId");
300 301 302
            return (Criteria) this;
        }

303
        public Criteria andTaxSettingIdNotIn(List<Long> values) {
gary's avatar
gary committed
304
            addCriterion("tax_setting_id not in", values, "taxSettingId");
305 306 307
            return (Criteria) this;
        }

308
        public Criteria andTaxSettingIdBetween(Long value1, Long value2) {
gary's avatar
gary committed
309
            addCriterion("tax_setting_id between", value1, value2, "taxSettingId");
310 311 312
            return (Criteria) this;
        }

313
        public Criteria andTaxSettingIdNotBetween(Long value1, Long value2) {
gary's avatar
gary committed
314
            addCriterion("tax_setting_id not between", value1, value2, "taxSettingId");
315 316 317
            return (Criteria) this;
        }

318
        public Criteria andOrganizationIdIsNull() {
gary's avatar
gary committed
319
            addCriterion("organization_id is null");
320 321 322
            return (Criteria) this;
        }

323
        public Criteria andOrganizationIdIsNotNull() {
gary's avatar
gary committed
324
            addCriterion("organization_id is not null");
325 326 327
            return (Criteria) this;
        }

328
        public Criteria andOrganizationIdEqualTo(String value) {
gary's avatar
gary committed
329
            addCriterion("organization_id =", value, "organizationId");
330 331 332
            return (Criteria) this;
        }

333
        public Criteria andOrganizationIdNotEqualTo(String value) {
gary's avatar
gary committed
334
            addCriterion("organization_id <>", value, "organizationId");
335 336 337
            return (Criteria) this;
        }

338
        public Criteria andOrganizationIdGreaterThan(String value) {
gary's avatar
gary committed
339
            addCriterion("organization_id >", value, "organizationId");
340 341 342
            return (Criteria) this;
        }

343
        public Criteria andOrganizationIdGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
344
            addCriterion("organization_id >=", value, "organizationId");
345 346 347
            return (Criteria) this;
        }

348
        public Criteria andOrganizationIdLessThan(String value) {
gary's avatar
gary committed
349
            addCriterion("organization_id <", value, "organizationId");
350 351 352
            return (Criteria) this;
        }

353
        public Criteria andOrganizationIdLessThanOrEqualTo(String value) {
gary's avatar
gary committed
354
            addCriterion("organization_id <=", value, "organizationId");
355 356 357
            return (Criteria) this;
        }

358
        public Criteria andOrganizationIdLike(String value) {
gary's avatar
gary committed
359
            addCriterion("organization_id like", value, "organizationId");
360 361 362
            return (Criteria) this;
        }

363
        public Criteria andOrganizationIdNotLike(String value) {
gary's avatar
gary committed
364
            addCriterion("organization_id not like", value, "organizationId");
365 366 367
            return (Criteria) this;
        }

368
        public Criteria andOrganizationIdIn(List<String> values) {
gary's avatar
gary committed
369
            addCriterion("organization_id in", values, "organizationId");
370 371 372
            return (Criteria) this;
        }

373
        public Criteria andOrganizationIdNotIn(List<String> values) {
gary's avatar
gary committed
374
            addCriterion("organization_id not in", values, "organizationId");
375 376 377
            return (Criteria) this;
        }

378
        public Criteria andOrganizationIdBetween(String value1, String value2) {
gary's avatar
gary committed
379
            addCriterion("organization_id between", value1, value2, "organizationId");
380 381 382
            return (Criteria) this;
        }

383
        public Criteria andOrganizationIdNotBetween(String value1, String value2) {
gary's avatar
gary committed
384
            addCriterion("organization_id not between", value1, value2, "organizationId");
385 386 387 388
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
gary's avatar
gary committed
389
            addCriterion("create_time is null");
390 391 392 393
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
gary's avatar
gary committed
394
            addCriterion("create_time is not null");
395 396 397 398
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
gary's avatar
gary committed
399
            addCriterion("create_time =", value, "createTime");
400 401 402 403
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
gary's avatar
gary committed
404
            addCriterion("create_time <>", value, "createTime");
405 406 407 408
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
gary's avatar
gary committed
409
            addCriterion("create_time >", value, "createTime");
410 411 412 413
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
gary's avatar
gary committed
414
            addCriterion("create_time >=", value, "createTime");
415 416 417 418
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
gary's avatar
gary committed
419
            addCriterion("create_time <", value, "createTime");
420 421 422 423
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
gary's avatar
gary committed
424
            addCriterion("create_time <=", value, "createTime");
425 426 427 428
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
gary's avatar
gary committed
429
            addCriterion("create_time in", values, "createTime");
430 431 432 433
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
gary's avatar
gary committed
434
            addCriterion("create_time not in", values, "createTime");
435 436 437 438
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
gary's avatar
gary committed
439
            addCriterion("create_time between", value1, value2, "createTime");
440 441 442 443
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
gary's avatar
gary committed
444
            addCriterion("create_time not between", value1, value2, "createTime");
445 446 447 448
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
gary's avatar
gary committed
449
            addCriterion("update_time is null");
450 451 452 453
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
gary's avatar
gary committed
454
            addCriterion("update_time is not null");
455 456 457 458
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
gary's avatar
gary committed
459
            addCriterion("update_time =", value, "updateTime");
460 461 462 463
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
gary's avatar
gary committed
464
            addCriterion("update_time <>", value, "updateTime");
465 466 467 468
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
gary's avatar
gary committed
469
            addCriterion("update_time >", value, "updateTime");
470 471 472 473
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
gary's avatar
gary committed
474
            addCriterion("update_time >=", value, "updateTime");
475 476 477 478
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
gary's avatar
gary committed
479
            addCriterion("update_time <", value, "updateTime");
480 481 482 483
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
gary's avatar
gary committed
484
            addCriterion("update_time <=", value, "updateTime");
485 486 487 488
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
gary's avatar
gary committed
489
            addCriterion("update_time in", values, "updateTime");
490 491 492 493
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
gary's avatar
gary committed
494
            addCriterion("update_time not in", values, "updateTime");
495 496 497 498
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
gary's avatar
gary committed
499
            addCriterion("update_time between", value1, value2, "updateTime");
500 501 502 503
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
gary's avatar
gary committed
504
            addCriterion("update_time not between", value1, value2, "updateTime");
505 506 507 508
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
gary's avatar
gary committed
509
            addCriterion("create_by is null");
510 511 512 513
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
gary's avatar
gary committed
514
            addCriterion("create_by is not null");
515 516 517 518
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
gary's avatar
gary committed
519
            addCriterion("create_by =", value, "createBy");
520 521 522 523
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
gary's avatar
gary committed
524
            addCriterion("create_by <>", value, "createBy");
525 526 527 528
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
gary's avatar
gary committed
529
            addCriterion("create_by >", value, "createBy");
530 531 532 533
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
534
            addCriterion("create_by >=", value, "createBy");
535 536 537 538
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
gary's avatar
gary committed
539
            addCriterion("create_by <", value, "createBy");
540 541 542 543
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
gary's avatar
gary committed
544
            addCriterion("create_by <=", value, "createBy");
545 546 547 548
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
gary's avatar
gary committed
549
            addCriterion("create_by like", value, "createBy");
550 551 552 553
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
gary's avatar
gary committed
554
            addCriterion("create_by not like", value, "createBy");
555 556 557 558
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
gary's avatar
gary committed
559
            addCriterion("create_by in", values, "createBy");
560 561 562 563
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
gary's avatar
gary committed
564
            addCriterion("create_by not in", values, "createBy");
565 566 567 568
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
gary's avatar
gary committed
569
            addCriterion("create_by between", value1, value2, "createBy");
570 571 572 573
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
gary's avatar
gary committed
574
            addCriterion("create_by not between", value1, value2, "createBy");
575 576 577 578
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
gary's avatar
gary committed
579
            addCriterion("update_by is null");
580 581 582 583
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
gary's avatar
gary committed
584
            addCriterion("update_by is not null");
585 586 587 588
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
gary's avatar
gary committed
589
            addCriterion("update_by =", value, "updateBy");
590 591 592 593
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
gary's avatar
gary committed
594
            addCriterion("update_by <>", value, "updateBy");
595 596 597 598
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
gary's avatar
gary committed
599
            addCriterion("update_by >", value, "updateBy");
600 601 602 603
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
gary's avatar
gary committed
604
            addCriterion("update_by >=", value, "updateBy");
605 606 607 608
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
gary's avatar
gary committed
609
            addCriterion("update_by <", value, "updateBy");
610 611 612 613
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
gary's avatar
gary committed
614
            addCriterion("update_by <=", value, "updateBy");
615 616 617 618
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
gary's avatar
gary committed
619
            addCriterion("update_by like", value, "updateBy");
620 621 622 623
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
gary's avatar
gary committed
624
            addCriterion("update_by not like", value, "updateBy");
625 626 627 628
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
gary's avatar
gary committed
629
            addCriterion("update_by in", values, "updateBy");
630 631 632 633
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
gary's avatar
gary committed
634
            addCriterion("update_by not in", values, "updateBy");
635 636 637 638
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
gary's avatar
gary committed
639
            addCriterion("update_by between", value1, value2, "updateBy");
640 641 642 643
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
gary's avatar
gary committed
644
            addCriterion("update_by not between", value1, value2, "updateBy");
645 646 647 648 649 650
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
651
     * This class corresponds to the database table tax_rule_setting_organization
652 653 654 655 656 657 658 659 660 661 662 663
     *
     * @mbg.generated do_not_delete_during_merge
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class was generated by MyBatis Generator.
gary's avatar
gary committed
664
     * This class corresponds to the database table tax_rule_setting_organization
665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753
     *
     * @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);
        }
    }
}