Subversion Repositories SmartDukaan

Rev

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

Rev Author Line No. Line
100 ashish 1
/**
3430 rajveer 2
 * Autogenerated by Thrift Compiler (0.7.0)
100 ashish 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;
3430 rajveer 18
import java.nio.ByteBuffer;
100 ashish 19
import java.util.Arrays;
20
import org.slf4j.Logger;
21
import org.slf4j.LoggerFactory;
22
 
3430 rajveer 23
public class Item implements org.apache.thrift.TBase<Item, Item._Fields>, java.io.Serializable, Cloneable {
24
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Item");
100 ashish 25
 
3430 rajveer 26
  private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
27
  private static final org.apache.thrift.protocol.TField PRODUCT_GROUP_FIELD_DESC = new org.apache.thrift.protocol.TField("productGroup", org.apache.thrift.protocol.TType.STRING, (short)2);
28
  private static final org.apache.thrift.protocol.TField BRAND_FIELD_DESC = new org.apache.thrift.protocol.TField("brand", org.apache.thrift.protocol.TType.STRING, (short)3);
29
  private static final org.apache.thrift.protocol.TField MODEL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("modelNumber", org.apache.thrift.protocol.TType.STRING, (short)4);
30
  private static final org.apache.thrift.protocol.TField MODEL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("modelName", org.apache.thrift.protocol.TType.STRING, (short)5);
31
  private static final org.apache.thrift.protocol.TField COLOR_FIELD_DESC = new org.apache.thrift.protocol.TField("color", org.apache.thrift.protocol.TType.STRING, (short)6);
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);
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);
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 MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)13);
4762 phani.kuma 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);
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);
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);
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);
42
  private static final org.apache.thrift.protocol.TField RETIRE_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("retireDate", org.apache.thrift.protocol.TType.I64, (short)18);
43
  private static final org.apache.thrift.protocol.TField ITEM_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemStatus", org.apache.thrift.protocol.TType.I32, (short)19);
44
  private static final org.apache.thrift.protocol.TField STATUS_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("status_description", org.apache.thrift.protocol.TType.STRING, (short)20);
5336 rajveer 45
  private static final org.apache.thrift.protocol.TField OTHER_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("otherInfo", org.apache.thrift.protocol.TType.MAP, (short)21);
4762 phani.kuma 46
  private static final org.apache.thrift.protocol.TField BEST_DEAL_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealText", org.apache.thrift.protocol.TType.STRING, (short)22);
47
  private static final org.apache.thrift.protocol.TField BEST_DEAL_VALUE_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealValue", org.apache.thrift.protocol.TType.DOUBLE, (short)23);
48
  private static final org.apache.thrift.protocol.TField DEFAULT_FOR_ENTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultForEntity", org.apache.thrift.protocol.TType.BOOL, (short)24);
49
  private static final org.apache.thrift.protocol.TField UPDATED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("updatedOn", org.apache.thrift.protocol.TType.I64, (short)25);
50
  private static final org.apache.thrift.protocol.TField BEST_SELLING_RANK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestSellingRank", org.apache.thrift.protocol.TType.I64, (short)26);
51
  private static final org.apache.thrift.protocol.TField RISKY_FIELD_DESC = new org.apache.thrift.protocol.TField("risky", org.apache.thrift.protocol.TType.BOOL, (short)27);
52
  private static final org.apache.thrift.protocol.TField EXPECTED_DELAY_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedDelay", org.apache.thrift.protocol.TType.I32, (short)28);
5440 phani.kuma 53
  private static final org.apache.thrift.protocol.TField IS_WAREHOUSE_PREFERENCE_STICKY_FIELD_DESC = new org.apache.thrift.protocol.TField("isWarehousePreferenceSticky", org.apache.thrift.protocol.TType.BOOL, (short)29);
54
  private static final org.apache.thrift.protocol.TField WARRANTY_PERIOD_FIELD_DESC = new org.apache.thrift.protocol.TField("warrantyPeriod", org.apache.thrift.protocol.TType.I32, (short)30);
55
  private static final org.apache.thrift.protocol.TField PREFERRED_VENDOR_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredVendor", org.apache.thrift.protocol.TType.I64, (short)31);
56
  private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)32);
57
  private static final org.apache.thrift.protocol.TField COMING_SOON_START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("comingSoonStartDate", org.apache.thrift.protocol.TType.I64, (short)33);
58
  private static final org.apache.thrift.protocol.TField EXPECTED_ARRIVAL_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedArrivalDate", org.apache.thrift.protocol.TType.I64, (short)34);
59
  private static final org.apache.thrift.protocol.TField HAS_ITEM_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("hasItemNo", org.apache.thrift.protocol.TType.BOOL, (short)35);
5460 phani.kuma 60
  private static final org.apache.thrift.protocol.TField CLEARANCE_FIELD_DESC = new org.apache.thrift.protocol.TField("clearance", org.apache.thrift.protocol.TType.BOOL, (short)36);
6039 amit.gupta 61
  private static final org.apache.thrift.protocol.TField VAT_PERCENTAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatPercentage", org.apache.thrift.protocol.TType.DOUBLE, (short)37);
6241 amit.gupta 62
  private static final org.apache.thrift.protocol.TField SHOW_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("showSellingPrice", org.apache.thrift.protocol.TType.BOOL, (short)38);
6777 vikram.rag 63
  private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsText", org.apache.thrift.protocol.TType.STRING, (short)39);
64
  private static final org.apache.thrift.protocol.TField BEST_DEALS_DETAILS_LINK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestDealsDetailsLink", org.apache.thrift.protocol.TType.STRING, (short)40);
100 ashish 65
 
3430 rajveer 66
  private long id; // required
67
  private String productGroup; // required
68
  private String brand; // required
69
  private String modelNumber; // required
70
  private String modelName; // required
71
  private String color; // required
72
  private long category; // required
73
  private String comments; // required
74
  private long catalogItemId; // required
75
  private long featureId; // required
76
  private String featureDescription; // required
77
  private double mrp; // required
78
  private double sellingPrice; // required
79
  private double weight; // required
80
  private long addedOn; // required
81
  private long startDate; // required
82
  private long retireDate; // required
83
  private status itemStatus; // required
84
  private String status_description; // required
5336 rajveer 85
  private Map<String,String> otherInfo; // required
3430 rajveer 86
  private String bestDealText; // required
87
  private double bestDealValue; // required
88
  private boolean defaultForEntity; // required
89
  private long updatedOn; // required
90
  private long bestSellingRank; // required
91
  private boolean risky; // required
92
  private int expectedDelay; // required
4406 anupam.sin 93
  private boolean isWarehousePreferenceSticky; // required
4295 varun.gupt 94
  private int warrantyPeriod; // required
4506 phani.kuma 95
  private long preferredVendor; // required
5110 mandeep.dh 96
  private ItemType type; // required
5217 amit.gupta 97
  private long comingSoonStartDate; // required
98
  private long expectedArrivalDate; // required
5385 phani.kuma 99
  private boolean hasItemNo; // required
5460 phani.kuma 100
  private boolean clearance; // required
6039 amit.gupta 101
  private double vatPercentage; // required
6241 amit.gupta 102
  private boolean showSellingPrice; // required
6777 vikram.rag 103
  private String bestDealsDetailsText; // required
104
  private String bestDealsDetailsLink; // required
100 ashish 105
 
106
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
3430 rajveer 107
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
100 ashish 108
    ID((short)1, "id"),
957 chandransh 109
    PRODUCT_GROUP((short)2, "productGroup"),
110
    BRAND((short)3, "brand"),
111
    MODEL_NUMBER((short)4, "modelNumber"),
112
    MODEL_NAME((short)5, "modelName"),
1329 chandransh 113
    COLOR((short)6, "color"),
114
    CATEGORY((short)7, "category"),
115
    COMMENTS((short)8, "comments"),
116
    CATALOG_ITEM_ID((short)9, "catalogItemId"),
483 rajveer 117
    FEATURE_ID((short)10, "featureId"),
118
    FEATURE_DESCRIPTION((short)11, "featureDescription"),
119
    MRP((short)13, "mrp"),
4762 phani.kuma 120
    SELLING_PRICE((short)14, "sellingPrice"),
121
    WEIGHT((short)15, "weight"),
122
    ADDED_ON((short)16, "addedOn"),
123
    START_DATE((short)17, "startDate"),
124
    RETIRE_DATE((short)18, "retireDate"),
103 ashish 125
    /**
126
     * 
127
     * @see status
128
     */
4762 phani.kuma 129
    ITEM_STATUS((short)19, "itemStatus"),
130
    STATUS_DESCRIPTION((short)20, "status_description"),
5336 rajveer 131
    OTHER_INFO((short)21, "otherInfo"),
4762 phani.kuma 132
    BEST_DEAL_TEXT((short)22, "bestDealText"),
133
    BEST_DEAL_VALUE((short)23, "bestDealValue"),
134
    DEFAULT_FOR_ENTITY((short)24, "defaultForEntity"),
135
    UPDATED_ON((short)25, "updatedOn"),
136
    BEST_SELLING_RANK((short)26, "bestSellingRank"),
137
    RISKY((short)27, "risky"),
138
    EXPECTED_DELAY((short)28, "expectedDelay"),
5440 phani.kuma 139
    IS_WAREHOUSE_PREFERENCE_STICKY((short)29, "isWarehousePreferenceSticky"),
140
    WARRANTY_PERIOD((short)30, "warrantyPeriod"),
141
    PREFERRED_VENDOR((short)31, "preferredVendor"),
5110 mandeep.dh 142
    /**
143
     * 
144
     * @see ItemType
145
     */
5440 phani.kuma 146
    TYPE((short)32, "type"),
147
    COMING_SOON_START_DATE((short)33, "comingSoonStartDate"),
148
    EXPECTED_ARRIVAL_DATE((short)34, "expectedArrivalDate"),
5460 phani.kuma 149
    HAS_ITEM_NO((short)35, "hasItemNo"),
6039 amit.gupta 150
    CLEARANCE((short)36, "clearance"),
6241 amit.gupta 151
    VAT_PERCENTAGE((short)37, "vatPercentage"),
6777 vikram.rag 152
    SHOW_SELLING_PRICE((short)38, "showSellingPrice"),
153
    BEST_DEALS_DETAILS_TEXT((short)39, "bestDealsDetailsText"),
154
    BEST_DEALS_DETAILS_LINK((short)40, "bestDealsDetailsLink");
100 ashish 155
 
156
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
157
 
158
    static {
159
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
160
        byName.put(field.getFieldName(), field);
161
      }
162
    }
163
 
164
    /**
165
     * Find the _Fields constant that matches fieldId, or null if its not found.
166
     */
167
    public static _Fields findByThriftId(int fieldId) {
3430 rajveer 168
      switch(fieldId) {
169
        case 1: // ID
170
          return ID;
171
        case 2: // PRODUCT_GROUP
172
          return PRODUCT_GROUP;
173
        case 3: // BRAND
174
          return BRAND;
175
        case 4: // MODEL_NUMBER
176
          return MODEL_NUMBER;
177
        case 5: // MODEL_NAME
178
          return MODEL_NAME;
179
        case 6: // COLOR
180
          return COLOR;
181
        case 7: // CATEGORY
182
          return CATEGORY;
183
        case 8: // COMMENTS
184
          return COMMENTS;
185
        case 9: // CATALOG_ITEM_ID
186
          return CATALOG_ITEM_ID;
187
        case 10: // FEATURE_ID
188
          return FEATURE_ID;
189
        case 11: // FEATURE_DESCRIPTION
190
          return FEATURE_DESCRIPTION;
191
        case 13: // MRP
192
          return MRP;
4762 phani.kuma 193
        case 14: // SELLING_PRICE
3430 rajveer 194
          return SELLING_PRICE;
4762 phani.kuma 195
        case 15: // WEIGHT
3430 rajveer 196
          return WEIGHT;
4762 phani.kuma 197
        case 16: // ADDED_ON
3430 rajveer 198
          return ADDED_ON;
4762 phani.kuma 199
        case 17: // START_DATE
3430 rajveer 200
          return START_DATE;
4762 phani.kuma 201
        case 18: // RETIRE_DATE
3430 rajveer 202
          return RETIRE_DATE;
4762 phani.kuma 203
        case 19: // ITEM_STATUS
3430 rajveer 204
          return ITEM_STATUS;
4762 phani.kuma 205
        case 20: // STATUS_DESCRIPTION
3430 rajveer 206
          return STATUS_DESCRIPTION;
5336 rajveer 207
        case 21: // OTHER_INFO
208
          return OTHER_INFO;
4762 phani.kuma 209
        case 22: // BEST_DEAL_TEXT
3430 rajveer 210
          return BEST_DEAL_TEXT;
4762 phani.kuma 211
        case 23: // BEST_DEAL_VALUE
3430 rajveer 212
          return BEST_DEAL_VALUE;
4762 phani.kuma 213
        case 24: // DEFAULT_FOR_ENTITY
3430 rajveer 214
          return DEFAULT_FOR_ENTITY;
4762 phani.kuma 215
        case 25: // UPDATED_ON
3430 rajveer 216
          return UPDATED_ON;
4762 phani.kuma 217
        case 26: // BEST_SELLING_RANK
3430 rajveer 218
          return BEST_SELLING_RANK;
4762 phani.kuma 219
        case 27: // RISKY
3430 rajveer 220
          return RISKY;
4762 phani.kuma 221
        case 28: // EXPECTED_DELAY
3430 rajveer 222
          return EXPECTED_DELAY;
5440 phani.kuma 223
        case 29: // IS_WAREHOUSE_PREFERENCE_STICKY
4406 anupam.sin 224
          return IS_WAREHOUSE_PREFERENCE_STICKY;
5440 phani.kuma 225
        case 30: // WARRANTY_PERIOD
4295 varun.gupt 226
          return WARRANTY_PERIOD;
5440 phani.kuma 227
        case 31: // PREFERRED_VENDOR
4506 phani.kuma 228
          return PREFERRED_VENDOR;
5440 phani.kuma 229
        case 32: // TYPE
5110 mandeep.dh 230
          return TYPE;
5440 phani.kuma 231
        case 33: // COMING_SOON_START_DATE
5217 amit.gupta 232
          return COMING_SOON_START_DATE;
5440 phani.kuma 233
        case 34: // EXPECTED_ARRIVAL_DATE
5217 amit.gupta 234
          return EXPECTED_ARRIVAL_DATE;
5440 phani.kuma 235
        case 35: // HAS_ITEM_NO
5385 phani.kuma 236
          return HAS_ITEM_NO;
5460 phani.kuma 237
        case 36: // CLEARANCE
238
          return CLEARANCE;
6039 amit.gupta 239
        case 37: // VAT_PERCENTAGE
240
          return VAT_PERCENTAGE;
6241 amit.gupta 241
        case 38: // SHOW_SELLING_PRICE
242
          return SHOW_SELLING_PRICE;
6777 vikram.rag 243
        case 39: // BEST_DEALS_DETAILS_TEXT
244
          return BEST_DEALS_DETAILS_TEXT;
245
        case 40: // BEST_DEALS_DETAILS_LINK
246
          return BEST_DEALS_DETAILS_LINK;
3430 rajveer 247
        default:
248
          return null;
249
      }
100 ashish 250
    }
251
 
252
    /**
253
     * Find the _Fields constant that matches fieldId, throwing an exception
254
     * if it is not found.
255
     */
256
    public static _Fields findByThriftIdOrThrow(int fieldId) {
257
      _Fields fields = findByThriftId(fieldId);
258
      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
259
      return fields;
260
    }
261
 
262
    /**
263
     * Find the _Fields constant that matches name, or null if its not found.
264
     */
265
    public static _Fields findByName(String name) {
266
      return byName.get(name);
267
    }
268
 
269
    private final short _thriftId;
270
    private final String _fieldName;
271
 
272
    _Fields(short thriftId, String fieldName) {
273
      _thriftId = thriftId;
274
      _fieldName = fieldName;
275
    }
276
 
277
    public short getThriftFieldId() {
278
      return _thriftId;
279
    }
280
 
281
    public String getFieldName() {
282
      return _fieldName;
283
    }
284
  }
285
 
286
  // isset id assignments
287
  private static final int __ID_ISSET_ID = 0;
622 chandransh 288
  private static final int __CATEGORY_ISSET_ID = 1;
289
  private static final int __CATALOGITEMID_ISSET_ID = 2;
290
  private static final int __FEATUREID_ISSET_ID = 3;
291
  private static final int __MRP_ISSET_ID = 4;
4762 phani.kuma 292
  private static final int __SELLINGPRICE_ISSET_ID = 5;
293
  private static final int __WEIGHT_ISSET_ID = 6;
294
  private static final int __ADDEDON_ISSET_ID = 7;
295
  private static final int __STARTDATE_ISSET_ID = 8;
296
  private static final int __RETIREDATE_ISSET_ID = 9;
297
  private static final int __BESTDEALVALUE_ISSET_ID = 10;
298
  private static final int __DEFAULTFORENTITY_ISSET_ID = 11;
299
  private static final int __UPDATEDON_ISSET_ID = 12;
300
  private static final int __BESTSELLINGRANK_ISSET_ID = 13;
301
  private static final int __RISKY_ISSET_ID = 14;
302
  private static final int __EXPECTEDDELAY_ISSET_ID = 15;
5440 phani.kuma 303
  private static final int __ISWAREHOUSEPREFERENCESTICKY_ISSET_ID = 16;
304
  private static final int __WARRANTYPERIOD_ISSET_ID = 17;
305
  private static final int __PREFERREDVENDOR_ISSET_ID = 18;
306
  private static final int __COMINGSOONSTARTDATE_ISSET_ID = 19;
307
  private static final int __EXPECTEDARRIVALDATE_ISSET_ID = 20;
308
  private static final int __HASITEMNO_ISSET_ID = 21;
5460 phani.kuma 309
  private static final int __CLEARANCE_ISSET_ID = 22;
6039 amit.gupta 310
  private static final int __VATPERCENTAGE_ISSET_ID = 23;
6241 amit.gupta 311
  private static final int __SHOWSELLINGPRICE_ISSET_ID = 24;
312
  private BitSet __isset_bit_vector = new BitSet(25);
100 ashish 313
 
