Subversion Repositories SmartDukaan

Rev

Rev 2114 | Rev 2250 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
100 ashish 1
/**
2
 * Autogenerated by Thrift
3
 *
4
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
 */
6
package in.shop2020.model.v1.catalog;
7
 
8
import java.util.List;
9
import java.util.ArrayList;
10
import java.util.Map;
11
import java.util.HashMap;
12
import java.util.EnumMap;
13
import java.util.Set;
14
import java.util.HashSet;
15
import java.util.EnumSet;
16
import java.util.Collections;
17
import java.util.BitSet;
18
import java.util.Arrays;
19
import org.slf4j.Logger;
20
import org.slf4j.LoggerFactory;
21
 
22
import org.apache.thrift.*;
23
import org.apache.thrift.meta_data.*;
24
import org.apache.thrift.protocol.*;
25
 
26
public class Item implements TBase<Item._Fields>, java.io.Serializable, Cloneable {
27
  private static final TStruct STRUCT_DESC = new TStruct("Item");
28
 
29
  private static final TField ID_FIELD_DESC = new TField("id", TType.I64, (short)1);
957 chandransh 30
  private static final TField PRODUCT_GROUP_FIELD_DESC = new TField("productGroup", TType.STRING, (short)2);
31
  private static final TField BRAND_FIELD_DESC = new TField("brand", TType.STRING, (short)3);
32
  private static final TField MODEL_NUMBER_FIELD_DESC = new TField("modelNumber", TType.STRING, (short)4);
33
  private static final TField MODEL_NAME_FIELD_DESC = new TField("modelName", TType.STRING, (short)5);
1329 chandransh 34
  private static final TField COLOR_FIELD_DESC = new TField("color", TType.STRING, (short)6);
35
  private static final TField CATEGORY_FIELD_DESC = new TField("category", TType.I64, (short)7);
36
  private static final TField COMMENTS_FIELD_DESC = new TField("comments", TType.STRING, (short)8);
37
  private static final TField CATALOG_ITEM_ID_FIELD_DESC = new TField("catalogItemId", TType.I64, (short)9);
123 ashish 38
  private static final TField FEATURE_ID_FIELD_DESC = new TField("featureId", TType.I64, (short)10);
39
  private static final TField FEATURE_DESCRIPTION_FIELD_DESC = new TField("featureDescription", TType.STRING, (short)11);
483 rajveer 40
  private static final TField ITEM_INVENTORY_FIELD_DESC = new TField("itemInventory", TType.STRUCT, (short)12);
41
  private static final TField MRP_FIELD_DESC = new TField("mrp", TType.DOUBLE, (short)13);
42
  private static final TField MOP_FIELD_DESC = new TField("mop", TType.DOUBLE, (short)14);
43
  private static final TField SELLING_PRICE_FIELD_DESC = new TField("sellingPrice", TType.DOUBLE, (short)15);
721 chandransh 44
  private static final TField TRANSFER_PRICE_FIELD_DESC = new TField("transferPrice", TType.DOUBLE, (short)16);
45
  private static final TField WEIGHT_FIELD_DESC = new TField("weight", TType.DOUBLE, (short)17);
46
  private static final TField ADDED_ON_FIELD_DESC = new TField("addedOn", TType.I64, (short)18);
47
  private static final TField START_DATE_FIELD_DESC = new TField("startDate", TType.I64, (short)19);
48
  private static final TField RETIRE_DATE_FIELD_DESC = new TField("retireDate", TType.I64, (short)20);
49
  private static final TField ITEM_STATUS_FIELD_DESC = new TField("itemStatus", TType.I32, (short)21);
2034 rajveer 50
  private static final TField STATUS_DESCRIPTION_FIELD_DESC = new TField("status_description", TType.STRING, (short)22);
51
  private static final TField OTHER_INFO_FIELD_DESC = new TField("otherInfo", TType.MAP, (short)23);
52
  private static final TField BEST_DEAL_TEXT_FIELD_DESC = new TField("bestDealText", TType.STRING, (short)24);
53
  private static final TField BEST_DEAL_VALUE_FIELD_DESC = new TField("bestDealValue", TType.DOUBLE, (short)25);
54
  private static final TField DEALER_PRICE_FIELD_DESC = new TField("dealerPrice", TType.DOUBLE, (short)26);
55
  private static final TField DEFAULT_FOR_ENTITY_FIELD_DESC = new TField("defaultForEntity", TType.BOOL, (short)27);
56
  private static final TField UPDATED_ON_FIELD_DESC = new TField("updatedOn", TType.I64, (short)28);
2064 ankur.sing 57
  private static final TField BEST_SELLING_RANK_FIELD_DESC = new TField("bestSellingRank", TType.I64, (short)29);
2114 ankur.sing 58
  private static final TField HOTSPOT_CATEGORY_FIELD_DESC = new TField("hotspotCategory", TType.STRING, (short)30);
100 ashish 59
 
60
  private long id;
957 chandransh 61
  private String productGroup;
62
  private String brand;
483 rajveer 63
  private String modelNumber;
64
  private String modelName;
1329 chandransh 65
  private String color;
622 chandransh 66
  private long category;
483 rajveer 67
  private String comments;
123 ashish 68
  private long catalogItemId;
483 rajveer 69
  private long featureId;
70
  private String featureDescription;
100 ashish 71
  private ItemInventory itemInventory;
483 rajveer 72
  private double mrp;
73
  private double mop;
74
  private double sellingPrice;
721 chandransh 75
  private double transferPrice;
483 rajveer 76
  private double weight;
103 ashish 77
  private long addedOn;
78
  private long startDate;
483 rajveer 79
  private long retireDate;
103 ashish 80
  private status itemStatus;
2034 rajveer 81
  private String status_description;
103 ashish 82
  private Map<String,String> otherInfo;
607 chandransh 83
  private String bestDealText;
84
  private double bestDealValue;
85
  private double dealerPrice;
1910 varun.gupt 86
  private boolean defaultForEntity;
607 chandransh 87
  private long updatedOn;
2064 ankur.sing 88
  private long bestSellingRank;
2114 ankur.sing 89
  private String hotspotCategory;
100 ashish 90
 
91
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
92
  public enum _Fields implements TFieldIdEnum {
93
    ID((short)1, "id"),
957 chandransh 94
    PRODUCT_GROUP((short)2, "productGroup"),
95
    BRAND((short)3, "brand"),
96
    MODEL_NUMBER((short)4, "modelNumber"),
97
    MODEL_NAME((short)5, "modelName"),
1329 chandransh 98
    COLOR((short)6, "color"),
99
    CATEGORY((short)7, "category"),
100
    COMMENTS((short)8, "comments"),
101
    CATALOG_ITEM_ID((short)9, "catalogItemId"),
483 rajveer 102
    FEATURE_ID((short)10, "featureId"),
103
    FEATURE_DESCRIPTION((short)11, "featureDescription"),
104
    ITEM_INVENTORY((short)12, "itemInventory"),
105
    MRP((short)13, "mrp"),
106
    MOP((short)14, "mop"),
107
    SELLING_PRICE((short)15, "sellingPrice"),
721 chandransh 108
    TRANSFER_PRICE((short)16, "transferPrice"),
109
    WEIGHT((short)17, "weight"),
110
    ADDED_ON((short)18, "addedOn"),
111
    START_DATE((short)19, "startDate"),
112
    RETIRE_DATE((short)20, "retireDate"),
103 ashish 113
    /**
114
     * 
115
     * @see status
116
     */
721 chandransh 117
    ITEM_STATUS((short)21, "itemStatus"),
2034 rajveer 118
    STATUS_DESCRIPTION((short)22, "status_description"),
119
    OTHER_INFO((short)23, "otherInfo"),
120
    BEST_DEAL_TEXT((short)24, "bestDealText"),
121
    BEST_DEAL_VALUE((short)25, "bestDealValue"),
122
    DEALER_PRICE((short)26, "dealerPrice"),
123
    DEFAULT_FOR_ENTITY((short)27, "defaultForEntity"),
2064 ankur.sing 124
    UPDATED_ON((short)28, "updatedOn"),
2114 ankur.sing 125
    BEST_SELLING_RANK((short)29, "bestSellingRank"),
126
    HOTSPOT_CATEGORY((short)30, "hotspotCategory");
100 ashish 127
 
128
    private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
129
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
130
 
131
    static {
132
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
133
        byId.put((int)field._thriftId, field);
134
        byName.put(field.getFieldName(), field);
135
      }
136
    }
137
 
138
    /**
139
     * Find the _Fields constant that matches fieldId, or null if its not found.
140
     */
141
    public static _Fields findByThriftId(int fieldId) {
142
      return byId.get(fieldId);
143
    }
144
 
145
    /**
146
     * Find the _Fields constant that matches fieldId, throwing an exception
147
     * if it is not found.
148
     */
149
    public static _Fields findByThriftIdOrThrow(int fieldId) {
150
      _Fields fields = findByThriftId(fieldId);
151
      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
152
      return fields;
153
    }
154
 
155
    /**
156
     * Find the _Fields constant that matches name, or null if its not found.
157
     */
158
    public static _Fields findByName(String name) {
159
      return byName.get(name);
160
    }
161
 
162
    private final short _thriftId;
163
    private final String _fieldName;
164
 
165
    _Fields(short thriftId, String fieldName) {
166
      _thriftId = thriftId;
167
      _fieldName = fieldName;
168
    }
169
 
170
    public short getThriftFieldId() {
171
      return _thriftId;
172
    }
173
 
174
    public String getFieldName() {
175
      return _fieldName;
176
    }
177
  }
178
 
179
  // isset id assignments
180
  private static final int __ID_ISSET_ID = 0;
622 chandransh 181
  private static final int __CATEGORY_ISSET_ID = 1;
182
  private static final int __CATALOGITEMID_ISSET_ID = 2;
183
  private static final int __FEATUREID_ISSET_ID = 3;
184
  private static final int __MRP_ISSET_ID = 4;
185
  private static final int __MOP_ISSET_ID = 5;
186
  private static final int __SELLINGPRICE_ISSET_ID = 6;
721 chandransh 187
  private static final int __TRANSFERPRICE_ISSET_ID = 7;
188
  private static final int __WEIGHT_ISSET_ID = 8;
189
  private static final int __ADDEDON_ISSET_ID = 9;
190
  private static final int __STARTDATE_ISSET_ID = 10;
191
  private static final int __RETIREDATE_ISSET_ID = 11;
192
  private static final int __BESTDEALVALUE_ISSET_ID = 12;
193
  private static final int __DEALERPRICE_ISSET_ID = 13;
1910 varun.gupt 194
  private static final int __DEFAULTFORENTITY_ISSET_ID = 14;
195
  private static final int __UPDATEDON_ISSET_ID = 15;
2064 ankur.sing 196
  private static final int __BESTSELLINGRANK_ISSET_ID = 16;
197
  private BitSet __isset_bit_vector = new BitSet(17);
100 ashish 198
 
199
  public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
200
    put(_Fields.ID, new FieldMetaData("id", TFieldRequirementType.DEFAULT, 
201
        new FieldValueMetaData(TType.I64)));
957 chandransh 202
    put(_Fields.PRODUCT_GROUP, new FieldMetaData("productGroup", TFieldRequirementType.DEFAULT, 
483 rajveer 203
        new FieldValueMetaData(TType.STRING)));
957 chandransh 204
    put(_Fields.BRAND, new FieldMetaData("brand", TFieldRequirementType.DEFAULT, 
205
        new FieldValueMetaData(TType.STRING)));
483 rajveer 206
    put(_Fields.MODEL_NUMBER, new FieldMetaData("modelNumber", TFieldRequirementType.DEFAULT, 
207
        new FieldValueMetaData(TType.STRING)));
208
    put(_Fields.MODEL_NAME, new FieldMetaData("modelName", TFieldRequirementType.DEFAULT, 
209
        new FieldValueMetaData(TType.STRING)));
1329 chandransh 210
    put(_Fields.COLOR, new FieldMetaData("color", TFieldRequirementType.DEFAULT, 
211
        new FieldValueMetaData(TType.STRING)));
483 rajveer 212
    put(_Fields.CATEGORY, new FieldMetaData("category", TFieldRequirementType.DEFAULT, 
622 chandransh 213
        new FieldValueMetaData(TType.I64)));
483 rajveer 214
    put(_Fields.COMMENTS, new FieldMetaData("comments", TFieldRequirementType.DEFAULT, 
215
        new FieldValueMetaData(TType.STRING)));
