Subversion Repositories SmartDukaan

Rev

Rev 6805 | Rev 7291 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6805 Rev 7256
Line 55... Line 55...
55
  private static final org.apache.thrift.protocol.TField PREFERRED_VENDOR_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredVendor", org.apache.thrift.protocol.TType.I64, (short)31);
55
  private static final org.apache.thrift.protocol.TField PREFERRED_VENDOR_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredVendor", org.apache.thrift.protocol.TType.I64, (short)31);
56
  private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)32);
56
  private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)32);
57
  private static final org.apache.thrift.protocol.TField COMING_SOON_START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("comingSoonStartDate", org.apache.thrift.protocol.TType.I64, (short)33);
57
  private static final org.apache.thrift.protocol.TField COMING_SOON_START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("comingSoonStartDate", org.apache.thrift.protocol.TType.I64, (short)33);
58
  private static final org.apache.thrift.protocol.TField EXPECTED_ARRIVAL_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedArrivalDate", org.apache.thrift.protocol.TType.I64, (short)34);
58
  private static final org.apache.thrift.protocol.TField EXPECTED_ARRIVAL_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedArrivalDate", org.apache.thrift.protocol.TType.I64, (short)34);
59
  private static final org.apache.thrift.protocol.TField HAS_ITEM_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("hasItemNo", org.apache.thrift.protocol.TType.BOOL, (short)35);
59
  private static final org.apache.thrift.protocol.TField HAS_ITEM_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("hasItemNo", org.apache.thrift.protocol.TType.BOOL, (short)35);
60
  private static final org.apache.thrift.protocol.TField CLEARANCE_FIELD_DESC = new org.apache.thrift.protocol.TField("clearance", org.apache.thrift.protocol.TType.BOOL, (short)36);
60
  private static final org.apache.thrift.protocol.TField ACTIVE_ON_STORE_FIELD_DESC = new org.apache.thrift.protocol.TField("activeOnStore", org.apache.thrift.protocol.TType.BOOL, (short)36);
61
  private static final org.apache.thrift.protocol.TField VAT_PERCENTAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatPercentage", org.apache.thrift.protocol.TType.DOUBLE, (short)37);
61
  private static final org.apache.thrift.protocol.TField VAT_PERCENTAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatPercentage", org.apache.thrift.protocol.TType.DOUBLE, (short)37);
62
  private static final org.apache.thrift.protocol.TField SHOW_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("showSellingPrice", org.apache.thrift.protocol.TType.BOOL, (short)38);
62
  private static final org.apache.thrift.protocol.TField SHOW_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("showSellingPrice", org.apache.thrift.protocol.TType.BOOL, (short)38);
63
  private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsText", org.apache.thrift.protocol.TType.STRING, (short)39);
63
  private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsText", org.apache.thrift.protocol.TType.STRING, (short)39);
64
  private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_LINK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsLink", org.apache.thrift.protocol.TType.STRING, (short)40);
64
  private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_LINK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsLink", org.apache.thrift.protocol.TType.STRING, (short)40);
65
  private static final org.apache.thrift.protocol.TField PREFERRED_INSURER_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredInsurer", org.apache.thrift.protocol.TType.I64, (short)41);
65
  private static final org.apache.thrift.protocol.TField PREFERRED_INSURER_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredInsurer", org.apache.thrift.protocol.TType.I64, (short)41);
Line 96... Line 96...
96
  private long preferredVendor; // required
96
  private long preferredVendor; // required
97
  private ItemType type; // required
97
  private ItemType type; // required
98
  private long comingSoonStartDate; // required
98
  private long comingSoonStartDate; // required
99
  private long expectedArrivalDate; // required
99
  private long expectedArrivalDate; // required
100
  private boolean hasItemNo; // required
100
  private boolean hasItemNo; // required
101
  private boolean clearance; // required
101
  private boolean activeOnStore; // required
102
  private double vatPercentage; // required
102
  private double vatPercentage; // required
103
  private boolean showSellingPrice; // required
103
  private boolean showSellingPrice; // required
104
  private String bestDealsDetailsText; // required
104
  private String bestDealsDetailsText; // required
105
  private String bestDealsDetailsLink; // required
105
  private String bestDealsDetailsLink; // required
106
  private long preferredInsurer; // required
106
  private long preferredInsurer; // required
Line 147... Line 147...
147
     */
147
     */
148
    TYPE((short)32, "type"),