3430 rajveer 314
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
100 ashish 315
  static {
3430 rajveer 316
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
317
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
318
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
319
    tmpMap.put(_Fields.PRODUCT_GROUP, new org.apache.thrift.meta_data.FieldMetaData("productGroup", org.apache.thrift.TFieldRequirementType.DEFAULT, 
320
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
321
    tmpMap.put(_Fields.BRAND, new org.apache.thrift.meta_data.FieldMetaData("brand", org.apache.thrift.TFieldRequirementType.DEFAULT, 
322
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
323
    tmpMap.put(_Fields.MODEL_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("modelNumber", org.apache.thrift.TFieldRequirementType.DEFAULT, 
324
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
325
    tmpMap.put(_Fields.MODEL_NAME, new org.apache.thrift.meta_data.FieldMetaData("modelName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
326
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
327
    tmpMap.put(_Fields.COLOR, new org.apache.thrift.meta_data.FieldMetaData("color", org.apache.thrift.TFieldRequirementType.DEFAULT, 
328
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
329
    tmpMap.put(_Fields.CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("category", org.apache.thrift.TFieldRequirementType.DEFAULT, 
330
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
331
    tmpMap.put(_Fields.COMMENTS, new org.apache.thrift.meta_data.FieldMetaData("comments", org.apache.thrift.TFieldRequirementType.DEFAULT, 
332
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
333
    tmpMap.put(_Fields.CATALOG_ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("catalogItemId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
334
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
335
    tmpMap.put(_Fields.FEATURE_ID, new org.apache.thrift.meta_data.FieldMetaData("featureId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
336
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
337
    tmpMap.put(_Fields.FEATURE_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("featureDescription", org.apache.thrift.TFieldRequirementType.DEFAULT, 
338
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
339
    tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
340
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
341
    tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
342
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
343
    tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
344
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
345
    tmpMap.put(_Fields.ADDED_ON, new org.apache.thrift.meta_data.FieldMetaData("addedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
346
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
347
    tmpMap.put(_Fields.START_DATE, new org.apache.thrift.meta_data.FieldMetaData("startDate", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
348
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
349
    tmpMap.put(_Fields.RETIRE_DATE, new org.apache.thrift.meta_data.FieldMetaData("retireDate", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
350
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
351
    tmpMap.put(_Fields.ITEM_STATUS, new org.apache.thrift.meta_data.FieldMetaData("itemStatus", org.apache.thrift.TFieldRequirementType.DEFAULT, 
352
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, status.class)));
353
    tmpMap.put(_Fields.STATUS_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("status_description", org.apache.thrift.TFieldRequirementType.DEFAULT, 
354
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
5336 rajveer 355
    tmpMap.put(_Fields.OTHER_INFO, new org.apache.thrift.meta_data.FieldMetaData("otherInfo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
356
        new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
357
            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), 
358
            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
3430 rajveer 359
    tmpMap.put(_Fields.BEST_DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealText", org.apache.thrift.TFieldRequirementType.DEFAULT, 
360
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
361
    tmpMap.put(_Fields.BEST_DEAL_VALUE, new org.apache.thrift.meta_data.FieldMetaData("bestDealValue", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
362
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
363
    tmpMap.put(_Fields.DEFAULT_FOR_ENTITY, new org.apache.thrift.meta_data.FieldMetaData("defaultForEntity", org.apache.thrift.TFieldRequirementType.DEFAULT, 
364
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
365
    tmpMap.put(_Fields.UPDATED_ON, new org.apache.thrift.meta_data.FieldMetaData("updatedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
366
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
367
    tmpMap.put(_Fields.BEST_SELLING_RANK, new org.apache.thrift.meta_data.FieldMetaData("bestSellingRank", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
368
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
369
    tmpMap.put(_Fields.RISKY, new org.apache.thrift.meta_data.FieldMetaData("risky", org.apache.thrift.TFieldRequirementType.DEFAULT, 
370
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
371
    tmpMap.put(_Fields.EXPECTED_DELAY, new org.apache.thrift.meta_data.FieldMetaData("expectedDelay", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
372
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
4406 anupam.sin 373
    tmpMap.put(_Fields.IS_WAREHOUSE_PREFERENCE_STICKY, new org.apache.thrift.meta_data.FieldMetaData("isWarehousePreferenceSticky", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
374
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
4295 varun.gupt 375
    tmpMap.put(_Fields.WARRANTY_PERIOD, new org.apache.thrift.meta_data.FieldMetaData("warrantyPeriod", org.apache.thrift.TFieldRequirementType.DEFAULT, 
376
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
4506 phani.kuma 377
    tmpMap.put(_Fields.PREFERRED_VENDOR, new org.apache.thrift.meta_data.FieldMetaData("preferredVendor", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
378
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
5110 mandeep.dh 379
    tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.DEFAULT, 
380
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ItemType.class)));
5217 amit.gupta 381
    tmpMap.put(_Fields.COMING_SOON_START_DATE, new org.apache.thrift.meta_data.FieldMetaData("comingSoonStartDate", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
382
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
383
    tmpMap.put(_Fields.EXPECTED_ARRIVAL_DATE, new org.apache.thrift.meta_data.FieldMetaData("expectedArrivalDate", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
384
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
5385 phani.kuma 385
    tmpMap.put(_Fields.HAS_ITEM_NO, new org.apache.thrift.meta_data.FieldMetaData("hasItemNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
386
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
5460 phani.kuma 387
    tmpMap.put(_Fields.CLEARANCE, new org.apache.thrift.meta_data.FieldMetaData("clearance", org.apache.thrift.TFieldRequirementType.DEFAULT, 
388
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
6039 amit.gupta 389
    tmpMap.put(_Fields.VAT_PERCENTAGE, new org.apache.thrift.meta_data.FieldMetaData("vatPercentage", org.apache.thrift.TFieldRequirementType.DEFAULT, 
390
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
6241 amit.gupta 391
    tmpMap.put(_Fields.SHOW_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("showSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT, 
392
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
6777 vikram.rag 393
    tmpMap.put(_Fields.BEST_DEALS_DETAILS_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealsDetailsText", org.apache.thrift.TFieldRequirementType.DEFAULT, 
394
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
395
    tmpMap.put(_Fields.BEST_DEALS_DETAILS_LINK, new org.apache.thrift.meta_data.FieldMetaData("bestDealsDetailsLink", org.apache.thrift.TFieldRequirementType.DEFAULT, 
396
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
3430 rajveer 397
    metaDataMap = Collections.unmodifiableMap(tmpMap);
398
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
100 ashish 399
  }
400
 
401
  public Item() {
402
  }
403
 
404
  public Item(
405
    long id,
957 chandransh 406
    String productGroup,
407
    String brand,
483 rajveer 408
    String modelNumber,
409
    String modelName,
1329 chandransh 410
    String color,
622 chandransh 411
    long category,
483 rajveer 412
    String comments,
123 ashish 413
    long catalogItemId,
483 rajveer 414
    long featureId,
415
    String featureDescription,
103 ashish 416
    long addedOn,
417
    status itemStatus,
2034 rajveer 418
    String status_description,
5336 rajveer 419
    Map<String,String> otherInfo,
607 chandransh 420
    String bestDealText,
1910 varun.gupt 421
    boolean defaultForEntity,
2064 ankur.sing 422
    long updatedOn,
4295 varun.gupt 423
    boolean risky,
5110 mandeep.dh 424
    int warrantyPeriod,
5385 phani.kuma 425
    ItemType type,
5460 phani.kuma 426
    boolean hasItemNo,
6039 amit.gupta 427
    boolean clearance,
6241 amit.gupta 428
    double vatPercentage,
6777 vikram.rag 429
    boolean showSellingPrice,
430
    String bestDealsDetailsText,
431
    String bestDealsDetailsLink)
100 ashish 432
  {
433
    this();
434
    this.id = id;
435
    setIdIsSet(true);
957 chandransh 436
    this.productGroup = productGroup;
437
    this.brand = brand;
483 rajveer 438
    this.modelNumber = modelNumber;
439
    this.modelName = modelName;
1329 chandransh 440
    this.color = color;
483 rajveer 441
    this.category = category;
622 chandransh 442
    setCategoryIsSet(true);
483 rajveer 443
    this.comments = comments;
123 ashish 444
    this.catalogItemId = catalogItemId;
445
    setCatalogItemIdIsSet(true);
483 rajveer 446
    this.featureId = featureId;
447
    setFeatureIdIsSet(true);
448
    this.featureDescription = featureDescription;
103 ashish 449
    this.addedOn = addedOn;
450
    setAddedOnIsSet(true);
451
    this.itemStatus = itemStatus;
2034 rajveer 452
    this.status_description = status_description;
5336 rajveer 453
    this.otherInfo = otherInfo;
607 chandransh 454
    this.bestDealText = bestDealText;
1910 varun.gupt 455
    this.defaultForEntity = defaultForEntity;
456
    setDefaultForEntityIsSet(true);
607 chandransh 457
    this.updatedOn = updatedOn;
458
    setUpdatedOnIsSet(true);
2250 ankur.sing 459
    this.risky = risky;
460
    setRiskyIsSet(true);
4295 varun.gupt 461
    this.warrantyPeriod = warrantyPeriod;
462
    setWarrantyPeriodIsSet(true);
5110 mandeep.dh 463
    this.type = type;
5385 phani.kuma 464
    this.hasItemNo = hasItemNo;
465
    setHasItemNoIsSet(true);
5460 phani.kuma 466
    this.clearance = clearance;
467
    setClearanceIsSet(true);
6039 amit.gupta 468
    this.vatPercentage = vatPercentage;
469
    setVatPercentageIsSet(true);
6241 amit.gupta 470
    this.showSellingPrice = showSellingPrice;
471
    setShowSellingPriceIsSet(true);
6777 vikram.rag 472
    this.bestDealsDetailsText = bestDealsDetailsText;
473
    this.bestDealsDetailsLink = bestDealsDetailsLink;
100 ashish 474
  }
475
 
476
  /**
477
   * Performs a deep copy on <i>other</i>.
478
   */
479
  public Item(Item other) {
480
    __isset_bit_vector.clear();
481
    __isset_bit_vector.or(other.__isset_bit_vector);
482
    this.id = other.id;
957 chandransh 483
    if (other.isSetProductGroup()) {
484
      this.productGroup = other.productGroup;
483 rajveer 485
    }
957 chandransh 486
    if (other.isSetBrand()) {
487
      this.brand = other.brand;
488
    }
483 rajveer 489
    if (other.isSetModelNumber()) {
490
      this.modelNumber = other.modelNumber;
491
    }
492
    if (other.isSetModelName()) {
493
      this.modelName = other.modelName;
494
    }
1329 chandransh 495
    if (other.isSetColor()) {
496
      this.color = other.color;
497
    }
622 chandransh 498
    this.category = other.category;
483 rajveer 499
    if (other.isSetComments()) {
500
      this.comments = other.comments;
501
    }
123 ashish 502
    this.catalogItemId = other.catalogItemId;
483 rajveer 503
    this.featureId = other.featureId;
504
    if (other.isSetFeatureDescription()) {
505
      this.featureDescription = other.featureDescription;
506
    }
507
    this.mrp = other.mrp;
508
    this.sellingPrice = other.sellingPrice;
509
    this.weight = other.weight;
103 ashish 510
    this.addedOn = other.addedOn;
511
    this.startDate = other.startDate;
483 rajveer 512
    this.retireDate = other.retireDate;
103 ashish 513
    if (other.isSetItemStatus()) {
514
      this.itemStatus = other.itemStatus;
515
    }
2034 rajveer 516
    if (other.isSetStatus_description()) {
517
      this.status_description = other.status_description;
518
    }
5336 rajveer 519
    if (other.isSetOtherInfo()) {
520
      Map<String,String> __this__otherInfo = new HashMap<String,String>();
521
      for (Map.Entry<String, String> other_element : other.otherInfo.entrySet()) {
522
 
523
        String other_element_key = other_element.getKey();
524
        String other_element_value = other_element.getValue();
525
 
526
        String __this__otherInfo_copy_key = other_element_key;
527
 
528
        String __this__otherInfo_copy_value = other_element_value;
529
 
530
        __this__otherInfo.put(__this__otherInfo_copy_key, __this__otherInfo_copy_value);
531
      }
532
      this.otherInfo = __this__otherInfo;
533
    }
607 chandransh 534
    if (other.isSetBestDealText()) {
535
      this.bestDealText = other.bestDealText;
536
    }
537
    this.bestDealValue = other.bestDealValue;
1910 varun.gupt 538
    this.defaultForEntity = other.defaultForEntity;
607 chandransh 539
    this.updatedOn = other.updatedOn;
2064 ankur.sing 540
    this.bestSellingRank = other.bestSellingRank;
2250 ankur.sing 541
    this.risky = other.risky;
3355 chandransh 542
    this.expectedDelay = other.expectedDelay;
4406 anupam.sin 543
    this.isWarehousePreferenceSticky = other.isWarehousePreferenceSticky;
4295 varun.gupt 544
    this.warrantyPeriod = other.warrantyPeriod;
4506 phani.kuma 545
    this.preferredVendor = other.preferredVendor;
5110 mandeep.dh 546
    if (other.isSetType()) {
547
      this.type = other.type;
548
    }
5217 amit.gupta 549
    this.comingSoonStartDate = other.comingSoonStartDate;
550
    this.expectedArrivalDate = other.expectedArrivalDate;
5385 phani.kuma 551
    this.hasItemNo = other.hasItemNo;
5460 phani.kuma 552
    this.clearance = other.clearance;
6039 amit.gupta 553
    this.vatPercentage = other.vatPercentage;
6241 amit.gupta 554
    this.showSellingPrice = other.showSellingPrice;
6777 vikram.rag 555
    if (other.isSetBestDealsDetailsText()) {
556
      this.bestDealsDetailsText = other.bestDealsDetailsText;
557
    }
558
    if (other.isSetBestDealsDetailsLink()) {
559
      this.bestDealsDetailsLink = other.bestDealsDetailsLink;
560
    }
100 ashish 561
  }
562
 
563
  public Item deepCopy() {
564
    return new Item(this);
565
  }
566
 
3430 rajveer 567
  @Override
568
  public void clear() {
569
    setIdIsSet(false);
570
    this.id = 0;
571
    this.productGroup = null;
572
    this.brand = null;
573
    this.modelNumber = null;
574
    this.modelName = null;
575
    this.color = null;
576
    setCategoryIsSet(false);
577
    this.category = 0;
578
    this.comments = null;
579
    setCatalogItemIdIsSet(false);
580
    this.catalogItemId = 0;
581
    setFeatureIdIsSet(false);
582
    this.featureId = 0;
583
    this.featureDescription = null;
584
    setMrpIsSet(false);
585
    this.mrp = 0.0;
586
    setSellingPriceIsSet(false);
587
    this.sellingPrice = 0.0;
588
    setWeightIsSet(false);
589
    this.weight = 0.0;
590
    setAddedOnIsSet(false);
591
    this.addedOn = 0;
592
    setStartDateIsSet(false);
593
    this.startDate = 0;
594
    setRetireDateIsSet(false);
595
    this.retireDate = 0;
596
    this.itemStatus = null;
597
    this.status_description = null;
5336 rajveer 598
    this.otherInfo = null;
3430 rajveer 599
    this.bestDealText = null;
600
    setBestDealValueIsSet(false);
601
    this.bestDealValue = 0.0;
602
    setDefaultForEntityIsSet(false);
603
    this.defaultForEntity = false;
604
    setUpdatedOnIsSet(false);
605
    this.updatedOn = 0;
606
    setBestSellingRankIsSet(false);
607
    this.bestSellingRank = 0;
608
    setRiskyIsSet(false);
609
    this.risky = false;
610
    setExpectedDelayIsSet(false);
611
    this.expectedDelay = 0;
4406 anupam.sin 612
    setIsWarehousePreferenceStickyIsSet(false);
613
    this.isWarehousePreferenceSticky = false;
4295 varun.gupt 614
    setWarrantyPeriodIsSet(false);
615
    this.warrantyPeriod = 0;
4506 phani.kuma 616
    setPreferredVendorIsSet(false);
617
    this.preferredVendor = 0;
5110 mandeep.dh 618
    this.type = null;
5217 amit.gupta 619
    setComingSoonStartDateIsSet(false);
620
    this.comingSoonStartDate = 0;
621
    setExpectedArrivalDateIsSet(false);
622
    this.expectedArrivalDate = 0;
5385 phani.kuma 623
    setHasItemNoIsSet(false);
624
    this.hasItemNo = false;
5460 phani.kuma 625
    setClearanceIsSet(false);
626
    this.clearance = false;
6039 amit.gupta 627
    setVatPercentageIsSet(false);
628
    this.vatPercentage = 0.0;
6241 amit.gupta 629
    setShowSellingPriceIsSet(false);
630
    this.showSellingPrice = false;
6777 vikram.rag 631
    this.bestDealsDetailsText = null;
632
    this.bestDealsDetailsLink = null;
100 ashish 633
  }
634
 
635
  public long getId() {
636
    return this.id;
637
  }
638
 
3430 rajveer 639
  public void setId(long id) {
100 ashish 640
    this.id = id;
641
    setIdIsSet(true);
642
  }
643
 
644
  public void unsetId() {
645
    __isset_bit_vector.clear(__ID_ISSET_ID);
646
  }
647
 
3430 rajveer 648
  /** Returns true if field id is set (has been assigned a value) and false otherwise */
100 ashish 649
  public boolean isSetId() {
650
    return __isset_bit_vector.get(__ID_ISSET_ID);
651
  }
652
 
653
  public void setIdIsSet(boolean value) {
654
    __isset_bit_vector.set(__ID_ISSET_ID, value);
655
  }
656
 
957 chandransh 657
  public String getProductGroup() {
658
    return this.productGroup;
483 rajveer 659
  }
660
 
3430 rajveer 661
  public void setProductGroup(String productGroup) {
957 chandransh 662
    this.productGroup = productGroup;
483 rajveer 663
  }
664
 
957 chandransh 665
  public void unsetProductGroup() {
666
    this.productGroup = null;
483 rajveer 667
  }
668
 
3430 rajveer 669
  /** Returns true if field productGroup is set (has been assigned a value) and false otherwise */
957 chandransh 670
  public boolean isSetProductGroup() {
671
    return this.productGroup != null;
483 rajveer 672
  }
673
 
957 chandransh 674
  public void setProductGroupIsSet(boolean value) {
483 rajveer 675
    if (!value) {
957 chandransh 676
      this.productGroup = null;
483 rajveer 677
    }
678
  }
679
 
957 chandransh 680
  public String getBrand() {
681
    return this.brand;
682
  }
683
 
3430 rajveer 684
  public void setBrand(String brand) {
957 chandransh 685
    this.brand = brand;
686
  }
687
 
688
  public void unsetBrand() {
689
    this.brand = null;
690
  }
691
 
3430 rajveer 692
  /** Returns true if field brand is set (has been assigned a value) and false otherwise */
957 chandransh 693
  public boolean isSetBrand() {
694
    return this.brand != null;
695
  }
696
 
697
  public void setBrandIsSet(boolean value) {
698
    if (!value) {
699
      this.brand = null;
700
    }
701
  }
702
 
483 rajveer 703
  public String getModelNumber() {
704
    return this.modelNumber;
705
  }
706
 
3430 rajveer 707
  public void setModelNumber(String modelNumber) {
483 rajveer 708
    this.modelNumber = modelNumber;
709
  }
710
 
711
  public void unsetModelNumber() {
712
    this.modelNumber = null;
713
  }
714
 
3430 rajveer 715
  /** Returns true if field modelNumber is set (has been assigned a value) and false otherwise */
483 rajveer 716
  public boolean isSetModelNumber() {
717
    return this.modelNumber != null;
718
  }
719
 
720
  public void setModelNumberIsSet(boolean value) {
721
    if (!value) {
722
      this.modelNumber = null;
723
    }
724
  }
725
 
726
  public String getModelName() {
727
    return this.modelName;
728
  }
729
 
3430 rajveer 730
  public void setModelName(String modelName) {
483 rajveer 731
    this.modelName = modelName;
732
  }
733
 
734
  public void unsetModelName() {
735
    this.modelName = null;
736
  }
737
 
3430 rajveer 738
  /** Returns true if field modelName is set (has been assigned a value) and false otherwise */
483 rajveer 739
  public boolean isSetModelName() {
740
    return this.modelName != null;
741
  }
742
 
743
  public void setModelNameIsSet(boolean value) {
744
    if (!value) {
745
      this.modelName = null;
746
    }
747
  }
748
 
1329 chandransh 749
  public String getColor() {
750
    return this.color;
751
  }
752
 
3430 rajveer 753
  public void setColor(String color) {
1329 chandransh 754
    this.color = color;
755
  }
756
 
757
  public void unsetColor() {
758
    this.color = null;
759
  }
760
 
3430 rajveer 761
  /** Returns true if field color is set (has been assigned a value) and false otherwise */
1329 chandransh 762
  public boolean isSetColor() {
763
    return this.color != null;
764
  }
765
 
766
  public void setColorIsSet(boolean value) {
767
    if (!value) {
768
      this.color = null;
769
    }
770
  }
771
 
622 chandransh 772
  public long getCategory() {
483 rajveer 773
    return this.category;
774
  }
775
 
3430 rajveer 776
  public void setCategory(long category) {
483 rajveer 777
    this.category = category;
622 chandransh 778
    setCategoryIsSet(true);
483 rajveer 779
  }
780
 
781
  public void unsetCategory() {
622 chandransh 782
    __isset_bit_vector.clear(__CATEGORY_ISSET_ID);
483 rajveer 783
  }
784
 
3430 rajveer 785
  /** Returns true if field category is set (has been assigned a value) and false otherwise */
483 rajveer 786
  public boolean isSetCategory() {
622 chandransh 787
    return __isset_bit_vector.get(__CATEGORY_ISSET_ID);
483 rajveer 788
  }
789
 
790
  public void setCategoryIsSet(boolean value) {
622 chandransh 791
    __isset_bit_vector.set(__CATEGORY_ISSET_ID, value);
483 rajveer 792
  }
793
 
794
  public String getComments() {
795
    return this.comments;
796
  }
797
 
3430 rajveer 798
  public void setComments(String comments) {
483 rajveer 799
    this.comments = comments;
800
  }
801
 
802
  public void unsetComments() {
803
    this.comments = null;
804
  }
805
 
3430 rajveer 806
  /** Returns true if field comments is set (has been assigned a value) and false otherwise */
483 rajveer 807
  public boolean isSetComments() {
808
    return this.comments != null;
809
  }
810
 
811
  public void setCommentsIsSet(boolean value) {
812
    if (!value) {
813
      this.comments = null;
814
    }
815
  }
816
 
123 ashish 817
  public long getCatalogItemId() {
818
    return this.catalogItemId;
100 ashish 819
  }
820
 
3430 rajveer 821
  public void setCatalogItemId(long catalogItemId) {
123 ashish 822
    this.catalogItemId = catalogItemId;
823
    setCatalogItemIdIsSet(true);
100 ashish 824
  }
825
 
123 ashish 826
  public void unsetCatalogItemId() {
827
    __isset_bit_vector.clear(__CATALOGITEMID_ISSET_ID);
100 ashish 828
  }
829
 
3430 rajveer 830
  /** Returns true if field catalogItemId is set (has been assigned a value) and false otherwise */
123 ashish 831
  public boolean isSetCatalogItemId() {
832
    return __isset_bit_vector.get(__CATALOGITEMID_ISSET_ID);
100 ashish 833
  }
834
 
123 ashish 835
  public void setCatalogItemIdIsSet(boolean value) {
836
    __isset_bit_vector.set(__CATALOGITEMID_ISSET_ID, value);
100 ashish 837
  }
838
 
483 rajveer 839
  public long getFeatureId() {
840
    return this.featureId;
841
  }
842
 
3430 rajveer 843
  public void setFeatureId(long featureId) {
483 rajveer 844
    this.featureId = featureId;
845
    setFeatureIdIsSet(true);
846
  }
847
 
848
  public void unsetFeatureId() {
849
    __isset_bit_vector.clear(__FEATUREID_ISSET_ID);
850
  }
851
 
3430 rajveer 852
  /** Returns true if field featureId is set (has been assigned a value) and false otherwise */
483 rajveer 853
  public boolean isSetFeatureId() {
854
    return __isset_bit_vector.get(__FEATUREID_ISSET_ID);
855
  }
856
 
857
  public void setFeatureIdIsSet(boolean value) {
858
    __isset_bit_vector.set(__FEATUREID_ISSET_ID, value);
859
  }
860
 
861
  public String getFeatureDescription() {
862
    return this.featureDescription;
863
  }
864
 
3430 rajveer 865
  public void setFeatureDescription(String featureDescription) {
483 rajveer 866
    this.featureDescription = featureDescription;
867
  }
868
 
869
  public void unsetFeatureDescription() {
870
    this.featureDescription = null;
871
  }
872
 
3430 rajveer 873
  /** Returns true if field featureDescription is set (has been assigned a value) and false otherwise */
483 rajveer 874
  public boolean isSetFeatureDescription() {
875
    return this.featureDescription != null;
876
  }
877
 
878
  public void setFeatureDescriptionIsSet(boolean value) {
879
    if (!value) {
880
      this.featureDescription = null;
881
    }
882
  }
883
 
884
  public double getMrp() {
885
    return this.mrp;
886
  }
887
 
3430 rajveer 888
  public void setMrp(double mrp) {
483 rajveer 889
    this.mrp = mrp;
890
    setMrpIsSet(true);
891
  }
892
 
893
  public void unsetMrp() {
894
    __isset_bit_vector.clear(__MRP_ISSET_ID);
895
  }
896
 
3430 rajveer 897
  /** Returns true if field mrp is set (has been assigned a value) and false otherwise */
483 rajveer 898
  public boolean isSetMrp() {
899
    return __isset_bit_vector.get(__MRP_ISSET_ID);
900
  }
901
 
902
  public void setMrpIsSet(boolean value) {
903
    __isset_bit_vector.set(__MRP_ISSET_ID, value);
904
  }
905
 
906
  public double getSellingPrice() {
907
    return this.sellingPrice;
908
  }
909
 
3430 rajveer 910
  public void setSellingPrice(double sellingPrice) {
483 rajveer 911
    this.sellingPrice = sellingPrice;
912
    setSellingPriceIsSet(true);
913
  }
914
 
915
  public void unsetSellingPrice() {
916
    __isset_bit_vector.clear(__SELLINGPRICE_ISSET_ID);
917
  }
918
 
3430 rajveer 919
  /** Returns true if field sellingPrice is set (has been assigned a value) and false otherwise */
483 rajveer 920
  public boolean isSetSellingPrice() {
921
    return __isset_bit_vector.get(__SELLINGPRICE_ISSET_ID);
922
  }
923
 
924
  public void setSellingPriceIsSet(boolean value) {
925
    __isset_bit_vector.set(__SELLINGPRICE_ISSET_ID, value);
926
  }
927
 
928
  public double getWeight() {
929
    return this.weight;
930
  }
931
 
3430 rajveer 932
  public void setWeight(double weight) {
483 rajveer 933
    this.weight = weight;
934
    setWeightIsSet(true);
935
  }
936
 
937
  public void unsetWeight() {
938
    __isset_bit_vector.clear(__WEIGHT_ISSET_ID);
939
  }
940
 
3430 rajveer 941
  /** Returns true if field weight is set (has been assigned a value) and false otherwise */
483 rajveer 942
  public boolean isSetWeight() {
943
    return __isset_bit_vector.get(__WEIGHT_ISSET_ID);
944
  }
945
 
946
  public void setWeightIsSet(boolean value) {
947
    __isset_bit_vector.set(__WEIGHT_ISSET_ID, value);
948
  }
949
 
103 ashish 950
  public long getAddedOn() {
951
    return this.addedOn;
952
  }
953
 
3430 rajveer 954
  public void setAddedOn(long addedOn) {
103 ashish 955
    this.addedOn = addedOn;
956
    setAddedOnIsSet(true);
957
  }
958
 
959
  public void unsetAddedOn() {
960
    __isset_bit_vector.clear(__ADDEDON_ISSET_ID);
961
  }
962
 
3430 rajveer 963
  /** Returns true if field addedOn is set (has been assigned a value) and false otherwise */
103 ashish 964
  public boolean isSetAddedOn() {
965
    return __isset_bit_vector.get(__ADDEDON_ISSET_ID);
966
  }
967
 
968
  public void setAddedOnIsSet(boolean value) {
969
    __isset_bit_vector.set(__ADDEDON_ISSET_ID, value);
970
  }
971
 
972
  public long getStartDate() {
973
    return this.startDate;
974
  }
975
 
3430 rajveer 976
  public void setStartDate(long startDate) {
103 ashish 977
    this.startDate = startDate;
978
    setStartDateIsSet(true);
979
  }
980
 
981
  public void unsetStartDate() {
982
    __isset_bit_vector.clear(__STARTDATE_ISSET_ID);
983
  }
984
 
3430 rajveer 985
  /** Returns true if field startDate is set (has been assigned a value) and false otherwise */
103 ashish 986
  public boolean isSetStartDate() {
987
    return __isset_bit_vector.get(__STARTDATE_ISSET_ID);
988
  }
989
 
990
  public void setStartDateIsSet(boolean value) {
991
    __isset_bit_vector.set(__STARTDATE_ISSET_ID, value);
992
  }
993
 
483 rajveer 994
  public long getRetireDate() {
995
    return this.retireDate;
996
  }
997
 
3430 rajveer 998
  public void setRetireDate(long retireDate) {
483 rajveer 999
    this.retireDate = retireDate;
1000
    setRetireDateIsSet(true);
1001
  }
1002
 
1003
  public void unsetRetireDate() {
1004
    __isset_bit_vector.clear(__RETIREDATE_ISSET_ID);
1005
  }
1006
 
3430 rajveer 1007
  /** Returns true if field retireDate is set (has been assigned a value) and false otherwise */
483 rajveer 1008
  public boolean isSetRetireDate() {
1009
    return __isset_bit_vector.get(__RETIREDATE_ISSET_ID);
1010
  }
1011
 
1012
  public void setRetireDateIsSet(boolean value) {
1013
    __isset_bit_vector.set(__RETIREDATE_ISSET_ID, value);
1014
  }
1015
 
103 ashish 1016
  /**
1017
   * 
1018
   * @see status
1019
   */
1020
  public status getItemStatus() {
1021
    return this.itemStatus;
1022
  }
1023
 
1024
  /**
1025
   * 
1026
   * @see status
1027
   */
3430 rajveer 1028
  public void setItemStatus(status itemStatus) {
103 ashish 1029
    this.itemStatus = itemStatus;
1030
  }
1031
 
1032
  public void unsetItemStatus() {
1033
    this.itemStatus = null;
1034
  }
1035
 
3430 rajveer 1036
  /** Returns true if field itemStatus is set (has been assigned a value) and false otherwise */
103 ashish 1037
  public boolean isSetItemStatus() {
1038
    return this.itemStatus != null;
1039
  }
1040
 
1041
  public void setItemStatusIsSet(boolean value) {
1042
    if (!value) {
1043
      this.itemStatus = null;
1044
    }
1045
  }
1046
 
2034 rajveer 1047
  public String getStatus_description() {
1048
    return this.status_description;
1049
  }
1050
 
3430 rajveer 1051
  public void setStatus_description(String status_description) {
2034 rajveer 1052
    this.status_description = status_description;
1053
  }
1054
 
1055
  public void unsetStatus_description() {
1056
    this.status_description = null;
1057
  }
1058
 
3430 rajveer 1059
  /** Returns true if field status_description is set (has been assigned a value) and false otherwise */
2034 rajveer 1060
  public boolean isSetStatus_description() {
1061
    return this.status_description != null;
1062
  }
1063
 
1064
  public void setStatus_descriptionIsSet(boolean value) {
1065
    if (!value) {
1066
      this.status_description = null;
1067
    }
1068
  }
1069
 
5336 rajveer 1070
  public int getOtherInfoSize() {
1071
    return (this.otherInfo == null) ? 0 : this.otherInfo.size();
1072
  }
1073
 
1074
  public void putToOtherInfo(String key, String val) {
1075
    if (this.otherInfo == null) {
1076
      this.otherInfo = new HashMap<String,String>();
1077
    }
1078
    this.otherInfo.put(key, val);
1079
  }
1080
 
1081
  public Map<String,String> getOtherInfo() {
1082
    return this.otherInfo;
1083
  }
1084
 
1085
  public void setOtherInfo(Map<String,String> otherInfo) {
1086
    this.otherInfo = otherInfo;
1087
  }
1088
 
1089
  public void unsetOtherInfo() {
1090
    this.otherInfo = null;
1091
  }
1092
 
1093
  /** Returns true if field otherInfo is set (has been assigned a value) and false otherwise */
1094
  public boolean isSetOtherInfo() {
1095
    return this.otherInfo != null;
1096
  }
1097
 
1098
  public void setOtherInfoIsSet(boolean value) {
1099
    if (!value) {
1100
      this.otherInfo = null;
1101
    }
1102
  }
1103
 
607 chandransh 1104
  public String getBestDealText() {
1105
    return this.bestDealText;
1106
  }
1107
 
3430 rajveer 1108
  public void setBestDealText(String bestDealText) {
607 chandransh 1109
    this.bestDealText = bestDealText;
1110
  }
1111
 
1112
  public void unsetBestDealText() {
1113
    this.bestDealText = null;
1114
  }
1115
 
3430 rajveer 1116
  /** Returns true if field bestDealText is set (has been assigned a value) and false otherwise */
607 chandransh 1117
  public boolean isSetBestDealText() {
1118
    return this.bestDealText != null;
1119
  }
1120
 
1121
  public void setBestDealTextIsSet(boolean value) {
1122
    if (!value) {
1123
      this.bestDealText = null;
1124
    }
1125
  }
1126
 
1127
  public double getBestDealValue() {
1128
    return this.bestDealValue;
1129
  }
1130
 
3430 rajveer 1131
  public void setBestDealValue(double bestDealValue) {
607 chandransh 1132
    this.bestDealValue = bestDealValue;
1133
    setBestDealValueIsSet(true);
1134
  }
1135
 
1136
  public void unsetBestDealValue() {
1137
    __isset_bit_vector.clear(__BESTDEALVALUE_ISSET_ID);
1138
  }
1139
 
3430 rajveer 1140
  /** Returns true if field bestDealValue is set (has been assigned a value) and false otherwise */
607 chandransh 1141
  public boolean isSetBestDealValue() {
1142
    return __isset_bit_vector.get(__BESTDEALVALUE_ISSET_ID);
1143
  }
1144
 
1145
  public void setBestDealValueIsSet(boolean value) {
1146
    __isset_bit_vector.set(__BESTDEALVALUE_ISSET_ID, value);
1147
  }
1148
 
1910 varun.gupt 1149
  public boolean isDefaultForEntity() {
1150
    return this.defaultForEntity;
1151
  }
1152
 
3430 rajveer 1153
  public void setDefaultForEntity(boolean defaultForEntity) {
1910 varun.gupt 1154
    this.defaultForEntity = defaultForEntity;
1155
    setDefaultForEntityIsSet(true);
1156
  }
1157
 
1158
  public void unsetDefaultForEntity() {
1159
    __isset_bit_vector.clear(__DEFAULTFORENTITY_ISSET_ID);
1160
  }
1161
 
3430 rajveer 1162
  /** Returns true if field defaultForEntity is set (has been assigned a value) and false otherwise */
1910 varun.gupt 1163
  public boolean isSetDefaultForEntity() {
1164
    return __isset_bit_vector.get(__DEFAULTFORENTITY_ISSET_ID);
1165
  }
1166
 
1167
  public void setDefaultForEntityIsSet(boolean value) {
1168
    __isset_bit_vector.set(__DEFAULTFORENTITY_ISSET_ID, value);
1169
  }
1170
 
607 chandransh 1171
  public long getUpdatedOn() {
1172
    return this.updatedOn;
1173
  }
1174
 
3430 rajveer 1175
  public void setUpdatedOn(long updatedOn) {
607 chandransh 1176
    this.updatedOn = updatedOn;
1177
    setUpdatedOnIsSet(true);
1178
  }
1179
 
1180
  public void unsetUpdatedOn() {
1181
    __isset_bit_vector.clear(__UPDATEDON_ISSET_ID);
1182
  }
1183
 
3430 rajveer 1184
  /** Returns true if field updatedOn is set (has been assigned a value) and false otherwise */
607 chandransh 1185
  public boolean isSetUpdatedOn() {
1186
    return __isset_bit_vector.get(__UPDATEDON_ISSET_ID);
1187
  }
1188
 
1189
  public void setUpdatedOnIsSet(boolean value) {
1190
    __isset_bit_vector.set(__UPDATEDON_ISSET_ID, value);
1191
  }
1192
 
2064 ankur.sing 1193
  public long getBestSellingRank() {
1194
    return this.bestSellingRank;
1195
  }
1196
 
3430 rajveer 1197
  public void setBestSellingRank(long bestSellingRank) {
2064 ankur.sing 1198
    this.bestSellingRank = bestSellingRank;
1199
    setBestSellingRankIsSet(true);
1200
  }
1201
 
1202
  public void unsetBestSellingRank() {
1203
    __isset_bit_vector.clear(__BESTSELLINGRANK_ISSET_ID);
1204
  }
1205
 
3430 rajveer 1206
  /** Returns true if field bestSellingRank is set (has been assigned a value) and false otherwise */
2064 ankur.sing 1207
  public boolean isSetBestSellingRank() {
1208
    return __isset_bit_vector.get(__BESTSELLINGRANK_ISSET_ID);
1209
  }
1210
 
1211
  public void setBestSellingRankIsSet(boolean value) {
1212
    __isset_bit_vector.set(__BESTSELLINGRANK_ISSET_ID, value);
1213
  }
1214
 
2250 ankur.sing 1215
  public boolean isRisky() {
1216
    return this.risky;
1217
  }
1218
 
3430 rajveer 1219
  public void setRisky(boolean risky) {
2250 ankur.sing 1220
    this.risky = risky;
1221
    setRiskyIsSet(true);
1222
  }
1223
 
1224
  public void unsetRisky() {
1225
    __isset_bit_vector.clear(__RISKY_ISSET_ID);
1226
  }
1227
 
3430 rajveer 1228
  /** Returns true if field risky is set (has been assigned a value) and false otherwise */
2250 ankur.sing 1229
  public boolean isSetRisky() {
1230
    return __isset_bit_vector.get(__RISKY_ISSET_ID);
1231
  }
1232
 
1233
  public void setRiskyIsSet(boolean value) {
1234
    __isset_bit_vector.set(__RISKY_ISSET_ID, value);
1235
  }
1236
 
3355 chandransh 1237
  public int getExpectedDelay() {
1238
    return this.expectedDelay;
1239
  }
1240
 
3430 rajveer 1241
  public void setExpectedDelay(int expectedDelay) {
3355 chandransh 1242
    this.expectedDelay = expectedDelay;
1243
    setExpectedDelayIsSet(true);
1244
  }
1245
 
1246
  public void unsetExpectedDelay() {
1247
    __isset_bit_vector.clear(__EXPECTEDDELAY_ISSET_ID);
1248
  }
1249
 
3430 rajveer 1250
  /** Returns true if field expectedDelay is set (has been assigned a value) and false otherwise */
3355 chandransh 1251
  public boolean isSetExpectedDelay() {
1252
    return __isset_bit_vector.get(__EXPECTEDDELAY_ISSET_ID);
1253
  }
1254
 
1255
  public void setExpectedDelayIsSet(boolean value) {
1256
    __isset_bit_vector.set(__EXPECTEDDELAY_ISSET_ID, value);
1257
  }
1258
 
4406 anupam.sin 1259
  public boolean isIsWarehousePreferenceSticky() {
1260
    return this.isWarehousePreferenceSticky;
1261
  }
1262
 
1263
  public void setIsWarehousePreferenceSticky(boolean isWarehousePreferenceSticky) {
1264
    this.isWarehousePreferenceSticky = isWarehousePreferenceSticky;
1265
    setIsWarehousePreferenceStickyIsSet(true);
1266
  }
1267
 
1268
  public void unsetIsWarehousePreferenceSticky() {
1269
    __isset_bit_vector.clear(__ISWAREHOUSEPREFERENCESTICKY_ISSET_ID);
1270
  }
1271
 
1272
  /** Returns true if field isWarehousePreferenceSticky is set (has been assigned a value) and false otherwise */
1273
  public boolean isSetIsWarehousePreferenceSticky() {
1274
    return __isset_bit_vector.get(__ISWAREHOUSEPREFERENCESTICKY_ISSET_ID);
1275
  }
1276
 
1277
  public void setIsWarehousePreferenceStickyIsSet(boolean value) {
1278
    __isset_bit_vector.set(__ISWAREHOUSEPREFERENCESTICKY_ISSET_ID, value);
1279
  }
1280
 
4295 varun.gupt 1281
  public int getWarrantyPeriod() {
1282
    return this.warrantyPeriod;
1283
  }
1284
 
1285
  public void setWarrantyPeriod(int warrantyPeriod) {
1286
    this.warrantyPeriod = warrantyPeriod;
1287
    setWarrantyPeriodIsSet(true);
1288
  }
1289
 
1290
  public void unsetWarrantyPeriod() {
1291
    __isset_bit_vector.clear(__WARRANTYPERIOD_ISSET_ID);
1292
  }
1293
 
1294
  /** Returns true if field warrantyPeriod is set (has been assigned a value) and false otherwise */
1295
  public boolean isSetWarrantyPeriod() {
1296
    return __isset_bit_vector.get(__WARRANTYPERIOD_ISSET_ID);
1297
  }
1298
 
1299
  public void setWarrantyPeriodIsSet(boolean value) {
1300
    __isset_bit_vector.set(__WARRANTYPERIOD_ISSET_ID, value);
1301
  }
1302
 
4506 phani.kuma 1303
  public long getPreferredVendor() {
1304
    return this.preferredVendor;
1305
  }
1306
 
1307
  public void setPreferredVendor(long preferredVendor) {
1308
    this.preferredVendor = preferredVendor;
1309
    setPreferredVendorIsSet(true);
1310
  }
1311
 
1312
  public void unsetPreferredVendor() {
1313
    __isset_bit_vector.clear(__PREFERREDVENDOR_ISSET_ID);
1314
  }
1315
 
1316
  /** Returns true if field preferredVendor is set (has been assigned a value) and false otherwise */
1317
  public boolean isSetPreferredVendor() {
1318
    return __isset_bit_vector.get(__PREFERREDVENDOR_ISSET_ID);
1319
  }
1320
 
1321
  public void setPreferredVendorIsSet(boolean value) {
1322
    __isset_bit_vector.set(__PREFERREDVENDOR_ISSET_ID, value);
1323
  }
1324
 
5110 mandeep.dh 1325
  /**
1326
   * 
1327
   * @see ItemType
1328
   */
1329
  public ItemType getType() {
1330
    return this.type;
1331
  }
1332
 
1333
  /**
1334
   * 
1335
   * @see ItemType
1336
   */
1337
  public void setType(ItemType type) {
1338
    this.type = type;
1339
  }
1340
 
1341
  public void unsetType() {
1342
    this.type = null;
1343
  }
1344
 
1345
  /** Returns true if field type is set (has been assigned a value) and false otherwise */
1346
  public boolean isSetType() {
1347
    return this.type != null;
1348
  }
1349
 
1350
  public void setTypeIsSet(boolean value) {
1351
    if (!value) {
1352
      this.type = null;
1353
    }
1354
  }
1355
 
5217 amit.gupta 1356
  public long getComingSoonStartDate() {
1357
    return this.comingSoonStartDate;
1358
  }
1359
 
1360
  public void setComingSoonStartDate(long comingSoonStartDate) {
1361
    this.comingSoonStartDate = comingSoonStartDate;
1362
    setComingSoonStartDateIsSet(true);
1363
  }
1364
 
1365
  public void unsetComingSoonStartDate() {
1366
    __isset_bit_vector.clear(__COMINGSOONSTARTDATE_ISSET_ID);
1367
  }
1368
 
1369
  /** Returns true if field comingSoonStartDate is set (has been assigned a value) and false otherwise */
1370
  public boolean isSetComingSoonStartDate() {
1371
    return __isset_bit_vector.get(__COMINGSOONSTARTDATE_ISSET_ID);
1372
  }
1373
 
1374
  public void setComingSoonStartDateIsSet(boolean value) {
1375
    __isset_bit_vector.set(__COMINGSOONSTARTDATE_ISSET_ID, value);
1376
  }
1377
 
1378
  public long getExpectedArrivalDate() {
1379
    return this.expectedArrivalDate;
1380
  }
1381
 
1382
  public void setExpectedArrivalDate(long expectedArrivalDate) {
1383
    this.expectedArrivalDate = expectedArrivalDate;
1384
    setExpectedArrivalDateIsSet(true);
1385
  }
1386
 
1387
  public void unsetExpectedArrivalDate() {
1388
    __isset_bit_vector.clear(__EXPECTEDARRIVALDATE_ISSET_ID);
1389
  }
1390
 
1391
  /** Returns true if field expectedArrivalDate is set (has been assigned a value) and false otherwise */
1392
  public boolean isSetExpectedArrivalDate() {
1393
    return __isset_bit_vector.get(__EXPECTEDARRIVALDATE_ISSET_ID);
1394
  }
1395
 
1396
  public void setExpectedArrivalDateIsSet(boolean value) {
1397
    __isset_bit_vector.set(__EXPECTEDARRIVALDATE_ISSET_ID, value);
1398
  }
1399
 
5385 phani.kuma 1400
  public boolean isHasItemNo() {
1401
    return this.hasItemNo;
1402
  }
1403
 
1404
  public void setHasItemNo(boolean hasItemNo) {
1405
    this.hasItemNo = hasItemNo;
1406
    setHasItemNoIsSet(true);
1407
  }
1408
 
1409
  public void unsetHasItemNo() {
1410
    __isset_bit_vector.clear(__HASITEMNO_ISSET_ID);
1411
  }
1412
 
1413
  /** Returns true if field hasItemNo is set (has been assigned a value) and false otherwise */
1414
  public boolean isSetHasItemNo() {
1415
    return __isset_bit_vector.get(__HASITEMNO_ISSET_ID);
1416
  }
1417
 
1418
  public void setHasItemNoIsSet(boolean value) {
1419
    __isset_bit_vector.set(__HASITEMNO_ISSET_ID, value);
1420
  }
1421
 
5460 phani.kuma 1422
  public boolean isClearance() {
1423
    return this.clearance;
1424
  }
1425
 
1426
  public void setClearance(boolean clearance) {
1427
    this.clearance = clearance;
1428
    setClearanceIsSet(true);
1429
  }
1430
 
1431
  public void unsetClearance() {
1432
    __isset_bit_vector.clear(__CLEARANCE_ISSET_ID);
1433
  }
1434
 
1435
  /** Returns true if field clearance is set (has been assigned a value) and false otherwise */
1436
  public boolean isSetClearance() {
1437
    return __isset_bit_vector.get(__CLEARANCE_ISSET_ID);
1438
  }
1439
 
1440
  public void setClearanceIsSet(boolean value) {
1441
    __isset_bit_vector.set(__CLEARANCE_ISSET_ID, value);
1442
  }
1443
 
6039 amit.gupta 1444
  public double getVatPercentage() {
1445
    return this.vatPercentage;
1446
  }
1447
 
1448
  public void setVatPercentage(double vatPercentage) {
1449
    this.vatPercentage = vatPercentage;
1450
    setVatPercentageIsSet(true);
1451
  }
1452
 
1453
  public void unsetVatPercentage() {
1454
    __isset_bit_vector.clear(__VATPERCENTAGE_ISSET_ID);
1455
  }
1456
 
1457
  /** Returns true if field vatPercentage is set (has been assigned a value) and false otherwise */
1458
  public boolean isSetVatPercentage() {
1459
    return __isset_bit_vector.get(__VATPERCENTAGE_ISSET_ID);
1460
  }
1461
 
1462
  public void setVatPercentageIsSet(boolean value) {
1463
    __isset_bit_vector.set(__VATPERCENTAGE_ISSET_ID, value);
1464
  }
1465
 
6241 amit.gupta 1466
  public boolean isShowSellingPrice() {
1467
    return this.showSellingPrice;
1468
  }
1469
 
1470
  public void setShowSellingPrice(boolean showSellingPrice) {
1471
    this.showSellingPrice = showSellingPrice;
1472
    setShowSellingPriceIsSet(true);
1473
  }
1474
 
1475
  public void unsetShowSellingPrice() {
1476
    __isset_bit_vector.clear(__SHOWSELLINGPRICE_ISSET_ID);
1477
  }
1478
 
1479
  /** Returns true if field showSellingPrice is set (has been assigned a value) and false otherwise */
1480
  public boolean isSetShowSellingPrice() {
1481
    return __isset_bit_vector.get(__SHOWSELLINGPRICE_ISSET_ID);
1482
  }
1483
 
1484
  public void setShowSellingPriceIsSet(boolean value) {
1485
    __isset_bit_vector.set(__SHOWSELLINGPRICE_ISSET_ID, value);
1486
  }
1487
 
6777 vikram.rag 1488
  public String getBestDealsDetailsText() {
1489
    return this.bestDealsDetailsText;
1490
  }
1491
 
1492
  public void setBestDealsDetailsText(String bestDealsDetailsText) {
1493
    this.bestDealsDetailsText = bestDealsDetailsText;
1494
  }
1495
 
1496
  public void unsetBestDealsDetailsText() {
1497
    this.bestDealsDetailsText = null;
1498
  }
1499
 
1500
  /** Returns true if field bestDealsDetailsText is set (has been assigned a value) and false otherwise */
1501
  public boolean isSetBestDealsDetailsText() {
1502
    return this.bestDealsDetailsText != null;
1503
  }
1504
 
1505
  public void setBestDealsDetailsTextIsSet(boolean value) {
1506
    if (!value) {
1507
      this.bestDealsDetailsText = null;
1508
    }
1509
  }
1510
 
1511
  public String getBestDealsDetailsLink() {
1512
    return this.bestDealsDetailsLink;
1513
  }
1514
 
1515
  public void setBestDealsDetailsLink(String bestDealsDetailsLink) {
1516
    this.bestDealsDetailsLink = bestDealsDetailsLink;
1517
  }
1518
 
1519
  public void unsetBestDealsDetailsLink() {
1520
    this.bestDealsDetailsLink = null;
1521
  }
1522
 
1523
  /** Returns true if field bestDealsDetailsLink is set (has been assigned a value) and false otherwise */
1524
  public boolean isSetBestDealsDetailsLink() {
1525
    return this.bestDealsDetailsLink != null;
1526
  }
1527
 
1528
  public void setBestDealsDetailsLinkIsSet(boolean value) {
1529
    if (!value) {
1530
      this.bestDealsDetailsLink = null;
1531
    }
1532
  }
1533
 
100 ashish 1534
  public void setFieldValue(_Fields field, Object value) {
1535
    switch (field) {
1536
    case ID:
1537
      if (value == null) {
1538
        unsetId();
1539
      } else {
1540
        setId((Long)value);
1541
      }
1542
      break;
1543
 
957 chandransh 1544
    case PRODUCT_GROUP:
483 rajveer 1545
      if (value == null) {
957 chandransh 1546
        unsetProductGroup();
483 rajveer 1547
      } else {
957 chandransh 1548
        setProductGroup((String)value);
483 rajveer 1549
      }
1550
      break;
1551
 
957 chandransh 1552
    case BRAND:
1553
      if (value == null) {
1554
        unsetBrand();
1555
      } else {
1556
        setBrand((String)value);
1557
      }
1558
      break;
1559
 
483 rajveer 1560
    case MODEL_NUMBER:
1561
      if (value == null) {
1562
        unsetModelNumber();
1563
      } else {
1564
        setModelNumber((String)value);
1565
      }
1566
      break;
1567
 
1568
    case MODEL_NAME:
1569
      if (value == null) {
1570
        unsetModelName();
1571
      } else {
1572
        setModelName((String)value);
1573
      }
1574
      break;
1575
 
1329 chandransh 1576
    case COLOR:
1577
      if (value == null) {
1578
        unsetColor();
1579
      } else {
1580
        setColor((String)value);
1581
      }
1582
      break;
1583
 
483 rajveer 1584
    case CATEGORY:
1585
      if (value == null) {
1586
        unsetCategory();
1587
      } else {
622 chandransh 1588
        setCategory((Long)value);
483 rajveer 1589
      }
1590
      break;
1591
 
1592
    case COMMENTS:
1593
      if (value == null) {
1594
        unsetComments();
1595
      } else {
1596
        setComments((String)value);
1597
      }
1598
      break;
1599
 
123 ashish 1600
    case CATALOG_ITEM_ID:
100 ashish 1601
      if (value == null) {
123 ashish 1602
        unsetCatalogItemId();
100 ashish 1603
      } else {
123 ashish 1604
        setCatalogItemId((Long)value);
100 ashish 1605
      }
1606
      break;
1607
 
483 rajveer 1608
    case FEATURE_ID:
100 ashish 1609
      if (value == null) {
483 rajveer 1610
        unsetFeatureId();
100 ashish 1611
      } else {
483 rajveer 1612
        setFeatureId((Long)value);
100 ashish 1613
      }
1614
      break;
1615
 
483 rajveer 1616
    case FEATURE_DESCRIPTION:
103 ashish 1617
      if (value == null) {
483 rajveer 1618
        unsetFeatureDescription();
103 ashish 1619
      } else {
483 rajveer 1620
        setFeatureDescription((String)value);
103 ashish 1621
      }
1622
      break;
1623
 
483 rajveer 1624
    case MRP:
103 ashish 1625
      if (value == null) {
483 rajveer 1626
        unsetMrp();
103 ashish 1627
      } else {
483 rajveer 1628
        setMrp((Double)value);
103 ashish 1629
      }
1630
      break;
1631
 
483 rajveer 1632
    case SELLING_PRICE:
1633
      if (value == null) {
1634
        unsetSellingPrice();
1635
      } else {
1636
        setSellingPrice((Double)value);
1637
      }
1638
      break;
1639
 
123 ashish 1640
    case WEIGHT:
1641
      if (value == null) {
1642
        unsetWeight();
1643
      } else {
1644
        setWeight((Double)value);
1645
      }
1646
      break;
1647
 
483 rajveer 1648
    case ADDED_ON:
123 ashish 1649
      if (value == null) {
483 rajveer 1650
        unsetAddedOn();
123 ashish 1651
      } else {
483 rajveer 1652
        setAddedOn((Long)value);
123 ashish 1653
      }
1654
      break;
1655
 
483 rajveer 1656
    case START_DATE:
123 ashish 1657
      if (value == null) {
483 rajveer 1658
        unsetStartDate();
123 ashish 1659
      } else {
483 rajveer 1660
        setStartDate((Long)value);
123 ashish 1661
      }
1662
      break;
1663
 
483 rajveer 1664
    case RETIRE_DATE:
123 ashish 1665
      if (value == null) {
483 rajveer 1666
        unsetRetireDate();
123 ashish 1667
      } else {
483 rajveer 1668
        setRetireDate((Long)value);
123 ashish 1669
      }
1670
      break;
1671
 
483 rajveer 1672
    case ITEM_STATUS:
1673
      if (value == null) {
1674
        unsetItemStatus();
1675
      } else {
1676
        setItemStatus((status)value);
1677
      }
1678
      break;
1679
 
2034 rajveer 1680
    case STATUS_DESCRIPTION:
1681
      if (value == null) {
1682
        unsetStatus_description();
1683
      } else {
1684
        setStatus_description((String)value);
1685
      }
1686
      break;
1687
 
5336 rajveer 1688
    case OTHER_INFO:
1689
      if (value == null) {
1690
        unsetOtherInfo();
1691
      } else {
1692
        setOtherInfo((Map<String,String>)value);
1693
      }
1694
      break;
1695
 
607 chandransh 1696
    case BEST_DEAL_TEXT:
1697
      if (value == null) {
1698
        unsetBestDealText();
1699
      } else {
1700
        setBestDealText((String)value);
1701
      }
1702
      break;
1703
 
1704
    case BEST_DEAL_VALUE:
1705
      if (value == null) {
1706
        unsetBestDealValue();
1707
      } else {
1708
        setBestDealValue((Double)value);
1709
      }
1710
      break;
1711
 
1910 varun.gupt 1712
    case DEFAULT_FOR_ENTITY:
1713
      if (value == null) {
1714
        unsetDefaultForEntity();
1715
      } else {
1716
        setDefaultForEntity((Boolean)value);
1717
      }
1718
      break;
1719
 
607 chandransh 1720
    case UPDATED_ON:
1721
      if (value == null) {
1722
        unsetUpdatedOn();
1723
      } else {
1724
        setUpdatedOn((Long)value);
1725
      }
1726
      break;
1727
 
2064 ankur.sing 1728
    case BEST_SELLING_RANK:
1729
      if (value == null) {
1730
        unsetBestSellingRank();
1731
      } else {
1732
        setBestSellingRank((Long)value);
1733
      }
1734
      break;
1735
 
2250 ankur.sing 1736
    case RISKY:
1737
      if (value == null) {
1738
        unsetRisky();
1739
      } else {
1740
        setRisky((Boolean)value);
1741
      }
1742
      break;
1743
 
3355 chandransh 1744
    case EXPECTED_DELAY:
1745
      if (value == null) {
1746
        unsetExpectedDelay();
1747
      } else {
1748
        setExpectedDelay((Integer)value);
1749
      }
1750
      break;
1751
 
4406 anupam.sin 1752
    case IS_WAREHOUSE_PREFERENCE_STICKY:
1753
      if (value == null) {
1754
        unsetIsWarehousePreferenceSticky();
1755
      } else {
1756
        setIsWarehousePreferenceSticky((Boolean)value);
1757
      }
1758
      break;
1759
 
4295 varun.gupt 1760
    case WARRANTY_PERIOD:
1761
      if (value == null) {
1762
        unsetWarrantyPeriod();
1763
      } else {
1764
        setWarrantyPeriod((Integer)value);
1765
      }
1766
      break;
1767
 
4506 phani.kuma 1768
    case PREFERRED_VENDOR:
1769
      if (value == null) {
1770
        unsetPreferredVendor();
1771
      } else {
1772
        setPreferredVendor((Long)value);
1773
      }
1774
      break;
1775
 
5110 mandeep.dh 1776
    case TYPE:
1777
      if (value == null) {
1778
        unsetType();
1779
      } else {
1780
        setType((ItemType)value);
1781
      }
1782
      break;
1783
 
5217 amit.gupta 1784
    case COMING_SOON_START_DATE:
1785
      if (value == null) {
1786
        unsetComingSoonStartDate();
1787
      } else {
1788
        setComingSoonStartDate((Long)value);
1789
      }
1790
      break;
1791
 
1792
    case EXPECTED_ARRIVAL_DATE:
1793
      if (value == null) {
1794
        unsetExpectedArrivalDate();
1795
      } else {
1796
        setExpectedArrivalDate((Long)value);
1797
      }
1798
      break;
1799
 
5385 phani.kuma 1800
    case HAS_ITEM_NO:
1801
      if (value == null) {
1802
        unsetHasItemNo();
1803
      } else {
1804
        setHasItemNo((Boolean)value);
1805
      }
1806
      break;
1807
 
5460 phani.kuma 1808
    case CLEARANCE:
1809
      if (value == null) {
1810
        unsetClearance();
1811
      } else {
1812
        setClearance((Boolean)value);
1813
      }
1814
      break;
1815
 
6039 amit.gupta 1816
    case VAT_PERCENTAGE:
1817
      if (value == null) {
1818
        unsetVatPercentage();
1819
      } else {
1820
        setVatPercentage((Double)value);
1821
      }
1822
      break;
1823
 
6241 amit.gupta 1824
    case SHOW_SELLING_PRICE:
1825
      if (value == null) {
1826
        unsetShowSellingPrice();
1827
      } else {
1828
        setShowSellingPrice((Boolean)value);
1829
      }
1830
      break;
1831
 
6777 vikram.rag 1832
    case BEST_DEALS_DETAILS_TEXT:
1833
      if (value == null) {
1834
        unsetBestDealsDetailsText();
1835
      } else {
1836
        setBestDealsDetailsText((String)value);
1837
      }
1838
      break;
1839
 
1840
    case BEST_DEALS_DETAILS_LINK:
1841
      if (value == null) {
1842
        unsetBestDealsDetailsLink();
1843
      } else {
1844
        setBestDealsDetailsLink((String)value);
1845
      }
1846
      break;
1847
 
100 ashish 1848
    }
1849
  }
1850
 
1851
  public Object getFieldValue(_Fields field) {
1852
    switch (field) {
1853
    case ID:
3430 rajveer 1854
      return Long.valueOf(getId());
100 ashish 1855
 
957 chandransh 1856
    case PRODUCT_GROUP:
1857
      return getProductGroup();
483 rajveer 1858
 
957 chandransh 1859
    case BRAND:
1860
      return getBrand();
1861
 
483 rajveer 1862
    case MODEL_NUMBER:
1863
      return getModelNumber();
1864
 
1865
    case MODEL_NAME:
1866
      return getModelName();
1867
 
1329 chandransh 1868
    case COLOR:
1869
      return getColor();
1870
 
483 rajveer 1871
    case CATEGORY:
3430 rajveer 1872
      return Long.valueOf(getCategory());
483 rajveer 1873
 
1874
    case COMMENTS:
1875
      return getComments();
1876
 
123 ashish 1877
    case CATALOG_ITEM_ID:
3430 rajveer 1878
      return Long.valueOf(getCatalogItemId());
100 ashish 1879
 
483 rajveer 1880
    case FEATURE_ID:
3430 rajveer 1881
      return Long.valueOf(getFeatureId());
483 rajveer 1882
 
1883
    case FEATURE_DESCRIPTION:
1884
      return getFeatureDescription();
1885
 
1886
    case MRP:
3430 rajveer 1887
      return Double.valueOf(getMrp());
483 rajveer 1888
 
1889
    case SELLING_PRICE:
3430 rajveer 1890
      return Double.valueOf(getSellingPrice());
483 rajveer 1891
 
1892
    case WEIGHT:
3430 rajveer 1893
      return Double.valueOf(getWeight());
483 rajveer 1894
 
103 ashish 1895
    case ADDED_ON:
3430 rajveer 1896
      return Long.valueOf(getAddedOn());
103 ashish 1897
 
1898
    case START_DATE:
3430 rajveer 1899
      return Long.valueOf(getStartDate());
103 ashish 1900
 
483 rajveer 1901
    case RETIRE_DATE:
3430 rajveer 1902
      return Long.valueOf(getRetireDate());
483 rajveer 1903
 
103 ashish 1904
    case ITEM_STATUS:
1905
      return getItemStatus();
1906
 
2034 rajveer 1907
    case STATUS_DESCRIPTION:
1908
      return getStatus_description();
1909
 
5336 rajveer 1910
    case OTHER_INFO:
1911
      return getOtherInfo();
1912
 
607 chandransh 1913
    case BEST_DEAL_TEXT:
1914
      return getBestDealText();
1915
 
1916
    case BEST_DEAL_VALUE:
3430 rajveer 1917
      return Double.valueOf(getBestDealValue());
607 chandransh 1918
 
1910 varun.gupt 1919
    case DEFAULT_FOR_ENTITY:
3430 rajveer 1920
      return Boolean.valueOf(isDefaultForEntity());
1910 varun.gupt 1921
 
607 chandransh 1922
    case UPDATED_ON:
3430 rajveer 1923
      return Long.valueOf(getUpdatedOn());
607 chandransh 1924
 
2064 ankur.sing 1925
    case BEST_SELLING_RANK:
3430 rajveer 1926
      return Long.valueOf(getBestSellingRank());
2064 ankur.sing 1927
 
2250 ankur.sing 1928
    case RISKY:
3430 rajveer 1929
      return Boolean.valueOf(isRisky());
2250 ankur.sing 1930
 
3355 chandransh 1931
    case EXPECTED_DELAY:
3430 rajveer 1932
      return Integer.valueOf(getExpectedDelay());
3355 chandransh 1933
 
4406 anupam.sin 1934
    case IS_WAREHOUSE_PREFERENCE_STICKY:
1935
      return Boolean.valueOf(isIsWarehousePreferenceSticky());
1936
 
4295 varun.gupt 1937
    case WARRANTY_PERIOD:
1938
      return Integer.valueOf(getWarrantyPeriod());
1939
 
4506 phani.kuma 1940
    case PREFERRED_VENDOR:
1941
      return Long.valueOf(getPreferredVendor());
1942
 
5110 mandeep.dh 1943
    case TYPE:
1944
      return getType();
1945
 
5217 amit.gupta 1946
    case COMING_SOON_START_DATE:
1947
      return Long.valueOf(getComingSoonStartDate());
1948
 
1949
    case EXPECTED_ARRIVAL_DATE:
1950
      return Long.valueOf(getExpectedArrivalDate());
1951
 
5385 phani.kuma 1952
    case HAS_ITEM_NO:
1953
      return Boolean.valueOf(isHasItemNo());
1954
 
5460 phani.kuma 1955
    case CLEARANCE:
1956
      return Boolean.valueOf(isClearance());
1957
 
6039 amit.gupta 1958
    case VAT_PERCENTAGE:
1959
      return Double.valueOf(getVatPercentage());
1960
 
6241 amit.gupta 1961
    case SHOW_SELLING_PRICE:
1962
      return Boolean.valueOf(isShowSellingPrice());
1963
 
6777 vikram.rag 1964
    case BEST_DEALS_DETAILS_TEXT:
1965
      return getBestDealsDetailsText();
1966
 
1967
    case BEST_DEALS_DETAILS_LINK:
1968
      return getBestDealsDetailsLink();
1969
 
100 ashish 1970
    }
1971
    throw new IllegalStateException();
1972
  }
1973
 
3430 rajveer 1974
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
1975
  public boolean isSet(_Fields field) {
1976
    if (field == null) {
1977
      throw new IllegalArgumentException();
1978
    }
100 ashish 1979
 
1980
    switch (field) {
1981
    case ID:
1982
      return isSetId();
957 chandransh 1983
    case PRODUCT_GROUP:
1984
      return isSetProductGroup();
1985
    case BRAND:
1986
      return isSetBrand();
483 rajveer 1987
    case MODEL_NUMBER:
1988
      return isSetModelNumber();
1989
    case MODEL_NAME:
1990
      return isSetModelName();
1329 chandransh 1991
    case COLOR:
1992
      return isSetColor();
483 rajveer 1993
    case CATEGORY:
1994
      return isSetCategory();
1995
    case COMMENTS:
1996
      return isSetComments();
123 ashish 1997
    case CATALOG_ITEM_ID:
1998
      return isSetCatalogItemId();
483 rajveer 1999
    case FEATURE_ID:
2000
      return isSetFeatureId();
2001
    case FEATURE_DESCRIPTION:
2002
      return isSetFeatureDescription();
2003
    case MRP:
2004
      return isSetMrp();
2005
    case SELLING_PRICE:
2006
      return isSetSellingPrice();
2007
    case WEIGHT:
2008
      return isSetWeight();
103 ashish 2009
    case ADDED_ON:
2010
      return isSetAddedOn();
2011
    case START_DATE:
2012
      return isSetStartDate();
483 rajveer 2013
    case RETIRE_DATE:
2014
      return isSetRetireDate();
103 ashish 2015
    case ITEM_STATUS:
2016
      return isSetItemStatus();
2034 rajveer 2017
    case STATUS_DESCRIPTION:
2018
      return isSetStatus_description();
5336 rajveer 2019
    case OTHER_INFO:
2020
      return isSetOtherInfo();
607 chandransh 2021
    case BEST_DEAL_TEXT:
2022
      return isSetBestDealText();
2023
    case BEST_DEAL_VALUE:
2024
      return isSetBestDealValue();
1910 varun.gupt 2025
    case DEFAULT_FOR_ENTITY:
2026
      return isSetDefaultForEntity();
607 chandransh 2027
    case UPDATED_ON:
2028
      return isSetUpdatedOn();
2064 ankur.sing 2029
    case BEST_SELLING_RANK:
2030
      return isSetBestSellingRank();
2250 ankur.sing 2031
    case RISKY:
2032
      return isSetRisky();
3355 chandransh 2033
    case EXPECTED_DELAY:
2034
      return isSetExpectedDelay();
4406 anupam.sin 2035
    case IS_WAREHOUSE_PREFERENCE_STICKY:
2036
      return isSetIsWarehousePreferenceSticky();
4295 varun.gupt 2037
    case WARRANTY_PERIOD:
2038
      return isSetWarrantyPeriod();
4506 phani.kuma 2039
    case PREFERRED_VENDOR:
2040
      return isSetPreferredVendor();
5110 mandeep.dh 2041
    case TYPE:
2042
      return isSetType();
5217 amit.gupta 2043
    case COMING_SOON_START_DATE:
2044
      return isSetComingSoonStartDate();
2045
    case EXPECTED_ARRIVAL_DATE:
2046
      return isSetExpectedArrivalDate();
5385 phani.kuma 2047
    case HAS_ITEM_NO:
2048
      return isSetHasItemNo();
5460 phani.kuma 2049
    case CLEARANCE:
2050
      return isSetClearance();
6039 amit.gupta 2051
    case VAT_PERCENTAGE:
2052
      return isSetVatPercentage();
6241 amit.gupta 2053
    case SHOW_SELLING_PRICE:
2054
      return isSetShowSellingPrice();
6777 vikram.rag 2055
    case BEST_DEALS_DETAILS_TEXT:
2056
      return isSetBestDealsDetailsText();
2057
    case BEST_DEALS_DETAILS_LINK:
2058
      return isSetBestDealsDetailsLink();
100 ashish 2059
    }
2060
    throw new IllegalStateException();
2061
  }
2062
 
2063
  @Override
2064
  public boolean equals(Object that) {
2065
    if (that == null)
2066
      return false;
2067
    if (that instanceof Item)
2068
      return this.equals((Item)that);
2069
    return false;
2070
  }
2071
 
2072
  public boolean equals(Item that) {
2073
    if (that == null)
2074
      return false;
2075
 
2076
    boolean this_present_id = true;
2077
    boolean that_present_id = true;
2078
    if (this_present_id || that_present_id) {
2079
      if (!(this_present_id && that_present_id))
2080
        return false;
2081
      if (this.id != that.id)
2082
        return false;
2083
    }
2084
 
957 chandransh 2085
    boolean this_present_productGroup = true && this.isSetProductGroup();
2086
    boolean that_present_productGroup = true && that.isSetProductGroup();
2087
    if (this_present_productGroup || that_present_productGroup) {
2088
      if (!(this_present_productGroup && that_present_productGroup))
483 rajveer 2089
        return false;
957 chandransh 2090
      if (!this.productGroup.equals(that.productGroup))
483 rajveer 2091
        return false;
2092
    }
2093
 
957 chandransh 2094
    boolean this_present_brand = true && this.isSetBrand();
2095
    boolean that_present_brand = true && that.isSetBrand();
2096
    if (this_present_brand || that_present_brand) {
2097
      if (!(this_present_brand && that_present_brand))
2098
        return false;
2099
      if (!this.brand.equals(that.brand))
2100
        return false;
2101
    }
2102
 
483 rajveer 2103
    boolean this_present_modelNumber = true && this.isSetModelNumber();
2104
    boolean that_present_modelNumber = true && that.isSetModelNumber();
2105
    if (this_present_modelNumber || that_present_modelNumber) {
2106
      if (!(this_present_modelNumber && that_present_modelNumber))
2107
        return false;
2108
      if (!this.modelNumber.equals(that.modelNumber))
2109
        return false;
2110
    }
2111
 
2112
    boolean this_present_modelName = true && this.isSetModelName();
2113
    boolean that_present_modelName = true && that.isSetModelName();
2114
    if (this_present_modelName || that_present_modelName) {
2115
      if (!(this_present_modelName && that_present_modelName))
2116
        return false;
2117
      if (!this.modelName.equals(that.modelName))
2118
        return false;
2119
    }
2120
 
1329 chandransh 2121
    boolean this_present_color = true && this.isSetColor();
2122
    boolean that_present_color = true && that.isSetColor();
2123
    if (this_present_color || that_present_color) {
2124
      if (!(this_present_color && that_present_color))
2125
        return false;
2126
      if (!this.color.equals(that.color))
2127
        return false;
2128
    }
2129
 
622 chandransh 2130
    boolean this_present_category = true;
2131
    boolean that_present_category = true;
483 rajveer 2132
    if (this_present_category || that_present_category) {
2133
      if (!(this_present_category && that_present_category))
2134
        return false;
622 chandransh 2135
      if (this.category != that.category)
483 rajveer 2136
        return false;
2137
    }
2138
 
2139
    boolean this_present_comments = true && this.isSetComments();
2140
    boolean that_present_comments = true && that.isSetComments();
2141
    if (this_present_comments || that_present_comments) {
2142
      if (!(this_present_comments && that_present_comments))
2143
        return false;
2144
      if (!this.comments.equals(that.comments))
2145
        return false;
2146
    }
2147
 
123 ashish 2148
    boolean this_present_catalogItemId = true;
2149
    boolean that_present_catalogItemId = true;
2150
    if (this_present_catalogItemId || that_present_catalogItemId) {
2151
      if (!(this_present_catalogItemId && that_present_catalogItemId))
100 ashish 2152
        return false;
123 ashish 2153
      if (this.catalogItemId != that.catalogItemId)
100 ashish 2154
        return false;
2155
    }
2156
 
483 rajveer 2157
    boolean this_present_featureId = true;
2158
    boolean that_present_featureId = true;
2159
    if (this_present_featureId || that_present_featureId) {
2160
      if (!(this_present_featureId && that_present_featureId))
2161
        return false;
2162
      if (this.featureId != that.featureId)
2163
        return false;
2164
    }
2165
 
2166
    boolean this_present_featureDescription = true && this.isSetFeatureDescription();
2167
    boolean that_present_featureDescription = true && that.isSetFeatureDescription();
2168
    if (this_present_featureDescription || that_present_featureDescription) {
2169
      if (!(this_present_featureDescription && that_present_featureDescription))
2170
        return false;
2171
      if (!this.featureDescription.equals(that.featureDescription))
2172
        return false;
2173
    }
2174
 
2128 ankur.sing 2175
    boolean this_present_mrp = true && this.isSetMrp();
2176
    boolean that_present_mrp = true && that.isSetMrp();
483 rajveer 2177
    if (this_present_mrp || that_present_mrp) {
2178
      if (!(this_present_mrp && that_present_mrp))
2179
        return false;
2180
      if (this.mrp != that.mrp)
2181
        return false;
2182
    }
2183
 
2128 ankur.sing 2184
    boolean this_present_sellingPrice = true && this.isSetSellingPrice();
2185
    boolean that_present_sellingPrice = true && that.isSetSellingPrice();
483 rajveer 2186
    if (this_present_sellingPrice || that_present_sellingPrice) {
2187
      if (!(this_present_sellingPrice && that_present_sellingPrice))
2188
        return false;
2189
      if (this.sellingPrice != that.sellingPrice)
2190
        return false;
2191
    }
2192
 
2128 ankur.sing 2193
    boolean this_present_weight = true && this.isSetWeight();
2194
    boolean that_present_weight = true && that.isSetWeight();
483 rajveer 2195
    if (this_present_weight || that_present_weight) {
2196
      if (!(this_present_weight && that_present_weight))
2197
        return false;
2198
      if (this.weight != that.weight)
2199
        return false;
2200
    }
2201
 
103 ashish 2202
    boolean this_present_addedOn = true;
2203
    boolean that_present_addedOn = true;
2204
    if (this_present_addedOn || that_present_addedOn) {
2205
      if (!(this_present_addedOn && that_present_addedOn))
2206
        return false;
2207
      if (this.addedOn != that.addedOn)
2208
        return false;
2209
    }
2210
 
2491 ankur.sing 2211
    boolean this_present_startDate = true && this.isSetStartDate();
2212
    boolean that_present_startDate = true && that.isSetStartDate();
103 ashish 2213
    if (this_present_startDate || that_present_startDate) {
2214
      if (!(this_present_startDate && that_present_startDate))
2215
        return false;
2216
      if (this.startDate != that.startDate)
2217
        return false;
2218
    }
2219
 
2491 ankur.sing 2220
    boolean this_present_retireDate = true && this.isSetRetireDate();
2221
    boolean that_present_retireDate = true && that.isSetRetireDate();
483 rajveer 2222
    if (this_present_retireDate || that_present_retireDate) {
2223
      if (!(this_present_retireDate && that_present_retireDate))
2224
        return false;
2225
      if (this.retireDate != that.retireDate)
2226
        return false;
2227
    }
2228
 
103 ashish 2229
    boolean this_present_itemStatus = true && this.isSetItemStatus();
2230
    boolean that_present_itemStatus = true && that.isSetItemStatus();
2231
    if (this_present_itemStatus || that_present_itemStatus) {
2232
      if (!(this_present_itemStatus && that_present_itemStatus))
2233
        return false;
2234
      if (!this.itemStatus.equals(that.itemStatus))
2235
        return false;
2236
    }
2237
 
2034 rajveer 2238
    boolean this_present_status_description = true && this.isSetStatus_description();
2239
    boolean that_present_status_description = true && that.isSetStatus_description();
2240
    if (this_present_status_description || that_present_status_description) {
2241
      if (!(this_present_status_description && that_present_status_description))
2242
        return false;
2243
      if (!this.status_description.equals(that.status_description))
2244
        return false;
2245
    }
2246
 
5336 rajveer 2247
    boolean this_present_otherInfo = true && this.isSetOtherInfo();
2248
    boolean that_present_otherInfo = true && that.isSetOtherInfo();
2249
    if (this_present_otherInfo || that_present_otherInfo) {
2250
      if (!(this_present_otherInfo && that_present_otherInfo))
2251
        return false;
2252
      if (!this.otherInfo.equals(that.otherInfo))
2253
        return false;
2254
    }
2255
 
607 chandransh 2256
    boolean this_present_bestDealText = true && this.isSetBestDealText();
2257
    boolean that_present_bestDealText = true && that.isSetBestDealText();
2258
    if (this_present_bestDealText || that_present_bestDealText) {
2259
      if (!(this_present_bestDealText && that_present_bestDealText))
2260
        return false;
2261
      if (!this.bestDealText.equals(that.bestDealText))
2262
        return false;
2263
    }
2264
 
2128 ankur.sing 2265
    boolean this_present_bestDealValue = true && this.isSetBestDealValue();
2266
    boolean that_present_bestDealValue = true && that.isSetBestDealValue();
607 chandransh 2267
    if (this_present_bestDealValue || that_present_bestDealValue) {
2268
      if (!(this_present_bestDealValue && that_present_bestDealValue))
2269
        return false;
2270
      if (this.bestDealValue != that.bestDealValue)
2271
        return false;
2272
    }
2273
 
1910 varun.gupt 2274
    boolean this_present_defaultForEntity = true;
2275
    boolean that_present_defaultForEntity = true;
2276
    if (this_present_defaultForEntity || that_present_defaultForEntity) {
2277
      if (!(this_present_defaultForEntity && that_present_defaultForEntity))
2278
        return false;
2279
      if (this.defaultForEntity != that.defaultForEntity)
2280
        return false;
2281
    }
2282
 
607 chandransh 2283
    boolean this_present_updatedOn = true;
2284
    boolean that_present_updatedOn = true;
2285
    if (this_present_updatedOn || that_present_updatedOn) {
2286
      if (!(this_present_updatedOn && that_present_updatedOn))
2287
        return false;
2288
      if (this.updatedOn != that.updatedOn)
2289
        return false;
2290
    }
2291
 
2128 ankur.sing 2292
    boolean this_present_bestSellingRank = true && this.isSetBestSellingRank();
2293
    boolean that_present_bestSellingRank = true && that.isSetBestSellingRank();
2064 ankur.sing 2294
    if (this_present_bestSellingRank || that_present_bestSellingRank) {
2295
      if (!(this_present_bestSellingRank && that_present_bestSellingRank))
2296
        return false;
2297
      if (this.bestSellingRank != that.bestSellingRank)
2298
        return false;
2299
    }
2300
 
2250 ankur.sing 2301
    boolean this_present_risky = true;
2302
    boolean that_present_risky = true;
2303
    if (this_present_risky || that_present_risky) {
2304
      if (!(this_present_risky && that_present_risky))
2305
        return false;
2306
      if (this.risky != that.risky)
2307
        return false;
2308
    }
2309
 
3355 chandransh 2310
    boolean this_present_expectedDelay = true && this.isSetExpectedDelay();
2311
    boolean that_present_expectedDelay = true && that.isSetExpectedDelay();
2312
    if (this_present_expectedDelay || that_present_expectedDelay) {
2313
      if (!(this_present_expectedDelay && that_present_expectedDelay))
2314
        return false;
2315
      if (this.expectedDelay != that.expectedDelay)
2316
        return false;
2317
    }
2318
 
4406 anupam.sin 2319
    boolean this_present_isWarehousePreferenceSticky = true && this.isSetIsWarehousePreferenceSticky();
2320
    boolean that_present_isWarehousePreferenceSticky = true && that.isSetIsWarehousePreferenceSticky();
2321
    if (this_present_isWarehousePreferenceSticky || that_present_isWarehousePreferenceSticky) {
2322
      if (!(this_present_isWarehousePreferenceSticky && that_present_isWarehousePreferenceSticky))
2323
        return false;
2324
      if (this.isWarehousePreferenceSticky != that.isWarehousePreferenceSticky)
2325
        return false;
2326
    }
2327
 
4295 varun.gupt 2328
    boolean this_present_warrantyPeriod = true;
2329
    boolean that_present_warrantyPeriod = true;
2330
    if (this_present_warrantyPeriod || that_present_warrantyPeriod) {
2331
      if (!(this_present_warrantyPeriod && that_present_warrantyPeriod))
2332
        return false;
2333
      if (this.warrantyPeriod != that.warrantyPeriod)
2334
        return false;
2335
    }
2336
 
4506 phani.kuma 2337
    boolean this_present_preferredVendor = true && this.isSetPreferredVendor();
2338
    boolean that_present_preferredVendor = true && that.isSetPreferredVendor();
2339
    if (this_present_preferredVendor || that_present_preferredVendor) {
2340
      if (!(this_present_preferredVendor && that_present_preferredVendor))
2341
        return false;
2342
      if (this.preferredVendor != that.preferredVendor)
2343
        return false;
2344
    }
2345
 
5110 mandeep.dh 2346
    boolean this_present_type = true && this.isSetType();
2347
    boolean that_present_type = true && that.isSetType();
2348
    if (this_present_type || that_present_type) {
2349
      if (!(this_present_type && that_present_type))
2350
        return false;
2351
      if (!this.type.equals(that.type))
2352
        return false;
2353
    }
2354
 
5217 amit.gupta 2355
    boolean this_present_comingSoonStartDate = true && this.isSetComingSoonStartDate();
2356
    boolean that_present_comingSoonStartDate = true && that.isSetComingSoonStartDate();
2357
    if (this_present_comingSoonStartDate || that_present_comingSoonStartDate) {
2358
      if (!(this_present_comingSoonStartDate && that_present_comingSoonStartDate))
2359
        return false;
2360
      if (this.comingSoonStartDate != that.comingSoonStartDate)
2361
        return false;
2362
    }
2363
 
2364
    boolean this_present_expectedArrivalDate = true && this.isSetExpectedArrivalDate();
2365
    boolean that_present_expectedArrivalDate = true && that.isSetExpectedArrivalDate();
2366
    if (this_present_expectedArrivalDate || that_present_expectedArrivalDate) {
2367
      if (!(this_present_expectedArrivalDate && that_present_expectedArrivalDate))
2368
        return false;
2369
      if (this.expectedArrivalDate != that.expectedArrivalDate)
2370
        return false;
2371
    }
2372
 
5385 phani.kuma 2373
    boolean this_present_hasItemNo = true;
2374
    boolean that_present_hasItemNo = true;
2375
    if (this_present_hasItemNo || that_present_hasItemNo) {
2376
      if (!(this_present_hasItemNo && that_present_hasItemNo))
2377
        return false;
2378
      if (this.hasItemNo != that.hasItemNo)
2379
        return false;
2380
    }
2381
 
5460 phani.kuma 2382
    boolean this_present_clearance = true;
2383
    boolean that_present_clearance = true;
2384
    if (this_present_clearance || that_present_clearance) {
2385
      if (!(this_present_clearance && that_present_clearance))
2386
        return false;
2387
      if (this.clearance != that.clearance)
2388
        return false;
2389
    }
2390
 
6039 amit.gupta 2391
    boolean this_present_vatPercentage = true;
2392
    boolean that_present_vatPercentage = true;
2393
    if (this_present_vatPercentage || that_present_vatPercentage) {
2394
      if (!(this_present_vatPercentage && that_present_vatPercentage))
2395
        return false;
2396
      if (this.vatPercentage != that.vatPercentage)
2397
        return false;
2398
    }
2399
 
6241 amit.gupta 2400
    boolean this_present_showSellingPrice = true;
2401
    boolean that_present_showSellingPrice = true;
2402
    if (this_present_showSellingPrice || that_present_showSellingPrice) {
2403
      if (!(this_present_showSellingPrice && that_present_showSellingPrice))
2404
        return false;
2405
      if (this.showSellingPrice != that.showSellingPrice)
2406
        return false;
2407
    }
2408
 
6777 vikram.rag 2409
    boolean this_present_bestDealsDetailsText = true && this.isSetBestDealsDetailsText();
2410
    boolean that_present_bestDealsDetailsText = true && that.isSetBestDealsDetailsText();
2411
    if (this_present_bestDealsDetailsText || that_present_bestDealsDetailsText) {
2412
      if (!(this_present_bestDealsDetailsText && that_present_bestDealsDetailsText))
2413
        return false;
2414
      if (!this.bestDealsDetailsText.equals(that.bestDealsDetailsText))
2415
        return false;
2416
    }
2417
 
2418
    boolean this_present_bestDealsDetailsLink = true && this.isSetBestDealsDetailsLink();
2419
    boolean that_present_bestDealsDetailsLink = true && that.isSetBestDealsDetailsLink();
2420
    if (this_present_bestDealsDetailsLink || that_present_bestDealsDetailsLink) {
2421
      if (!(this_present_bestDealsDetailsLink && that_present_bestDealsDetailsLink))
2422
        return false;
2423
      if (!this.bestDealsDetailsLink.equals(that.bestDealsDetailsLink))
2424
        return false;
2425
    }
2426
 
100 ashish 2427
    return true;
2428
  }
2429
 
2430
  @Override
2431
  public int hashCode() {
2432
    return 0;
2433
  }
2434
 
3430 rajveer 2435
  public int compareTo(Item other) {
2436
    if (!getClass().equals(other.getClass())) {
2437
      return getClass().getName().compareTo(other.getClass().getName());
2438
    }
2439
 
2440
    int lastComparison = 0;
2441
    Item typedOther = (Item)other;
2442
 
2443
    lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
2444
    if (lastComparison != 0) {
2445
      return lastComparison;
2446
    }
2447
    if (isSetId()) {
2448
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
2449
      if (lastComparison != 0) {
2450
        return lastComparison;
2451
      }
2452
    }
2453
    lastComparison = Boolean.valueOf(isSetProductGroup()).compareTo(typedOther.isSetProductGroup());
2454
    if (lastComparison != 0) {
2455
      return lastComparison;
2456
    }
2457
    if (isSetProductGroup()) {
2458
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.productGroup, typedOther.productGroup);
2459
      if (lastComparison != 0) {
2460
        return lastComparison;
2461
      }
2462
    }
2463
    lastComparison = Boolean.valueOf(isSetBrand()).compareTo(typedOther.isSetBrand());
2464
    if (lastComparison != 0) {
2465
      return lastComparison;
2466
    }
2467
    if (isSetBrand()) {
2468
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.brand, typedOther.brand);
2469
      if (lastComparison != 0) {
2470
        return lastComparison;
2471
      }
2472
    }
2473
    lastComparison = Boolean.valueOf(isSetModelNumber()).compareTo(typedOther.isSetModelNumber());
2474
    if (lastComparison != 0) {
2475
      return lastComparison;
2476
    }
2477
    if (isSetModelNumber()) {
2478
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modelNumber, typedOther.modelNumber);
2479
      if (lastComparison != 0) {
2480
        return lastComparison;
2481
      }
2482
    }
2483
    lastComparison = Boolean.valueOf(isSetModelName()).compareTo(typedOther.isSetModelName());
2484
    if (lastComparison != 0) {
2485
      return lastComparison;
2486
    }
2487
    if (isSetModelName()) {
2488
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modelName, typedOther.modelName);
2489
      if (lastComparison != 0) {
2490
        return lastComparison;
2491
      }
2492
    }
2493
    lastComparison = Boolean.valueOf(isSetColor()).compareTo(typedOther.isSetColor());
2494
    if (lastComparison != 0) {
2495
      return lastComparison;
2496
    }
2497
    if (isSetColor()) {
2498
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.color, typedOther.color);
2499
      if (lastComparison != 0) {
2500
        return lastComparison;
2501
      }
2502
    }
2503
    lastComparison = Boolean.valueOf(isSetCategory()).compareTo(typedOther.isSetCategory());
2504
    if (lastComparison != 0) {
2505
      return lastComparison;
2506
    }
2507
    if (isSetCategory()) {
2508
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.category, typedOther.category);
2509
      if (lastComparison != 0) {
2510
        return lastComparison;
2511
      }
2512
    }
2513
    lastComparison = Boolean.valueOf(isSetComments()).compareTo(typedOther.isSetComments());
2514
    if (lastComparison != 0) {
2515
      return lastComparison;
2516
    }
2517
    if (isSetComments()) {
2518
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comments, typedOther.comments);
2519
      if (lastComparison != 0) {
2520
        return lastComparison;
2521
      }
2522
    }
2523
    lastComparison = Boolean.valueOf(isSetCatalogItemId()).compareTo(typedOther.isSetCatalogItemId());
2524
    if (lastComparison != 0) {
2525
      return lastComparison;
2526
    }
2527
    if (isSetCatalogItemId()) {
2528
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.catalogItemId, typedOther.catalogItemId);
2529
      if (lastComparison != 0) {
2530
        return lastComparison;
2531
      }
2532
    }
2533
    lastComparison = Boolean.valueOf(isSetFeatureId()).compareTo(typedOther.isSetFeatureId());
2534
    if (lastComparison != 0) {
2535
      return lastComparison;
2536
    }
2537
    if (isSetFeatureId()) {
2538
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureId, typedOther.featureId);
2539
      if (lastComparison != 0) {
2540
        return lastComparison;
2541
      }
2542
    }
2543
    lastComparison = Boolean.valueOf(isSetFeatureDescription()).compareTo(typedOther.isSetFeatureDescription());
2544
    if (lastComparison != 0) {
2545
      return lastComparison;
2546
    }
2547
    if (isSetFeatureDescription()) {
2548
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureDescription, typedOther.featureDescription);
2549
      if (lastComparison != 0) {
2550
        return lastComparison;
2551
      }
2552
    }
2553
    lastComparison = Boolean.valueOf(isSetMrp()).compareTo(typedOther.isSetMrp());
2554
    if (lastComparison != 0) {
2555
      return lastComparison;
2556
    }
2557
    if (isSetMrp()) {
2558
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mrp, typedOther.mrp);
2559
      if (lastComparison != 0) {
2560
        return lastComparison;
2561
      }
2562
    }
2563
    lastComparison = Boolean.valueOf(isSetSellingPrice()).compareTo(typedOther.isSetSellingPrice());
2564
    if (lastComparison != 0) {
2565
      return lastComparison;
2566
    }
2567
    if (isSetSellingPrice()) {
2568
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellingPrice, typedOther.sellingPrice);
2569
      if (lastComparison != 0) {
2570
        return lastComparison;
2571
      }
2572
    }
2573
    lastComparison = Boolean.valueOf(isSetWeight()).compareTo(typedOther.isSetWeight());
2574
    if (lastComparison != 0) {
2575
      return lastComparison;
2576
    }
2577
    if (isSetWeight()) {
2578
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.weight, typedOther.weight);
2579
      if (lastComparison != 0) {
2580
        return lastComparison;
2581
      }
2582
    }
2583
    lastComparison = Boolean.valueOf(isSetAddedOn()).compareTo(typedOther.isSetAddedOn());
2584
    if (lastComparison != 0) {
2585
      return lastComparison;
2586
    }
2587
    if (isSetAddedOn()) {
2588
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.addedOn, typedOther.addedOn);
2589
      if (lastComparison != 0) {
2590
        return lastComparison;
2591
      }
2592
    }
2593
    lastComparison = Boolean.valueOf(isSetStartDate()).compareTo(typedOther.isSetStartDate());
2594
    if (lastComparison != 0) {
2595
      return lastComparison;
2596
    }
2597
    if (isSetStartDate()) {
2598
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.startDate, typedOther.startDate);
2599
      if (lastComparison != 0) {
2600
        return lastComparison;
2601
      }
2602
    }
2603
    lastComparison = Boolean.valueOf(isSetRetireDate()).compareTo(typedOther.isSetRetireDate());
2604
    if (lastComparison != 0) {
2605
      return lastComparison;
2606
    }
2607
    if (isSetRetireDate()) {
2608
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.retireDate, typedOther.retireDate);
2609
      if (lastComparison != 0) {
2610
        return lastComparison;
2611
      }
2612
    }
2613
    lastComparison = Boolean.valueOf(isSetItemStatus()).compareTo(typedOther.isSetItemStatus());
2614
    if (lastComparison != 0) {
2615
      return lastComparison;
2616
    }
2617
    if (isSetItemStatus()) {
2618
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemStatus, typedOther.itemStatus);
2619
      if (lastComparison != 0) {
2620
        return lastComparison;
2621
      }
2622
    }
2623
    lastComparison = Boolean.valueOf(isSetStatus_description()).compareTo(typedOther.isSetStatus_description());
2624
    if (lastComparison != 0) {
2625
      return lastComparison;
2626
    }
2627
    if (isSetStatus_description()) {
2628
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status_description, typedOther.status_description);
2629
      if (lastComparison != 0) {
2630
        return lastComparison;
2631
      }
2632
    }
5336 rajveer 2633
    lastComparison = Boolean.valueOf(isSetOtherInfo()).compareTo(typedOther.isSetOtherInfo());
2634
    if (lastComparison != 0) {
2635
      return lastComparison;
2636
    }
2637
    if (isSetOtherInfo()) {
2638
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.otherInfo, typedOther.otherInfo);
2639
      if (lastComparison != 0) {
2640
        return lastComparison;
2641
      }
2642
    }
3430 rajveer 2643
    lastComparison = Boolean.valueOf(isSetBestDealText()).compareTo(typedOther.isSetBestDealText());
2644
    if (lastComparison != 0) {
2645
      return lastComparison;
2646
    }
2647
    if (isSetBestDealText()) {
2648
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealText, typedOther.bestDealText);
2649
      if (lastComparison != 0) {
2650
        return lastComparison;
2651
      }
2652
    }
2653
    lastComparison = Boolean.valueOf(isSetBestDealValue()).compareTo(typedOther.isSetBestDealValue());
2654
    if (lastComparison != 0) {
2655
      return lastComparison;
2656
    }
2657
    if (isSetBestDealValue()) {
2658
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealValue, typedOther.bestDealValue);
2659
      if (lastComparison != 0) {
2660
        return lastComparison;
2661
      }
2662
    }
2663
    lastComparison = Boolean.valueOf(isSetDefaultForEntity()).compareTo(typedOther.isSetDefaultForEntity());
2664
    if (lastComparison != 0) {
2665
      return lastComparison;
2666
    }
2667
    if (isSetDefaultForEntity()) {
2668
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultForEntity, typedOther.defaultForEntity);
2669
      if (lastComparison != 0) {
2670
        return lastComparison;
2671
      }
2672
    }
2673
    lastComparison = Boolean.valueOf(isSetUpdatedOn()).compareTo(typedOther.isSetUpdatedOn());
2674
    if (lastComparison != 0) {
2675
      return lastComparison;
2676
    }
2677
    if (isSetUpdatedOn()) {
2678
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.updatedOn, typedOther.updatedOn);
2679
      if (lastComparison != 0) {
2680
        return lastComparison;
2681
      }
2682
    }
2683
    lastComparison = Boolean.valueOf(isSetBestSellingRank()).compareTo(typedOther.isSetBestSellingRank());
2684
    if (lastComparison != 0) {
2685
      return lastComparison;
2686
    }
2687
    if (isSetBestSellingRank()) {
2688
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestSellingRank, typedOther.bestSellingRank);
2689
      if (lastComparison != 0) {
2690
        return lastComparison;
2691
      }
2692
    }
2693
    lastComparison = Boolean.valueOf(isSetRisky()).compareTo(typedOther.isSetRisky());
2694
    if (lastComparison != 0) {
2695
      return lastComparison;
2696
    }
2697
    if (isSetRisky()) {
2698
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.risky, typedOther.risky);
2699
      if (lastComparison != 0) {
2700
        return lastComparison;
2701
      }
2702
    }
2703
    lastComparison = Boolean.valueOf(isSetExpectedDelay()).compareTo(typedOther.isSetExpectedDelay());
2704
    if (lastComparison != 0) {
2705
      return lastComparison;
2706
    }
2707
    if (isSetExpectedDelay()) {
2708
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expectedDelay, typedOther.expectedDelay);
2709
      if (lastComparison != 0) {
2710
        return lastComparison;
2711
      }
2712
    }
4406 anupam.sin 2713
    lastComparison = Boolean.valueOf(isSetIsWarehousePreferenceSticky()).compareTo(typedOther.isSetIsWarehousePreferenceSticky());
2714
    if (lastComparison != 0) {
2715
      return lastComparison;
2716
    }
2717
    if (isSetIsWarehousePreferenceSticky()) {
2718
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isWarehousePreferenceSticky, typedOther.isWarehousePreferenceSticky);
2719
      if (lastComparison != 0) {
2720
        return lastComparison;
2721
      }
2722
    }
4295 varun.gupt 2723
    lastComparison = Boolean.valueOf(isSetWarrantyPeriod()).compareTo(typedOther.isSetWarrantyPeriod());
2724
    if (lastComparison != 0) {
2725
      return lastComparison;
2726
    }
2727
    if (isSetWarrantyPeriod()) {
2728
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warrantyPeriod, typedOther.warrantyPeriod);
2729
      if (lastComparison != 0) {
2730
        return lastComparison;
2731
      }
2732
    }
4506 phani.kuma 2733
    lastComparison = Boolean.valueOf(isSetPreferredVendor()).compareTo(typedOther.isSetPreferredVendor());
2734
    if (lastComparison != 0) {
2735
      return lastComparison;
2736
    }
2737
    if (isSetPreferredVendor()) {
2738
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.preferredVendor, typedOther.preferredVendor);
2739
      if (lastComparison != 0) {
2740
        return lastComparison;
2741
      }
2742
    }
5110 mandeep.dh 2743
    lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType());
2744
    if (lastComparison != 0) {
2745
      return lastComparison;
2746
    }
2747
    if (isSetType()) {
2748
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type);
2749
      if (lastComparison != 0) {
2750
        return lastComparison;
2751
      }
2752
    }
5217 amit.gupta 2753
    lastComparison = Boolean.valueOf(isSetComingSoonStartDate()).compareTo(typedOther.isSetComingSoonStartDate());
2754
    if (lastComparison != 0) {
2755
      return lastComparison;
2756
    }
2757
    if (isSetComingSoonStartDate()) {
2758
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comingSoonStartDate, typedOther.comingSoonStartDate);
2759
      if (lastComparison != 0) {
2760
        return lastComparison;
2761
      }
2762
    }
2763
    lastComparison = Boolean.valueOf(isSetExpectedArrivalDate()).compareTo(typedOther.isSetExpectedArrivalDate());
2764
    if (lastComparison != 0) {
2765
      return lastComparison;
2766
    }
2767
    if (isSetExpectedArrivalDate()) {
2768
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expectedArrivalDate, typedOther.expectedArrivalDate);
2769
      if (lastComparison != 0) {
2770
        return lastComparison;
2771
      }
2772
    }
5385 phani.kuma 2773
    lastComparison = Boolean.valueOf(isSetHasItemNo()).compareTo(typedOther.isSetHasItemNo());
2774
    if (lastComparison != 0) {
2775
      return lastComparison;
2776
    }
2777
    if (isSetHasItemNo()) {
2778
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hasItemNo, typedOther.hasItemNo);
2779
      if (lastComparison != 0) {
2780
        return lastComparison;
2781
      }
2782
    }
5460 phani.kuma 2783
    lastComparison = Boolean.valueOf(isSetClearance()).compareTo(typedOther.isSetClearance());
2784
    if (lastComparison != 0) {
2785
      return lastComparison;
2786
    }
2787
    if (isSetClearance()) {
2788
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.clearance, typedOther.clearance);
2789
      if (lastComparison != 0) {
2790
        return lastComparison;
2791
      }
2792
    }
6039 amit.gupta 2793
    lastComparison = Boolean.valueOf(isSetVatPercentage()).compareTo(typedOther.isSetVatPercentage());
2794
    if (lastComparison != 0) {
2795
      return lastComparison;
2796
    }
2797
    if (isSetVatPercentage()) {
2798
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vatPercentage, typedOther.vatPercentage);
2799
      if (lastComparison != 0) {
2800
        return lastComparison;
2801
      }
2802
    }
6241 amit.gupta 2803
    lastComparison = Boolean.valueOf(isSetShowSellingPrice()).compareTo(typedOther.isSetShowSellingPrice());
2804
    if (lastComparison != 0) {
2805
      return lastComparison;
2806
    }
2807
    if (isSetShowSellingPrice()) {
2808
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.showSellingPrice, typedOther.showSellingPrice);
2809
      if (lastComparison != 0) {
2810
        return lastComparison;
2811
      }
2812
    }
6777 vikram.rag 2813
    lastComparison = Boolean.valueOf(isSetBestDealsDetailsText()).compareTo(typedOther.isSetBestDealsDetailsText());
2814
    if (lastComparison != 0) {
2815
      return lastComparison;
2816
    }
2817
    if (isSetBestDealsDetailsText()) {
2818
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealsDetailsText, typedOther.bestDealsDetailsText);
2819
      if (lastComparison != 0) {
2820
        return lastComparison;
2821
      }
2822
    }
2823
    lastComparison = Boolean.valueOf(isSetBestDealsDetailsLink()).compareTo(typedOther.isSetBestDealsDetailsLink());
2824
    if (lastComparison != 0) {
2825
      return lastComparison;
2826
    }
2827
    if (isSetBestDealsDetailsLink()) {
2828
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealsDetailsLink, typedOther.bestDealsDetailsLink);
2829
      if (lastComparison != 0) {
2830
        return lastComparison;
2831
      }
2832
    }
3430 rajveer 2833
    return 0;
2834
  }
2835
 
2836
  public _Fields fieldForId(int fieldId) {
2837
    return _Fields.findByThriftId(fieldId);
2838
  }
2839
 
2840
  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
2841
    org.apache.thrift.protocol.TField field;
100 ashish 2842
    iprot.readStructBegin();
2843
    while (true)
2844
    {
2845
      field = iprot.readFieldBegin();
3430 rajveer 2846
      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
100 ashish 2847
        break;
2848
      }
3430 rajveer 2849
      switch (field.id) {
2850
        case 1: // ID
2851
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2852
            this.id = iprot.readI64();
2853
            setIdIsSet(true);
2854
          } else { 
2855
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2856
          }
2857
          break;
2858
        case 2: // PRODUCT_GROUP
2859
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2860
            this.productGroup = iprot.readString();
2861
          } else { 
2862
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2863
          }
2864
          break;
2865
        case 3: // BRAND
2866
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2867
            this.brand = iprot.readString();
2868
          } else { 
2869
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2870
          }
2871
          break;
2872
        case 4: // MODEL_NUMBER
2873
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2874
            this.modelNumber = iprot.readString();
2875
          } else { 
2876
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2877
          }
2878
          break;
2879
        case 5: // MODEL_NAME
2880
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2881
            this.modelName = iprot.readString();
2882
          } else { 
2883
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2884
          }
2885
          break;
2886
        case 6: // COLOR
2887
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2888
            this.color = iprot.readString();
2889
          } else { 
2890
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2891
          }
2892
          break;
2893
        case 7: // CATEGORY
2894
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2895
            this.category = iprot.readI64();
2896
            setCategoryIsSet(true);
2897
          } else { 
2898
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2899
          }
2900
          break;
2901
        case 8: // COMMENTS
2902
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2903
            this.comments = iprot.readString();
2904
          } else { 
2905
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2906
          }
2907
          break;
2908
        case 9: // CATALOG_ITEM_ID
2909
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2910
            this.catalogItemId = iprot.readI64();
2911
            setCatalogItemIdIsSet(true);
2912
          } else { 
2913
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2914
          }
2915
          break;
2916
        case 10: // FEATURE_ID
2917
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2918
            this.featureId = iprot.readI64();
2919
            setFeatureIdIsSet(true);
2920
          } else { 
2921
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2922
          }
2923
          break;
2924
        case 11: // FEATURE_DESCRIPTION
2925
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2926
            this.featureDescription = iprot.readString();
2927
          } else { 
2928
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2929
          }
2930
          break;
2931
        case 13: // MRP
2932
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2933
            this.mrp = iprot.readDouble();
2934
            setMrpIsSet(true);
2935
          } else { 
2936
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2937
          }
2938
          break;
4762 phani.kuma 2939
        case 14: // SELLING_PRICE
3430 rajveer 2940
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2941
            this.sellingPrice = iprot.readDouble();
2942
            setSellingPriceIsSet(true);
2943
          } else { 
2944
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2945
          }
2946
          break;
4762 phani.kuma 2947
        case 15: // WEIGHT
3430 rajveer 2948
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2949
            this.weight = iprot.readDouble();
2950
            setWeightIsSet(true);
2951
          } else { 
2952
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2953
          }
2954
          break;
4762 phani.kuma 2955
        case 16: // ADDED_ON
3430 rajveer 2956
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2957
            this.addedOn = iprot.readI64();
2958
            setAddedOnIsSet(true);
2959
          } else { 
2960
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2961
          }
2962
          break;
4762 phani.kuma 2963
        case 17: // START_DATE
3430 rajveer 2964
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2965
            this.startDate = iprot.readI64();
2966
            setStartDateIsSet(true);
2967
          } else { 
2968
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2969
          }
2970
          break;
4762 phani.kuma 2971
        case 18: // RETIRE_DATE
3430 rajveer 2972
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2973
            this.retireDate = iprot.readI64();
2974
            setRetireDateIsSet(true);
2975
          } else { 
2976
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2977
          }
2978
          break;
4762 phani.kuma 2979
        case 19: // ITEM_STATUS
3430 rajveer 2980
          if (field.type == org.apache.thrift.protocol.TType.I32) {
2981
            this.itemStatus = status.findByValue(iprot.readI32());
2982
          } else { 
2983
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2984
          }
2985
          break;
4762 phani.kuma 2986
        case 20: // STATUS_DESCRIPTION
3430 rajveer 2987
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2988
            this.status_description = iprot.readString();
2989
          } else { 
2990
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2991
          }
2992
          break;
5336 rajveer 2993
        case 21: // OTHER_INFO
2994
          if (field.type == org.apache.thrift.protocol.TType.MAP) {
2995
            {
5945 mandeep.dh 2996
              org.apache.thrift.protocol.TMap _map0 = iprot.readMapBegin();
2997
              this.otherInfo = new HashMap<String,String>(2*_map0.size);
2998
              for (int _i1 = 0; _i1 < _map0.size; ++_i1)
5336 rajveer 2999
              {
5945 mandeep.dh 3000
                String _key2; // required
3001
                String _val3; // required
3002
                _key2 = iprot.readString();
3003
                _val3 = iprot.readString();
3004
                this.otherInfo.put(_key2, _val3);
5336 rajveer 3005
              }
3006
              iprot.readMapEnd();
3007
            }
3008
          } else { 
3009
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3010
          }
3011
          break;
4762 phani.kuma 3012
        case 22: // BEST_DEAL_TEXT
3430 rajveer 3013
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
3014
            this.bestDealText = iprot.readString();
3015
          } else { 
3016
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3017
          }
3018
          break;
4762 phani.kuma 3019
        case 23: // BEST_DEAL_VALUE
3430 rajveer 3020
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
3021
            this.bestDealValue = iprot.readDouble();
3022
            setBestDealValueIsSet(true);
3023
          } else { 
3024
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3025
          }
3026
          break;
4762 phani.kuma 3027
        case 24: // DEFAULT_FOR_ENTITY
3430 rajveer 3028
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
3029
            this.defaultForEntity = iprot.readBool();
3030
            setDefaultForEntityIsSet(true);
3031
          } else { 
3032
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3033
          }