123 ashish 216
    put(_Fields.CATALOG_ITEM_ID, new FieldMetaData("catalogItemId", TFieldRequirementType.DEFAULT, 
217
        new FieldValueMetaData(TType.I64)));
483 rajveer 218
    put(_Fields.FEATURE_ID, new FieldMetaData("featureId", TFieldRequirementType.DEFAULT, 
219
        new FieldValueMetaData(TType.I64)));
220
    put(_Fields.FEATURE_DESCRIPTION, new FieldMetaData("featureDescription", TFieldRequirementType.DEFAULT, 
221
        new FieldValueMetaData(TType.STRING)));
100 ashish 222
    put(_Fields.ITEM_INVENTORY, new FieldMetaData("itemInventory", TFieldRequirementType.DEFAULT, 
223
        new StructMetaData(TType.STRUCT, ItemInventory.class)));
2128 ankur.sing 224
    put(_Fields.MRP, new FieldMetaData("mrp", TFieldRequirementType.OPTIONAL, 
483 rajveer 225
        new FieldValueMetaData(TType.DOUBLE)));
226
    put(_Fields.MOP, new FieldMetaData("mop", TFieldRequirementType.DEFAULT, 
227
        new FieldValueMetaData(TType.DOUBLE)));
2128 ankur.sing 228
    put(_Fields.SELLING_PRICE, new FieldMetaData("sellingPrice", TFieldRequirementType.OPTIONAL, 
483 rajveer 229
        new FieldValueMetaData(TType.DOUBLE)));
721 chandransh 230
    put(_Fields.TRANSFER_PRICE, new FieldMetaData("transferPrice", TFieldRequirementType.DEFAULT, 
231
        new FieldValueMetaData(TType.DOUBLE)));
2128 ankur.sing 232
    put(_Fields.WEIGHT, new FieldMetaData("weight", TFieldRequirementType.OPTIONAL, 
483 rajveer 233
        new FieldValueMetaData(TType.DOUBLE)));
103 ashish 234
    put(_Fields.ADDED_ON, new FieldMetaData("addedOn", TFieldRequirementType.DEFAULT, 
235
        new FieldValueMetaData(TType.I64)));
236
    put(_Fields.START_DATE, new FieldMetaData("startDate", TFieldRequirementType.DEFAULT, 
237
        new FieldValueMetaData(TType.I64)));
483 rajveer 238
    put(_Fields.RETIRE_DATE, new FieldMetaData("retireDate", TFieldRequirementType.DEFAULT, 
239
        new FieldValueMetaData(TType.I64)));
103 ashish 240
    put(_Fields.ITEM_STATUS, new FieldMetaData("itemStatus", TFieldRequirementType.DEFAULT, 
241
        new EnumMetaData(TType.ENUM, status.class)));
2034 rajveer 242
    put(_Fields.STATUS_DESCRIPTION, new FieldMetaData("status_description", TFieldRequirementType.DEFAULT, 
243
        new FieldValueMetaData(TType.STRING)));
103 ashish 244
    put(_Fields.OTHER_INFO, new FieldMetaData("otherInfo", TFieldRequirementType.DEFAULT, 
245
        new MapMetaData(TType.MAP, 
246
            new FieldValueMetaData(TType.STRING), 
247
            new FieldValueMetaData(TType.STRING))));
607 chandransh 248
    put(_Fields.BEST_DEAL_TEXT, new FieldMetaData("bestDealText", TFieldRequirementType.DEFAULT, 
249
        new FieldValueMetaData(TType.STRING)));
2128 ankur.sing 250
    put(_Fields.BEST_DEAL_VALUE, new FieldMetaData("bestDealValue", TFieldRequirementType.OPTIONAL, 
607 chandransh 251
        new FieldValueMetaData(TType.DOUBLE)));
252
    put(_Fields.DEALER_PRICE, new FieldMetaData("dealerPrice", TFieldRequirementType.DEFAULT, 
253
        new FieldValueMetaData(TType.DOUBLE)));
1910 varun.gupt 254
    put(_Fields.DEFAULT_FOR_ENTITY, new FieldMetaData("defaultForEntity", TFieldRequirementType.DEFAULT, 
255
        new FieldValueMetaData(TType.BOOL)));
607 chandransh 256
    put(_Fields.UPDATED_ON, new FieldMetaData("updatedOn", TFieldRequirementType.DEFAULT, 
257
        new FieldValueMetaData(TType.I64)));
2128 ankur.sing 258
    put(_Fields.BEST_SELLING_RANK, new FieldMetaData("bestSellingRank", TFieldRequirementType.OPTIONAL, 
2064 ankur.sing 259
        new FieldValueMetaData(TType.I64)));
2114 ankur.sing 260
    put(_Fields.HOTSPOT_CATEGORY, new FieldMetaData("hotspotCategory", TFieldRequirementType.DEFAULT, 
261
        new FieldValueMetaData(TType.STRING)));
100 ashish 262
  }});
263
 
264
  static {
265
    FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
266
  }
267
 
268
  public Item() {
269
  }
270
 
271
  public Item(
272
    long id,
957 chandransh 273
    String productGroup,
274
    String brand,
483 rajveer 275
    String modelNumber,
276
    String modelName,
1329 chandransh 277
    String color,
622 chandransh 278
    long category,
483 rajveer 279
    String comments,
123 ashish 280
    long catalogItemId,
483 rajveer 281
    long featureId,
282
    String featureDescription,
103 ashish 283
    ItemInventory itemInventory,
483 rajveer 284
    double mop,
721 chandransh 285
    double transferPrice,
103 ashish 286
    long addedOn,
287
    long startDate,
483 rajveer 288
    long retireDate,
103 ashish 289
    status itemStatus,
2034 rajveer 290
    String status_description,
607 chandransh 291
    Map<String,String> otherInfo,
292
    String bestDealText,
293
    double dealerPrice,
1910 varun.gupt 294
    boolean defaultForEntity,
2064 ankur.sing 295
    long updatedOn,
2114 ankur.sing 296
    String hotspotCategory)
100 ashish 297
  {
298
    this();
299
    this.id = id;
300
    setIdIsSet(true);
957 chandransh 301
    this.productGroup = productGroup;
302
    this.brand = brand;
483 rajveer 303
    this.modelNumber = modelNumber;
304
    this.modelName = modelName;
1329 chandransh 305
    this.color = color;
483 rajveer 306
    this.category = category;
622 chandransh 307
    setCategoryIsSet(true);
483 rajveer 308
    this.comments = comments;
123 ashish 309
    this.catalogItemId = catalogItemId;
310
    setCatalogItemIdIsSet(true);
483 rajveer 311
    this.featureId = featureId;
312
    setFeatureIdIsSet(true);
313
    this.featureDescription = featureDescription;
100 ashish 314
    this.itemInventory = itemInventory;
483 rajveer 315
    this.mop = mop;
316
    setMopIsSet(true);
721 chandransh 317
    this.transferPrice = transferPrice;
318
    setTransferPriceIsSet(true);
103 ashish 319
    this.addedOn = addedOn;
320
    setAddedOnIsSet(true);
321
    this.startDate = startDate;
322
    setStartDateIsSet(true);
483 rajveer 323
    this.retireDate = retireDate;
324
    setRetireDateIsSet(true);
103 ashish 325
    this.itemStatus = itemStatus;
2034 rajveer 326
    this.status_description = status_description;
103 ashish 327
    this.otherInfo = otherInfo;
607 chandransh 328
    this.bestDealText = bestDealText;
329
    this.dealerPrice = dealerPrice;
330
    setDealerPriceIsSet(true);
1910 varun.gupt 331
    this.defaultForEntity = defaultForEntity;
332
    setDefaultForEntityIsSet(true);
607 chandransh 333
    this.updatedOn = updatedOn;
334
    setUpdatedOnIsSet(true);
2114 ankur.sing 335
    this.hotspotCategory = hotspotCategory;
100 ashish 336
  }
337
 
338
  /**
339
   * Performs a deep copy on <i>other</i>.
340
   */
341
  public Item(Item other) {
342
    __isset_bit_vector.clear();
343
    __isset_bit_vector.or(other.__isset_bit_vector);
344
    this.id = other.id;
957 chandransh 345
    if (other.isSetProductGroup()) {
346
      this.productGroup = other.productGroup;
483 rajveer 347
    }
957 chandransh 348
    if (other.isSetBrand()) {
349
      this.brand = other.brand;
350
    }
483 rajveer 351
    if (other.isSetModelNumber()) {
352
      this.modelNumber = other.modelNumber;
353
    }
354
    if (other.isSetModelName()) {
355
      this.modelName = other.modelName;
356
    }
1329 chandransh 357
    if (other.isSetColor()) {
358
      this.color = other.color;
359
    }
622 chandransh 360
    this.category = other.category;
483 rajveer 361
    if (other.isSetComments()) {
362
      this.comments = other.comments;
363
    }
123 ashish 364
    this.catalogItemId = other.catalogItemId;
483 rajveer 365
    this.featureId = other.featureId;
366
    if (other.isSetFeatureDescription()) {
367
      this.featureDescription = other.featureDescription;
368
    }
100 ashish 369
    if (other.isSetItemInventory()) {
370
      this.itemInventory = new ItemInventory(other.itemInventory);
371
    }
483 rajveer 372
    this.mrp = other.mrp;
373
    this.mop = other.mop;
374
    this.sellingPrice = other.sellingPrice;
721 chandransh 375
    this.transferPrice = other.transferPrice;
483 rajveer 376
    this.weight = other.weight;
103 ashish 377
    this.addedOn = other.addedOn;
378
    this.startDate = other.startDate;
483 rajveer 379
    this.retireDate = other.retireDate;
103 ashish 380
    if (other.isSetItemStatus()) {
381
      this.itemStatus = other.itemStatus;
382
    }
2034 rajveer 383
    if (other.isSetStatus_description()) {
384
      this.status_description = other.status_description;
385
    }
103 ashish 386
    if (other.isSetOtherInfo()) {
387
      Map<String,String> __this__otherInfo = new HashMap<String,String>();
388
      for (Map.Entry<String, String> other_element : other.otherInfo.entrySet()) {
389
 
390
        String other_element_key = other_element.getKey();
391
        String other_element_value = other_element.getValue();
392
 
393
        String __this__otherInfo_copy_key = other_element_key;
394
 
395
        String __this__otherInfo_copy_value = other_element_value;
396
 
397
        __this__otherInfo.put(__this__otherInfo_copy_key, __this__otherInfo_copy_value);
398
      }
399
      this.otherInfo = __this__otherInfo;
400
    }
607 chandransh 401
    if (other.isSetBestDealText()) {
402
      this.bestDealText = other.bestDealText;
403
    }
404
    this.bestDealValue = other.bestDealValue;
405
    this.dealerPrice = other.dealerPrice;
1910 varun.gupt 406
    this.defaultForEntity = other.defaultForEntity;
607 chandransh 407
    this.updatedOn = other.updatedOn;
2064 ankur.sing 408
    this.bestSellingRank = other.bestSellingRank;
2114 ankur.sing 409
    if (other.isSetHotspotCategory()) {
410
      this.hotspotCategory = other.hotspotCategory;
411
    }
100 ashish 412
  }
413
 
414
  public Item deepCopy() {
415
    return new Item(this);
416
  }
417
 
418
  @Deprecated
419
  public Item clone() {
420
    return new Item(this);
421
  }
422
 
423
  public long getId() {
424
    return this.id;
425
  }
426
 
427
  public Item setId(long id) {
428
    this.id = id;
429
    setIdIsSet(true);
430
    return this;
431
  }
432
 
433
  public void unsetId() {
434
    __isset_bit_vector.clear(__ID_ISSET_ID);
435
  }
436
 
437
  /** Returns true if field id is set (has been asigned a value) and false otherwise */
438
  public boolean isSetId() {
439
    return __isset_bit_vector.get(__ID_ISSET_ID);
440
  }
441
 
442
  public void setIdIsSet(boolean value) {
443
    __isset_bit_vector.set(__ID_ISSET_ID, value);
444
  }
445
 
957 chandransh 446
  public String getProductGroup() {
447
    return this.productGroup;
483 rajveer 448
  }
449
 
957 chandransh 450
  public Item setProductGroup(String productGroup) {
451
    this.productGroup = productGroup;
483 rajveer 452
    return this;
453
  }
454
 