148
    TYPE((short)32, "type"),
149
    COMING_SOON_START_DATE((short)33, "comingSoonStartDate"),
149
    COMING_SOON_START_DATE((short)33, "comingSoonStartDate"),
150
    EXPECTED_ARRIVAL_DATE((short)34, "expectedArrivalDate"),
150
    EXPECTED_ARRIVAL_DATE((short)34, "expectedArrivalDate"),
151
    HAS_ITEM_NO((short)35, "hasItemNo"),
151
    HAS_ITEM_NO((short)35, "hasItemNo"),
152
    CLEARANCE((short)36, "clearance"),
152
    ACTIVE_ON_STORE((short)36, "activeOnStore"),
153
    VAT_PERCENTAGE((short)37, "vatPercentage"),
153
    VAT_PERCENTAGE((short)37, "vatPercentage"),
154
    SHOW_SELLING_PRICE((short)38, "showSellingPrice"),
154
    SHOW_SELLING_PRICE((short)38, "showSellingPrice"),
155
    BEST_DEALS_DETAILS_TEXT((short)39, "bestDealsDetailsText"),
155
    BEST_DEALS_DETAILS_TEXT((short)39, "bestDealsDetailsText"),
156
    BEST_DEALS_DETAILS_LINK((short)40, "bestDealsDetailsLink"),
156
    BEST_DEALS_DETAILS_LINK((short)40, "bestDealsDetailsLink"),
157
    PREFERRED_INSURER((short)41, "preferredInsurer");
157
    PREFERRED_INSURER((short)41, "preferredInsurer");
Line 235... Line 235...
235
          return COMING_SOON_START_DATE;
235
          return COMING_SOON_START_DATE;
236
        case 34: // EXPECTED_ARRIVAL_DATE
236
        case 34: // EXPECTED_ARRIVAL_DATE
237
          return EXPECTED_ARRIVAL_DATE;
237
          return EXPECTED_ARRIVAL_DATE;
238
        case 35: // HAS_ITEM_NO
238
        case 35: // HAS_ITEM_NO
239
          return HAS_ITEM_NO;
239
          return HAS_ITEM_NO;
240
        case 36: // CLEARANCE
240
        case 36: // ACTIVE_ON_STORE
241
          return CLEARANCE;
241
          return ACTIVE_ON_STORE;
242
        case 37: // VAT_PERCENTAGE
242
        case 37: // VAT_PERCENTAGE
243
          return VAT_PERCENTAGE;
243
          return VAT_PERCENTAGE;
244
        case 38: // SHOW_SELLING_PRICE
244
        case 38: // SHOW_SELLING_PRICE
245
          return SHOW_SELLING_PRICE;
245
          return SHOW_SELLING_PRICE;
246
        case 39: // BEST_DEALS_DETAILS_TEXT
246
        case 39: // BEST_DEALS_DETAILS_TEXT
Line 309... Line 309...
309
  private static final int __WARRANTYPERIOD_ISSET_ID = 17;
309
  private static final int __WARRANTYPERIOD_ISSET_ID = 17;
310
  private static final int __PREFERREDVENDOR_ISSET_ID = 18;
310
  private static final int __PREFERREDVENDOR_ISSET_ID = 18;
311
  private static final int __COMINGSOONSTARTDATE_ISSET_ID = 19;
311
  private static final int __COMINGSOONSTARTDATE_ISSET_ID = 19;
312
  private static final int __EXPECTEDARRIVALDATE_ISSET_ID = 20;
312
  private static final int __EXPECTEDARRIVALDATE_ISSET_ID = 20;
313
  private static final int __HASITEMNO_ISSET_ID = 21;
313
  private static final int __HASITEMNO_ISSET_ID = 21;
314
  private static final int __CLEARANCE_ISSET_ID = 22;
314
  private static final int __ACTIVEONSTORE_ISSET_ID = 22;
315
  private static final int __VATPERCENTAGE_ISSET_ID = 23;
315
  private static final int __VATPERCENTAGE_ISSET_ID = 23;
316
  private static final int __SHOWSELLINGPRICE_ISSET_ID = 24;
316
  private static final int __SHOWSELLINGPRICE_ISSET_ID = 24;
317
  private static final int __PREFERREDINSURER_ISSET_ID = 25;
317
  private static final int __PREFERREDINSURER_ISSET_ID = 25;
318
  private BitSet __isset_bit_vector = new BitSet(26);