3034
          break;
4762 phani.kuma 3035
        case 25: // UPDATED_ON
3430 rajveer 3036
          if (field.type == org.apache.thrift.protocol.TType.I64) {
3037
            this.updatedOn = iprot.readI64();
3038
            setUpdatedOnIsSet(true);
3039
          } else { 
3040
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3041
          }
3042
          break;
4762 phani.kuma 3043
        case 26: // BEST_SELLING_RANK
3430 rajveer 3044
          if (field.type == org.apache.thrift.protocol.TType.I64) {
3045
            this.bestSellingRank = iprot.readI64();
3046
            setBestSellingRankIsSet(true);
3047
          } else { 
3048
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3049
          }
3050
          break;
4762 phani.kuma 3051
        case 27: // RISKY
3430 rajveer 3052
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
3053
            this.risky = iprot.readBool();
3054
            setRiskyIsSet(true);
3055
          } else { 
3056
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3057
          }
3058
          break;
4762 phani.kuma 3059
        case 28: // EXPECTED_DELAY
3430 rajveer 3060
          if (field.type == org.apache.thrift.protocol.TType.I32) {
3061
            this.expectedDelay = iprot.readI32();
3062
            setExpectedDelayIsSet(true);
3063
          } else { 
3064
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3065
          }
3066
          break;