957 chandransh 455
  public void unsetProductGroup() {
456
    this.productGroup = null;
483 rajveer 457
  }
458
 
957 chandransh 459
  /** Returns true if field productGroup is set (has been asigned a value) and false otherwise */
460
  public boolean isSetProductGroup() {
461
    return this.productGroup != null;
483 rajveer 462
  }
463
 
957 chandransh 464
  public void setProductGroupIsSet(boolean value) {
483 rajveer 465
    if (!value) {
957 chandransh 466
      this.productGroup = null;
483 rajveer 467
    }
468
  }
469
 
957 chandransh 470
  public String getBrand() {
471
    return this.brand;
472
  }
473
 
474
  public Item setBrand(String brand) {
475
    this.brand = brand;
476
    return this;
477
  }
478
 
479
  public void unsetBrand() {
480
    this.brand = null;
481
  }
482
 
483
  /** Returns true if field brand is set (has been asigned a value) and false otherwise */
484
  public boolean isSetBrand() {
485
    return this.brand != null;
486
  }
487
 
488
  public void setBrandIsSet(boolean value) {
489
    if (!value) {
490
      this.brand = null;
491
    }
492
  }
493
 
483 rajveer 494
  public String getModelNumber() {
495
    return this.modelNumber;
496
  }
497
 
498
  public Item setModelNumber(String modelNumber) {
499
    this.modelNumber = modelNumber;
500
    return this;
501
  }
502
 
503
  public void unsetModelNumber() {
504
    this.modelNumber = null;
505
  }
506
 
507
  /** Returns true if field modelNumber is set (has been asigned a value) and false otherwise */
508
  public boolean isSetModelNumber() {
509
    return this.modelNumber != null;
510
  }
511
 
512
  public void setModelNumberIsSet(boolean value) {
513
    if (!value) {
514
      this.modelNumber = null;
515
    }
516
  }
517
 
518
  public String getModelName() {
519
    return this.modelName;
520
  }
521
 
522
  public Item setModelName(String modelName) {
523
    this.modelName = modelName;
524
    return this;
525
  }
526
 
527
  public void unsetModelName() {
528
    this.modelName = null;
529
  }
530
 
531
  /** Returns true if field modelName is set (has been asigned a value) and false otherwise */
532
  public boolean isSetModelName() {
533
    return this.modelName != null;
534
  }
535
 
536
  public void setModelNameIsSet(boolean value) {
537
    if (!value) {
538
      this.modelName = null;
539
    }
540
  }
541
 
1329 chandransh 542
  public String getColor() {
543
    return this.color;
544
  }
545
 
546
  public Item setColor(String color) {
547
    this.color = color;
548
    return this;
549
  }
550
 
551
  public void unsetColor() {
552
    this.color = null;
553
  }
554
 
555
  /** Returns true if field color is set (has been asigned a value) and false otherwise */
556
  public boolean isSetColor() {
557
    return this.color != null;
558
  }
559
 
560
  public void setColorIsSet(boolean value) {
561
    if (!value) {
562
      this.color = null;
563
    }
564
  }
565
 
622 chandransh 566
  public long getCategory() {
483 rajveer 567
    return this.category;
568
  }
569
 
622 chandransh 570
  public Item setCategory(long category) {
483 rajveer 571
    this.category = category;
622 chandransh 572
    setCategoryIsSet(true);
483 rajveer 573
    return this;
574
  }
575
 
576
  public void unsetCategory() {
622 chandransh 577
    __isset_bit_vector.clear(__CATEGORY_ISSET_ID);
483 rajveer 578
  }
579
 
580
  /** Returns true if field category is set (has been asigned a value) and false otherwise */
581
  public boolean isSetCategory() {
622 chandransh 582
    return __isset_bit_vector.get(__CATEGORY_ISSET_ID);
483 rajveer 583
  }
584
 
585
  public void setCategoryIsSet(boolean value) {
622 chandransh 586
    __isset_bit_vector.set(__CATEGORY_ISSET_ID, value);
483 rajveer 587
  }
588
 
589
  public String getComments() {
590
    return this.comments;
591
  }
592
 
593
  public Item setComments(String comments) {
594
    this.comments = comments;
595
    return this;
596
  }
597
 
598
  public void unsetComments() {
599
    this.comments = null;
600
  }
601
 
602
  /** Returns true if field comments is set (has been asigned a value) and false otherwise */
603
  public boolean isSetComments() {
604
    return this.comments != null;
605
  }
606
 
607
  public void setCommentsIsSet(boolean value) {
608
    if (!value) {
609
      this.comments = null;
610
    }
611
  }
612
 
123 ashish 613
  public long getCatalogItemId() {
614
    return this.catalogItemId;
100 ashish 615
  }
616
 
123 ashish 617
  public Item setCatalogItemId(long catalogItemId) {
618
    this.catalogItemId = catalogItemId;
619
    setCatalogItemIdIsSet(true);
100 ashish 620
    return this;
621
  }
622
 
123 ashish 623
  public void unsetCatalogItemId() {
624
    __isset_bit_vector.clear(__CATALOGITEMID_ISSET_ID);
100 ashish 625
  }
626
 
123 ashish 627
  /** Returns true if field catalogItemId is set (has been asigned a value) and false otherwise */
628
  public boolean isSetCatalogItemId() {
629
    return __isset_bit_vector.get(__CATALOGITEMID_ISSET_ID);
100 ashish 630
  }
631
 
123 ashish 632
  public void setCatalogItemIdIsSet(boolean value) {
633
    __isset_bit_vector.set(__CATALOGITEMID_ISSET_ID, value);
100 ashish 634
  }
635
 
483 rajveer 636
  public long getFeatureId() {
637
    return this.featureId;
638
  }
639
 
640
  public Item setFeatureId(long featureId) {
641
    this.featureId = featureId;
642
    setFeatureIdIsSet(true);
643
    return this;
644
  }
645
 
646
  public void unsetFeatureId() {
647
    __isset_bit_vector.clear(__FEATUREID_ISSET_ID);
648
  }
649
 
650
  /** Returns true if field featureId is set (has been asigned a value) and false otherwise */
651
  public boolean isSetFeatureId() {
652
    return __isset_bit_vector.get(__FEATUREID_ISSET_ID);
653
  }
654
 
655
  public void setFeatureIdIsSet(boolean value) {
656
    __isset_bit_vector.set(__FEATUREID_ISSET_ID, value);
657
  }
658
 
659
  public String getFeatureDescription() {
660
    return this.featureDescription;
661
  }
662
 
663
  public Item setFeatureDescription(String featureDescription) {
664
    this.featureDescription = featureDescription;
665
    return this;
666
  }
667
 
668
  public void unsetFeatureDescription() {
669
    this.featureDescription = null;
670
  }
671
 
672
  /** Returns true if field featureDescription is set (has been asigned a value) and false otherwise */
673
  public boolean isSetFeatureDescription() {
674
    return this.featureDescription != null;
675
  }
676
 
677
  public void setFeatureDescriptionIsSet(boolean value) {
678
    if (!value) {
679
      this.featureDescription = null;
680
    }
681
  }
682
 
100 ashish 683
  public ItemInventory getItemInventory() {
684
    return this.itemInventory;
685
  }
686
 
687
  public Item setItemInventory(ItemInventory itemInventory) {
688
    this.itemInventory = itemInventory;
689
    return this;
690
  }
691
 
692
  public void unsetItemInventory() {
693
    this.itemInventory = null;
694
  }
695
 
696
  /** Returns true if field itemInventory is set (has been asigned a value) and false otherwise */
697
  public boolean isSetItemInventory() {
698
    return this.itemInventory != null;
699
  }
700
 
701
  public void setItemInventoryIsSet(boolean value) {
702
    if (!value) {
703
      this.itemInventory = null;
704
    }
705
  }
706
 
483 rajveer 707
  public double getMrp() {
708
    return this.mrp;
709
  }
710
 
711
  public Item setMrp(double mrp) {
712
    this.mrp = mrp;
713
    setMrpIsSet(true);
714
    return this;
715
  }
716
 
717
  public void unsetMrp() {
718
    __isset_bit_vector.clear(__MRP_ISSET_ID);
719
  }
720
 
721
  /** Returns true if field mrp is set (has been asigned a value) and false otherwise */
722
  public boolean isSetMrp() {
723
    return __isset_bit_vector.get(__MRP_ISSET_ID);
724
  }
725
 
726
  public void setMrpIsSet(boolean value) {
727
    __isset_bit_vector.set(__MRP_ISSET_ID, value);
728
  }
729
 
730
  public double getMop() {
731
    return this.mop;
732
  }
733
 
734
  public Item setMop(double mop) {
735
    this.mop = mop;
736
    setMopIsSet(true);
737
    return this;
738
  }
739
 
740
  public void unsetMop() {
741
    __isset_bit_vector.clear(__MOP_ISSET_ID);
742
  }
743
 
744
  /** Returns true if field mop is set (has been asigned a value) and false otherwise */
745
  public boolean isSetMop() {
746
    return __isset_bit_vector.get(__MOP_ISSET_ID);
747
  }
748
 
749
  public void setMopIsSet(boolean value) {
750
    __isset_bit_vector.set(__MOP_ISSET_ID, value);
751
  }
752
 
753
  public double getSellingPrice() {
754
    return this.sellingPrice;
755
  }
756
 
757
  public Item setSellingPrice(double sellingPrice) {
758
    this.sellingPrice = sellingPrice;
759
    setSellingPriceIsSet(true);
760
    return this;
761
  }
762
 
763
  public void unsetSellingPrice() {
764
    __isset_bit_vector.clear(__SELLINGPRICE_ISSET_ID);
765
  }
766
 
767
  /** Returns true if field sellingPrice is set (has been asigned a value) and false otherwise */
768
  public boolean isSetSellingPrice() {
769
    return __isset_bit_vector.get(__SELLINGPRICE_ISSET_ID);
770
  }
771
 
772
  public void setSellingPriceIsSet(boolean value) {
773
    __isset_bit_vector.set(__SELLINGPRICE_ISSET_ID, value);
774
  }
775
 
721 chandransh 776
  public double getTransferPrice() {
777
    return this.transferPrice;
778
  }
779
 
780
  public Item setTransferPrice(double transferPrice) {
781
    this.transferPrice = transferPrice;
782
    setTransferPriceIsSet(true);
783
    return this;
784
  }
785
 
786
  public void unsetTransferPrice() {
787
    __isset_bit_vector.clear(__TRANSFERPRICE_ISSET_ID);
788
  }
789
 
790
  /** Returns true if field transferPrice is set (has been asigned a value) and false otherwise */
791
  public boolean isSetTransferPrice() {
792
    return __isset_bit_vector.get(__TRANSFERPRICE_ISSET_ID);
793
  }
794
 
795
  public void setTransferPriceIsSet(boolean value) {
796
    __isset_bit_vector.set(__TRANSFERPRICE_ISSET_ID, value);
797
  }
798
 
483 rajveer 799
  public double getWeight() {
800
    return this.weight;
801
  }
802
 
803
  public Item setWeight(double weight) {
804
    this.weight = weight;
805
    setWeightIsSet(true);
806
    return this;
807
  }
808
 
809
  public void unsetWeight() {
810
    __isset_bit_vector.clear(__WEIGHT_ISSET_ID);
811
  }
812
 
813
  /** Returns true if field weight is set (has been asigned a value) and false otherwise */
814
  public boolean isSetWeight() {
815
    return __isset_bit_vector.get(__WEIGHT_ISSET_ID);
816
  }
817
 
818
  public void setWeightIsSet(boolean value) {
819
    __isset_bit_vector.set(__WEIGHT_ISSET_ID, value);
820
  }
821
 
103 ashish 822
  public long getAddedOn() {
823
    return this.addedOn;
824
  }
825
 
826
  public Item setAddedOn(long addedOn) {
827
    this.addedOn = addedOn;
828
    setAddedOnIsSet(true);
829
    return this;
830
  }
831
 
832
  public void unsetAddedOn() {
833
    __isset_bit_vector.clear(__ADDEDON_ISSET_ID);
834
  }
835
 
836
  /** Returns true if field addedOn is set (has been asigned a value) and false otherwise */
837
  public boolean isSetAddedOn() {
838
    return __isset_bit_vector.get(__ADDEDON_ISSET_ID);
839
  }
840
 
841
  public void setAddedOnIsSet(boolean value) {
842
    __isset_bit_vector.set(__ADDEDON_ISSET_ID, value);
843
  }
844
 
