Subversion Repositories SmartDukaan

Rev

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

Rev 5460 Rev 5945
Line 32... Line 32...
32
  private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I64, (short)7);
32
  private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I64, (short)7);
33
  private static final org.apache.thrift.protocol.TField COMMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("comments", org.apache.thrift.protocol.TType.STRING, (short)8);
33
  private static final org.apache.thrift.protocol.TField COMMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("comments", org.apache.thrift.protocol.TType.STRING, (short)8);
34
  private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)9);
34
  private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)9);
35
  private static final org.apache.thrift.protocol.TField FEATURE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("featureId", org.apache.thrift.protocol.TType.I64, (short)10);
35
  private static final org.apache.thrift.protocol.TField FEATURE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("featureId", org.apache.thrift.protocol.TType.I64, (short)10);
36
  private static final org.apache.thrift.protocol.TField FEATURE_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("featureDescription", org.apache.thrift.protocol.TType.STRING, (short)11);
36
  private static final org.apache.thrift.protocol.TField FEATURE_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("featureDescription", org.apache.thrift.protocol.TType.STRING, (short)11);
37
  private static final org.apache.thrift.protocol.TField ITEM_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("itemInventory", org.apache.thrift.protocol.TType.STRUCT, (short)12);
-
 
38
  private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)13);
37
  private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)13);
39
  private static final org.apache.thrift.protocol.TField SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("sellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
38
  private static final org.apache.thrift.protocol.TField SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("sellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
40
  private static final org.apache.thrift.protocol.TField WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("weight", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
39
  private static final org.apache.thrift.protocol.TField WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("weight", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
41
  private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)16);
40
  private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)16);
42
  private static final org.apache.thrift.protocol.TField START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("startDate", org.apache.thrift.protocol.TType.I64, (short)17);
41
  private static final org.apache.thrift.protocol.TField START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("startDate", org.apache.thrift.protocol.TType.I64, (short)17);
Line 69... Line 68...
69
  private long category; // required
68
  private long category; // required
70
  private String comments; // required
69
  private String comments; // required
71
  private long catalogItemId; // required
70
  private long catalogItemId; // required
72
  private long featureId; // required
71
  private long featureId; // required
73
  private String featureDescription; // required
72
  private String featureDescription; // required
74
  private ItemInventory itemInventory; // required
-
 
75
  private double mrp; // required
73
  private double mrp; // required
76
  private double sellingPrice; // required
74
  private double sellingPrice; // required
77
  private double weight; // required
75
  private double weight; // required
78
  private long addedOn; // required
76
  private long addedOn; // required
79
  private long startDate; // required
77
  private long startDate; // required
Line 108... Line 106...
108
    CATEGORY((short)7, "category"),
106
    CATEGORY((short)7, "category"),
109
    COMMENTS((short)8, "comments"),
107
    COMMENTS((short)8, "comments"),
110
    CATALOG_ITEM_ID((short)9, "catalogItemId"),
108
    CATALOG_ITEM_ID((short)9, "catalogItemId"),
111
    FEATURE_ID((short)10, "featureId"),
109
    FEATURE_ID((short)10, "featureId"),
112
    FEATURE_DESCRIPTION((short)11, "featureDescription"),
110
    FEATURE_DESCRIPTION((short)11, "featureDescription"),
113
    ITEM_INVENTORY((short)12, "itemInventory"),
-
 
114
    MRP((short)13, "mrp"),
111
    MRP((short)13, "mrp"),
115
    SELLING_PRICE((short)14, "sellingPrice"),
112
    SELLING_PRICE((short)14, "sellingPrice"),
116
    WEIGHT((short)15, "weight"),
113
    WEIGHT((short)15, "weight"),
117
    ADDED_ON((short)16, "addedOn"),
114
    ADDED_ON((short)16, "addedOn"),
118
    START_DATE((short)17, "startDate"),
115
    START_DATE((short)17, "startDate"),
Line 177... Line 174...
177
          return CATALOG_ITEM_ID;
174
          return CATALOG_ITEM_ID;
178
        case 10: // FEATURE_ID
175
        case 10: // FEATURE_ID
179
          return FEATURE_ID;
176
          return FEATURE_ID;
180
        case 11: // FEATURE_DESCRIPTION
177
        case 11: // FEATURE_DESCRIPTION
181
          return FEATURE_DESCRIPTION;