5440 phani.kuma 3067
        case 29: // IS_WAREHOUSE_PREFERENCE_STICKY
4406 anupam.sin 3068
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
3069
            this.isWarehousePreferenceSticky = iprot.readBool();
3070
            setIsWarehousePreferenceStickyIsSet(true);
3071
          } else { 
3072
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3073
          }
3074
          break;
5440 phani.kuma 3075
        case 30: // WARRANTY_PERIOD
4295 varun.gupt 3076
          if (field.type == org.apache.thrift.protocol.TType.I32) {
3077
            this.warrantyPeriod = iprot.readI32();
3078
            setWarrantyPeriodIsSet(true);
3079
          } else { 
3080
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3081
          }
3082
          break;
5440 phani.kuma 3083
        case 31: // PREFERRED_VENDOR
4506 phani.kuma 3084
          if (field.type == org.apache.thrift.protocol.TType.I64) {
3085
            this.preferredVendor = iprot.readI64();
3086
            setPreferredVendorIsSet(true);
3087
          } else { 
3088
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3089
          }
3090
          break;
5440 phani.kuma 3091
        case 32: // TYPE
5110 mandeep.dh 3092
          if (field.type == org.apache.thrift.protocol.TType.I32) {
3093
            this.type = ItemType.findByValue(iprot.readI32());
3094
          } else { 
3095
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3096
          }