845
  public long getStartDate() {
846
    return this.startDate;
847
  }
848
 
849
  public Item setStartDate(long startDate) {
850
    this.startDate = startDate;
851
    setStartDateIsSet(true);
852
    return this;
853
  }
854
 
855
  public void unsetStartDate() {
856
    __isset_bit_vector.clear(__STARTDATE_ISSET_ID);
857
  }
858
 
859
  /** Returns true if field startDate is set (has been asigned a value) and false otherwise */
860
  public boolean isSetStartDate() {
861
    return __isset_bit_vector.get(__STARTDATE_ISSET_ID);
862
  }
863
 
864
  public void setStartDateIsSet(boolean value) {
865
    __isset_bit_vector.set(__STARTDATE_ISSET_ID, value);
866
  }
867
 
483 rajveer 868
  public long getRetireDate() {
869
    return this.retireDate;
870
  }
871
 
872
  public Item setRetireDate(long retireDate) {
873
    this.retireDate = retireDate;
874
    setRetireDateIsSet(true);
875
    return this;
876
  }
877
 
878
  public void unsetRetireDate() {
879
    __isset_bit_vector.clear(__RETIREDATE_ISSET_ID);
880
  }
881
 
882
  /** Returns true if field retireDate is set (has been asigned a value) and false otherwise */
883
  public boolean isSetRetireDate() {
884
    return __isset_bit_vector.get(__RETIREDATE_ISSET_ID);
885
  }
886
 
887
  public void setRetireDateIsSet(boolean value) {
888
    __isset_bit_vector.set(__RETIREDATE_ISSET_ID, value);
889
  }
890
 
103 ashish 891
  /**
892
   * 
893
   * @see status
894
   */
895
  public status getItemStatus() {
896
    return this.itemStatus;
897
  }
898
 
899
  /**
900
   * 
901
   * @see status
902
   */
903
  public Item setItemStatus(status itemStatus) {
904
    this.itemStatus = itemStatus;
905
    return this;
906
  }
907
 
908
  public void unsetItemStatus() {
909
    this.itemStatus = null;
910
  }
911
 
912
  /** Returns true if field itemStatus is set (has been asigned a value) and false otherwise */
913
  public boolean isSetItemStatus() {
914
    return this.itemStatus != null;
915
  }
916
 
917
  public void setItemStatusIsSet(boolean value) {
918
    if (!value) {
919
      this.itemStatus = null;
920
    }
921
  }
922
 
2034 rajveer 923
  public String getStatus_description() {
924
    return this.status_description;
925
  }
926
 
927
  public Item setStatus_description(String status_description) {
928
    this.status_description = status_description;
929
    return this;
930
  }
931
 
932
  public void unsetStatus_description() {
933
    this.status_description = null;
934
  }
935
 
936
  /** Returns true if field status_description is set (has been asigned a value) and false otherwise */
937
  public boolean isSetStatus_description() {
938
    return this.status_description != null;
939
  }
940
 
941
  public void setStatus_descriptionIsSet(boolean value) {
942
    if (!value) {
943
      this.status_description = null;
944
    }
945
  }
946
 
103 ashish 947
  public int getOtherInfoSize() {
948
    return (this.otherInfo == null) ? 0 : this.otherInfo.size();
949
  }
950
 
951
  public void putToOtherInfo(String key, String val) {
952
    if (this.otherInfo == null) {
953
      this.otherInfo = new HashMap<String,String>();
954
    }
955
    this.otherInfo.put(key, val);
956
  }
957
 
958
  public Map<String,String> getOtherInfo() {
959
    return this.otherInfo;
960
  }
961
 
962
  public Item setOtherInfo(Map<String,String> otherInfo) {
963
    this.otherInfo = otherInfo;
964
    return this;
965
  }
966
 
967
  public void unsetOtherInfo() {
968
    this.otherInfo = null;
969
  }
970
 
971
  /** Returns true if field otherInfo is set (has been asigned a value) and false otherwise */
972
  public boolean isSetOtherInfo() {
973
    return this.otherInfo != null;
974
  }
975
 
976
  public void setOtherInfoIsSet(boolean value) {
977
    if (!value) {
978
      this.otherInfo = null;
979
    }
980
  }
981
 
607 chandransh 982
  public String getBestDealText() {
983
    return this.bestDealText;
984
  }
985
 
986
  public Item setBestDealText(String bestDealText) {
987
    this.bestDealText = bestDealText;
988
    return this;
989
  }
990
 
991
  public void unsetBestDealText() {
992
    this.bestDealText = null;
993
  }
994
 
995
  /** Returns true if field bestDealText is set (has been asigned a value) and false otherwise */
996
  public boolean isSetBestDealText() {
997
    return this.bestDealText != null;
998
  }
999
 
1000
  public void setBestDealTextIsSet(boolean value) {
1001
    if (!value) {
1002
      this.bestDealText = null;
1003
    }
1004
  }
1005
 
1006
  public double getBestDealValue() {
1007
    return this.bestDealValue;
1008
  }
1009
 
1010
  public Item setBestDealValue(double bestDealValue) {
1011
    this.bestDealValue = bestDealValue;
1012
    setBestDealValueIsSet(true);
1013
    return this;
1014
  }
1015
 
1016
  public void unsetBestDealValue() {
1017
    __isset_bit_vector.clear(__BESTDEALVALUE_ISSET_ID);
1018
  }
1019
 
1020
  /** Returns true if field bestDealValue is set (has been asigned a value) and false otherwise */
1021
  public boolean isSetBestDealValue() {
1022
    return __isset_bit_vector.get(__BESTDEALVALUE_ISSET_ID);
1023
  }
1024
 
1025
  public void setBestDealValueIsSet(boolean value) {
1026
    __isset_bit_vector.set(__BESTDEALVALUE_ISSET_ID, value);
1027
  }
1028
 
1029
  public double getDealerPrice() {
1030
    return this.dealerPrice;
1031
  }
1032
 
1033
  public Item setDealerPrice(double dealerPrice) {
1034
    this.dealerPrice = dealerPrice;
1035
    setDealerPriceIsSet(true);
1036
    return this;
1037
  }
1038
 
1039
  public void unsetDealerPrice() {
1040
    __isset_bit_vector.clear(__DEALERPRICE_ISSET_ID);
1041
  }
1042
 
1043
  /** Returns true if field dealerPrice is set (has been asigned a value) and false otherwise */
1044
  public boolean isSetDealerPrice() {
1045
    return __isset_bit_vector.get(__DEALERPRICE_ISSET_ID);
1046
  }
1047
 
1048
  public void setDealerPriceIsSet(boolean value) {
1049
    __isset_bit_vector.set(__DEALERPRICE_ISSET_ID, value);
1050
  }
1051
 
1910 varun.gupt 1052
  public boolean isDefaultForEntity() {
1053
    return this.defaultForEntity;
1054
  }
1055
 
1056
  public Item setDefaultForEntity(boolean defaultForEntity) {
1057
    this.defaultForEntity = defaultForEntity;
1058
    setDefaultForEntityIsSet(true);
1059
    return this;
1060
  }
1061
 
1062
  public void unsetDefaultForEntity() {
1063
    __isset_bit_vector.clear(__DEFAULTFORENTITY_ISSET_ID);
1064
  }
1065
 
1066
  /** Returns true if field defaultForEntity is set (has been asigned a value) and false otherwise */
1067
  public boolean isSetDefaultForEntity() {
1068
    return __isset_bit_vector.get(__DEFAULTFORENTITY_ISSET_ID);
1069
  }
1070
 
1071
  public void setDefaultForEntityIsSet(boolean value) {
1072
    __isset_bit_vector.set(__DEFAULTFORENTITY_ISSET_ID, value);
1073
  }
1074
 
607 chandransh 1075
  public long getUpdatedOn() {
1076
    return this.updatedOn;
1077
  }
1078
 
1079
  public Item setUpdatedOn(long updatedOn) {
1080
    this.updatedOn = updatedOn;
1081
    setUpdatedOnIsSet(true);
1082
    return this;
1083
  }
1084
 
1085
  public void unsetUpdatedOn() {
1086
    __isset_bit_vector.clear(__UPDATEDON_ISSET_ID);
1087
  }
1088
 
1089
  /** Returns true if field updatedOn is set (has been asigned a value) and false otherwise */
1090
  public boolean isSetUpdatedOn() {
1091
    return __isset_bit_vector.get(__UPDATEDON_ISSET_ID);
1092
  }
1093
 
1094
  public void setUpdatedOnIsSet(boolean value) {
1095
    __isset_bit_vector.set(__UPDATEDON_ISSET_ID, value);
1096
  }
1097
 
2064 ankur.sing 1098
  public long getBestSellingRank() {
1099
    return this.bestSellingRank;
1100
  }
1101
 
1102
  public Item setBestSellingRank(long bestSellingRank) {
1103
    this.bestSellingRank = bestSellingRank;
1104
    setBestSellingRankIsSet(true);
1105
    return this;
1106
  }
1107
 
1108
  public void unsetBestSellingRank() {
1109
    __isset_bit_vector.clear(__BESTSELLINGRANK_ISSET_ID);
1110
  }
1111
 
1112
  /** Returns true if field bestSellingRank is set (has been asigned a value) and false otherwise */
1113
  public boolean isSetBestSellingRank() {
1114
    return __isset_bit_vector.get(__BESTSELLINGRANK_ISSET_ID);
1115
  }
1116
 
1117
  public void setBestSellingRankIsSet(boolean value) {
1118
    __isset_bit_vector.set(__BESTSELLINGRANK_ISSET_ID, value);
1119
  }
1120
 
2114 ankur.sing 1121
  public String getHotspotCategory() {
1122
    return this.hotspotCategory;
1123
  }
1124
 
1125
  public Item setHotspotCategory(String hotspotCategory) {
1126
    this.hotspotCategory = hotspotCategory;
1127
    return this;
1128
  }
1129
 
1130
  public void unsetHotspotCategory() {
1131
    this.hotspotCategory = null;
1132
  }
1133
 
1134
  /** Returns true if field hotspotCategory is set (has been asigned a value) and false otherwise */
1135
  public boolean isSetHotspotCategory() {
1136
    return this.hotspotCategory != null;
1137
  }
1138
 
1139
  public void setHotspotCategoryIsSet(boolean value) {
1140
    if (!value) {
1141
      this.hotspotCategory = null;
1142
    }
1143
  }
1144
 