178
          return FEATURE_DESCRIPTION;
182
        case 12: // ITEM_INVENTORY
-
 
183
          return ITEM_INVENTORY;
-
 
184
        case 13: // MRP
179
        case 13: // MRP
185
          return MRP;
180
          return MRP;
186
        case 14: // SELLING_PRICE
181
        case 14: // SELLING_PRICE
187
          return SELLING_PRICE;
182
          return SELLING_PRICE;
188
        case 15: // WEIGHT
183
        case 15: // WEIGHT
Line 317... Line 312...
317
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
312
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
318
    tmpMap.put(_Fields.FEATURE_ID, new org.apache.thrift.meta_data.FieldMetaData("featureId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
313
    tmpMap.put(_Fields.FEATURE_ID, new org.apache.thrift.meta_data.FieldMetaData("featureId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
319
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
314
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
320
    tmpMap.put(_Fields.FEATURE_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("featureDescription", org.apache.thrift.TFieldRequirementType.DEFAULT, 
315
    tmpMap.put(_Fields.FEATURE_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("featureDescription", org.apache.thrift.TFieldRequirementType.DEFAULT, 
321
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
316
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
322
    tmpMap.put(_Fields.ITEM_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("itemInventory", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
323
        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ItemInventory.class)));
-
 
324
    tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
317
    tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
325
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
318
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
326
    tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
319
    tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
327
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
320
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
328
    tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
321
    tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
Line 388... Line 381...
388
    long category,
381
    long category,
389
    String comments,
382
    String comments,
390
    long catalogItemId,
383
    long catalogItemId,
391
    long featureId,
384
    long featureId,
392
    String featureDescription,
385
    String featureDescription,
393
    ItemInventory itemInventory,
-
 
394
    long addedOn,
386
    long addedOn,
395
    status itemStatus,
387
    status itemStatus,
396
    String status_description,
388
    String status_description,
397
    Map<String,String> otherInfo,
389
    Map<String,String> otherInfo,
398
    String bestDealText,
390
    String bestDealText,
Line 418... Line 410...
418
    this.catalogItemId = catalogItemId;
410
    this.catalogItemId = catalogItemId;
419
    setCatalogItemIdIsSet(true);
411
    setCatalogItemIdIsSet(true);
420
    this.featureId = featureId;
412
    this.featureId = featureId;
421
    setFeatureIdIsSet(true);
413
    setFeatureIdIsSet(true);
422
    this.featureDescription = featureDescription;
414
    this.featureDescription = featureDescription;
423
    this.itemInventory = itemInventory;
-
 
424
    this.addedOn = addedOn;
415
    this.addedOn = addedOn;
425
    setAddedOnIsSet(true);
416
    setAddedOnIsSet(true);
426
    this.itemStatus = itemStatus;
417
    this.itemStatus = itemStatus;
427
    this.status_description = status_description;
418
    this.status_description = status_description;
428
    this.otherInfo = otherInfo;
419
    this.otherInfo = otherInfo;
Line 471... Line 462...
471
    this.catalogItemId = other.catalogItemId;
462
    this.catalogItemId = other.catalogItemId;
472
    this.featureId = other.featureId;
463
    this.featureId = other.featureId;
473
    if (other.isSetFeatureDescription()) {
464
    if (other.isSetFeatureDescription()) {
474
      this.featureDescription = other.featureDescription;
465
      this.featureDescription = other.featureDescription;
475
    }
466
    }
476
    if (other.isSetItemInventory()) {
-
 
477
      this.itemInventory = new ItemInventory(other.itemInventory);
-
 
478
    }
-
 
479
    this.mrp = other.mrp;
467
    this.mrp = other.mrp;
480
    this.sellingPrice = other.sellingPrice;
468
    this.sellingPrice = other.sellingPrice;
481
    this.weight = other.weight;
469
    this.weight = other.weight;
482
    this.addedOn = other.addedOn;
470
    this.addedOn = other.addedOn;
483
    this.startDate = other.startDate;
471
    this.startDate = other.startDate;
Line 543... Line 531...
543
    setCatalogItemIdIsSet(false);
531
    setCatalogItemIdIsSet(false);
544
    this.catalogItemId = 0;
532
    this.catalogItemId = 0;
545
    setFeatureIdIsSet(false);
533
    setFeatureIdIsSet(false);
546
    this.featureId = 0;
534
    this.featureId = 0;
547
    this.featureDescription = null;
535
    this.featureDescription = null;
548
    this.itemInventory = null;
-
 
549
    setMrpIsSet(false);
536
    setMrpIsSet(false);
550
    this.mrp = 0.0;
537
    this.mrp = 0.0;
551
    setSellingPriceIsSet(false);
538
    setSellingPriceIsSet(false);
552
    this.sellingPrice = 0.0;
539
    this.sellingPrice = 0.0;
553
    setWeightIsSet(false);
540
    setWeightIsSet(false);
Line 838... Line 825...
838
    if (!value) {
825
    if (!value) {
839
      this.featureDescription = null;
826
      this.featureDescription = null;
840
    }
827
    }
841
  }
828
  }
842
 
829
 
843
  public ItemInventory getItemInventory() {
-
 
844
    return this.itemInventory;
-
 
845
  }
-
 
846
 
-
 
847
  public void setItemInventory(ItemInventory itemInventory) {
-
 
848
    this.itemInventory = itemInventory;
-
 
849
  }
-
 
850
 
-
 
851
  public void unsetItemInventory() {
-
 
852
    this.itemInventory = null;
-
 
853
  }
-
 
854
 
-
 
855
  /** Returns true if field itemInventory is set (has been assigned a value) and false otherwise */
-
 
856
  public boolean isSetItemInventory() {
-
 
857
    return this.itemInventory != null;
-
 
858
  }
-
 
859
 
-
 
860
  public void setItemInventoryIsSet(boolean value) {
-
 
861
    if (!value) {
-
 
862
      this.itemInventory = null;
-
 
863
    }
-
 
864
  }
-
 
865
 
-
 
866
  public double getMrp() {
830
  public double getMrp() {
867
    return this.mrp;
831
    return this.mrp;
868
  }
832
  }
869
 
833
 
870
  public void setMrp(double mrp) {
834
  public void setMrp(double mrp) {
Line 1511... Line 1475...
1511
      } else {
1475
      } else {
1512
        setFeatureDescription((String)value);
1476
        setFeatureDescription((String)value);
1513
      }
1477
      }
1514
      break;
1478
      break;
1515
 
1479
 
1516
    case ITEM_INVENTORY:
-
 
1517
      if (value == null) {
-
 
1518
        unsetItemInventory();
-
 
1519
      } else {
-
 
1520
        setItemInventory((ItemInventory)value);
-
 
1521
      }
-
 
1522
      break;
-
 
1523
 
-
 
1524
    case MRP:
1480
    case MRP:
1525
      if (value == null) {
1481
      if (value == null) {
1526
        unsetMrp();
1482
        unsetMrp();
1527
      } else {
1483
      } else {
1528
        setMrp((Double)value);
1484
        setMrp((Double)value);
Line 1749... Line 1705...
1749
      return Long.valueOf(getFeatureId());
1705
      return Long.valueOf(getFeatureId());
1750
 
1706
 
1751
    case FEATURE_DESCRIPTION:
1707
    case FEATURE_DESCRIPTION:
1752
      return getFeatureDescription();
1708
      return getFeatureDescription();
1753
 
1709
 
1754
    case ITEM_INVENTORY:
-
 
1755
      return getItemInventory();
-
 
1756
 
-
 
1757
    case MRP:
1710
    case MRP:
1758
      return Double.valueOf(getMrp());
1711
      return Double.valueOf(getMrp());
1759
 
1712
 
1760
    case SELLING_PRICE:
1713
    case SELLING_PRICE:
1761
      return Double.valueOf(getSellingPrice());
1714
      return Double.valueOf(getSellingPrice());
Line 1857... Line 1810...
1857
      return isSetCatalogItemId();
1810
      return isSetCatalogItemId();
1858
    case FEATURE_ID:
1811
    case FEATURE_ID:
1859
      return isSetFeatureId();
1812
      return isSetFeatureId();
1860
    case FEATURE_DESCRIPTION:
1813
    case FEATURE_DESCRIPTION:
1861
      return isSetFeatureDescription();
1814
      return isSetFeatureDescription();
1862
    case ITEM_INVENTORY:
-
 
1863
      return isSetItemInventory();
-
 
1864
    case MRP:
1815
    case MRP:
1865
      return isSetMrp();
1816
      return isSetMrp();
1866
    case SELLING_PRICE:
1817
    case SELLING_PRICE:
1867
      return isSetSellingPrice();
1818
      return isSetSellingPrice();
1868
    case WEIGHT:
1819
    case WEIGHT:
Line 2023... Line 1974...
2023
        return false;
1974
        return false;
2024
      if (!this.featureDescription.equals(that.featureDescription))
1975
      if (!this.featureDescription.equals(that.featureDescription))
2025
        return false;
1976
        return false;
2026
    }
1977
    }
2027
 
1978
 
2028
    boolean this_present_itemInventory = true && this.isSetItemInventory();
-
 
2029
    boolean that_present_itemInventory = true && that.isSetItemInventory();
-
 
2030
    if (this_present_itemInventory || that_present_itemInventory) {
-
 
2031
      if (!(this_present_itemInventory && that_present_itemInventory))
-
 
2032
        return false;
-
 
2033
      if (!this.itemInventory.equals(that.itemInventory))
-
 
2034
        return false;
-
 
2035
    }
-
 
2036
 
-
 
2037
    boolean this_present_mrp = true && this.isSetMrp();
1979
    boolean this_present_mrp = true && this.isSetMrp();
2038
    boolean that_present_mrp = true && that.isSetMrp();
1980
    boolean that_present_mrp = true && that.isSetMrp();
2039
    if (this_present_mrp || that_present_mrp) {
1981
    if (this_present_mrp || that_present_mrp) {
2040
      if (!(this_present_mrp && that_present_mrp))
1982
      if (!(this_present_mrp && that_present_mrp))
2041
        return false;
1983
        return false;
Line 2374... Line 2316...
2374
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureDescription, typedOther.featureDescription);
2316
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureDescription, typedOther.featureDescription);
2375
      if (lastComparison != 0) {
2317
      if (lastComparison != 0) {
2376
        return lastComparison;
2318
        return lastComparison;
2377
      }
2319
      }
2378
    }
2320
    }
2379
    lastComparison = Boolean.valueOf(isSetItemInventory()).compareTo(typedOther.isSetItemInventory());
-
 
2380
    if (lastComparison != 0) {
-
 
2381
      return lastComparison;
-
 
2382
    }
-
 
2383
    if (isSetItemInventory()) {
-
 
2384
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemInventory, typedOther.itemInventory);
-
 
2385
      if (lastComparison != 0) {
-
 
2386
        return lastComparison;
-
 
2387
      }
-
 
2388
    }
-
 
2389
    lastComparison = Boolean.valueOf(isSetMrp()).compareTo(typedOther.isSetMrp());
2321
    lastComparison = Boolean.valueOf(isSetMrp()).compareTo(typedOther.isSetMrp());
2390
    if (lastComparison != 0) {
2322
    if (lastComparison != 0) {
2391
      return lastComparison;
2323
      return lastComparison;
2392
    }
2324
    }
2393
    if (isSetMrp()) {
2325
    if (isSetMrp()) {
Line 2722... Line 2654...
2722
            this.featureDescription = iprot.readString();
2654
            this.featureDescription = iprot.readString();
2723
          } else { 
2655
          } else { 
2724
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2656
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2725
          }
2657
          }
2726
          break;
2658
          break;
2727
        case 12: // ITEM_INVENTORY
-
 
2728
          if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
-
 
2729
            this.itemInventory = new ItemInventory();
-
 
2730
            this.itemInventory.read(iprot);
-
 
2731
          } else { 
-
 
2732
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2733
          }
-
 
2734
          break;
-
 
2735
        case 13: // MRP
2659
        case 13: // MRP
2736
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2660
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2737
            this.mrp = iprot.readDouble();
2661
            this.mrp = iprot.readDouble();
2738
            setMrpIsSet(true);
2662
            setMrpIsSet(true);
2739
          } else { 
2663
          } else { 
Line 2795... Line 2719...
2795
          }