3097
          break;
5440 phani.kuma 3098
        case 33: // COMING_SOON_START_DATE
5217 amit.gupta 3099
          if (field.type == org.apache.thrift.protocol.TType.I64) {
3100
            this.comingSoonStartDate = iprot.readI64();
3101
            setComingSoonStartDateIsSet(true);
3102
          } else { 
3103
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3104
          }
3105
          break;
5440 phani.kuma 3106
        case 34: // EXPECTED_ARRIVAL_DATE
5217 amit.gupta 3107
          if (field.type == org.apache.thrift.protocol.TType.I64) {
3108
            this.expectedArrivalDate = iprot.readI64();
3109
            setExpectedArrivalDateIsSet(true);
3110
          } else { 
3111
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3112
          }
3113
          break;
5440 phani.kuma 3114
        case 35: // HAS_ITEM_NO
5385 phani.kuma 3115
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
3116
            this.hasItemNo = iprot.readBool();
3117
            setHasItemNoIsSet(true);
3118
          } else { 
3119
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3120
          }
3121
          break;
5460 phani.kuma 3122
        case 36: // CLEARANCE
3123
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
3124
            this.clearance = iprot.readBool();
3125
            setClearanceIsSet(true);
3126
          } else { 
3127
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3128
          }
3129
          break;