100 ashish 1145
  public void setFieldValue(_Fields field, Object value) {
1146
    switch (field) {
1147
    case ID:
1148
      if (value == null) {
1149
        unsetId();
1150
      } else {
1151
        setId((Long)value);
1152
      }
1153
      break;
1154
 
957 chandransh 1155
    case PRODUCT_GROUP:
483 rajveer 1156
      if (value == null) {
957 chandransh 1157
        unsetProductGroup();
483 rajveer 1158
      } else {
957 chandransh 1159
        setProductGroup((String)value);
483 rajveer 1160
      }
1161
      break;
1162
 
957 chandransh 1163
    case BRAND:
1164
      if (value == null) {
1165
        unsetBrand();
1166
      } else {
1167
        setBrand((String)value);
1168
      }
1169
      break;
1170
 
483 rajveer 1171
    case MODEL_NUMBER:
1172
      if (value == null) {
1173
        unsetModelNumber();
1174
      } else {
1175
        setModelNumber((String)value);
1176
      }
1177
      break;
1178
 
1179
    case MODEL_NAME:
1180
      if (value == null) {
1181
        unsetModelName();
1182
      } else {
1183
        setModelName((String)value);
1184
      }
1185
      break;
1186
 
1329 chandransh 1187
    case COLOR:
1188
      if (value == null) {
1189
        unsetColor();
1190
      } else {
1191
        setColor((String)value);
1192
      }
1193
      break;
1194
 
483 rajveer 1195
    case CATEGORY:
1196
      if (value == null) {
1197
        unsetCategory();
1198
      } else {
622 chandransh 1199
        setCategory((Long)value);
483 rajveer 1200
      }
1201
      break;
1202
 
1203
    case COMMENTS:
1204
      if (value == null) {
1205
        unsetComments();
1206
      } else {
1207
        setComments((String)value);
1208
      }
1209
      break;
1210
 
123 ashish 1211
    case CATALOG_ITEM_ID:
100 ashish 1212
      if (value == null) {
123 ashish 1213
        unsetCatalogItemId();
100 ashish 1214
      } else {
123 ashish 1215
        setCatalogItemId((Long)value);
100 ashish 1216
      }
1217
      break;
1218
 
483 rajveer 1219
    case FEATURE_ID:
100 ashish 1220
      if (value == null) {
483 rajveer 1221
        unsetFeatureId();
100 ashish 1222
      } else {
483 rajveer 1223
        setFeatureId((Long)value);
100 ashish 1224
      }
1225
      break;
1226
 
483 rajveer 1227
    case FEATURE_DESCRIPTION:
103 ashish 1228
      if (value == null) {
483 rajveer 1229
        unsetFeatureDescription();
103 ashish 1230
      } else {
483 rajveer 1231
        setFeatureDescription((String)value);
103 ashish 1232
      }
1233
      break;
1234
 
483 rajveer 1235
    case ITEM_INVENTORY:
103 ashish 1236
      if (value == null) {
483 rajveer 1237
        unsetItemInventory();
103 ashish 1238
      } else {
483 rajveer 1239
        setItemInventory((ItemInventory)value);
103 ashish 1240
      }
1241
      break;
1242
 
483 rajveer 1243
    case MRP:
103 ashish 1244
      if (value == null) {
483 rajveer 1245
        unsetMrp();
103 ashish 1246
      } else {
483 rajveer 1247
        setMrp((Double)value);
103 ashish 1248
      }
1249
      break;
1250
 
483 rajveer 1251
    case MOP:
103 ashish 1252
      if (value == null) {
483 rajveer 1253
        unsetMop();
103 ashish 1254
      } else {
483 rajveer 1255
        setMop((Double)value);
103 ashish 1256
      }
1257
      break;
1258
 
483 rajveer 1259
    case SELLING_PRICE:
1260
      if (value == null) {
1261
        unsetSellingPrice();
1262
      } else {
1263
        setSellingPrice((Double)value);
1264
      }
1265
      break;
1266
 
721 chandransh 1267
    case TRANSFER_PRICE:
1268
      if (value == null) {
1269
        unsetTransferPrice();
1270
      } else {
1271
        setTransferPrice((Double)value);
1272
      }
1273
      break;
1274
 
123 ashish 1275
    case WEIGHT:
1276
      if (value == null) {
1277
        unsetWeight();
1278
      } else {
1279
        setWeight((Double)value);
1280
      }
1281
      break;
1282
 
483 rajveer 1283
    case ADDED_ON:
123 ashish 1284
      if (value == null) {
483 rajveer 1285
        unsetAddedOn();
123 ashish 1286
      } else {
483 rajveer 1287
        setAddedOn((Long)value);
123 ashish 1288
      }
1289
      break;
1290
 
483 rajveer 1291
    case START_DATE:
123 ashish 1292
      if (value == null) {
483 rajveer 1293
        unsetStartDate();
123 ashish 1294
      } else {
483 rajveer 1295
        setStartDate((Long)value);
123 ashish 1296
      }
1297
      break;
1298
 
483 rajveer 1299
    case RETIRE_DATE:
123 ashish 1300
      if (value == null) {
483 rajveer 1301
        unsetRetireDate();
123 ashish 1302
      } else {
483 rajveer 1303
        setRetireDate((Long)value);
123 ashish 1304
      }
1305
      break;
1306
 
483 rajveer 1307
    case ITEM_STATUS:
1308
      if (value == null) {
1309
        unsetItemStatus();
1310
      } else {
1311
        setItemStatus((status)value);
1312
      }
1313
      break;
1314
 
2034 rajveer 1315
    case STATUS_DESCRIPTION:
1316
      if (value == null) {
1317
        unsetStatus_description();
1318
      } else {
1319
        setStatus_description((String)value);
1320
      }
1321
      break;
1322
 
483 rajveer 1323
    case OTHER_INFO:
1324
      if (value == null) {
1325
        unsetOtherInfo();
1326
      } else {
1327
        setOtherInfo((Map<String,String>)value);
1328
      }
1329
      break;
1330
 
607 chandransh 1331
    case BEST_DEAL_TEXT:
1332
      if (value == null) {
1333
        unsetBestDealText();
1334
      } else {
1335
        setBestDealText((String)value);
1336
      }
1337
      break;
1338
 
1339
    case BEST_DEAL_VALUE:
1340
      if (value == null) {
1341
        unsetBestDealValue();
1342
      } else {
1343
        setBestDealValue((Double)value);
1344
      }
1345
      break;
1346
 
1347
    case DEALER_PRICE:
1348
      if (value == null) {
1349
        unsetDealerPrice();
1350
      } else {
1351
        setDealerPrice((Double)value);
1352
      }
1353
      break;
1354
 
1910 varun.gupt 1355
    case DEFAULT_FOR_ENTITY:
1356
      if (value == null) {
1357
        unsetDefaultForEntity();
1358
      } else {
1359
        setDefaultForEntity((Boolean)value);
1360
      }
1361
      break;
1362
 
607 chandransh 1363
    case UPDATED_ON:
1364
      if (value == null) {
1365
        unsetUpdatedOn();
1366
      } else {
1367
        setUpdatedOn((Long)value);
1368
      }
1369
      break;
1370
 
2064 ankur.sing 1371
    case BEST_SELLING_RANK:
1372
      if (value == null) {
1373
        unsetBestSellingRank();
1374
      } else {
1375
        setBestSellingRank((Long)value);
1376
      }
1377
      break;
1378
 
2114 ankur.sing 1379
    case HOTSPOT_CATEGORY:
1380
      if (value == null) {
1381
        unsetHotspotCategory();
1382
      } else {
1383
        setHotspotCategory((String)value);
1384
      }
1385
      break;
1386
 
100 ashish 1387
    }
1388
  }
1389
 
1390
  public void setFieldValue(int fieldID, Object value) {
1391
    setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
1392
  }
1393
 
1394
  public Object getFieldValue(_Fields field) {
1395
    switch (field) {
1396
    case ID:
1397
      return new Long(getId());
1398
 
957 chandransh 1399
    case PRODUCT_GROUP:
1400
      return getProductGroup();
483 rajveer 1401
 
957 chandransh 1402
    case BRAND:
1403
      return getBrand();
1404
 
483 rajveer 1405
    case MODEL_NUMBER:
1406
      return getModelNumber();
1407
 
1408
    case MODEL_NAME:
1409
      return getModelName();
1410
 
1329 chandransh 1411
    case COLOR:
1412
      return getColor();
1413
 
483 rajveer 1414
    case CATEGORY:
622 chandransh 1415
      return new Long(getCategory());
483 rajveer 1416
 
1417
    case COMMENTS:
1418
      return getComments();
1419
 
123 ashish 1420
    case CATALOG_ITEM_ID:
1421
      return new Long(getCatalogItemId());
100 ashish 1422
 
483 rajveer 1423
    case FEATURE_ID:
1424
      return new Long(getFeatureId());
1425
 
1426
    case FEATURE_DESCRIPTION:
1427
      return getFeatureDescription();
1428
 
100 ashish 1429
    case ITEM_INVENTORY:
1430
      return getItemInventory();
1431
 
483 rajveer 1432
    case MRP:
1433
      return new Double(getMrp());
1434
 
1435
    case MOP:
1436
      return new Double(getMop());
1437
 
1438
    case SELLING_PRICE:
1439
      return new Double(getSellingPrice());
1440
 
721 chandransh 1441
    case TRANSFER_PRICE:
1442
      return new Double(getTransferPrice());
1443
 
483 rajveer 1444
    case WEIGHT:
1445
      return new Double(getWeight());
1446
 
103 ashish 1447
    case ADDED_ON:
1448
      return new Long(getAddedOn());
1449
 
1450
    case START_DATE:
1451
      return new Long(getStartDate());
1452
 
483 rajveer 1453
    case RETIRE_DATE:
1454
      return new Long(getRetireDate());
1455
 
103 ashish 1456
    case ITEM_STATUS:
1457
      return getItemStatus();
1458
 
2034 rajveer 1459
    case STATUS_DESCRIPTION:
1460
      return getStatus_description();
1461
 
103 ashish 1462
    case OTHER_INFO:
1463
      return getOtherInfo();
1464
 
607 chandransh 1465
    case BEST_DEAL_TEXT:
1466
      return getBestDealText();
1467
 
1468
    case BEST_DEAL_VALUE:
1469
      return new Double(getBestDealValue());
1470
 
1471
    case DEALER_PRICE:
1472
      return new Double(getDealerPrice());
1473
 
1910 varun.gupt 1474
    case DEFAULT_FOR_ENTITY:
1475
      return new Boolean(isDefaultForEntity());
1476
 
607 chandransh 1477
    case UPDATED_ON:
1478
      return new Long(getUpdatedOn());
1479
 
2064 ankur.sing 1480
    case BEST_SELLING_RANK:
1481
      return new Long(getBestSellingRank());
1482
 
2114 ankur.sing 1483
    case HOTSPOT_CATEGORY:
1484
      return getHotspotCategory();
1485
 
100 ashish 1486
    }
1487
    throw new IllegalStateException();
1488
  }
1489
 
1490
  public Object getFieldValue(int fieldId) {
1491
    return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
1492
  }
1493
 
1494
  /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
1495
  public boolean isSet(_Fields field) {
1496
    switch (field) {
1497
    case ID:
1498
      return isSetId();
957 chandransh 1499
    case PRODUCT_GROUP:
1500
      return isSetProductGroup();
1501
    case BRAND:
1502
      return isSetBrand();
483 rajveer 1503
    case MODEL_NUMBER:
1504
      return isSetModelNumber();
1505
    case MODEL_NAME:
1506
      return isSetModelName();
1329 chandransh 1507
    case COLOR:
1508
      return isSetColor();
483 rajveer 1509
    case CATEGORY:
1510
      return isSetCategory();
1511
    case COMMENTS:
1512
      return isSetComments();
123 ashish 1513
    case CATALOG_ITEM_ID:
1514
      return isSetCatalogItemId();
483 rajveer 1515
    case FEATURE_ID:
1516
      return isSetFeatureId();
1517
    case FEATURE_DESCRIPTION:
1518
      return isSetFeatureDescription();
100 ashish 1519
    case ITEM_INVENTORY:
1520
      return isSetItemInventory();
483 rajveer 1521
    case MRP:
1522
      return isSetMrp();
1523
    case MOP:
1524
      return isSetMop();
1525
    case SELLING_PRICE:
1526
      return isSetSellingPrice();
721 chandransh 1527
    case TRANSFER_PRICE:
1528
      return isSetTransferPrice();
483 rajveer 1529
    case WEIGHT:
1530
      return isSetWeight();
103 ashish 1531
    case ADDED_ON:
1532
      return isSetAddedOn();
1533
    case START_DATE:
1534
      return isSetStartDate();
483 rajveer 1535
    case RETIRE_DATE:
1536
      return isSetRetireDate();
103 ashish 1537
    case ITEM_STATUS:
1538
      return isSetItemStatus();
2034 rajveer 1539
    case STATUS_DESCRIPTION:
1540
      return isSetStatus_description();
103 ashish 1541
    case OTHER_INFO:
1542
      return isSetOtherInfo();
607 chandransh 1543
    case BEST_DEAL_TEXT:
1544
      return isSetBestDealText();
1545
    case BEST_DEAL_VALUE:
1546
      return isSetBestDealValue();
1547
    case DEALER_PRICE:
1548
      return isSetDealerPrice();
1910 varun.gupt 1549
    case DEFAULT_FOR_ENTITY:
1550
      return isSetDefaultForEntity();
607 chandransh 1551
    case UPDATED_ON:
1552
      return isSetUpdatedOn();
2064 ankur.sing 1553
    case BEST_SELLING_RANK:
1554
      return isSetBestSellingRank();
2114 ankur.sing 1555
    case HOTSPOT_CATEGORY:
1556
      return isSetHotspotCategory();
100 ashish 1557
    }
1558
    throw new IllegalStateException();
1559
  }
1560
 
1561
  public boolean isSet(int fieldID) {
1562
    return isSet(_Fields.findByThriftIdOrThrow(fieldID));
1563
  }
1564
 
1565
  @Override
1566
  public boolean equals(Object that) {
1567
    if (that == null)
1568
      return false;
1569
    if (that instanceof Item)
1570
      return this.equals((Item)that);
1571
    return false;
1572
  }
1573
 