2719
          }
2796
          break;
2720
          break;
2797
        case 21: // OTHER_INFO
2721
        case 21: // OTHER_INFO
2798
          if (field.type == org.apache.thrift.protocol.TType.MAP) {
2722
          if (field.type == org.apache.thrift.protocol.TType.MAP) {
2799
            {
2723
            {
2800
              org.apache.thrift.protocol.TMap _map10 = iprot.readMapBegin();
2724
              org.apache.thrift.protocol.TMap _map0 = iprot.readMapBegin();
2801
              this.otherInfo = new HashMap<String,String>(2*_map10.size);
2725
              this.otherInfo = new HashMap<String,String>(2*_map0.size);
2802
              for (int _i11 = 0; _i11 < _map10.size; ++_i11)
2726
              for (int _i1 = 0; _i1 < _map0.size; ++_i1)
2803
              {
2727
              {
2804
                String _key12; // required
2728
                String _key2; // required
2805
                String _val13; // required
2729
                String _val3; // required
2806
                _key12 = iprot.readString();
2730
                _key2 = iprot.readString();
2807
                _val13 = iprot.readString();
2731
                _val3 = iprot.readString();
2808
                this.otherInfo.put(_key12, _val13);
2732
                this.otherInfo.put(_key2, _val3);
2809
              }
2733
              }
2810
              iprot.readMapEnd();
2734
              iprot.readMapEnd();
2811
            }
2735
            }
2812
          } else { 
2736
          } else { 
2813
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2737
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 2989... Line 2913...
2989
    if (this.featureDescription != null) {
2913
    if (this.featureDescription != null) {
2990
      oprot.writeFieldBegin(FEATURE_DESCRIPTION_FIELD_DESC);
2914
      oprot.writeFieldBegin(FEATURE_DESCRIPTION_FIELD_DESC);
2991
      oprot.writeString(this.featureDescription);
2915
      oprot.writeString(this.featureDescription);
2992
      oprot.writeFieldEnd();
2916
      oprot.writeFieldEnd();
2993
    }
2917
    }
2994
    if (this.itemInventory != null) {
-
 
2995
      oprot.writeFieldBegin(ITEM_INVENTORY_FIELD_DESC);
-
 
2996
      this.itemInventory.write(oprot);
-
 
2997
      oprot.writeFieldEnd();
-
 
2998
    }
-
 
2999
    if (isSetMrp()) {
2918
    if (isSetMrp()) {
3000
      oprot.writeFieldBegin(MRP_FIELD_DESC);
2919
      oprot.writeFieldBegin(MRP_FIELD_DESC);
3001
      oprot.writeDouble(this.mrp);
2920
      oprot.writeDouble(this.mrp);
3002
      oprot.writeFieldEnd();
2921
      oprot.writeFieldEnd();
3003
    }
2922
    }
Line 3036... Line 2955...
3036
    }
2955
    }