6039 amit.gupta 3130
        case 37: // VAT_PERCENTAGE
3131
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
3132
            this.vatPercentage = iprot.readDouble();
3133
            setVatPercentageIsSet(true);
3134
          } else { 
3135
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3136
          }
3137
          break;
6241 amit.gupta 3138
        case 38: // SHOW_SELLING_PRICE
3139
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
3140
            this.showSellingPrice = iprot.readBool();
3141
            setShowSellingPriceIsSet(true);
3142
          } else { 
3143
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3144
          }
3145
          break;
6777 vikram.rag 3146
        case 39: // BEST_DEALS_DETAILS_TEXT
3147
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
3148
            this.bestDealsDetailsText = iprot.readString();
3149
          } else { 
3150
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3151
          }
3152
          break;
3153
        case 40: // BEST_DEALS_DETAILS_LINK
3154
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
3155
            this.bestDealsDetailsLink = iprot.readString();
3156
          } else { 
3157
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3158
          }
3159
          break;
3430 rajveer 3160
        default:
3161
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
100 ashish 3162
      }
3430 rajveer 3163
      iprot.readFieldEnd();
100 ashish 3164
    }
3165
    iprot.readStructEnd();
3166
    validate();
3167
  }
3168
 
3430 rajveer 3169
  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