318
  private BitSet __isset_bit_vector = new BitSet(26);
319
 
319
 
Line 388... Line 388...
388
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
388
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
389
    tmpMap.put(_Fields.EXPECTED_ARRIVAL_DATE, new org.apache.thrift.meta_data.FieldMetaData("expectedArrivalDate", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
389
    tmpMap.put(_Fields.EXPECTED_ARRIVAL_DATE, new org.apache.thrift.meta_data.FieldMetaData("expectedArrivalDate", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
390
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
390
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
391
    tmpMap.put(_Fields.HAS_ITEM_NO, new org.apache.thrift.meta_data.FieldMetaData("hasItemNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
391
    tmpMap.put(_Fields.HAS_ITEM_NO, new org.apache.thrift.meta_data.FieldMetaData("hasItemNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
392
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
392
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
393
    tmpMap.put(_Fields.CLEARANCE, new org.apache.thrift.meta_data.FieldMetaData("clearance", org.apache.thrift.TFieldRequirementType.DEFAULT, 
393
    tmpMap.put(_Fields.ACTIVE_ON_STORE, new org.apache.thrift.meta_data.FieldMetaData("activeOnStore", org.apache.thrift.TFieldRequirementType.DEFAULT, 
394
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
394
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
395
    tmpMap.put(_Fields.VAT_PERCENTAGE, new org.apache.thrift.meta_data.FieldMetaData("vatPercentage", org.apache.thrift.TFieldRequirementType.DEFAULT, 
395
    tmpMap.put(_Fields.VAT_PERCENTAGE, new org.apache.thrift.meta_data.FieldMetaData("vatPercentage", org.apache.thrift.TFieldRequirementType.DEFAULT, 
396
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
396
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
397
    tmpMap.put(_Fields.SHOW_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("showSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT, 
397
    tmpMap.put(_Fields.SHOW_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("showSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT, 
398
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
398
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
Line 430... Line 430...
430
    long updatedOn,
430
    long updatedOn,
431
    boolean risky,
431
    boolean risky,
432
    int warrantyPeriod,
432
    int warrantyPeriod,
433
    ItemType type,
433
    ItemType type,
434
    boolean hasItemNo,
434
    boolean hasItemNo,
435
    boolean clearance,
435
    boolean activeOnStore,
436
    double vatPercentage,
436
    double vatPercentage,
437
    boolean showSellingPrice,
437
    boolean showSellingPrice,
438
    String bestDealsDetailsText,
438
    String bestDealsDetailsText,
439
    String bestDealsDetailsLink,
439
    String bestDealsDetailsLink,
440
    long preferredInsurer)
440
    long preferredInsurer)
Line 470... Line 470...
470
    this.warrantyPeriod = warrantyPeriod;
470
    this.warrantyPeriod = warrantyPeriod;
471
    setWarrantyPeriodIsSet(true);
471
    setWarrantyPeriodIsSet(true);
472
    this.type = type;
472
    this.type = type;
473
    this.hasItemNo = hasItemNo;
473
    this.hasItemNo = hasItemNo;
474
    setHasItemNoIsSet(true);
474
    setHasItemNoIsSet(true);
475
    this.clearance = clearance;
475
    this.activeOnStore = activeOnStore;
476
    setClearanceIsSet(true);
476
    setActiveOnStoreIsSet(true);
477
    this.vatPercentage = vatPercentage;
477
    this.vatPercentage = vatPercentage;
478
    setVatPercentageIsSet(true);
478
    setVatPercentageIsSet(true);
479
    this.showSellingPrice = showSellingPrice;
479
    this.showSellingPrice = showSellingPrice;
480
    setShowSellingPriceIsSet(true);
480
    setShowSellingPriceIsSet(true);
481
    this.bestDealsDetailsText = bestDealsDetailsText;
481
    this.bestDealsDetailsText = bestDealsDetailsText;
Line 558... Line 558...
558
      this.type = other.type;
558
      this.type = other.type;
559
    }
559
    }
560
    this.comingSoonStartDate = other.comingSoonStartDate;
560
    this.comingSoonStartDate = other.comingSoonStartDate;
561
    this.expectedArrivalDate = other.expectedArrivalDate;
561
    this.expectedArrivalDate = other.expectedArrivalDate;
562
    this.hasItemNo = other.hasItemNo;
562
    this.hasItemNo = other.hasItemNo;
563
    this.clearance = other.clearance;
563
    this.activeOnStore = other.activeOnStore;
564
    this.vatPercentage = other.vatPercentage;
564
    this.vatPercentage = other.vatPercentage;
565
    this.showSellingPrice = other.showSellingPrice;
565
    this.showSellingPrice = other.showSellingPrice;
566
    if (other.isSetBestDealsDetailsText()) {
566
    if (other.isSetBestDealsDetailsText()) {
567
      this.bestDealsDetailsText = other.bestDealsDetailsText;
567
      this.bestDealsDetailsText = other.bestDealsDetailsText;
568
    }
568
    }
Line 632... Line 632...
632
    this.comingSoonStartDate = 0;
632
    this.comingSoonStartDate = 0;
633
    setExpectedArrivalDateIsSet(false);
633
    setExpectedArrivalDateIsSet(false);
634
    this.expectedArrivalDate = 0;
634
    this.expectedArrivalDate = 0;
635
    setHasItemNoIsSet(false);
635
    setHasItemNoIsSet(false);
636
    this.hasItemNo = false;
636
    this.hasItemNo = false;
637
    setClearanceIsSet(false);
637
    setActiveOnStoreIsSet(false);
638
    this.clearance = false;
638
    this.activeOnStore = false;
639
    setVatPercentageIsSet(false);
639
    setVatPercentageIsSet(false);
640
    this.vatPercentage = 0.0;
640
    this.vatPercentage = 0.0;
641
    setShowSellingPriceIsSet(false);
641
    setShowSellingPriceIsSet(false);
642
    this.showSellingPrice = false;
642
    this.showSellingPrice = false;
643
    this.bestDealsDetailsText = null;
643
    this.bestDealsDetailsText = null;
Line 1431... Line 1431...
1431
 
1431
 
1432
  public void setHasItemNoIsSet(boolean value) {
1432
  public void setHasItemNoIsSet(boolean value) {
1433
    __isset_bit_vector.set(__HASITEMNO_ISSET_ID, value);
1433
    __isset_bit_vector.set(__HASITEMNO_ISSET_ID, value);
1434
  }
1434
  }
1435
 
1435
 
1436
  public boolean isClearance() {
1436
  public boolean isActiveOnStore() {
1437
    return this.clearance;
1437
    return this.activeOnStore;
1438
  }
1438
  }
1439
 
1439
 
1440
  public void setClearance(boolean clearance) {
1440
  public void setActiveOnStore(boolean activeOnStore) {
1441
    this.clearance = clearance;
1441
    this.activeOnStore = activeOnStore;
1442
    setClearanceIsSet(true);
1442
    setActiveOnStoreIsSet(true);
1443
  }
1443
  }
1444
 
1444
 
1445
  public void unsetClearance() {
1445
  public void unsetActiveOnStore() {
1446
    __isset_bit_vector.clear(__CLEARANCE_ISSET_ID);
1446
    __isset_bit_vector.clear(__ACTIVEONSTORE_ISSET_ID);
1447
  }
1447
  }
1448
 
1448
 
1449
  /** Returns true if field clearance is set (has been assigned a value) and false otherwise */
1449
  /** Returns true if field activeOnStore is set (has been assigned a value) and false otherwise */
1450
  public boolean isSetClearance() {
1450
  public boolean isSetActiveOnStore() {
1451
    return __isset_bit_vector.get(__CLEARANCE_ISSET_ID);
1451
    return __isset_bit_vector.get(__ACTIVEONSTORE_ISSET_ID);
1452
  }
1452
  }
1453
 
1453
 
1454
  public void setClearanceIsSet(boolean value) {
1454
  public void setActiveOnStoreIsSet(boolean value) {
1455
    __isset_bit_vector.set(__CLEARANCE_ISSET_ID, value);
1455
    __isset_bit_vector.set(__ACTIVEONSTORE_ISSET_ID, value);
1456
  }
1456
  }
1457
 
1457
 
1458
  public double getVatPercentage() {
1458
  public double getVatPercentage() {
1459
    return this.vatPercentage;
1459
    return this.vatPercentage;
1460
  }
1460
  }
Line 1839... Line 1839...
1839
      } else {
1839
      } else {
1840
        setHasItemNo((Boolean)value);
1840
        setHasItemNo((Boolean)value);
1841
      }
1841
      }
1842
      break;
1842
      break;
1843
 
1843
 
1844
    case CLEARANCE:
1844
    case ACTIVE_ON_STORE:
1845
      if (value == null) {
1845
      if (value == null) {
1846
        unsetClearance();
1846
        unsetActiveOnStore();
1847
      } else {
1847
      } else {
1848
        setClearance((Boolean)value);
1848
        setActiveOnStore((Boolean)value);
1849
      }
1849
      }
1850
      break;
1850
      break;
1851
 
1851
 
1852
    case VAT_PERCENTAGE:
1852
    case VAT_PERCENTAGE:
1853
      if (value == null) {
1853
      if (value == null) {
Line 1994... Line 1994...
1994
      return Long.valueOf(getExpectedArrivalDate());
1994
      return Long.valueOf(getExpectedArrivalDate());
1995
 
1995
 
1996
    case HAS_ITEM_NO:
1996
    case HAS_ITEM_NO:
1997
      return Boolean.valueOf(isHasItemNo());
1997
      return Boolean.valueOf(isHasItemNo());
1998
 
1998
 
1999
    case CLEARANCE:
1999
    case ACTIVE_ON_STORE:
2000
      return Boolean.valueOf(isClearance());
2000
      return Boolean.valueOf(isActiveOnStore());
2001
 
2001
 
2002
    case VAT_PERCENTAGE:
2002
    case VAT_PERCENTAGE:
2003
      return Double.valueOf(getVatPercentage());
2003
      return Double.valueOf(getVatPercentage());
2004
 
2004
 
2005
    case SHOW_SELLING_PRICE:
2005
    case SHOW_SELLING_PRICE:
Line 2091... Line 2091...
2091
      return isSetComingSoonStartDate();
2091
      return isSetComingSoonStartDate();
2092
    case EXPECTED_ARRIVAL_DATE:
2092
    case EXPECTED_ARRIVAL_DATE:
2093
      return isSetExpectedArrivalDate();
2093
      return isSetExpectedArrivalDate();
2094
    case HAS_ITEM_NO:
2094
    case HAS_ITEM_NO:
2095
      return isSetHasItemNo();
2095
      return isSetHasItemNo();
2096
    case CLEARANCE:
2096
    case ACTIVE_ON_STORE:
2097
      return isSetClearance();
2097
      return isSetActiveOnStore();
2098
    case VAT_PERCENTAGE:
2098
    case VAT_PERCENTAGE:
2099
      return isSetVatPercentage();
2099
      return isSetVatPercentage();
2100
    case SHOW_SELLING_PRICE:
2100
    case SHOW_SELLING_PRICE:
2101
      return isSetShowSellingPrice();
2101
      return isSetShowSellingPrice();
2102
    case BEST_DEALS_DETAILS_TEXT:
2102
    case BEST_DEALS_DETAILS_TEXT:
Line 2426... Line 2426...
2426
        return false;
2426
        return false;
2427
      if (this.hasItemNo != that.hasItemNo)
2427
      if (this.hasItemNo != that.hasItemNo)
2428
        return false;
2428
        return false;
2429
    }
2429
    }
2430
 
2430
 
2431
    boolean this_present_clearance = true;
2431
    boolean this_present_activeOnStore = true;
2432
    boolean that_present_clearance = true;
2432
    boolean that_present_activeOnStore = true;
2433
    if (this_present_clearance || that_present_clearance) {
2433
    if (this_present_activeOnStore || that_present_activeOnStore) {
2434
      if (!(this_present_clearance && that_present_clearance))
2434
      if (!(this_present_activeOnStore && that_present_activeOnStore))
2435
        return false;
2435
        return false;
2436
      if (this.clearance != that.clearance)
2436
      if (this.activeOnStore != that.activeOnStore)
2437
        return false;
2437
        return false;
2438
    }
2438
    }
2439
 
2439
 
2440
    boolean this_present_vatPercentage = true;
2440
    boolean this_present_vatPercentage = true;
2441
    boolean that_present_vatPercentage = true;
2441
    boolean that_present_vatPercentage = true;
Line 2836... Line 2836...
2836
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasItemNo, typedOther.hasItemNo);
2836
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasItemNo, typedOther.hasItemNo);
2837
      if (lastComparison != 0) {
2837
      if (lastComparison != 0) {
2838
        return lastComparison;
2838
        return lastComparison;
2839
      }
2839
      }
2840
    }
2840
    }
2841
    lastComparison = Boolean.valueOf(isSetClearance()).compareTo(typedOther.isSetClearance());
2841
    lastComparison = Boolean.valueOf(isSetActiveOnStore()).compareTo(typedOther.isSetActiveOnStore());
2842
    if (lastComparison != 0) {
2842
    if (lastComparison != 0) {
2843
      return lastComparison;
2843
      return lastComparison;
2844
    }
2844
    }
2845
    if (isSetClearance()) {
2845
    if (isSetActiveOnStore()) {
2846
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.clearance, typedOther.clearance);
2846
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.activeOnStore, typedOther.activeOnStore);
2847
      if (lastComparison != 0) {
2847
      if (lastComparison != 0) {
2848
        return lastComparison;
2848
        return lastComparison;
2849
      }
2849
      }
2850
    }
2850
    }
2851
    lastComparison = Boolean.valueOf(isSetVatPercentage()).compareTo(typedOther.isSetVatPercentage());
2851
    lastComparison = Boolean.valueOf(isSetVatPercentage()).compareTo(typedOther.isSetVatPercentage());
Line 3185... Line 3185...
3185
            setHasItemNoIsSet(true);
3185
            setHasItemNoIsSet(true);
3186
          } else { 
3186
          } else { 
3187
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3187
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3188
          }
3188
          }
3189
          break;
3189
          break;
3190
        case 36: // CLEARANCE
3190
        case 36: // ACTIVE_ON_STORE
3191
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
3191
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
3192
            this.clearance = iprot.readBool();
3192
            this.activeOnStore = iprot.readBool();
3193
            setClearanceIsSet(true);
3193
            setActiveOnStoreIsSet(true);
3194
          } else { 
3194
          } else { 
3195
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3195
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3196
          }
3196
          }
3197
          break;
3197
          break;
3198
        case 37: // VAT_PERCENTAGE
3198
        case 37: // VAT_PERCENTAGE
Line 3402... Line 3402...
3402
      oprot.writeFieldEnd();
3402
      oprot.writeFieldEnd();
3403
    }
3403
    }
3404
    oprot.writeFieldBegin(HAS_ITEM_NO_FIELD_DESC);
3404
    oprot.writeFieldBegin(HAS_ITEM_NO_FIELD_DESC);
3405
    oprot.writeBool(this.hasItemNo);
3405
    oprot.writeBool(this.hasItemNo);
3406
    oprot.writeFieldEnd();
3406
    oprot.writeFieldEnd();
3407
    oprot.writeFieldBegin(CLEARANCE_FIELD_DESC);
3407
    oprot.writeFieldBegin(ACTIVE_ON_STORE_FIELD_DESC);
3408
    oprot.writeBool(this.clearance);
3408
    oprot.writeBool(this.activeOnStore);
3409
    oprot.writeFieldEnd();
3409
    oprot.writeFieldEnd();
3410
    oprot.writeFieldBegin(VAT_PERCENTAGE_FIELD_DESC);
3410
    oprot.writeFieldBegin(VAT_PERCENTAGE_FIELD_DESC);
3411
    oprot.writeDouble(this.vatPercentage);
3411
    oprot.writeDouble(this.vatPercentage);
3412
    oprot.writeFieldEnd();
3412
    oprot.writeFieldEnd();
3413
    oprot.writeFieldBegin(SHOW_SELLING_PRICE_FIELD_DESC);
3413
    oprot.writeFieldBegin(SHOW_SELLING_PRICE_FIELD_DESC);
Line 3641... Line 3641...
3641
    if (!first) sb.append(", ");
3641
    if (!first) sb.append(", ");
3642
    sb.append("hasItemNo:");
3642
    sb.append("hasItemNo:");
3643
    sb.append(this.hasItemNo);
3643
    sb.append(this.hasItemNo);
3644
    first = false;
3644
    first = false;
3645
    if (!first) sb.append(", ");
3645
    if (!first) sb.append(", ");
3646
    sb.append("clearance:");
3646
    sb.append("activeOnStore:");
3647
    sb.append(this.clearance);
3647
    sb.append(this.activeOnStore);
3648
    first = false;
3648
    first = false;
3649
    if (!first) sb.append(", ");
3649
    if (!first) sb.append(", ");
3650
    sb.append("vatPercentage:");
3650
    sb.append("vatPercentage:");
3651
    sb.append(this.vatPercentage);
3651
    sb.append(this.vatPercentage);
3652
    first = false;
3652
    first = false;