1574
  public boolean equals(Item that) {
1575
    if (that == null)
1576
      return false;
1577
 
1578
    boolean this_present_id = true;
1579
    boolean that_present_id = true;
1580
    if (this_present_id || that_present_id) {
1581
      if (!(this_present_id && that_present_id))
1582
        return false;
1583
      if (this.id != that.id)
1584
        return false;
1585
    }
1586
 
957 chandransh 1587
    boolean this_present_productGroup = true && this.isSetProductGroup();
1588
    boolean that_present_productGroup = true && that.isSetProductGroup();
1589
    if (this_present_productGroup || that_present_productGroup) {
1590
      if (!(this_present_productGroup && that_present_productGroup))
483 rajveer 1591
        return false;
957 chandransh 1592
      if (!this.productGroup.equals(that.productGroup))
483 rajveer 1593
        return false;
1594
    }
1595
 
957 chandransh 1596
    boolean this_present_brand = true && this.isSetBrand();
1597
    boolean that_present_brand = true && that.isSetBrand();
1598
    if (this_present_brand || that_present_brand) {
1599
      if (!(this_present_brand && that_present_brand))
1600
        return false;
1601
      if (!this.brand.equals(that.brand))
1602
        return false;
1603
    }
1604
 
483 rajveer 1605
    boolean this_present_modelNumber = true && this.isSetModelNumber();
1606
    boolean that_present_modelNumber = true && that.isSetModelNumber();
1607
    if (this_present_modelNumber || that_present_modelNumber) {
1608
      if (!(this_present_modelNumber && that_present_modelNumber))
1609
        return false;
1610
      if (!this.modelNumber.equals(that.modelNumber))
1611
        return false;
1612
    }
1613
 
1614
    boolean this_present_modelName = true && this.isSetModelName();
1615
    boolean that_present_modelName = true && that.isSetModelName();
1616
    if (this_present_modelName || that_present_modelName) {
1617
      if (!(this_present_modelName && that_present_modelName))
1618
        return false;
1619
      if (!this.modelName.equals(that.modelName))
1620
        return false;
1621
    }
1622
 
1329 chandransh 1623
    boolean this_present_color = true && this.isSetColor();
1624
    boolean that_present_color = true && that.isSetColor();
1625
    if (this_present_color || that_present_color) {
1626
      if (!(this_present_color && that_present_color))
1627
        return false;
1628
      if (!this.color.equals(that.color))
1629
        return false;
1630
    }
1631
 
622 chandransh 1632
    boolean this_present_category = true;
1633
    boolean that_present_category = true;
483 rajveer 1634
    if (this_present_category || that_present_category) {
1635
      if (!(this_present_category && that_present_category))
1636
        return false;
622 chandransh 1637
      if (this.category != that.category)
483 rajveer 1638
        return false;
1639
    }
1640
 
1641
    boolean this_present_comments = true && this.isSetComments();
1642
    boolean that_present_comments = true && that.isSetComments();
1643
    if (this_present_comments || that_present_comments) {
1644
      if (!(this_present_comments && that_present_comments))
1645
        return false;
1646
      if (!this.comments.equals(that.comments))
1647
        return false;
1648
    }
1649
 
123 ashish 1650
    boolean this_present_catalogItemId = true;
1651
    boolean that_present_catalogItemId = true;
1652
    if (this_present_catalogItemId || that_present_catalogItemId) {
1653
      if (!(this_present_catalogItemId && that_present_catalogItemId))
100 ashish 1654
        return false;
123 ashish 1655
      if (this.catalogItemId != that.catalogItemId)
100 ashish 1656
        return false;
1657
    }
1658
 
483 rajveer 1659
    boolean this_present_featureId = true;
1660
    boolean that_present_featureId = true;
1661
    if (this_present_featureId || that_present_featureId) {
1662
      if (!(this_present_featureId && that_present_featureId))
1663
        return false;
1664
      if (this.featureId != that.featureId)
1665
        return false;
1666
    }
1667
 
1668
    boolean this_present_featureDescription = true && this.isSetFeatureDescription();
1669
    boolean that_present_featureDescription = true && that.isSetFeatureDescription();
1670
    if (this_present_featureDescription || that_present_featureDescription) {
1671
      if (!(this_present_featureDescription && that_present_featureDescription))
1672
        return false;
1673
      if (!this.featureDescription.equals(that.featureDescription))
1674
        return false;
1675
    }
1676
 
100 ashish 1677
    boolean this_present_itemInventory = true && this.isSetItemInventory();
1678
    boolean that_present_itemInventory = true && that.isSetItemInventory();
1679
    if (this_present_itemInventory || that_present_itemInventory) {
1680
      if (!(this_present_itemInventory && that_present_itemInventory))
1681
        return false;
1682
      if (!this.itemInventory.equals(that.itemInventory))
1683
        return false;
1684
    }
1685
 
2128 ankur.sing 1686
    boolean this_present_mrp = true && this.isSetMrp();
1687
    boolean that_present_mrp = true && that.isSetMrp();
483 rajveer 1688
    if (this_present_mrp || that_present_mrp) {
1689
      if (!(this_present_mrp && that_present_mrp))
1690
        return false;
1691
      if (this.mrp != that.mrp)
1692
        return false;
1693
    }
1694
 
1695
    boolean this_present_mop = true;
1696
    boolean that_present_mop = true;
1697
    if (this_present_mop || that_present_mop) {
1698
      if (!(this_present_mop && that_present_mop))
1699
        return false;
1700
      if (this.mop != that.mop)
1701
        return false;
1702
    }
1703
 
2128 ankur.sing 1704
    boolean this_present_sellingPrice = true && this.isSetSellingPrice();
1705
    boolean that_present_sellingPrice = true && that.isSetSellingPrice();
483 rajveer 1706
    if (this_present_sellingPrice || that_present_sellingPrice) {
1707
      if (!(this_present_sellingPrice && that_present_sellingPrice))
1708
        return false;
1709
      if (this.sellingPrice != that.sellingPrice)
1710
        return false;
1711
    }
1712
 
721 chandransh 1713
    boolean this_present_transferPrice = true;
1714
    boolean that_present_transferPrice = true;
1715
    if (this_present_transferPrice || that_present_transferPrice) {
1716
      if (!(this_present_transferPrice && that_present_transferPrice))
1717
        return false;
1718
      if (this.transferPrice != that.transferPrice)
1719
        return false;
1720
    }
1721
 
2128 ankur.sing 1722
    boolean this_present_weight = true && this.isSetWeight();
1723
    boolean that_present_weight = true && that.isSetWeight();
483 rajveer 1724
    if (this_present_weight || that_present_weight) {
1725
      if (!(this_present_weight && that_present_weight))
1726
        return false;
1727
      if (this.weight != that.weight)
1728
        return false;
1729
    }
1730
 
103 ashish 1731
    boolean this_present_addedOn = true;
1732
    boolean that_present_addedOn = true;
1733
    if (this_present_addedOn || that_present_addedOn) {
1734
      if (!(this_present_addedOn && that_present_addedOn))
1735
        return false;
1736
      if (this.addedOn != that.addedOn)
1737
        return false;
1738
    }
1739
 
1740
    boolean this_present_startDate = true;
1741
    boolean that_present_startDate = true;
1742
    if (this_present_startDate || that_present_startDate) {
1743
      if (!(this_present_startDate && that_present_startDate))
1744
        return false;
1745
      if (this.startDate != that.startDate)
1746
        return false;
1747
    }
1748
 
483 rajveer 1749
    boolean this_present_retireDate = true;
1750
    boolean that_present_retireDate = true;
1751
    if (this_present_retireDate || that_present_retireDate) {
1752
      if (!(this_present_retireDate && that_present_retireDate))
1753
        return false;
1754
      if (this.retireDate != that.retireDate)
1755
        return false;
1756
    }
1757
 
103 ashish 1758
    boolean this_present_itemStatus = true && this.isSetItemStatus();
1759
    boolean that_present_itemStatus = true && that.isSetItemStatus();
1760
    if (this_present_itemStatus || that_present_itemStatus) {
1761
      if (!(this_present_itemStatus && that_present_itemStatus))
1762
        return false;
1763
      if (!this.itemStatus.equals(that.itemStatus))
1764
        return false;
1765
    }
1766
 
2034 rajveer 1767
    boolean this_present_status_description = true && this.isSetStatus_description();
1768
    boolean that_present_status_description = true && that.isSetStatus_description();
1769
    if (this_present_status_description || that_present_status_description) {
1770
      if (!(this_present_status_description && that_present_status_description))
1771
        return false;
1772
      if (!this.status_description.equals(that.status_description))
1773
        return false;
1774
    }
1775
 
103 ashish 1776
    boolean this_present_otherInfo = true && this.isSetOtherInfo();
1777
    boolean that_present_otherInfo = true && that.isSetOtherInfo();
1778
    if (this_present_otherInfo || that_present_otherInfo) {
1779
      if (!(this_present_otherInfo && that_present_otherInfo))
1780
        return false;
1781
      if (!this.otherInfo.equals(that.otherInfo))
1782
        return false;
1783
    }
1784
 
607 chandransh 1785
    boolean this_present_bestDealText = true && this.isSetBestDealText();
1786
    boolean that_present_bestDealText = true && that.isSetBestDealText();
1787
    if (this_present_bestDealText || that_present_bestDealText) {
1788
      if (!(this_present_bestDealText && that_present_bestDealText))
1789
        return false;
1790
      if (!this.bestDealText.equals(that.bestDealText))
1791
        return false;
1792
    }
1793
 
2128 ankur.sing 1794
    boolean this_present_bestDealValue = true && this.isSetBestDealValue();
1795
    boolean that_present_bestDealValue = true && that.isSetBestDealValue();
607 chandransh 1796
    if (this_present_bestDealValue || that_present_bestDealValue) {
1797
      if (!(this_present_bestDealValue && that_present_bestDealValue))
1798
        return false;
1799
      if (this.bestDealValue != that.bestDealValue)
1800
        return false;
1801
    }
1802
 
1803
    boolean this_present_dealerPrice = true;
1804
    boolean that_present_dealerPrice = true;
1805
    if (this_present_dealerPrice || that_present_dealerPrice) {
1806
      if (!(this_present_dealerPrice && that_present_dealerPrice))
1807
        return false;
1808
      if (this.dealerPrice != that.dealerPrice)
1809
        return false;
1810
    }
1811
 
1910 varun.gupt 1812
    boolean this_present_defaultForEntity = true;
1813
    boolean that_present_defaultForEntity = true;
1814
    if (this_present_defaultForEntity || that_present_defaultForEntity) {
1815
      if (!(this_present_defaultForEntity && that_present_defaultForEntity))
1816
        return false;
1817
      if (this.defaultForEntity != that.defaultForEntity)
1818
        return false;
1819
    }
1820
 
607 chandransh 1821
    boolean this_present_updatedOn = true;
1822
    boolean that_present_updatedOn = true;
1823
    if (this_present_updatedOn || that_present_updatedOn) {
1824
      if (!(this_present_updatedOn && that_present_updatedOn))
1825
        return false;
1826
      if (this.updatedOn != that.updatedOn)
1827
        return false;
1828
    }
1829
 
2128 ankur.sing 1830
    boolean this_present_bestSellingRank = true && this.isSetBestSellingRank();
1831
    boolean that_present_bestSellingRank = true && that.isSetBestSellingRank();
2064 ankur.sing 1832
    if (this_present_bestSellingRank || that_present_bestSellingRank) {
1833
      if (!(this_present_bestSellingRank && that_present_bestSellingRank))
1834
        return false;
1835
      if (this.bestSellingRank != that.bestSellingRank)
1836
        return false;
1837
    }
1838
 
2114 ankur.sing 1839
    boolean this_present_hotspotCategory = true && this.isSetHotspotCategory();
1840
    boolean that_present_hotspotCategory = true && that.isSetHotspotCategory();
1841
    if (this_present_hotspotCategory || that_present_hotspotCategory) {
1842
      if (!(this_present_hotspotCategory && that_present_hotspotCategory))
1843
        return false;
1844
      if (!this.hotspotCategory.equals(that.hotspotCategory))
1845
        return false;
1846
    }
1847
 
100 ashish 1848
    return true;
1849
  }
1850
 
1851
  @Override
1852
  public int hashCode() {
1853
    return 0;
1854
  }
1855
 