100 ashish 3170
    validate();
3171
 
3172
    oprot.writeStructBegin(STRUCT_DESC);
3173
    oprot.writeFieldBegin(ID_FIELD_DESC);
3174
    oprot.writeI64(this.id);
3175
    oprot.writeFieldEnd();
957 chandransh 3176
    if (this.productGroup != null) {
3177
      oprot.writeFieldBegin(PRODUCT_GROUP_FIELD_DESC);
3178
      oprot.writeString(this.productGroup);
483 rajveer 3179
      oprot.writeFieldEnd();
3180
    }
957 chandransh 3181
    if (this.brand != null) {
3182
      oprot.writeFieldBegin(BRAND_FIELD_DESC);
3183
      oprot.writeString(this.brand);
3184
      oprot.writeFieldEnd();
3185
    }
483 rajveer 3186
    if (this.modelNumber != null) {
3187
      oprot.writeFieldBegin(MODEL_NUMBER_FIELD_DESC);
3188
      oprot.writeString(this.modelNumber);
3189
      oprot.writeFieldEnd();
3190
    }
3191
    if (this.modelName != null) {
3192
      oprot.writeFieldBegin(MODEL_NAME_FIELD_DESC);
3193
      oprot.writeString(this.modelName);
3194
      oprot.writeFieldEnd();
3195
    }