3037
    if (this.otherInfo != null) {
2956
    if (this.otherInfo != null) {
3038
      oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
2957
      oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
3039
      {
2958
      {
3040
        oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.otherInfo.size()));
2959
        oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.otherInfo.size()));
3041
        for (Map.Entry<String, String> _iter14 : this.otherInfo.entrySet())
2960
        for (Map.Entry<String, String> _iter4 : this.otherInfo.entrySet())
3042
        {
2961
        {
3043
          oprot.writeString(_iter14.getKey());
2962
          oprot.writeString(_iter4.getKey());
3044
          oprot.writeString(_iter14.getValue());
2963
          oprot.writeString(_iter4.getValue());
3045
        }
2964
        }
3046
        oprot.writeMapEnd();
2965
        oprot.writeMapEnd();
3047
      }
2966
      }
3048
      oprot.writeFieldEnd();
2967
      oprot.writeFieldEnd();
3049
    }
2968
    }
Line 3188... Line 3107...
3188
      sb.append("null");
3107
      sb.append("null");
3189
    } else {
3108
    } else {
3190
      sb.append(this.featureDescription);
3109
      sb.append(this.featureDescription);
3191
    }
3110
    }
3192
    first = false;
3111
    first = false;
3193
    if (!first) sb.append(", ");
-
 
3194
    sb.append("itemInventory:");
-
 
3195
    if (this.itemInventory == null) {
-
 
3196
      sb.append("null");
-
 
3197
    } else {
-
 
3198
      sb.append(this.itemInventory);
-
 
3199
    }
-
 
3200
    first = false;
-
 
3201
    if (isSetMrp()) {
3112
    if (isSetMrp()) {
3202
      if (!first) sb.append(", ");
3113
      if (!first) sb.append(", ");
3203
      sb.append("mrp:");
3114
      sb.append("mrp:");
3204
      sb.append(this.mrp);
3115
      sb.append(this.mrp);
3205
      first = false;
3116
      first = false;