1856
  public void read(TProtocol iprot) throws TException {
1857
    TField field;
1858
    iprot.readStructBegin();
1859
    while (true)
1860
    {
1861
      field = iprot.readFieldBegin();
1862
      if (field.type == TType.STOP) { 
1863
        break;
1864
      }
1865
      _Fields fieldId = _Fields.findByThriftId(field.id);
1866
      if (fieldId == null) {
1867
        TProtocolUtil.skip(iprot, field.type);
1868
      } else {
1869
        switch (fieldId) {
1870
          case ID:
1871
            if (field.type == TType.I64) {
1872
              this.id = iprot.readI64();
1873
              setIdIsSet(true);
1874
            } else { 
1875
              TProtocolUtil.skip(iprot, field.type);
1876
            }
1877
            break;
957 chandransh 1878
          case PRODUCT_GROUP:
483 rajveer 1879
            if (field.type == TType.STRING) {
957 chandransh 1880
              this.productGroup = iprot.readString();
483 rajveer 1881
            } else { 
1882
              TProtocolUtil.skip(iprot, field.type);
1883
            }
1884
            break;
957 chandransh 1885
          case BRAND:
1886
            if (field.type == TType.STRING) {
1887
              this.brand = iprot.readString();
1888
            } else { 
1889
              TProtocolUtil.skip(iprot, field.type);
1890
            }
1891
            break;
483 rajveer 1892
          case MODEL_NUMBER:
1893
            if (field.type == TType.STRING) {
1894
              this.modelNumber = iprot.readString();
1895
            } else { 
1896
              TProtocolUtil.skip(iprot, field.type);
1897
            }
1898
            break;
1899
          case MODEL_NAME:
1900
            if (field.type == TType.STRING) {
1901
              this.modelName = iprot.readString();
1902
            } else { 
1903
              TProtocolUtil.skip(iprot, field.type);
1904
            }
1905
            break;
1329 chandransh 1906
          case COLOR:
1907
            if (field.type == TType.STRING) {
1908
              this.color = iprot.readString();
1909
            } else { 
1910
              TProtocolUtil.skip(iprot, field.type);
1911
            }
1912
            break;
483 rajveer 1913
          case CATEGORY:
622 chandransh 1914
            if (field.type == TType.I64) {
1915
              this.category = iprot.readI64();
1916
              setCategoryIsSet(true);
483 rajveer 1917
            } else { 
1918
              TProtocolUtil.skip(iprot, field.type);
1919
            }
1920
            break;
1921
          case COMMENTS:
1922
            if (field.type == TType.STRING) {
1923
              this.comments = iprot.readString();
1924
            } else { 
1925
              TProtocolUtil.skip(iprot, field.type);
1926
            }
1927
            break;
123 ashish 1928
          case CATALOG_ITEM_ID:
1929
            if (field.type == TType.I64) {
1930
              this.catalogItemId = iprot.readI64();
1931
              setCatalogItemIdIsSet(true);
100 ashish 1932
            } else { 
1933
              TProtocolUtil.skip(iprot, field.type);
1934
            }
1935
            break;
483 rajveer 1936
          case FEATURE_ID:
1937
            if (field.type == TType.I64) {
1938
              this.featureId = iprot.readI64();
1939
              setFeatureIdIsSet(true);
1940
            } else { 
1941
              TProtocolUtil.skip(iprot, field.type);
1942
            }
1943
            break;
1944
          case FEATURE_DESCRIPTION:
1945
            if (field.type == TType.STRING) {
1946
              this.featureDescription = iprot.readString();
1947
            } else { 
1948
              TProtocolUtil.skip(iprot, field.type);
1949
            }
1950
            break;
103 ashish 1951
          case ITEM_INVENTORY:
100 ashish 1952
            if (field.type == TType.STRUCT) {
103 ashish 1953
              this.itemInventory = new ItemInventory();
1954
              this.itemInventory.read(iprot);
100 ashish 1955
            } else { 
1956
              TProtocolUtil.skip(iprot, field.type);
1957
            }
1958
            break;
483 rajveer 1959
          case MRP:
1960
            if (field.type == TType.DOUBLE) {
1961
              this.mrp = iprot.readDouble();
1962
              setMrpIsSet(true);
1963
            } else { 
1964
              TProtocolUtil.skip(iprot, field.type);
1965
            }
1966
            break;
1967
          case MOP:
1968
            if (field.type == TType.DOUBLE) {
1969
              this.mop = iprot.readDouble();
1970
              setMopIsSet(true);
1971
            } else { 
1972
              TProtocolUtil.skip(iprot, field.type);
1973
            }
1974
            break;
1975
          case SELLING_PRICE:
1976
            if (field.type == TType.DOUBLE) {
1977
              this.sellingPrice = iprot.readDouble();
1978
              setSellingPriceIsSet(true);
1979
            } else { 
1980
              TProtocolUtil.skip(iprot, field.type);
1981
            }
1982
            break;
721 chandransh 1983
          case TRANSFER_PRICE:
1984
            if (field.type == TType.DOUBLE) {
1985
              this.transferPrice = iprot.readDouble();
1986
              setTransferPriceIsSet(true);
1987
            } else { 
1988
              TProtocolUtil.skip(iprot, field.type);
1989
            }
1990
            break;
483 rajveer 1991
          case WEIGHT:
1992
            if (field.type == TType.DOUBLE) {
1993
              this.weight = iprot.readDouble();
1994
              setWeightIsSet(true);
1995
            } else { 
1996
              TProtocolUtil.skip(iprot, field.type);
1997
            }
1998
            break;
103 ashish 1999
          case ADDED_ON:
2000
            if (field.type == TType.I64) {
2001
              this.addedOn = iprot.readI64();
2002
              setAddedOnIsSet(true);
100 ashish 2003
            } else { 
2004
              TProtocolUtil.skip(iprot, field.type);
2005
            }
2006
            break;
103 ashish 2007
          case START_DATE:
2008
            if (field.type == TType.I64) {
2009
              this.startDate = iprot.readI64();
2010
              setStartDateIsSet(true);
2011
            } else { 
2012
              TProtocolUtil.skip(iprot, field.type);
2013
            }
2014
            break;
483 rajveer 2015
          case RETIRE_DATE:
2016
            if (field.type == TType.I64) {
2017
              this.retireDate = iprot.readI64();
2018
              setRetireDateIsSet(true);
2019
            } else { 
2020
              TProtocolUtil.skip(iprot, field.type);
2021
            }
2022
            break;
103 ashish 2023
          case ITEM_STATUS:
2024
            if (field.type == TType.I32) {
2025
              this.itemStatus = status.findByValue(iprot.readI32());
2026
            } else { 
2027
              TProtocolUtil.skip(iprot, field.type);
2028
            }
2029
            break;
2034 rajveer 2030
          case STATUS_DESCRIPTION:
2031
            if (field.type == TType.STRING) {
2032
              this.status_description = iprot.readString();
2033
            } else { 
2034
              TProtocolUtil.skip(iprot, field.type);
2035
            }
2036
            break;
103 ashish 2037
          case OTHER_INFO:
2038
            if (field.type == TType.MAP) {
2039
              {
123 ashish 2040
                TMap _map5 = iprot.readMapBegin();
2041
                this.otherInfo = new HashMap<String,String>(2*_map5.size);
2042
                for (int _i6 = 0; _i6 < _map5.size; ++_i6)
103 ashish 2043
                {
123 ashish 2044
                  String _key7;
2045
                  String _val8;
2046
                  _key7 = iprot.readString();
2047
                  _val8 = iprot.readString();
2048
                  this.otherInfo.put(_key7, _val8);
103 ashish 2049
                }
2050
                iprot.readMapEnd();
2051
              }
2052
            } else { 
2053
              TProtocolUtil.skip(iprot, field.type);
2054
            }
2055
            break;
607 chandransh 2056
          case BEST_DEAL_TEXT:
2057
            if (field.type == TType.STRING) {
2058
              this.bestDealText = iprot.readString();
2059
            } else { 
2060
              TProtocolUtil.skip(iprot, field.type);
2061
            }
2062
            break;
2063
          case BEST_DEAL_VALUE:
2064
            if (field.type == TType.DOUBLE) {
2065
              this.bestDealValue = iprot.readDouble();
2066
              setBestDealValueIsSet(true);
2067
            } else { 
2068
              TProtocolUtil.skip(iprot, field.type);
2069
            }
2070
            break;
2071
          case DEALER_PRICE:
2072
            if (field.type == TType.DOUBLE) {
2073
              this.dealerPrice = iprot.readDouble();
2074
              setDealerPriceIsSet(true);
2075
            } else { 
2076
              TProtocolUtil.skip(iprot, field.type);
2077
            }
2078
            break;
1910 varun.gupt 2079
          case DEFAULT_FOR_ENTITY:
2080
            if (field.type == TType.BOOL) {
2081
              this.defaultForEntity = iprot.readBool();
2082
              setDefaultForEntityIsSet(true);
2083
            } else { 
2084
              TProtocolUtil.skip(iprot, field.type);
2085
            }
2086
            break;
607 chandransh 2087
          case UPDATED_ON:
2088
            if (field.type == TType.I64) {
2089
              this.updatedOn = iprot.readI64();
2090
              setUpdatedOnIsSet(true);
2091
            } else { 
2092
              TProtocolUtil.skip(iprot, field.type);
2093
            }
2094
            break;
2064 ankur.sing 2095
          case BEST_SELLING_RANK:
2096
            if (field.type == TType.I64) {
2097
              this.bestSellingRank = iprot.readI64();
2098
              setBestSellingRankIsSet(true);
2099
            } else { 
2100
              TProtocolUtil.skip(iprot, field.type);
2101
            }
2102
            break;
2114 ankur.sing 2103
          case HOTSPOT_CATEGORY:
2104
            if (field.type == TType.STRING) {
2105
              this.hotspotCategory = iprot.readString();
2106
            } else { 
2107
              TProtocolUtil.skip(iprot, field.type);
2108
            }
2109
            break;
100 ashish 2110
        }
2111
        iprot.readFieldEnd();
2112
      }
2113
    }
2114
    iprot.readStructEnd();
2115
    validate();
2116
  }
2117
 