1329 chandransh 3196
    if (this.color != null) {
3197
      oprot.writeFieldBegin(COLOR_FIELD_DESC);
3198
      oprot.writeString(this.color);
3199
      oprot.writeFieldEnd();
3200
    }
622 chandransh 3201
    oprot.writeFieldBegin(CATEGORY_FIELD_DESC);
3202
    oprot.writeI64(this.category);
3203
    oprot.writeFieldEnd();
483 rajveer 3204
    if (this.comments != null) {
3205
      oprot.writeFieldBegin(COMMENTS_FIELD_DESC);
3206
      oprot.writeString(this.comments);
3207
      oprot.writeFieldEnd();
3208
    }
123 ashish 3209
    oprot.writeFieldBegin(CATALOG_ITEM_ID_FIELD_DESC);
3210
    oprot.writeI64(this.catalogItemId);
3211
    oprot.writeFieldEnd();
483 rajveer 3212
    oprot.writeFieldBegin(FEATURE_ID_FIELD_DESC);
3213
    oprot.writeI64(this.featureId);
3214
    oprot.writeFieldEnd();
3215
    if (this.featureDescription != null) {
3216
      oprot.writeFieldBegin(FEATURE_DESCRIPTION_FIELD_DESC);
3217
      oprot.writeString(this.featureDescription);
3218
      oprot.writeFieldEnd();
3219
    }
2128 ankur.sing 3220
    if (isSetMrp()) {
3221
      oprot.writeFieldBegin(MRP_FIELD_DESC);
3222
      oprot.writeDouble(this.mrp);
3223
      oprot.writeFieldEnd();
3224
    }
3225
    if (isSetSellingPrice()) {
3226
      oprot.writeFieldBegin(SELLING_PRICE_FIELD_DESC);
3227
      oprot.writeDouble(this.sellingPrice);
3228
      oprot.writeFieldEnd();
3229
    }
3230
    if (isSetWeight()) {
3231
      oprot.writeFieldBegin(WEIGHT_FIELD_DESC);
3232
      oprot.writeDouble(this.weight);
3233
      oprot.writeFieldEnd();
3234
    }
103 ashish 3235
    oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
3236
    oprot.writeI64(this.addedOn);
3237
    oprot.writeFieldEnd();
2491 ankur.sing 3238
    if (isSetStartDate()) {
3239
      oprot.writeFieldBegin(START_DATE_FIELD_DESC);
3240
      oprot.writeI64(this.startDate);
3241
      oprot.writeFieldEnd();
3242
    }
3243
    if (isSetRetireDate()) {
3244
      oprot.writeFieldBegin(RETIRE_DATE_FIELD_DESC);
3245
      oprot.writeI64(this.retireDate);
3246
      oprot.writeFieldEnd();
3247
    }
103 ashish 3248
    if (this.itemStatus != null) {
3249
      oprot.writeFieldBegin(ITEM_STATUS_FIELD_DESC);
3250
      oprot.writeI32(this.itemStatus.getValue());
3251
      oprot.writeFieldEnd();
3252
    }
2034 rajveer 3253
    if (this.status_description != null) {
3254
      oprot.writeFieldBegin(STATUS_DESCRIPTION_FIELD_DESC);
3255
      oprot.writeString(this.status_description);
3256
      oprot.writeFieldEnd();
3257
    }
5336 rajveer 3258
    if (this.otherInfo != null) {
3259
      oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
3260
      {
3261
        oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.otherInfo.size()));
5945 mandeep.dh 3262
        for (Map.Entry<String, String> _iter4 : this.otherInfo.entrySet())
5336 rajveer 3263
        {
5945 mandeep.dh 3264
          oprot.writeString(_iter4.getKey());
3265
          oprot.writeString(_iter4.getValue());
5336 rajveer 3266
        }
3267
        oprot.writeMapEnd();
3268
      }
3269
      oprot.writeFieldEnd();
3270
    }
607 chandransh 3271
    if (this.bestDealText != null) {
3272
      oprot.writeFieldBegin(BEST_DEAL_TEXT_FIELD_DESC);
3273
      oprot.writeString(this.bestDealText);
3274
      oprot.writeFieldEnd();
3275
    }
2128 ankur.sing 3276
    if (isSetBestDealValue()) {
3277
      oprot.writeFieldBegin(BEST_DEAL_VALUE_FIELD_DESC);
3278
      oprot.writeDouble(this.bestDealValue);
3279
      oprot.writeFieldEnd();
3280
    }
1910 varun.gupt 3281
    oprot.writeFieldBegin(DEFAULT_FOR_ENTITY_FIELD_DESC);
3282
    oprot.writeBool(this.defaultForEntity);
3283
    oprot.writeFieldEnd();
607 chandransh 3284
    oprot.writeFieldBegin(UPDATED_ON_FIELD_DESC);
3285
    oprot.writeI64(this.updatedOn);
3286
    oprot.writeFieldEnd();
2128 ankur.sing 3287
    if (isSetBestSellingRank()) {
3288
      oprot.writeFieldBegin(BEST_SELLING_RANK_FIELD_DESC);
3289
      oprot.writeI64(this.bestSellingRank);
3290
      oprot.writeFieldEnd();
3291
    }
2250 ankur.sing 3292
    oprot.writeFieldBegin(RISKY_FIELD_DESC);
3293
    oprot.writeBool(this.risky);
3294
    oprot.writeFieldEnd();
3355 chandransh 3295
    if (isSetExpectedDelay()) {
3296
      oprot.writeFieldBegin(EXPECTED_DELAY_FIELD_DESC);
3297
      oprot.writeI32(this.expectedDelay);
3298
      oprot.writeFieldEnd();
3299
    }
4406 anupam.sin 3300
    if (isSetIsWarehousePreferenceSticky()) {
3301
      oprot.writeFieldBegin(IS_WAREHOUSE_PREFERENCE_STICKY_FIELD_DESC);
3302
      oprot.writeBool(this.isWarehousePreferenceSticky);
3303
      oprot.writeFieldEnd();
3304
    }
4295 varun.gupt 3305
    oprot.writeFieldBegin(WARRANTY_PERIOD_FIELD_DESC);
3306
    oprot.writeI32(this.warrantyPeriod);
3307
    oprot.writeFieldEnd();
4506 phani.kuma 3308
    if (isSetPreferredVendor()) {
3309
      oprot.writeFieldBegin(PREFERRED_VENDOR_FIELD_DESC);
3310
      oprot.writeI64(this.preferredVendor);
3311
      oprot.writeFieldEnd();
3312
    }
5110 mandeep.dh 3313
    if (this.type != null) {
3314
      oprot.writeFieldBegin(TYPE_FIELD_DESC);
3315
      oprot.writeI32(this.type.getValue());
3316
      oprot.writeFieldEnd();
3317
    }
5217 amit.gupta 3318
    if (isSetComingSoonStartDate()) {
3319
      oprot.writeFieldBegin(COMING_SOON_START_DATE_FIELD_DESC);
3320
      oprot.writeI64(this.comingSoonStartDate);
3321
      oprot.writeFieldEnd();
3322
    }
3323
    if (isSetExpectedArrivalDate()) {
3324
      oprot.writeFieldBegin(EXPECTED_ARRIVAL_DATE_FIELD_DESC);
3325
      oprot.writeI64(this.expectedArrivalDate);
3326
      oprot.writeFieldEnd();
3327
    }
5385 phani.kuma 3328
    oprot.writeFieldBegin(HAS_ITEM_NO_FIELD_DESC);
3329
    oprot.writeBool(this.hasItemNo);
3330
    oprot.writeFieldEnd();
5460 phani.kuma 3331
    oprot.writeFieldBegin(CLEARANCE_FIELD_DESC);
3332
    oprot.writeBool(this.clearance);
3333
    oprot.writeFieldEnd();
6039 amit.gupta 3334
    oprot.writeFieldBegin(VAT_PERCENTAGE_FIELD_DESC);
3335
    oprot.writeDouble(this.vatPercentage);
3336
    oprot.writeFieldEnd();
6241 amit.gupta 3337
    oprot.writeFieldBegin(SHOW_SELLING_PRICE_FIELD_DESC);
3338
    oprot.writeBool(this.showSellingPrice);
3339
    oprot.writeFieldEnd();
6777 vikram.rag 3340
    if (this.bestDealsDetailsText != null) {
3341
      oprot.writeFieldBegin(BEST_DEALS_DETAILS_TEXT_FIELD_DESC);
3342
      oprot.writeString(this.bestDealsDetailsText);
3343
      oprot.writeFieldEnd();
3344
    }
3345
    if (this.bestDealsDetailsLink != null) {
3346
      oprot.writeFieldBegin(BEST_DEALS_DETAILS_LINK_FIELD_DESC);
3347
      oprot.writeString(this.bestDealsDetailsLink);
3348
      oprot.writeFieldEnd();
3349
    }
100 ashish 3350
    oprot.writeFieldStop();
3351
    oprot.writeStructEnd();
3352
  }
3353
 
3354
  @Override
3355
  public String toString() {
3356
    StringBuilder sb = new StringBuilder("Item(");
3357
    boolean first = true;
3358
 
3359
    sb.append("id:");
3360
    sb.append(this.id);
3361
    first = false;
3362
    if (!first) sb.append(", ");
957 chandransh 3363
    sb.append("productGroup:");
3364
    if (this.productGroup == null) {
483 rajveer 3365
      sb.append("null");
3366
    } else {
957 chandransh 3367
      sb.append(this.productGroup);
483 rajveer 3368
    }
3369
    first = false;
3370
    if (!first) sb.append(", ");
957 chandransh 3371
    sb.append("brand:");
3372
    if (this.brand == null) {
3373
      sb.append("null");
3374
    } else {
3375
      sb.append(this.brand);
3376
    }
3377
    first = false;
3378
    if (!first) sb.append(", ");
483 rajveer 3379
    sb.append("modelNumber:");
3380
    if (this.modelNumber == null) {
3381
      sb.append("null");
3382
    } else {
3383
      sb.append(this.modelNumber);
3384
    }
3385
    first = false;
3386
    if (!first) sb.append(", ");
3387
    sb.append("modelName:");
3388
    if (this.modelName == null) {
3389
      sb.append("null");
3390
    } else {
3391
      sb.append(this.modelName);
3392
    }
3393
    first = false;
3394
    if (!first) sb.append(", ");
1329 chandransh 3395
    sb.append("color:");
3396
    if (this.color == null) {
3397
      sb.append("null");
3398
    } else {
3399
      sb.append(this.color);
3400
    }
3401
    first = false;
3402
    if (!first) sb.append(", ");
483 rajveer 3403
    sb.append("category:");
622 chandransh 3404
    sb.append(this.category);
483 rajveer 3405
    first = false;
3406
    if (!first) sb.append(", ");
3407
    sb.append("comments:");
3408
    if (this.comments == null) {
3409
      sb.append("null");
3410
    } else {
3411
      sb.append(this.comments);
3412
    }
3413
    first = false;
3414
    if (!first) sb.append(", ");
123 ashish 3415
    sb.append("catalogItemId:");
3416
    sb.append(this.catalogItemId);
100 ashish 3417
    first = false;
3418
    if (!first) sb.append(", ");
483 rajveer 3419
    sb.append("featureId:");
3420
    sb.append(this.featureId);
3421
    first = false;
3422
    if (!first) sb.append(", ");
3423
    sb.append("featureDescription:");
3424
    if (this.featureDescription == null) {
3425
      sb.append("null");
3426
    } else {
3427
      sb.append(this.featureDescription);
3428
    }
3429
    first = false;
2128 ankur.sing 3430
    if (isSetMrp()) {
3431
      if (!first) sb.append(", ");
3432
      sb.append("mrp:");
3433
      sb.append(this.mrp);
3434
      first = false;
3435
    }
3436
    if (isSetSellingPrice()) {
3437
      if (!first) sb.append(", ");
3438
      sb.append("sellingPrice:");
3439
      sb.append(this.sellingPrice);
3440
      first = false;
3441
    }
3442
    if (isSetWeight()) {
3443
      if (!first) sb.append(", ");
3444
      sb.append("weight:");
3445
      sb.append(this.weight);
3446
      first = false;
3447
    }
721 chandransh 3448
    if (!first) sb.append(", ");
103 ashish 3449
    sb.append("addedOn:");
3450
    sb.append(this.addedOn);
3451
    first = false;
2491 ankur.sing 3452
    if (isSetStartDate()) {
3453
      if (!first) sb.append(", ");
3454
      sb.append("startDate:");
3455
      sb.append(this.startDate);
3456
      first = false;
3457
    }
3458
    if (isSetRetireDate()) {
3459
      if (!first) sb.append(", ");
3460
      sb.append("retireDate:");
3461
      sb.append(this.retireDate);
3462
      first = false;
3463
    }
103 ashish 3464
    if (!first) sb.append(", ");
3465
    sb.append("itemStatus:");
3466
    if (this.itemStatus == null) {
3467
      sb.append("null");
3468
    } else {
3469
      sb.append(this.itemStatus);
3470
    }
3471
    first = false;
3472
    if (!first) sb.append(", ");
2034 rajveer 3473
    sb.append("status_description:");
3474
    if (this.status_description == null) {
3475
      sb.append("null");
3476
    } else {
3477
      sb.append(this.status_description);
3478
    }
3479
    first = false;
3480
    if (!first) sb.append(", ");
5336 rajveer 3481
    sb.append("otherInfo:");
3482
    if (this.otherInfo == null) {
3483
      sb.append("null");
3484
    } else {
3485
      sb.append(this.otherInfo);
3486
    }
3487
    first = false;
3488
    if (!first) sb.append(", ");
607 chandransh 3489
    sb.append("bestDealText:");
3490
    if (this.bestDealText == null) {
3491
      sb.append("null");
3492
    } else {
3493
      sb.append(this.bestDealText);
3494
    }
3495
    first = false;
2128 ankur.sing 3496
    if (isSetBestDealValue()) {
3497
      if (!first) sb.append(", ");
3498
      sb.append("bestDealValue:");
3499
      sb.append(this.bestDealValue);
3500
      first = false;
3501
    }
607 chandransh 3502
    if (!first) sb.append(", ");
1910 varun.gupt 3503
    sb.append("defaultForEntity:");
3504
    sb.append(this.defaultForEntity);
3505
    first = false;
3506
    if (!first) sb.append(", ");
607 chandransh 3507
    sb.append("updatedOn:");
3508
    sb.append(this.updatedOn);
3509
    first = false;
2128 ankur.sing 3510
    if (isSetBestSellingRank()) {
3511
      if (!first) sb.append(", ");
3512
      sb.append("bestSellingRank:");
3513
      sb.append(this.bestSellingRank);
3514
      first = false;
3515
    }
2064 ankur.sing 3516
    if (!first) sb.append(", ");
2250 ankur.sing 3517
    sb.append("risky:");
3518
    sb.append(this.risky);
3519
    first = false;
3355 chandransh 3520
    if (isSetExpectedDelay()) {
3521
      if (!first) sb.append(", ");
3522
      sb.append("expectedDelay:");
3523
      sb.append(this.expectedDelay);
3524
      first = false;
3525
    }
4406 anupam.sin 3526
    if (isSetIsWarehousePreferenceSticky()) {
3527
      if (!first) sb.append(", ");
3528
      sb.append("isWarehousePreferenceSticky:");
3529
      sb.append(this.isWarehousePreferenceSticky);
3530
      first = false;
3531
    }
4295 varun.gupt 3532
    if (!first) sb.append(", ");
3533
    sb.append("warrantyPeriod:");
3534
    sb.append(this.warrantyPeriod);
3535
    first = false;
4506 phani.kuma 3536
    if (isSetPreferredVendor()) {
3537
      if (!first) sb.append(", ");
3538
      sb.append("preferredVendor:");
3539
      sb.append(this.preferredVendor);
3540
      first = false;
3541
    }
5110 mandeep.dh 3542
    if (!first) sb.append(", ");
3543
    sb.append("type:");
3544
    if (this.type == null) {
3545
      sb.append("null");
3546
    } else {
3547
      sb.append(this.type);
3548
    }
3549
    first = false;
5217 amit.gupta 3550
    if (isSetComingSoonStartDate()) {
3551
      if (!first) sb.append(", ");
3552
      sb.append("comingSoonStartDate:");
3553
      sb.append(this.comingSoonStartDate);
3554
      first = false;
3555
    }
3556
    if (isSetExpectedArrivalDate()) {
3557
      if (!first) sb.append(", ");
3558
      sb.append("expectedArrivalDate:");
3559
      sb.append(this.expectedArrivalDate);
3560
      first = false;
3561
    }
5385 phani.kuma 3562
    if (!first) sb.append(", ");
3563
    sb.append("hasItemNo:");
3564
    sb.append(this.hasItemNo);
3565
    first = false;
5460 phani.kuma 3566
    if (!first) sb.append(", ");
3567
    sb.append("clearance:");
3568
    sb.append(this.clearance);
3569
    first = false;
6039 amit.gupta 3570
    if (!first) sb.append(", ");
3571
    sb.append("vatPercentage:");
3572
    sb.append(this.vatPercentage);
3573
    first = false;
6241 amit.gupta 3574
    if (!first) sb.append(", ");
3575
    sb.append("showSellingPrice:");
3576
    sb.append(this.showSellingPrice);
3577
    first = false;
6777 vikram.rag 3578
    if (!first) sb.append(", ");
3579
    sb.append("bestDealsDetailsText:");
3580
    if (this.bestDealsDetailsText == null) {
3581
      sb.append("null");
3582
    } else {
3583
      sb.append(this.bestDealsDetailsText);
3584
    }
3585
    first = false;
3586
    if (!first) sb.append(", ");
3587
    sb.append("bestDealsDetailsLink:");
3588
    if (this.bestDealsDetailsLink == null) {
3589
      sb.append("null");
3590
    } else {
3591
      sb.append(this.bestDealsDetailsLink);
3592
    }
3593
    first = false;
100 ashish 3594
    sb.append(")");
3595
    return sb.toString();
3596
  }
3597
 
3430 rajveer 3598
  public void validate() throws org.apache.thrift.TException {
100 ashish 3599
    // check for required fields
3600
  }
3601
 
3430 rajveer 3602
  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
3603
    try {
3604
      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
3605
    } catch (org.apache.thrift.TException te) {
3606
      throw new java.io.IOException(te);
3607
    }
3608
  }
3609
 
3610
  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
3611
    try {
3612
      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
3613
      __isset_bit_vector = new BitSet(1);
3614
      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
3615
    } catch (org.apache.thrift.TException te) {
3616
      throw new java.io.IOException(te);
3617
    }
3618
  }
3619
 
100 ashish 3620
}
3621