2118
  public void write(TProtocol oprot) throws TException {
2119
    validate();
2120
 
2121
    oprot.writeStructBegin(STRUCT_DESC);
2122
    oprot.writeFieldBegin(ID_FIELD_DESC);
2123
    oprot.writeI64(this.id);
2124
    oprot.writeFieldEnd();
957 chandransh 2125
    if (this.productGroup != null) {
2126
      oprot.writeFieldBegin(PRODUCT_GROUP_FIELD_DESC);
2127
      oprot.writeString(this.productGroup);
483 rajveer 2128
      oprot.writeFieldEnd();
2129
    }
957 chandransh 2130
    if (this.brand != null) {
2131
      oprot.writeFieldBegin(BRAND_FIELD_DESC);
2132
      oprot.writeString(this.brand);
2133
      oprot.writeFieldEnd();
2134
    }
483 rajveer 2135
    if (this.modelNumber != null) {
2136
      oprot.writeFieldBegin(MODEL_NUMBER_FIELD_DESC);
2137
      oprot.writeString(this.modelNumber);
2138
      oprot.writeFieldEnd();
2139
    }
2140
    if (this.modelName != null) {
2141
      oprot.writeFieldBegin(MODEL_NAME_FIELD_DESC);
2142
      oprot.writeString(this.modelName);
2143
      oprot.writeFieldEnd();
2144
    }
1329 chandransh 2145
    if (this.color != null) {
2146
      oprot.writeFieldBegin(COLOR_FIELD_DESC);
2147
      oprot.writeString(this.color);
2148
      oprot.writeFieldEnd();
2149
    }
622 chandransh 2150
    oprot.writeFieldBegin(CATEGORY_FIELD_DESC);
2151
    oprot.writeI64(this.category);
2152
    oprot.writeFieldEnd();
483 rajveer 2153
    if (this.comments != null) {
2154
      oprot.writeFieldBegin(COMMENTS_FIELD_DESC);
2155
      oprot.writeString(this.comments);
2156
      oprot.writeFieldEnd();
2157
    }
123 ashish 2158
    oprot.writeFieldBegin(CATALOG_ITEM_ID_FIELD_DESC);
2159
    oprot.writeI64(this.catalogItemId);
2160
    oprot.writeFieldEnd();
483 rajveer 2161
    oprot.writeFieldBegin(FEATURE_ID_FIELD_DESC);
2162
    oprot.writeI64(this.featureId);
2163
    oprot.writeFieldEnd();
2164
    if (this.featureDescription != null) {
2165
      oprot.writeFieldBegin(FEATURE_DESCRIPTION_FIELD_DESC);
2166
      oprot.writeString(this.featureDescription);
2167
      oprot.writeFieldEnd();
2168
    }
100 ashish 2169
    if (this.itemInventory != null) {
2170
      oprot.writeFieldBegin(ITEM_INVENTORY_FIELD_DESC);
2171
      this.itemInventory.write(oprot);
2172
      oprot.writeFieldEnd();
2173
    }
2128 ankur.sing 2174
    if (isSetMrp()) {
2175
      oprot.writeFieldBegin(MRP_FIELD_DESC);
2176
      oprot.writeDouble(this.mrp);
2177
      oprot.writeFieldEnd();
2178
    }
483 rajveer 2179
    oprot.writeFieldBegin(MOP_FIELD_DESC);
2180
    oprot.writeDouble(this.mop);
2181
    oprot.writeFieldEnd();
2128 ankur.sing 2182
    if (isSetSellingPrice()) {
2183
      oprot.writeFieldBegin(SELLING_PRICE_FIELD_DESC);
2184
      oprot.writeDouble(this.sellingPrice);
2185
      oprot.writeFieldEnd();
2186
    }
721 chandransh 2187
    oprot.writeFieldBegin(TRANSFER_PRICE_FIELD_DESC);
2188
    oprot.writeDouble(this.transferPrice);
2189
    oprot.writeFieldEnd();
2128 ankur.sing 2190
    if (isSetWeight()) {
2191
      oprot.writeFieldBegin(WEIGHT_FIELD_DESC);
2192
      oprot.writeDouble(this.weight);
2193
      oprot.writeFieldEnd();
2194
    }
103 ashish 2195
    oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
2196
    oprot.writeI64(this.addedOn);
2197
    oprot.writeFieldEnd();
2198
    oprot.writeFieldBegin(START_DATE_FIELD_DESC);
2199
    oprot.writeI64(this.startDate);
2200
    oprot.writeFieldEnd();
483 rajveer 2201
    oprot.writeFieldBegin(RETIRE_DATE_FIELD_DESC);
2202
    oprot.writeI64(this.retireDate);
2203
    oprot.writeFieldEnd();
103 ashish 2204
    if (this.itemStatus != null) {
2205
      oprot.writeFieldBegin(ITEM_STATUS_FIELD_DESC);
2206
      oprot.writeI32(this.itemStatus.getValue());
2207
      oprot.writeFieldEnd();
2208
    }
2034 rajveer 2209
    if (this.status_description != null) {
2210
      oprot.writeFieldBegin(STATUS_DESCRIPTION_FIELD_DESC);
2211
      oprot.writeString(this.status_description);
2212
      oprot.writeFieldEnd();
2213
    }
103 ashish 2214
    if (this.otherInfo != null) {
2215
      oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
2216
      {
2217
        oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.otherInfo.size()));
483 rajveer 2218
        for (Map.Entry<String, String> _iter9 : this.otherInfo.entrySet())
103 ashish 2219
        {
483 rajveer 2220
          oprot.writeString(_iter9.getKey());
2221
          oprot.writeString(_iter9.getValue());
103 ashish 2222
        }
2223
        oprot.writeMapEnd();
2224
      }
2225
      oprot.writeFieldEnd();
2226
    }
607 chandransh 2227
    if (this.bestDealText != null) {
2228
      oprot.writeFieldBegin(BEST_DEAL_TEXT_FIELD_DESC);
2229
      oprot.writeString(this.bestDealText);
2230
      oprot.writeFieldEnd();
2231
    }
2128 ankur.sing 2232
    if (isSetBestDealValue()) {
2233
      oprot.writeFieldBegin(BEST_DEAL_VALUE_FIELD_DESC);
2234
      oprot.writeDouble(this.bestDealValue);
2235
      oprot.writeFieldEnd();
2236
    }
607 chandransh 2237
    oprot.writeFieldBegin(DEALER_PRICE_FIELD_DESC);
2238
    oprot.writeDouble(this.dealerPrice);
2239
    oprot.writeFieldEnd();
1910 varun.gupt 2240
    oprot.writeFieldBegin(DEFAULT_FOR_ENTITY_FIELD_DESC);
2241
    oprot.writeBool(this.defaultForEntity);
2242
    oprot.writeFieldEnd();
607 chandransh 2243
    oprot.writeFieldBegin(UPDATED_ON_FIELD_DESC);
2244
    oprot.writeI64(this.updatedOn);
2245
    oprot.writeFieldEnd();
2128 ankur.sing 2246
    if (isSetBestSellingRank()) {
2247
      oprot.writeFieldBegin(BEST_SELLING_RANK_FIELD_DESC);
2248
      oprot.writeI64(this.bestSellingRank);
2249
      oprot.writeFieldEnd();
2250
    }
2114 ankur.sing 2251
    if (this.hotspotCategory != null) {
2252
      oprot.writeFieldBegin(HOTSPOT_CATEGORY_FIELD_DESC);
2253
      oprot.writeString(this.hotspotCategory);
2254
      oprot.writeFieldEnd();
2255
    }
100 ashish 2256
    oprot.writeFieldStop();
2257
    oprot.writeStructEnd();
2258
  }
2259
 
2260
  @Override
2261
  public String toString() {
2262
    StringBuilder sb = new StringBuilder("Item(");
2263
    boolean first = true;
2264
 
2265
    sb.append("id:");
2266
    sb.append(this.id);
2267
    first = false;
2268
    if (!first) sb.append(", ");
957 chandransh 2269
    sb.append("productGroup:");
2270
    if (this.productGroup == null) {
483 rajveer 2271
      sb.append("null");
2272
    } else {
957 chandransh 2273
      sb.append(this.productGroup);
483 rajveer 2274
    }
2275
    first = false;
2276
    if (!first) sb.append(", ");
957 chandransh 2277
    sb.append("brand:");
2278
    if (this.brand == null) {
2279
      sb.append("null");
2280
    } else {
2281
      sb.append(this.brand);
2282
    }
2283
    first = false;
2284
    if (!first) sb.append(", ");
483 rajveer 2285
    sb.append("modelNumber:");
2286
    if (this.modelNumber == null) {
2287
      sb.append("null");
2288
    } else {
2289
      sb.append(this.modelNumber);
2290
    }
2291
    first = false;
2292
    if (!first) sb.append(", ");
2293
    sb.append("modelName:");
2294
    if (this.modelName == null) {
2295
      sb.append("null");
2296
    } else {
2297
      sb.append(this.modelName);
2298
    }
2299
    first = false;
2300
    if (!first) sb.append(", ");
1329 chandransh 2301
    sb.append("color:");
2302
    if (this.color == null) {
2303
      sb.append("null");
2304
    } else {
2305
      sb.append(this.color);
2306
    }
2307
    first = false;
2308
    if (!first) sb.append(", ");
483 rajveer 2309
    sb.append("category:");
622 chandransh 2310
    sb.append(this.category);
483 rajveer 2311
    first = false;
2312
    if (!first) sb.append(", ");
2313
    sb.append("comments:");
2314
    if (this.comments == null) {
2315
      sb.append("null");
2316
    } else {
2317
      sb.append(this.comments);
2318
    }
2319
    first = false;
2320
    if (!first) sb.append(", ");
123 ashish 2321
    sb.append("catalogItemId:");
2322
    sb.append(this.catalogItemId);
100 ashish 2323
    first = false;
2324
    if (!first) sb.append(", ");
483 rajveer 2325
    sb.append("featureId:");
2326
    sb.append(this.featureId);
2327
    first = false;
2328
    if (!first) sb.append(", ");
2329
    sb.append("featureDescription:");
2330
    if (this.featureDescription == null) {
2331
      sb.append("null");
2332
    } else {
2333
      sb.append(this.featureDescription);
2334
    }
2335
    first = false;
2336
    if (!first) sb.append(", ");
100 ashish 2337
    sb.append("itemInventory:");
2338
    if (this.itemInventory == null) {
2339
      sb.append("null");
2340
    } else {
2341
      sb.append(this.itemInventory);
2342
    }
2343
    first = false;
2128 ankur.sing 2344
    if (isSetMrp()) {
2345
      if (!first) sb.append(", ");
2346
      sb.append("mrp:");
2347
      sb.append(this.mrp);
2348
      first = false;
2349
    }
103 ashish 2350
    if (!first) sb.append(", ");
483 rajveer 2351
    sb.append("mop:");
2352
    sb.append(this.mop);
2353
    first = false;
2128 ankur.sing 2354
    if (isSetSellingPrice()) {
2355
      if (!first) sb.append(", ");
2356
      sb.append("sellingPrice:");
2357
      sb.append(this.sellingPrice);
2358
      first = false;
2359
    }
483 rajveer 2360
    if (!first) sb.append(", ");
721 chandransh 2361
    sb.append("transferPrice:");
2362
    sb.append(this.transferPrice);
2363
    first = false;
2128 ankur.sing 2364
    if (isSetWeight()) {
2365
      if (!first) sb.append(", ");
2366
      sb.append("weight:");
2367
      sb.append(this.weight);
2368
      first = false;
2369
    }
721 chandransh 2370
    if (!first) sb.append(", ");
103 ashish 2371
    sb.append("addedOn:");
2372
    sb.append(this.addedOn);
2373
    first = false;
2374
    if (!first) sb.append(", ");
2375
    sb.append("startDate:");
2376
    sb.append(this.startDate);
2377
    first = false;
2378
    if (!first) sb.append(", ");
483 rajveer 2379
    sb.append("retireDate:");
2380
    sb.append(this.retireDate);
2381
    first = false;
2382
    if (!first) sb.append(", ");
103 ashish 2383
    sb.append("itemStatus:");
2384
    if (this.itemStatus == null) {
2385
      sb.append("null");
2386
    } else {
2387
      String itemStatus_name = itemStatus.name();
2388
      if (itemStatus_name != null) {
2389
        sb.append(itemStatus_name);
2390
        sb.append(" (");
2391
      }
2392
      sb.append(this.itemStatus);
2393
      if (itemStatus_name != null) {
2394
        sb.append(")");
2395
      }
2396
    }
2397
    first = false;
2398
    if (!first) sb.append(", ");
2034 rajveer 2399
    sb.append("status_description:");
2400
    if (this.status_description == null) {
2401
      sb.append("null");
2402
    } else {
2403
      sb.append(this.status_description);
2404
    }
2405
    first = false;
2406
    if (!first) sb.append(", ");
103 ashish 2407
    sb.append("otherInfo:");
2408
    if (this.otherInfo == null) {
2409
      sb.append("null");
2410
    } else {
2411
      sb.append(this.otherInfo);
2412
    }
2413
    first = false;
607 chandransh 2414
    if (!first) sb.append(", ");
2415
    sb.append("bestDealText:");
2416
    if (this.bestDealText == null) {
2417
      sb.append("null");
2418
    } else {
2419
      sb.append(this.bestDealText);
2420
    }
2421
    first = false;
2128 ankur.sing 2422
    if (isSetBestDealValue()) {
2423
      if (!first) sb.append(", ");
2424
      sb.append("bestDealValue:");
2425
      sb.append(this.bestDealValue);
2426
      first = false;
2427
    }
607 chandransh 2428
    if (!first) sb.append(", ");
2429
    sb.append("dealerPrice:");
2430
    sb.append(this.dealerPrice);
2431
    first = false;
2432
    if (!first) sb.append(", ");
1910 varun.gupt 2433
    sb.append("defaultForEntity:");
2434
    sb.append(this.defaultForEntity);
2435
    first = false;
2436
    if (!first) sb.append(", ");
607 chandransh 2437
    sb.append("updatedOn:");
2438
    sb.append(this.updatedOn);
2439
    first = false;
2128 ankur.sing 2440
    if (isSetBestSellingRank()) {
2441
      if (!first) sb.append(", ");
2442
      sb.append("bestSellingRank:");
2443
      sb.append(this.bestSellingRank);
2444
      first = false;
2445
    }
2064 ankur.sing 2446
    if (!first) sb.append(", ");
2114 ankur.sing 2447
    sb.append("hotspotCategory:");
2448
    if (this.hotspotCategory == null) {
2449
      sb.append("null");
2450
    } else {
2451
      sb.append(this.hotspotCategory);
2452
    }
2453
    first = false;
100 ashish 2454
    sb.append(")");
2455
    return sb.toString();
2456
  }
2457
 
2458
  public void validate() throws TException {
2459
    // check for required fields
2460
  }
2461
 
2462
}
2463