Subversion Repositories SmartDukaan

Rev

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

Rev 4506 Rev 4762
Line 34... Line 34...
34
  private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)9);
34
  private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)9);
35
  private static final org.apache.thrift.protocol.TField FEATURE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("featureId", org.apache.thrift.protocol.TType.I64, (short)10);
35
  private static final org.apache.thrift.protocol.TField FEATURE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("featureId", org.apache.thrift.protocol.TType.I64, (short)10);
36
  private static final org.apache.thrift.protocol.TField FEATURE_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("featureDescription", org.apache.thrift.protocol.TType.STRING, (short)11);
36
  private static final org.apache.thrift.protocol.TField FEATURE_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("featureDescription", org.apache.thrift.protocol.TType.STRING, (short)11);
37
  private static final org.apache.thrift.protocol.TField ITEM_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("itemInventory", org.apache.thrift.protocol.TType.STRUCT, (short)12);
37
  private static final org.apache.thrift.protocol.TField ITEM_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("itemInventory", org.apache.thrift.protocol.TType.STRUCT, (short)12);
38
  private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)13);
38
  private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)13);
39
  private static final org.apache.thrift.protocol.TField MOP_FIELD_DESC = new org.apache.thrift.protocol.TField("mop", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
-
 
40
  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)15);
39
  private static final org.apache.thrift.protocol.TField SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("sellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
41
  private static final org.apache.thrift.protocol.TField TRANSFER_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("transferPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)16);
-
 
42
  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)17);
40
  private static final org.apache.thrift.protocol.TField WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("weight", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
43
  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)18);
41
  private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)16);
44
  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)19);
42
  private static final org.apache.thrift.protocol.TField START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("startDate", org.apache.thrift.protocol.TType.I64, (short)17);
45
  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)20);
43
  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);
46
  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)21);
44
  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);
47
  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)22);
45
  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);
48
  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)23);
46
  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);
49
  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)24);
47
  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);
50
  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)25);
48
  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);
51
  private static final org.apache.thrift.protocol.TField DEALER_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("dealerPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)26);
-
 
52
  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)27);
49
  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);
53
  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)28);
50
  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);
54
  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)29);
51
  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);
55
  private static final org.apache.thrift.protocol.TField HOTSPOT_CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("hotspotCategory", org.apache.thrift.protocol.TType.STRING, (short)30);
-
 
56
  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)31);
52
  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);
57
  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)32);
53
  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);
58
  private static final org.apache.thrift.protocol.TField PREFERRED_WAREHOUSE_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredWarehouse", org.apache.thrift.protocol.TType.STRING, (short)33);
54
  private static final org.apache.thrift.protocol.TField PREFERRED_WAREHOUSE_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredWarehouse", org.apache.thrift.protocol.TType.I64, (short)29);
59
  private static final org.apache.thrift.protocol.TField DEFAULT_WAREHOUSE_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultWarehouse", org.apache.thrift.protocol.TType.STRING, (short)34);
55
  private static final org.apache.thrift.protocol.TField DEFAULT_WAREHOUSE_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultWarehouse", org.apache.thrift.protocol.TType.I64, (short)30);
60
  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)35);
56
  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)31);
61
  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)36);
57
  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)32);
62
  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)37);
58
  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)33);
63
 
59
 
64
  private long id; // required
60
  private long id; // required
65
  private String productGroup; // required
61
  private String productGroup; // required
66
  private String brand; // required
62
  private String brand; // required
67
  private String modelNumber; // required
63
  private String modelNumber; // required
Line 72... Line 68...
72
  private long catalogItemId; // required
68
  private long catalogItemId; // required
73
  private long featureId; // required
69
  private long featureId; // required
74
  private String featureDescription; // required
70
  private String featureDescription; // required
75
  private ItemInventory itemInventory; // required
71
  private ItemInventory itemInventory; // required
76
  private double mrp; // required
72
  private double mrp; // required
77
  private double mop; // required
-
 
78
  private double sellingPrice; // required
73
  private double sellingPrice; // required
79
  private double transferPrice; // required
-
 
80
  private double weight; // required
74
  private double weight; // required
81
  private long addedOn; // required
75
  private long addedOn; // required
82
  private long startDate; // required
76
  private long startDate; // required
83
  private long retireDate; // required
77
  private long retireDate; // required
84
  private status itemStatus; // required
78
  private status itemStatus; // required
85
  private String status_description; // required
79
  private String status_description; // required
86
  private Map<String,String> otherInfo; // required
80
  private Map<String,String> otherInfo; // required
87
  private String bestDealText; // required
81
  private String bestDealText; // required
88
  private double bestDealValue; // required
82
  private double bestDealValue; // required
89
  private double dealerPrice; // required
-
 
90
  private boolean defaultForEntity; // required
83
  private boolean defaultForEntity; // required
91
  private long updatedOn; // required
84
  private long updatedOn; // required
92
  private long bestSellingRank; // required
85
  private long bestSellingRank; // required
93
  private String hotspotCategory; // required
-
 
94
  private boolean risky; // required
86
  private boolean risky; // required
95
  private int expectedDelay; // required
87
  private int expectedDelay; // required
96
  private String preferredWarehouse; // required
88
  private long preferredWarehouse; // required
97
  private String defaultWarehouse; // required
89
  private long defaultWarehouse; // required
98
  private boolean isWarehousePreferenceSticky; // required
90
  private boolean isWarehousePreferenceSticky; // required
99
  private int warrantyPeriod; // required
91
  private int warrantyPeriod; // required
100
  private long preferredVendor; // required
92
  private long preferredVendor; // required
101
 
93
 
102
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
94
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
Line 112... Line 104...
112
    CATALOG_ITEM_ID((short)9, "catalogItemId"),
104
    CATALOG_ITEM_ID((short)9, "catalogItemId"),
113
    FEATURE_ID((short)10, "featureId"),
105
    FEATURE_ID((short)10, "featureId"),
114
    FEATURE_DESCRIPTION((short)11, "featureDescription"),
106
    FEATURE_DESCRIPTION((short)11, "featureDescription"),
115
    ITEM_INVENTORY((short)12, "itemInventory"),
107
    ITEM_INVENTORY((short)12, "itemInventory"),
116
    MRP((short)13, "mrp"),
108
    MRP((short)13, "mrp"),
117
    MOP((short)14, "mop"),
-
 
118
    SELLING_PRICE((short)15, "sellingPrice"),
109
    SELLING_PRICE((short)14, "sellingPrice"),
119
    TRANSFER_PRICE((short)16, "transferPrice"),
-
 
120
    WEIGHT((short)17, "weight"),
110
    WEIGHT((short)15, "weight"),
121
    ADDED_ON((short)18, "addedOn"),
111
    ADDED_ON((short)16, "addedOn"),
122
    START_DATE((short)19, "startDate"),
112
    START_DATE((short)17, "startDate"),
123
    RETIRE_DATE((short)20, "retireDate"),
113
    RETIRE_DATE((short)18, "retireDate"),
124
    /**
114
    /**
125
     * 
115
     * 
126
     * @see status
116
     * @see status
127
     */
117
     */
128
    ITEM_STATUS((short)21, "itemStatus"),
118
    ITEM_STATUS((short)19, "itemStatus"),
129
    STATUS_DESCRIPTION((short)22, "status_description"),
119
    STATUS_DESCRIPTION((short)20, "status_description"),
130
    OTHER_INFO((short)23, "otherInfo"),
120
    OTHER_INFO((short)21, "otherInfo"),
131
    BEST_DEAL_TEXT((short)24, "bestDealText"),
121
    BEST_DEAL_TEXT((short)22, "bestDealText"),
132
    BEST_DEAL_VALUE((short)25, "bestDealValue"),
122
    BEST_DEAL_VALUE((short)23, "bestDealValue"),
133
    DEALER_PRICE((short)26, "dealerPrice"),
-
 
134
    DEFAULT_FOR_ENTITY((short)27, "defaultForEntity"),
123
    DEFAULT_FOR_ENTITY((short)24, "defaultForEntity"),
135
    UPDATED_ON((short)28, "updatedOn"),
124
    UPDATED_ON((short)25, "updatedOn"),
136
    BEST_SELLING_RANK((short)29, "bestSellingRank"),
125
    BEST_SELLING_RANK((short)26, "bestSellingRank"),
137
    HOTSPOT_CATEGORY((short)30, "hotspotCategory"),
-
 
138
    RISKY((short)31, "risky"),
126
    RISKY((short)27, "risky"),
139
    EXPECTED_DELAY((short)32, "expectedDelay"),
127
    EXPECTED_DELAY((short)28, "expectedDelay"),
140
    PREFERRED_WAREHOUSE((short)33, "preferredWarehouse"),
128
    PREFERRED_WAREHOUSE((short)29, "preferredWarehouse"),
141
    DEFAULT_WAREHOUSE((short)34, "defaultWarehouse"),
129
    DEFAULT_WAREHOUSE((short)30, "defaultWarehouse"),
142
    IS_WAREHOUSE_PREFERENCE_STICKY((short)35, "isWarehousePreferenceSticky"),
130
    IS_WAREHOUSE_PREFERENCE_STICKY((short)31, "isWarehousePreferenceSticky"),
143
    WARRANTY_PERIOD((short)36, "warrantyPeriod"),
131
    WARRANTY_PERIOD((short)32, "warrantyPeriod"),
144
    PREFERRED_VENDOR((short)37, "preferredVendor");
132
    PREFERRED_VENDOR((short)33, "preferredVendor");
145
 
133
 
146
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
134
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
147
 
135
 
148
    static {
136
    static {
149
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
137
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 180... Line 168...
180
          return FEATURE_DESCRIPTION;
168
          return FEATURE_DESCRIPTION;
181
        case 12: // ITEM_INVENTORY
169
        case 12: // ITEM_INVENTORY
182
          return ITEM_INVENTORY;
170
          return ITEM_INVENTORY;
183
        case 13: // MRP
171
        case 13: // MRP
184
          return MRP;
172
          return MRP;
185
        case 14: // MOP
-
 
186
          return MOP;
-
 
187
        case 15: // SELLING_PRICE
173
        case 14: // SELLING_PRICE
188
          return SELLING_PRICE;
174
          return SELLING_PRICE;
189
        case 16: // TRANSFER_PRICE
-
 
190
          return TRANSFER_PRICE;
-
 
191
        case 17: // WEIGHT
175
        case 15: // WEIGHT
192
          return WEIGHT;
176
          return WEIGHT;
193
        case 18: // ADDED_ON
177
        case 16: // ADDED_ON
194
          return ADDED_ON;
178
          return ADDED_ON;
195
        case 19: // START_DATE
179
        case 17: // START_DATE
196
          return START_DATE;
180
          return START_DATE;
197
        case 20: // RETIRE_DATE
181
        case 18: // RETIRE_DATE
198
          return RETIRE_DATE;
182
          return RETIRE_DATE;
199
        case 21: // ITEM_STATUS
183
        case 19: // ITEM_STATUS
200
          return ITEM_STATUS;
184
          return ITEM_STATUS;
201
        case 22: // STATUS_DESCRIPTION
185
        case 20: // STATUS_DESCRIPTION
202
          return STATUS_DESCRIPTION;
186
          return STATUS_DESCRIPTION;
203
        case 23: // OTHER_INFO
187
        case 21: // OTHER_INFO
204
          return OTHER_INFO;
188
          return OTHER_INFO;
205
        case 24: // BEST_DEAL_TEXT
189
        case 22: // BEST_DEAL_TEXT
206
          return BEST_DEAL_TEXT;
190
          return BEST_DEAL_TEXT;
207
        case 25: // BEST_DEAL_VALUE
191
        case 23: // BEST_DEAL_VALUE
208
          return BEST_DEAL_VALUE;
192
          return BEST_DEAL_VALUE;
209
        case 26: // DEALER_PRICE
-
 
210
          return DEALER_PRICE;
-
 
211
        case 27: // DEFAULT_FOR_ENTITY
193
        case 24: // DEFAULT_FOR_ENTITY
212
          return DEFAULT_FOR_ENTITY;
194
          return DEFAULT_FOR_ENTITY;
213
        case 28: // UPDATED_ON
195
        case 25: // UPDATED_ON
214
          return UPDATED_ON;
196
          return UPDATED_ON;
215
        case 29: // BEST_SELLING_RANK
197
        case 26: // BEST_SELLING_RANK
216
          return BEST_SELLING_RANK;
198
          return BEST_SELLING_RANK;
217
        case 30: // HOTSPOT_CATEGORY
-
 
218
          return HOTSPOT_CATEGORY;
-
 
219
        case 31: // RISKY
199
        case 27: // RISKY
220
          return RISKY;
200
          return RISKY;
221
        case 32: // EXPECTED_DELAY
201
        case 28: // EXPECTED_DELAY
222
          return EXPECTED_DELAY;
202
          return EXPECTED_DELAY;
223
        case 33: // PREFERRED_WAREHOUSE
203
        case 29: // PREFERRED_WAREHOUSE
224
          return PREFERRED_WAREHOUSE;
204
          return PREFERRED_WAREHOUSE;
225
        case 34: // DEFAULT_WAREHOUSE
205
        case 30: // DEFAULT_WAREHOUSE
226
          return DEFAULT_WAREHOUSE;
206
          return DEFAULT_WAREHOUSE;
227
        case 35: // IS_WAREHOUSE_PREFERENCE_STICKY
207
        case 31: // IS_WAREHOUSE_PREFERENCE_STICKY
228
          return IS_WAREHOUSE_PREFERENCE_STICKY;
208
          return IS_WAREHOUSE_PREFERENCE_STICKY;
229
        case 36: // WARRANTY_PERIOD
209
        case 32: // WARRANTY_PERIOD
230
          return WARRANTY_PERIOD;
210
          return WARRANTY_PERIOD;
231
        case 37: // PREFERRED_VENDOR
211
        case 33: // PREFERRED_VENDOR
232
          return PREFERRED_VENDOR;
212
          return PREFERRED_VENDOR;
233
        default:
213
        default:
234
          return null;
214
          return null;
235
      }
215
      }
236
    }
216
    }
Line 273... Line 253...
273
  private static final int __ID_ISSET_ID = 0;
253
  private static final int __ID_ISSET_ID = 0;
274
  private static final int __CATEGORY_ISSET_ID = 1;
254
  private static final int __CATEGORY_ISSET_ID = 1;
275
  private static final int __CATALOGITEMID_ISSET_ID = 2;
255
  private static final int __CATALOGITEMID_ISSET_ID = 2;
276
  private static final int __FEATUREID_ISSET_ID = 3;
256
  private static final int __FEATUREID_ISSET_ID = 3;
277
  private static final int __MRP_ISSET_ID = 4;
257
  private static final int __MRP_ISSET_ID = 4;
278
  private static final int __MOP_ISSET_ID = 5;
258
  private static final int __SELLINGPRICE_ISSET_ID = 5;
279
  private static final int __SELLINGPRICE_ISSET_ID = 6;
259
  private static final int __WEIGHT_ISSET_ID = 6;
280
  private static final int __TRANSFERPRICE_ISSET_ID = 7;
260
  private static final int __ADDEDON_ISSET_ID = 7;
281
  private static final int __WEIGHT_ISSET_ID = 8;
261
  private static final int __STARTDATE_ISSET_ID = 8;
282
  private static final int __ADDEDON_ISSET_ID = 9;
262
  private static final int __RETIREDATE_ISSET_ID = 9;
283
  private static final int __STARTDATE_ISSET_ID = 10;
263
  private static final int __BESTDEALVALUE_ISSET_ID = 10;
284
  private static final int __RETIREDATE_ISSET_ID = 11;
264
  private static final int __DEFAULTFORENTITY_ISSET_ID = 11;
285
  private static final int __BESTDEALVALUE_ISSET_ID = 12;
265
  private static final int __UPDATEDON_ISSET_ID = 12;
286
  private static final int __DEALERPRICE_ISSET_ID = 13;
266
  private static final int __BESTSELLINGRANK_ISSET_ID = 13;
287
  private static final int __DEFAULTFORENTITY_ISSET_ID = 14;
267
  private static final int __RISKY_ISSET_ID = 14;
288
  private static final int __UPDATEDON_ISSET_ID = 15;
268
  private static final int __EXPECTEDDELAY_ISSET_ID = 15;
289
  private static final int __BESTSELLINGRANK_ISSET_ID = 16;
269
  private static final int __PREFERREDWAREHOUSE_ISSET_ID = 16;
290
  private static final int __RISKY_ISSET_ID = 17;
-
 
291
  private static final int __EXPECTEDDELAY_ISSET_ID = 18;
270
  private static final int __DEFAULTWAREHOUSE_ISSET_ID = 17;
292
  private static final int __ISWAREHOUSEPREFERENCESTICKY_ISSET_ID = 19;
271
  private static final int __ISWAREHOUSEPREFERENCESTICKY_ISSET_ID = 18;
293
  private static final int __WARRANTYPERIOD_ISSET_ID = 20;
272
  private static final int __WARRANTYPERIOD_ISSET_ID = 19;
294
  private static final int __PREFERREDVENDOR_ISSET_ID = 21;
273
  private static final int __PREFERREDVENDOR_ISSET_ID = 20;
295
  private BitSet __isset_bit_vector = new BitSet(22);
274
  private BitSet __isset_bit_vector = new BitSet(21);
296
 
275
 
297
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
276
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
298
  static {
277
  static {
299
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
278
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
300
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
279
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 321... Line 300...
321
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
300
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
322
    tmpMap.put(_Fields.ITEM_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("itemInventory", org.apache.thrift.TFieldRequirementType.DEFAULT, 
301
    tmpMap.put(_Fields.ITEM_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("itemInventory", org.apache.thrift.TFieldRequirementType.DEFAULT, 
323
        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ItemInventory.class)));
302
        new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ItemInventory.class)));
324
    tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
303
    tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
325
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
304
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
326
    tmpMap.put(_Fields.MOP, new org.apache.thrift.meta_data.FieldMetaData("mop", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
327
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
328
    tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
305
    tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
329
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
306
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
330
    tmpMap.put(_Fields.TRANSFER_PRICE, new org.apache.thrift.meta_data.FieldMetaData("transferPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
331
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
332
    tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
307
    tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
333
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
308
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
334
    tmpMap.put(_Fields.ADDED_ON, new org.apache.thrift.meta_data.FieldMetaData("addedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
309
    tmpMap.put(_Fields.ADDED_ON, new org.apache.thrift.meta_data.FieldMetaData("addedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
335
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
310
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
336
    tmpMap.put(_Fields.START_DATE, new org.apache.thrift.meta_data.FieldMetaData("startDate", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
311
    tmpMap.put(_Fields.START_DATE, new org.apache.thrift.meta_data.FieldMetaData("startDate", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
Line 347... Line 322...
347
            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
322
            new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
348
    tmpMap.put(_Fields.BEST_DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealText", org.apache.thrift.TFieldRequirementType.DEFAULT, 
323
    tmpMap.put(_Fields.BEST_DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealText", org.apache.thrift.TFieldRequirementType.DEFAULT, 
349
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
324
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
350
    tmpMap.put(_Fields.BEST_DEAL_VALUE, new org.apache.thrift.meta_data.FieldMetaData("bestDealValue", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
325
    tmpMap.put(_Fields.BEST_DEAL_VALUE, new org.apache.thrift.meta_data.FieldMetaData("bestDealValue", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
351
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
326
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
352
    tmpMap.put(_Fields.DEALER_PRICE, new org.apache.thrift.meta_data.FieldMetaData("dealerPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
-
 
353
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
-
 
354
    tmpMap.put(_Fields.DEFAULT_FOR_ENTITY, new org.apache.thrift.meta_data.FieldMetaData("defaultForEntity", org.apache.thrift.TFieldRequirementType.DEFAULT, 
327
    tmpMap.put(_Fields.DEFAULT_FOR_ENTITY, new org.apache.thrift.meta_data.FieldMetaData("defaultForEntity", org.apache.thrift.TFieldRequirementType.DEFAULT, 
355
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
328
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
356
    tmpMap.put(_Fields.UPDATED_ON, new org.apache.thrift.meta_data.FieldMetaData("updatedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
329
    tmpMap.put(_Fields.UPDATED_ON, new org.apache.thrift.meta_data.FieldMetaData("updatedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
357
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
330
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
358
    tmpMap.put(_Fields.BEST_SELLING_RANK, new org.apache.thrift.meta_data.FieldMetaData("bestSellingRank", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
331
    tmpMap.put(_Fields.BEST_SELLING_RANK, new org.apache.thrift.meta_data.FieldMetaData("bestSellingRank", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
359
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
332
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
360
    tmpMap.put(_Fields.HOTSPOT_CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("hotspotCategory", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
361
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
362
    tmpMap.put(_Fields.RISKY, new org.apache.thrift.meta_data.FieldMetaData("risky", org.apache.thrift.TFieldRequirementType.DEFAULT, 
333
    tmpMap.put(_Fields.RISKY, new org.apache.thrift.meta_data.FieldMetaData("risky", org.apache.thrift.TFieldRequirementType.DEFAULT, 
363
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
334
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
364
    tmpMap.put(_Fields.EXPECTED_DELAY, new org.apache.thrift.meta_data.FieldMetaData("expectedDelay", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
335
    tmpMap.put(_Fields.EXPECTED_DELAY, new org.apache.thrift.meta_data.FieldMetaData("expectedDelay", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
365
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
336
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
366
    tmpMap.put(_Fields.PREFERRED_WAREHOUSE, new org.apache.thrift.meta_data.FieldMetaData("preferredWarehouse", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
337
    tmpMap.put(_Fields.PREFERRED_WAREHOUSE, new org.apache.thrift.meta_data.FieldMetaData("preferredWarehouse", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
367
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
338
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
368
    tmpMap.put(_Fields.DEFAULT_WAREHOUSE, new org.apache.thrift.meta_data.FieldMetaData("defaultWarehouse", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
339
    tmpMap.put(_Fields.DEFAULT_WAREHOUSE, new org.apache.thrift.meta_data.FieldMetaData("defaultWarehouse", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
369
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
340
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
370
    tmpMap.put(_Fields.IS_WAREHOUSE_PREFERENCE_STICKY, new org.apache.thrift.meta_data.FieldMetaData("isWarehousePreferenceSticky", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
341
    tmpMap.put(_Fields.IS_WAREHOUSE_PREFERENCE_STICKY, new org.apache.thrift.meta_data.FieldMetaData("isWarehousePreferenceSticky", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
371
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
342
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
372
    tmpMap.put(_Fields.WARRANTY_PERIOD, new org.apache.thrift.meta_data.FieldMetaData("warrantyPeriod", org.apache.thrift.TFieldRequirementType.DEFAULT, 
343
    tmpMap.put(_Fields.WARRANTY_PERIOD, new org.apache.thrift.meta_data.FieldMetaData("warrantyPeriod", org.apache.thrift.TFieldRequirementType.DEFAULT, 
373
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
344
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
374
    tmpMap.put(_Fields.PREFERRED_VENDOR, new org.apache.thrift.meta_data.FieldMetaData("preferredVendor", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
345
    tmpMap.put(_Fields.PREFERRED_VENDOR, new org.apache.thrift.meta_data.FieldMetaData("preferredVendor", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
Line 398... Line 369...
398
    String status_description,
369
    String status_description,
399
    Map<String,String> otherInfo,
370
    Map<String,String> otherInfo,
400
    String bestDealText,
371
    String bestDealText,
401
    boolean defaultForEntity,
372
    boolean defaultForEntity,
402
    long updatedOn,
373
    long updatedOn,
403
    String hotspotCategory,
-
 
404
    boolean risky,
374
    boolean risky,
405
    int warrantyPeriod)
375
    int warrantyPeriod)
406
  {
376
  {
407
    this();
377
    this();
408
    this.id = id;
378
    this.id = id;
Line 429... Line 399...
429
    this.bestDealText = bestDealText;
399
    this.bestDealText = bestDealText;
430
    this.defaultForEntity = defaultForEntity;
400
    this.defaultForEntity = defaultForEntity;
431
    setDefaultForEntityIsSet(true);
401
    setDefaultForEntityIsSet(true);
432
    this.updatedOn = updatedOn;
402
    this.updatedOn = updatedOn;
433
    setUpdatedOnIsSet(true);
403
    setUpdatedOnIsSet(true);
434
    this.hotspotCategory = hotspotCategory;
-
 
435
    this.risky = risky;
404
    this.risky = risky;
436
    setRiskyIsSet(true);
405
    setRiskyIsSet(true);
437
    this.warrantyPeriod = warrantyPeriod;
406
    this.warrantyPeriod = warrantyPeriod;
438
    setWarrantyPeriodIsSet(true);
407
    setWarrantyPeriodIsSet(true);
439
  }
408
  }
Line 471... Line 440...
471
    }
440
    }
472
    if (other.isSetItemInventory()) {
441
    if (other.isSetItemInventory()) {
473
      this.itemInventory = new ItemInventory(other.itemInventory);
442
      this.itemInventory = new ItemInventory(other.itemInventory);
474
    }
443
    }
475
    this.mrp = other.mrp;
444
    this.mrp = other.mrp;
476
    this.mop = other.mop;
-
 
477
    this.sellingPrice = other.sellingPrice;
445
    this.sellingPrice = other.sellingPrice;
478
    this.transferPrice = other.transferPrice;
-
 
479
    this.weight = other.weight;
446
    this.weight = other.weight;
480
    this.addedOn = other.addedOn;
447
    this.addedOn = other.addedOn;
481
    this.startDate = other.startDate;
448
    this.startDate = other.startDate;
482
    this.retireDate = other.retireDate;
449
    this.retireDate = other.retireDate;
483
    if (other.isSetItemStatus()) {
450
    if (other.isSetItemStatus()) {
Line 503... Line 470...
503
    }
470
    }
504
    if (other.isSetBestDealText()) {
471
    if (other.isSetBestDealText()) {
505
      this.bestDealText = other.bestDealText;
472
      this.bestDealText = other.bestDealText;
506
    }
473
    }
507
    this.bestDealValue = other.bestDealValue;
474
    this.bestDealValue = other.bestDealValue;
508
    this.dealerPrice = other.dealerPrice;
-
 
509
    this.defaultForEntity = other.defaultForEntity;
475
    this.defaultForEntity = other.defaultForEntity;
510
    this.updatedOn = other.updatedOn;
476
    this.updatedOn = other.updatedOn;
511
    this.bestSellingRank = other.bestSellingRank;
477
    this.bestSellingRank = other.bestSellingRank;
512
    if (other.isSetHotspotCategory()) {
-
 
513
      this.hotspotCategory = other.hotspotCategory;
-
 
514
    }
-
 
515
    this.risky = other.risky;
478
    this.risky = other.risky;
516
    this.expectedDelay = other.expectedDelay;
479
    this.expectedDelay = other.expectedDelay;
517
    if (other.isSetPreferredWarehouse()) {
-
 
518
      this.preferredWarehouse = other.preferredWarehouse;
480
    this.preferredWarehouse = other.preferredWarehouse;
519
    }
-
 
520
    if (other.isSetDefaultWarehouse()) {
-
 
521
      this.defaultWarehouse = other.defaultWarehouse;
481
    this.defaultWarehouse = other.defaultWarehouse;
522
    }
-
 
523
    this.isWarehousePreferenceSticky = other.isWarehousePreferenceSticky;
482
    this.isWarehousePreferenceSticky = other.isWarehousePreferenceSticky;
524
    this.warrantyPeriod = other.warrantyPeriod;
483
    this.warrantyPeriod = other.warrantyPeriod;
525
    this.preferredVendor = other.preferredVendor;
484
    this.preferredVendor = other.preferredVendor;
526
  }
485
  }
527
 
486
 
Line 547... Line 506...
547
    this.featureId = 0;
506
    this.featureId = 0;
548
    this.featureDescription = null;
507
    this.featureDescription = null;
549
    this.itemInventory = null;
508
    this.itemInventory = null;
550
    setMrpIsSet(false);
509
    setMrpIsSet(false);
551
    this.mrp = 0.0;
510
    this.mrp = 0.0;
552
    setMopIsSet(false);
-
 
553
    this.mop = 0.0;
-
 
554
    setSellingPriceIsSet(false);
511
    setSellingPriceIsSet(false);
555
    this.sellingPrice = 0.0;
512
    this.sellingPrice = 0.0;
556
    setTransferPriceIsSet(false);
-
 
557
    this.transferPrice = 0.0;
-
 
558
    setWeightIsSet(false);
513
    setWeightIsSet(false);
559
    this.weight = 0.0;
514
    this.weight = 0.0;
560
    setAddedOnIsSet(false);
515
    setAddedOnIsSet(false);
561
    this.addedOn = 0;
516
    this.addedOn = 0;
562
    setStartDateIsSet(false);
517
    setStartDateIsSet(false);
Line 567... Line 522...
567
    this.status_description = null;
522
    this.status_description = null;
568
    this.otherInfo = null;
523
    this.otherInfo = null;
569
    this.bestDealText = null;
524
    this.bestDealText = null;
570
    setBestDealValueIsSet(false);
525
    setBestDealValueIsSet(false);
571
    this.bestDealValue = 0.0;
526
    this.bestDealValue = 0.0;
572
    setDealerPriceIsSet(false);
-
 
573
    this.dealerPrice = 0.0;
-
 
574
    setDefaultForEntityIsSet(false);
527
    setDefaultForEntityIsSet(false);
575
    this.defaultForEntity = false;
528
    this.defaultForEntity = false;
576
    setUpdatedOnIsSet(false);
529
    setUpdatedOnIsSet(false);
577
    this.updatedOn = 0;
530
    this.updatedOn = 0;
578
    setBestSellingRankIsSet(false);
531
    setBestSellingRankIsSet(false);
579
    this.bestSellingRank = 0;
532
    this.bestSellingRank = 0;
580
    this.hotspotCategory = null;
-
 
581
    setRiskyIsSet(false);
533
    setRiskyIsSet(false);
582
    this.risky = false;
534
    this.risky = false;
583
    setExpectedDelayIsSet(false);
535
    setExpectedDelayIsSet(false);
584
    this.expectedDelay = 0;
536
    this.expectedDelay = 0;
-
 
537
    setPreferredWarehouseIsSet(false);
585
    this.preferredWarehouse = null;
538
    this.preferredWarehouse = 0;
-
 
539
    setDefaultWarehouseIsSet(false);
586
    this.defaultWarehouse = null;
540
    this.defaultWarehouse = 0;
587
    setIsWarehousePreferenceStickyIsSet(false);
541
    setIsWarehousePreferenceStickyIsSet(false);
588
    this.isWarehousePreferenceSticky = false;
542
    this.isWarehousePreferenceSticky = false;
589
    setWarrantyPeriodIsSet(false);
543
    setWarrantyPeriodIsSet(false);
590
    this.warrantyPeriod = 0;
544
    this.warrantyPeriod = 0;
591
    setPreferredVendorIsSet(false);
545
    setPreferredVendorIsSet(false);
Line 884... Line 838...
884
 
838
 
885
  public void setMrpIsSet(boolean value) {
839
  public void setMrpIsSet(boolean value) {
886
    __isset_bit_vector.set(__MRP_ISSET_ID, value);
840
    __isset_bit_vector.set(__MRP_ISSET_ID, value);
887
  }
841
  }
888
 
842
 
889
  public double getMop() {
-
 
890
    return this.mop;
-
 
891
  }
-
 
892
 
-
 
893
  public void setMop(double mop) {
-
 
894
    this.mop = mop;
-
 
895
    setMopIsSet(true);
-
 
896
  }
-
 
897
 
-
 
898
  public void unsetMop() {
-
 
899
    __isset_bit_vector.clear(__MOP_ISSET_ID);
-
 
900
  }
-
 
901
 
-
 
902
  /** Returns true if field mop is set (has been assigned a value) and false otherwise */
-
 
903
  public boolean isSetMop() {
-
 
904
    return __isset_bit_vector.get(__MOP_ISSET_ID);
-
 
905
  }
-
 
906
 
-
 
907
  public void setMopIsSet(boolean value) {
-
 
908
    __isset_bit_vector.set(__MOP_ISSET_ID, value);
-
 
909
  }
-
 
910
 
-
 
911
  public double getSellingPrice() {
843
  public double getSellingPrice() {
912
    return this.sellingPrice;
844
    return this.sellingPrice;
913
  }
845
  }
914
 
846
 
915
  public void setSellingPrice(double sellingPrice) {
847
  public void setSellingPrice(double sellingPrice) {
Line 928... Line 860...
928
 
860
 
929
  public void setSellingPriceIsSet(boolean value) {
861
  public void setSellingPriceIsSet(boolean value) {
930
    __isset_bit_vector.set(__SELLINGPRICE_ISSET_ID, value);
862
    __isset_bit_vector.set(__SELLINGPRICE_ISSET_ID, value);
931
  }
863
  }
932
 
864
 
933
  public double getTransferPrice() {
-
 
934
    return this.transferPrice;
-
 
935
  }
-
 
936
 
-
 
937
  public void setTransferPrice(double transferPrice) {
-
 
938
    this.transferPrice = transferPrice;
-
 
939
    setTransferPriceIsSet(true);
-
 
940
  }
-
 
941
 
-
 
942
  public void unsetTransferPrice() {
-
 
943
    __isset_bit_vector.clear(__TRANSFERPRICE_ISSET_ID);
-
 
944
  }
-
 
945
 
-
 
946
  /** Returns true if field transferPrice is set (has been assigned a value) and false otherwise */
-
 
947
  public boolean isSetTransferPrice() {
-
 
948
    return __isset_bit_vector.get(__TRANSFERPRICE_ISSET_ID);
-
 
949
  }
-
 
950
 
-
 
951
  public void setTransferPriceIsSet(boolean value) {
-
 
952
    __isset_bit_vector.set(__TRANSFERPRICE_ISSET_ID, value);
-
 
953
  }
-
 
954
 
-
 
955
  public double getWeight() {
865
  public double getWeight() {
956
    return this.weight;
866
    return this.weight;
957
  }
867
  }
958
 
868
 
959
  public void setWeight(double weight) {
869
  public void setWeight(double weight) {
Line 1171... Line 1081...
1171
 
1081
 
1172
  public void setBestDealValueIsSet(boolean value) {
1082
  public void setBestDealValueIsSet(boolean value) {
1173
    __isset_bit_vector.set(__BESTDEALVALUE_ISSET_ID, value);
1083
    __isset_bit_vector.set(__BESTDEALVALUE_ISSET_ID, value);
1174
  }
1084
  }
1175
 
1085
 
1176
  public double getDealerPrice() {
-
 
1177
    return this.dealerPrice;
-
 
1178
  }
-
 
1179
 
-
 
1180
  public void setDealerPrice(double dealerPrice) {
-
 
1181
    this.dealerPrice = dealerPrice;
-
 
1182
    setDealerPriceIsSet(true);
-
 
1183
  }
-
 
1184
 
-
 
1185
  public void unsetDealerPrice() {
-
 
1186
    __isset_bit_vector.clear(__DEALERPRICE_ISSET_ID);
-
 
1187
  }
-
 
1188
 
-
 
1189
  /** Returns true if field dealerPrice is set (has been assigned a value) and false otherwise */
-
 
1190
  public boolean isSetDealerPrice() {
-
 
1191
    return __isset_bit_vector.get(__DEALERPRICE_ISSET_ID);
-
 
1192
  }
-
 
1193
 
-
 
1194
  public void setDealerPriceIsSet(boolean value) {
-
 
1195
    __isset_bit_vector.set(__DEALERPRICE_ISSET_ID, value);
-
 
1196
  }
-
 
1197
 
-
 
1198
  public boolean isDefaultForEntity() {
1086
  public boolean isDefaultForEntity() {
1199
    return this.defaultForEntity;
1087
    return this.defaultForEntity;
1200
  }
1088
  }
1201
 
1089
 
1202
  public void setDefaultForEntity(boolean defaultForEntity) {
1090
  public void setDefaultForEntity(boolean defaultForEntity) {
Line 1259... Line 1147...
1259
 
1147
 
1260
  public void setBestSellingRankIsSet(boolean value) {
1148
  public void setBestSellingRankIsSet(boolean value) {
1261
    __isset_bit_vector.set(__BESTSELLINGRANK_ISSET_ID, value);
1149
    __isset_bit_vector.set(__BESTSELLINGRANK_ISSET_ID, value);
1262
  }
1150
  }
1263
 
1151
 
1264
  public String getHotspotCategory() {
-
 
1265
    return this.hotspotCategory;
-
 
1266
  }
-
 
1267
 
-
 
1268
  public void setHotspotCategory(String hotspotCategory) {
-
 
1269
    this.hotspotCategory = hotspotCategory;
-
 
1270
  }
-
 
1271
 
-
 
1272
  public void unsetHotspotCategory() {
-
 
1273
    this.hotspotCategory = null;
-
 
1274
  }
-
 
1275
 
-
 
1276
  /** Returns true if field hotspotCategory is set (has been assigned a value) and false otherwise */
-
 
1277
  public boolean isSetHotspotCategory() {
-
 
1278
    return this.hotspotCategory != null;
-
 
1279
  }
-
 
1280
 
-
 
1281
  public void setHotspotCategoryIsSet(boolean value) {
-
 
1282
    if (!value) {
-
 
1283
      this.hotspotCategory = null;
-
 
1284
    }
-
 
1285
  }
-
 
1286
 
-
 
1287
  public boolean isRisky() {
1152
  public boolean isRisky() {
1288
    return this.risky;
1153
    return this.risky;
1289
  }
1154
  }
1290
 
1155
 
1291
  public void setRisky(boolean risky) {
1156
  public void setRisky(boolean risky) {
Line 1326... Line 1191...
1326
 
1191
 
1327
  public void setExpectedDelayIsSet(boolean value) {
1192
  public void setExpectedDelayIsSet(boolean value) {
1328
    __isset_bit_vector.set(__EXPECTEDDELAY_ISSET_ID, value);
1193
    __isset_bit_vector.set(__EXPECTEDDELAY_ISSET_ID, value);
1329
  }
1194
  }
1330
 
1195
 
1331
  public String getPreferredWarehouse() {
1196
  public long getPreferredWarehouse() {
1332
    return this.preferredWarehouse;
1197
    return this.preferredWarehouse;
1333
  }
1198
  }
1334
 
1199
 
1335
  public void setPreferredWarehouse(String preferredWarehouse) {
1200
  public void setPreferredWarehouse(long preferredWarehouse) {
1336
    this.preferredWarehouse = preferredWarehouse;
1201
    this.preferredWarehouse = preferredWarehouse;
-
 
1202
    setPreferredWarehouseIsSet(true);
1337
  }
1203
  }
1338
 
1204
 
1339
  public void unsetPreferredWarehouse() {
1205
  public void unsetPreferredWarehouse() {
1340
    this.preferredWarehouse = null;
1206
    __isset_bit_vector.clear(__PREFERREDWAREHOUSE_ISSET_ID);
1341
  }
1207
  }
1342
 
1208
 
1343
  /** Returns true if field preferredWarehouse is set (has been assigned a value) and false otherwise */
1209
  /** Returns true if field preferredWarehouse is set (has been assigned a value) and false otherwise */
1344
  public boolean isSetPreferredWarehouse() {
1210
  public boolean isSetPreferredWarehouse() {
1345
    return this.preferredWarehouse != null;
1211
    return __isset_bit_vector.get(__PREFERREDWAREHOUSE_ISSET_ID);
1346
  }
1212
  }
1347
 
1213
 
1348
  public void setPreferredWarehouseIsSet(boolean value) {
1214
  public void setPreferredWarehouseIsSet(boolean value) {
1349
    if (!value) {
-
 
1350
      this.preferredWarehouse = null;
1215
    __isset_bit_vector.set(__PREFERREDWAREHOUSE_ISSET_ID, value);
1351
    }
-
 
1352
  }
1216
  }
1353
 
1217
 
1354
  public String getDefaultWarehouse() {
1218
  public long getDefaultWarehouse() {
1355
    return this.defaultWarehouse;
1219
    return this.defaultWarehouse;
1356
  }
1220
  }
1357
 
1221
 
1358
  public void setDefaultWarehouse(String defaultWarehouse) {
1222
  public void setDefaultWarehouse(long defaultWarehouse) {
1359
    this.defaultWarehouse = defaultWarehouse;
1223
    this.defaultWarehouse = defaultWarehouse;
-
 
1224
    setDefaultWarehouseIsSet(true);
1360
  }
1225
  }
1361
 
1226
 
1362
  public void unsetDefaultWarehouse() {
1227
  public void unsetDefaultWarehouse() {
1363
    this.defaultWarehouse = null;
1228
    __isset_bit_vector.clear(__DEFAULTWAREHOUSE_ISSET_ID);
1364
  }
1229
  }
1365
 
1230
 
1366
  /** Returns true if field defaultWarehouse is set (has been assigned a value) and false otherwise */
1231
  /** Returns true if field defaultWarehouse is set (has been assigned a value) and false otherwise */
1367
  public boolean isSetDefaultWarehouse() {
1232
  public boolean isSetDefaultWarehouse() {
1368
    return this.defaultWarehouse != null;
1233
    return __isset_bit_vector.get(__DEFAULTWAREHOUSE_ISSET_ID);
1369
  }
1234
  }
1370
 
1235
 
1371
  public void setDefaultWarehouseIsSet(boolean value) {
1236
  public void setDefaultWarehouseIsSet(boolean value) {
1372
    if (!value) {
-
 
1373
      this.defaultWarehouse = null;
1237
    __isset_bit_vector.set(__DEFAULTWAREHOUSE_ISSET_ID, value);
1374
    }
-
 
1375
  }
1238
  }
1376
 
1239
 
1377
  public boolean isIsWarehousePreferenceSticky() {
1240
  public boolean isIsWarehousePreferenceSticky() {
1378
    return this.isWarehousePreferenceSticky;
1241
    return this.isWarehousePreferenceSticky;
1379
  }
1242
  }
Line 1544... Line 1407...
1544
      } else {
1407
      } else {
1545
        setMrp((Double)value);
1408
        setMrp((Double)value);
1546
      }
1409
      }
1547
      break;
1410
      break;
1548
 
1411
 
1549
    case MOP:
-
 
1550
      if (value == null) {
-
 
1551
        unsetMop();
-
 
1552
      } else {
-
 
1553
        setMop((Double)value);
-
 
1554
      }
-
 
1555
      break;
-
 
1556
 
-
 
1557
    case SELLING_PRICE:
1412
    case SELLING_PRICE:
1558
      if (value == null) {
1413
      if (value == null) {
1559
        unsetSellingPrice();
1414
        unsetSellingPrice();
1560
      } else {
1415
      } else {
1561
        setSellingPrice((Double)value);
1416
        setSellingPrice((Double)value);
1562
      }
1417
      }
1563
      break;
1418
      break;
1564
 
1419
 
1565
    case TRANSFER_PRICE:
-
 
1566
      if (value == null) {
-
 
1567
        unsetTransferPrice();
-
 
1568
      } else {
-
 
1569
        setTransferPrice((Double)value);
-
 
1570
      }
-
 
1571
      break;
-
 
1572
 
-
 
1573
    case WEIGHT:
1420
    case WEIGHT:
1574
      if (value == null) {
1421
      if (value == null) {
1575
        unsetWeight();
1422
        unsetWeight();
1576
      } else {
1423
      } else {
1577
        setWeight((Double)value);
1424
        setWeight((Double)value);
Line 1640... Line 1487...
1640
      } else {
1487
      } else {
1641
        setBestDealValue((Double)value);
1488
        setBestDealValue((Double)value);
1642
      }
1489
      }
1643
      break;
1490
      break;
1644
 
1491
 
1645
    case DEALER_PRICE:
-
 
1646
      if (value == null) {
-
 
1647
        unsetDealerPrice();
-
 
1648
      } else {
-
 
1649
        setDealerPrice((Double)value);
-
 
1650
      }
-
 
1651
      break;
-
 
1652
 
-
 
1653
    case DEFAULT_FOR_ENTITY:
1492
    case DEFAULT_FOR_ENTITY:
1654
      if (value == null) {
1493
      if (value == null) {
1655
        unsetDefaultForEntity();
1494
        unsetDefaultForEntity();
1656
      } else {
1495
      } else {
1657
        setDefaultForEntity((Boolean)value);
1496
        setDefaultForEntity((Boolean)value);
Line 1672... Line 1511...
1672
      } else {
1511
      } else {
1673
        setBestSellingRank((Long)value);
1512
        setBestSellingRank((Long)value);
1674
      }
1513
      }
1675
      break;
1514
      break;
1676
 
1515
 
1677
    case HOTSPOT_CATEGORY:
-
 
1678
      if (value == null) {
-
 
1679
        unsetHotspotCategory();
-
 
1680
      } else {
-
 
1681
        setHotspotCategory((String)value);
-
 
1682
      }
-
 
1683
      break;
-
 
1684
 
-
 
1685
    case RISKY:
1516
    case RISKY:
1686
      if (value == null) {
1517
      if (value == null) {
1687
        unsetRisky();
1518
        unsetRisky();
1688
      } else {
1519
      } else {
1689
        setRisky((Boolean)value);
1520
        setRisky((Boolean)value);
Line 1700... Line 1531...
1700
 
1531
 
1701
    case PREFERRED_WAREHOUSE:
1532
    case PREFERRED_WAREHOUSE:
1702
      if (value == null) {
1533
      if (value == null) {
1703
        unsetPreferredWarehouse();
1534
        unsetPreferredWarehouse();
1704
      } else {
1535
      } else {
1705
        setPreferredWarehouse((String)value);
1536
        setPreferredWarehouse((Long)value);
1706
      }
1537
      }
1707
      break;
1538
      break;
1708
 
1539
 
1709
    case DEFAULT_WAREHOUSE:
1540
    case DEFAULT_WAREHOUSE:
1710
      if (value == null) {
1541
      if (value == null) {
1711
        unsetDefaultWarehouse();
1542
        unsetDefaultWarehouse();
1712
      } else {
1543
      } else {
1713
        setDefaultWarehouse((String)value);
1544
        setDefaultWarehouse((Long)value);
1714
      }
1545
      }
1715
      break;
1546
      break;
1716
 
1547
 
1717
    case IS_WAREHOUSE_PREFERENCE_STICKY:
1548
    case IS_WAREHOUSE_PREFERENCE_STICKY:
1718
      if (value == null) {
1549
      if (value == null) {
Line 1780... Line 1611...
1780
      return getItemInventory();
1611
      return getItemInventory();
1781
 
1612
 
1782
    case MRP:
1613
    case MRP:
1783
      return Double.valueOf(getMrp());
1614
      return Double.valueOf(getMrp());
1784
 
1615
 
1785
    case MOP:
-
 
1786
      return Double.valueOf(getMop());
-
 
1787
 
-
 
1788
    case SELLING_PRICE:
1616
    case SELLING_PRICE:
1789
      return Double.valueOf(getSellingPrice());
1617
      return Double.valueOf(getSellingPrice());
1790
 
1618
 
1791
    case TRANSFER_PRICE:
-
 
1792
      return Double.valueOf(getTransferPrice());
-
 
1793
 
-
 
1794
    case WEIGHT:
1619
    case WEIGHT:
1795
      return Double.valueOf(getWeight());
1620
      return Double.valueOf(getWeight());
1796
 
1621
 
1797
    case ADDED_ON:
1622
    case ADDED_ON:
1798
      return Long.valueOf(getAddedOn());
1623
      return Long.valueOf(getAddedOn());
Line 1816... Line 1641...
1816
      return getBestDealText();
1641
      return getBestDealText();
1817
 
1642
 
1818
    case BEST_DEAL_VALUE:
1643
    case BEST_DEAL_VALUE:
1819
      return Double.valueOf(getBestDealValue());
1644
      return Double.valueOf(getBestDealValue());
1820
 
1645
 
1821
    case DEALER_PRICE:
-
 
1822
      return Double.valueOf(getDealerPrice());
-
 
1823
 
-
 
1824
    case DEFAULT_FOR_ENTITY:
1646
    case DEFAULT_FOR_ENTITY:
1825
      return Boolean.valueOf(isDefaultForEntity());
1647
      return Boolean.valueOf(isDefaultForEntity());
1826
 
1648
 
1827
    case UPDATED_ON:
1649
    case UPDATED_ON:
1828
      return Long.valueOf(getUpdatedOn());
1650
      return Long.valueOf(getUpdatedOn());
1829
 
1651
 
1830
    case BEST_SELLING_RANK:
1652
    case BEST_SELLING_RANK:
1831
      return Long.valueOf(getBestSellingRank());
1653
      return Long.valueOf(getBestSellingRank());
1832
 
1654
 
1833
    case HOTSPOT_CATEGORY:
-
 
1834
      return getHotspotCategory();
-
 
1835
 
-
 
1836
    case RISKY:
1655
    case RISKY:
1837
      return Boolean.valueOf(isRisky());
1656
      return Boolean.valueOf(isRisky());
1838
 
1657
 
1839
    case EXPECTED_DELAY:
1658
    case EXPECTED_DELAY:
1840
      return Integer.valueOf(getExpectedDelay());
1659
      return Integer.valueOf(getExpectedDelay());
1841
 
1660
 
1842
    case PREFERRED_WAREHOUSE:
1661
    case PREFERRED_WAREHOUSE:
1843
      return getPreferredWarehouse();
1662
      return Long.valueOf(getPreferredWarehouse());
1844
 
1663
 
1845
    case DEFAULT_WAREHOUSE:
1664
    case DEFAULT_WAREHOUSE:
1846
      return getDefaultWarehouse();
1665
      return Long.valueOf(getDefaultWarehouse());
1847
 
1666
 
1848
    case IS_WAREHOUSE_PREFERENCE_STICKY:
1667
    case IS_WAREHOUSE_PREFERENCE_STICKY:
1849
      return Boolean.valueOf(isIsWarehousePreferenceSticky());
1668
      return Boolean.valueOf(isIsWarehousePreferenceSticky());
1850
 
1669
 
1851
    case WARRANTY_PERIOD:
1670
    case WARRANTY_PERIOD:
Line 1889... Line 1708...
1889
      return isSetFeatureDescription();
1708
      return isSetFeatureDescription();
1890
    case ITEM_INVENTORY:
1709
    case ITEM_INVENTORY:
1891
      return isSetItemInventory();
1710
      return isSetItemInventory();
1892
    case MRP:
1711
    case MRP:
1893
      return isSetMrp();
1712
      return isSetMrp();
1894
    case MOP:
-
 
1895
      return isSetMop();
-
 
1896
    case SELLING_PRICE:
1713
    case SELLING_PRICE:
1897
      return isSetSellingPrice();
1714
      return isSetSellingPrice();
1898
    case TRANSFER_PRICE:
-
 
1899
      return isSetTransferPrice();
-
 
1900
    case WEIGHT:
1715
    case WEIGHT:
1901
      return isSetWeight();
1716
      return isSetWeight();
1902
    case ADDED_ON:
1717
    case ADDED_ON:
1903
      return isSetAddedOn();
1718
      return isSetAddedOn();
1904
    case START_DATE:
1719
    case START_DATE:
Line 1913... Line 1728...
1913
      return isSetOtherInfo();
1728
      return isSetOtherInfo();
1914
    case BEST_DEAL_TEXT:
1729
    case BEST_DEAL_TEXT:
1915
      return isSetBestDealText();
1730
      return isSetBestDealText();
1916
    case BEST_DEAL_VALUE:
1731
    case BEST_DEAL_VALUE:
1917
      return isSetBestDealValue();
1732
      return isSetBestDealValue();
1918
    case DEALER_PRICE:
-
 
1919
      return isSetDealerPrice();
-
 
1920
    case DEFAULT_FOR_ENTITY:
1733
    case DEFAULT_FOR_ENTITY:
1921
      return isSetDefaultForEntity();
1734
      return isSetDefaultForEntity();
1922
    case UPDATED_ON:
1735
    case UPDATED_ON:
1923
      return isSetUpdatedOn();
1736
      return isSetUpdatedOn();
1924
    case BEST_SELLING_RANK:
1737
    case BEST_SELLING_RANK:
1925
      return isSetBestSellingRank();
1738
      return isSetBestSellingRank();
1926
    case HOTSPOT_CATEGORY:
-
 
1927
      return isSetHotspotCategory();
-
 
1928
    case RISKY:
1739
    case RISKY:
1929
      return isSetRisky();
1740
      return isSetRisky();
1930
    case EXPECTED_DELAY:
1741
    case EXPECTED_DELAY:
1931
      return isSetExpectedDelay();
1742
      return isSetExpectedDelay();
1932
    case PREFERRED_WAREHOUSE:
1743
    case PREFERRED_WAREHOUSE:
Line 2071... Line 1882...
2071
        return false;
1882
        return false;
2072
      if (this.mrp != that.mrp)
1883
      if (this.mrp != that.mrp)
2073
        return false;
1884
        return false;
2074
    }
1885
    }
2075
 
1886
 
2076
    boolean this_present_mop = true && this.isSetMop();
-
 
2077
    boolean that_present_mop = true && that.isSetMop();
-
 
2078
    if (this_present_mop || that_present_mop) {
-
 
2079
      if (!(this_present_mop && that_present_mop))
-
 
2080
        return false;
-
 
2081
      if (this.mop != that.mop)
-
 
2082
        return false;
-
 
2083
    }
-
 
2084
 
-
 
2085
    boolean this_present_sellingPrice = true && this.isSetSellingPrice();
1887
    boolean this_present_sellingPrice = true && this.isSetSellingPrice();
2086
    boolean that_present_sellingPrice = true && that.isSetSellingPrice();
1888
    boolean that_present_sellingPrice = true && that.isSetSellingPrice();
2087
    if (this_present_sellingPrice || that_present_sellingPrice) {
1889
    if (this_present_sellingPrice || that_present_sellingPrice) {
2088
      if (!(this_present_sellingPrice && that_present_sellingPrice))
1890
      if (!(this_present_sellingPrice && that_present_sellingPrice))
2089
        return false;
1891
        return false;
2090
      if (this.sellingPrice != that.sellingPrice)
1892
      if (this.sellingPrice != that.sellingPrice)
2091
        return false;
1893
        return false;
2092
    }
1894
    }
2093
 
1895
 
2094
    boolean this_present_transferPrice = true && this.isSetTransferPrice();
-
 
2095
    boolean that_present_transferPrice = true && that.isSetTransferPrice();
-
 
2096
    if (this_present_transferPrice || that_present_transferPrice) {
-
 
2097
      if (!(this_present_transferPrice && that_present_transferPrice))
-
 
2098
        return false;
-
 
2099
      if (this.transferPrice != that.transferPrice)
-
 
2100
        return false;
-
 
2101
    }
-
 
2102
 
-
 
2103
    boolean this_present_weight = true && this.isSetWeight();
1896
    boolean this_present_weight = true && this.isSetWeight();
2104
    boolean that_present_weight = true && that.isSetWeight();
1897
    boolean that_present_weight = true && that.isSetWeight();
2105
    if (this_present_weight || that_present_weight) {
1898
    if (this_present_weight || that_present_weight) {
2106
      if (!(this_present_weight && that_present_weight))
1899
      if (!(this_present_weight && that_present_weight))
2107
        return false;
1900
        return false;
Line 2179... Line 1972...
2179
        return false;
1972
        return false;
2180
      if (this.bestDealValue != that.bestDealValue)
1973
      if (this.bestDealValue != that.bestDealValue)
2181
        return false;
1974
        return false;
2182
    }
1975
    }
2183
 
1976
 
2184
    boolean this_present_dealerPrice = true && this.isSetDealerPrice();
-
 
2185
    boolean that_present_dealerPrice = true && that.isSetDealerPrice();
-
 
2186
    if (this_present_dealerPrice || that_present_dealerPrice) {
-
 
2187
      if (!(this_present_dealerPrice && that_present_dealerPrice))
-
 
2188
        return false;
-
 
2189
      if (this.dealerPrice != that.dealerPrice)
-
 
2190
        return false;
-
 
2191
    }
-
 
2192
 
-
 
2193
    boolean this_present_defaultForEntity = true;
1977
    boolean this_present_defaultForEntity = true;
2194
    boolean that_present_defaultForEntity = true;
1978
    boolean that_present_defaultForEntity = true;
2195
    if (this_present_defaultForEntity || that_present_defaultForEntity) {
1979
    if (this_present_defaultForEntity || that_present_defaultForEntity) {
2196
      if (!(this_present_defaultForEntity && that_present_defaultForEntity))
1980
      if (!(this_present_defaultForEntity && that_present_defaultForEntity))
2197
        return false;
1981
        return false;
Line 2215... Line 1999...
2215
        return false;
1999
        return false;
2216
      if (this.bestSellingRank != that.bestSellingRank)
2000
      if (this.bestSellingRank != that.bestSellingRank)
2217
        return false;
2001
        return false;
2218
    }
2002
    }
2219
 
2003
 
2220
    boolean this_present_hotspotCategory = true && this.isSetHotspotCategory();
-
 
2221
    boolean that_present_hotspotCategory = true && that.isSetHotspotCategory();
-
 
2222
    if (this_present_hotspotCategory || that_present_hotspotCategory) {
-
 
2223
      if (!(this_present_hotspotCategory && that_present_hotspotCategory))
-
 
2224
        return false;
-
 
2225
      if (!this.hotspotCategory.equals(that.hotspotCategory))
-
 
2226
        return false;
-
 
2227
    }
-
 
2228
 
-
 
2229
    boolean this_present_risky = true;
2004
    boolean this_present_risky = true;
2230
    boolean that_present_risky = true;
2005
    boolean that_present_risky = true;
2231
    if (this_present_risky || that_present_risky) {
2006
    if (this_present_risky || that_present_risky) {
2232
      if (!(this_present_risky && that_present_risky))
2007
      if (!(this_present_risky && that_present_risky))
2233
        return false;
2008
        return false;
Line 2247... Line 2022...
2247
    boolean this_present_preferredWarehouse = true && this.isSetPreferredWarehouse();
2022
    boolean this_present_preferredWarehouse = true && this.isSetPreferredWarehouse();
2248
    boolean that_present_preferredWarehouse = true && that.isSetPreferredWarehouse();
2023
    boolean that_present_preferredWarehouse = true && that.isSetPreferredWarehouse();
2249
    if (this_present_preferredWarehouse || that_present_preferredWarehouse) {
2024
    if (this_present_preferredWarehouse || that_present_preferredWarehouse) {
2250
      if (!(this_present_preferredWarehouse && that_present_preferredWarehouse))
2025
      if (!(this_present_preferredWarehouse && that_present_preferredWarehouse))
2251
        return false;
2026
        return false;
2252
      if (!this.preferredWarehouse.equals(that.preferredWarehouse))
2027
      if (this.preferredWarehouse != that.preferredWarehouse)
2253
        return false;
2028
        return false;
2254
    }
2029
    }
2255
 
2030
 
2256
    boolean this_present_defaultWarehouse = true && this.isSetDefaultWarehouse();
2031
    boolean this_present_defaultWarehouse = true && this.isSetDefaultWarehouse();
2257
    boolean that_present_defaultWarehouse = true && that.isSetDefaultWarehouse();
2032
    boolean that_present_defaultWarehouse = true && that.isSetDefaultWarehouse();
2258
    if (this_present_defaultWarehouse || that_present_defaultWarehouse) {
2033
    if (this_present_defaultWarehouse || that_present_defaultWarehouse) {
2259
      if (!(this_present_defaultWarehouse && that_present_defaultWarehouse))
2034
      if (!(this_present_defaultWarehouse && that_present_defaultWarehouse))
2260
        return false;
2035
        return false;
2261
      if (!this.defaultWarehouse.equals(that.defaultWarehouse))
2036
      if (this.defaultWarehouse != that.defaultWarehouse)
2262
        return false;
2037
        return false;
2263
    }
2038
    }
2264
 
2039
 
2265
    boolean this_present_isWarehousePreferenceSticky = true && this.isSetIsWarehousePreferenceSticky();
2040
    boolean this_present_isWarehousePreferenceSticky = true && this.isSetIsWarehousePreferenceSticky();
2266
    boolean that_present_isWarehousePreferenceSticky = true && that.isSetIsWarehousePreferenceSticky();
2041
    boolean that_present_isWarehousePreferenceSticky = true && that.isSetIsWarehousePreferenceSticky();
Line 2433... Line 2208...
2433
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mrp, typedOther.mrp);
2208
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mrp, typedOther.mrp);
2434
      if (lastComparison != 0) {
2209
      if (lastComparison != 0) {
2435
        return lastComparison;
2210
        return lastComparison;
2436
      }
2211
      }
2437
    }
2212
    }
2438
    lastComparison = Boolean.valueOf(isSetMop()).compareTo(typedOther.isSetMop());
-
 
2439
    if (lastComparison != 0) {
-
 
2440
      return lastComparison;
-
 
2441
    }
-
 
2442
    if (isSetMop()) {
-
 
2443
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mop, typedOther.mop);
-
 
2444
      if (lastComparison != 0) {
-
 
2445
        return lastComparison;
-
 
2446
      }
-
 
2447
    }
-
 
2448
    lastComparison = Boolean.valueOf(isSetSellingPrice()).compareTo(typedOther.isSetSellingPrice());
2213
    lastComparison = Boolean.valueOf(isSetSellingPrice()).compareTo(typedOther.isSetSellingPrice());
2449
    if (lastComparison != 0) {
2214
    if (lastComparison != 0) {
2450
      return lastComparison;
2215
      return lastComparison;
2451
    }
2216
    }
2452
    if (isSetSellingPrice()) {
2217
    if (isSetSellingPrice()) {
2453
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellingPrice, typedOther.sellingPrice);
2218
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sellingPrice, typedOther.sellingPrice);
2454
      if (lastComparison != 0) {
2219
      if (lastComparison != 0) {
2455
        return lastComparison;
2220
        return lastComparison;
2456
      }
2221
      }
2457
    }
2222
    }
2458
    lastComparison = Boolean.valueOf(isSetTransferPrice()).compareTo(typedOther.isSetTransferPrice());
-
 
2459
    if (lastComparison != 0) {
-
 
2460
      return lastComparison;
-
 
2461
    }
-
 
2462
    if (isSetTransferPrice()) {
-
 
2463
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transferPrice, typedOther.transferPrice);
-
 
2464
      if (lastComparison != 0) {
-
 
2465
        return lastComparison;
-
 
2466
      }
-
 
2467
    }
-
 
2468
    lastComparison = Boolean.valueOf(isSetWeight()).compareTo(typedOther.isSetWeight());
2223
    lastComparison = Boolean.valueOf(isSetWeight()).compareTo(typedOther.isSetWeight());
2469
    if (lastComparison != 0) {
2224
    if (lastComparison != 0) {
2470
      return lastComparison;
2225
      return lastComparison;
2471
    }
2226
    }
2472
    if (isSetWeight()) {
2227
    if (isSetWeight()) {
Line 2553... Line 2308...
2553
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealValue, typedOther.bestDealValue);
2308
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestDealValue, typedOther.bestDealValue);
2554
      if (lastComparison != 0) {
2309
      if (lastComparison != 0) {
2555
        return lastComparison;
2310
        return lastComparison;
2556
      }
2311
      }
2557
    }
2312
    }
2558
    lastComparison = Boolean.valueOf(isSetDealerPrice()).compareTo(typedOther.isSetDealerPrice());
-
 
2559
    if (lastComparison != 0) {
-
 
2560
      return lastComparison;
-
 
2561
    }
-
 
2562
    if (isSetDealerPrice()) {
-
 
2563
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dealerPrice, typedOther.dealerPrice);
-
 
2564
      if (lastComparison != 0) {
-
 
2565
        return lastComparison;
-
 
2566
      }
-
 
2567
    }
-
 
2568
    lastComparison = Boolean.valueOf(isSetDefaultForEntity()).compareTo(typedOther.isSetDefaultForEntity());
2313
    lastComparison = Boolean.valueOf(isSetDefaultForEntity()).compareTo(typedOther.isSetDefaultForEntity());
2569
    if (lastComparison != 0) {
2314
    if (lastComparison != 0) {
2570
      return lastComparison;
2315
      return lastComparison;
2571
    }
2316
    }
2572
    if (isSetDefaultForEntity()) {
2317
    if (isSetDefaultForEntity()) {
Line 2593... Line 2338...
2593
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestSellingRank, typedOther.bestSellingRank);
2338
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.bestSellingRank, typedOther.bestSellingRank);
2594
      if (lastComparison != 0) {
2339
      if (lastComparison != 0) {
2595
        return lastComparison;
2340
        return lastComparison;
2596
      }
2341
      }
2597
    }
2342
    }
2598
    lastComparison = Boolean.valueOf(isSetHotspotCategory()).compareTo(typedOther.isSetHotspotCategory());
-
 
2599
    if (lastComparison != 0) {
-
 
2600
      return lastComparison;
-
 
2601
    }
-
 
2602
    if (isSetHotspotCategory()) {
-
 
2603
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hotspotCategory, typedOther.hotspotCategory);
-
 
2604
      if (lastComparison != 0) {
-
 
2605
        return lastComparison;
-
 
2606
      }
-
 
2607
    }
-
 
2608
    lastComparison = Boolean.valueOf(isSetRisky()).compareTo(typedOther.isSetRisky());
2343
    lastComparison = Boolean.valueOf(isSetRisky()).compareTo(typedOther.isSetRisky());
2609
    if (lastComparison != 0) {
2344
    if (lastComparison != 0) {
2610
      return lastComparison;
2345
      return lastComparison;
2611
    }
2346
    }
2612
    if (isSetRisky()) {
2347
    if (isSetRisky()) {
Line 2787... Line 2522...
2787
            setMrpIsSet(true);
2522
            setMrpIsSet(true);
2788
          } else { 
2523
          } else { 
2789
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2524
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2790
          }
2525
          }
2791
          break;
2526
          break;
2792
        case 14: // MOP
-
 
2793
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
2794
            this.mop = iprot.readDouble();
-
 
2795
            setMopIsSet(true);
-
 
2796
          } else { 
-
 
2797
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2798
          }
-
 
2799
          break;
-
 
2800
        case 15: // SELLING_PRICE
2527
        case 14: // SELLING_PRICE
2801
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2528
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2802
            this.sellingPrice = iprot.readDouble();
2529
            this.sellingPrice = iprot.readDouble();
2803
            setSellingPriceIsSet(true);
2530
            setSellingPriceIsSet(true);
2804
          } else { 
2531
          } else { 
2805
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2532
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2806
          }
2533
          }
2807
          break;
2534
          break;
2808
        case 16: // TRANSFER_PRICE
-
 
2809
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
2810
            this.transferPrice = iprot.readDouble();
-
 
2811
            setTransferPriceIsSet(true);
-
 
2812
          } else { 
-
 
2813
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2814
          }
-
 
2815
          break;
-
 
2816
        case 17: // WEIGHT
2535
        case 15: // WEIGHT
2817
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2536
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2818
            this.weight = iprot.readDouble();
2537
            this.weight = iprot.readDouble();
2819
            setWeightIsSet(true);
2538
            setWeightIsSet(true);
2820
          } else { 
2539
          } else { 
2821
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2540
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2822
          }
2541
          }
2823
          break;
2542
          break;
2824
        case 18: // ADDED_ON
2543
        case 16: // ADDED_ON
2825
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2544
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2826
            this.addedOn = iprot.readI64();
2545
            this.addedOn = iprot.readI64();
2827
            setAddedOnIsSet(true);
2546
            setAddedOnIsSet(true);
2828
          } else { 
2547
          } else { 
2829
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2548
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2830
          }
2549
          }
2831
          break;
2550
          break;
2832
        case 19: // START_DATE
2551
        case 17: // START_DATE
2833
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2552
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2834
            this.startDate = iprot.readI64();
2553
            this.startDate = iprot.readI64();
2835
            setStartDateIsSet(true);
2554
            setStartDateIsSet(true);
2836
          } else { 
2555
          } else { 
2837
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2556
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2838
          }
2557
          }
2839
          break;
2558
          break;
2840
        case 20: // RETIRE_DATE
2559
        case 18: // RETIRE_DATE
2841
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2560
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2842
            this.retireDate = iprot.readI64();
2561
            this.retireDate = iprot.readI64();
2843
            setRetireDateIsSet(true);
2562
            setRetireDateIsSet(true);
2844
          } else { 
2563
          } else { 
2845
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2564
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2846
          }
2565
          }
2847
          break;
2566
          break;
2848
        case 21: // ITEM_STATUS
2567
        case 19: // ITEM_STATUS
2849
          if (field.type == org.apache.thrift.protocol.TType.I32) {
2568
          if (field.type == org.apache.thrift.protocol.TType.I32) {
2850
            this.itemStatus = status.findByValue(iprot.readI32());
2569
            this.itemStatus = status.findByValue(iprot.readI32());
2851
          } else { 
2570
          } else { 
2852
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2571
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2853
          }
2572
          }
2854
          break;
2573
          break;
2855
        case 22: // STATUS_DESCRIPTION
2574
        case 20: // STATUS_DESCRIPTION
2856
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2575
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2857
            this.status_description = iprot.readString();
2576
            this.status_description = iprot.readString();
2858
          } else { 
2577
          } else { 
2859
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2578
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2860
          }
2579
          }
2861
          break;
2580
          break;
2862
        case 23: // OTHER_INFO
2581
        case 21: // OTHER_INFO
2863
          if (field.type == org.apache.thrift.protocol.TType.MAP) {
2582
          if (field.type == org.apache.thrift.protocol.TType.MAP) {
2864
            {
2583
            {
2865
              org.apache.thrift.protocol.TMap _map10 = iprot.readMapBegin();
2584
              org.apache.thrift.protocol.TMap _map10 = iprot.readMapBegin();
2866
              this.otherInfo = new HashMap<String,String>(2*_map10.size);
2585
              this.otherInfo = new HashMap<String,String>(2*_map10.size);
2867
              for (int _i11 = 0; _i11 < _map10.size; ++_i11)
2586
              for (int _i11 = 0; _i11 < _map10.size; ++_i11)
Line 2876... Line 2595...
2876
            }
2595
            }
2877
          } else { 
2596
          } else { 
2878
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2597
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2879
          }
2598
          }
2880
          break;
2599
          break;
2881
        case 24: // BEST_DEAL_TEXT
2600
        case 22: // BEST_DEAL_TEXT
2882
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2601
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2883
            this.bestDealText = iprot.readString();
2602
            this.bestDealText = iprot.readString();
2884
          } else { 
2603
          } else { 
2885
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2604
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2886
          }
2605
          }
2887
          break;
2606
          break;
2888
        case 25: // BEST_DEAL_VALUE
2607
        case 23: // BEST_DEAL_VALUE
2889
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2608
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
2890
            this.bestDealValue = iprot.readDouble();
2609
            this.bestDealValue = iprot.readDouble();
2891
            setBestDealValueIsSet(true);
2610
            setBestDealValueIsSet(true);
2892
          } else { 
2611
          } else { 
2893
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2612
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2894
          }
2613
          }
2895
          break;
2614
          break;
2896
        case 26: // DEALER_PRICE
-
 
2897
          if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
-
 
2898
            this.dealerPrice = iprot.readDouble();
-
 
2899
            setDealerPriceIsSet(true);
-
 
2900
          } else { 
-
 
2901
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2902
          }
-
 
2903
          break;
-
 
2904
        case 27: // DEFAULT_FOR_ENTITY
2615
        case 24: // DEFAULT_FOR_ENTITY
2905
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
2616
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
2906
            this.defaultForEntity = iprot.readBool();
2617
            this.defaultForEntity = iprot.readBool();
2907
            setDefaultForEntityIsSet(true);
2618
            setDefaultForEntityIsSet(true);
2908
          } else { 
2619
          } else { 
2909
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2620
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2910
          }
2621
          }
2911
          break;
2622
          break;
2912
        case 28: // UPDATED_ON
2623
        case 25: // UPDATED_ON
2913
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2624
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2914
            this.updatedOn = iprot.readI64();
2625
            this.updatedOn = iprot.readI64();
2915
            setUpdatedOnIsSet(true);
2626
            setUpdatedOnIsSet(true);
2916
          } else { 
2627
          } else { 
2917
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2628
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2918
          }
2629
          }
2919
          break;
2630
          break;
2920
        case 29: // BEST_SELLING_RANK
2631
        case 26: // BEST_SELLING_RANK
2921
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2632
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2922
            this.bestSellingRank = iprot.readI64();
2633
            this.bestSellingRank = iprot.readI64();
2923
            setBestSellingRankIsSet(true);
2634
            setBestSellingRankIsSet(true);
2924
          } else { 
2635
          } else { 
2925
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2636
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2926
          }
2637
          }
2927
          break;
2638
          break;
2928
        case 30: // HOTSPOT_CATEGORY
-
 
2929
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
2930
            this.hotspotCategory = iprot.readString();
-
 
2931
          } else { 
-
 
2932
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
2933
          }
-
 
2934
          break;
-
 
2935
        case 31: // RISKY
2639
        case 27: // RISKY
2936
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
2640
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
2937
            this.risky = iprot.readBool();
2641
            this.risky = iprot.readBool();
2938
            setRiskyIsSet(true);
2642
            setRiskyIsSet(true);
2939
          } else { 
2643
          } else { 
2940
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2644
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2941
          }
2645
          }
2942
          break;
2646
          break;
2943
        case 32: // EXPECTED_DELAY
2647
        case 28: // EXPECTED_DELAY
2944
          if (field.type == org.apache.thrift.protocol.TType.I32) {
2648
          if (field.type == org.apache.thrift.protocol.TType.I32) {
2945
            this.expectedDelay = iprot.readI32();
2649
            this.expectedDelay = iprot.readI32();
2946
            setExpectedDelayIsSet(true);
2650
            setExpectedDelayIsSet(true);
2947
          } else { 
2651
          } else { 
2948
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2652
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2949
          }
2653
          }
2950
          break;
2654
          break;
2951
        case 33: // PREFERRED_WAREHOUSE
2655
        case 29: // PREFERRED_WAREHOUSE
2952
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2656
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2953
            this.preferredWarehouse = iprot.readString();
2657
            this.preferredWarehouse = iprot.readI64();
-
 
2658
            setPreferredWarehouseIsSet(true);
2954
          } else { 
2659
          } else { 
2955
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2660
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2956
          }
2661
          }
2957
          break;
2662
          break;
2958
        case 34: // DEFAULT_WAREHOUSE
2663
        case 30: // DEFAULT_WAREHOUSE
2959
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
2664
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2960
            this.defaultWarehouse = iprot.readString();
2665
            this.defaultWarehouse = iprot.readI64();
-
 
2666
            setDefaultWarehouseIsSet(true);
2961
          } else { 
2667
          } else { 
2962
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2668
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2963
          }
2669
          }
2964
          break;
2670
          break;
2965
        case 35: // IS_WAREHOUSE_PREFERENCE_STICKY
2671
        case 31: // IS_WAREHOUSE_PREFERENCE_STICKY
2966
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
2672
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
2967
            this.isWarehousePreferenceSticky = iprot.readBool();
2673
            this.isWarehousePreferenceSticky = iprot.readBool();
2968
            setIsWarehousePreferenceStickyIsSet(true);
2674
            setIsWarehousePreferenceStickyIsSet(true);
2969
          } else { 
2675
          } else { 
2970
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2676
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2971
          }
2677
          }
2972
          break;
2678
          break;
2973
        case 36: // WARRANTY_PERIOD
2679
        case 32: // WARRANTY_PERIOD
2974
          if (field.type == org.apache.thrift.protocol.TType.I32) {
2680
          if (field.type == org.apache.thrift.protocol.TType.I32) {
2975
            this.warrantyPeriod = iprot.readI32();
2681
            this.warrantyPeriod = iprot.readI32();
2976
            setWarrantyPeriodIsSet(true);
2682
            setWarrantyPeriodIsSet(true);
2977
          } else { 
2683
          } else { 
2978
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2684
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2979
          }
2685
          }
2980
          break;
2686
          break;
2981
        case 37: // PREFERRED_VENDOR
2687
        case 33: // PREFERRED_VENDOR
2982
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2688
          if (field.type == org.apache.thrift.protocol.TType.I64) {
2983
            this.preferredVendor = iprot.readI64();
2689
            this.preferredVendor = iprot.readI64();
2984
            setPreferredVendorIsSet(true);
2690
            setPreferredVendorIsSet(true);
2985
          } else { 
2691
          } else { 
2986
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
2692
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 3054... Line 2760...
3054
    if (isSetMrp()) {
2760
    if (isSetMrp()) {
3055
      oprot.writeFieldBegin(MRP_FIELD_DESC);
2761
      oprot.writeFieldBegin(MRP_FIELD_DESC);
3056
      oprot.writeDouble(this.mrp);
2762
      oprot.writeDouble(this.mrp);
3057
      oprot.writeFieldEnd();
2763
      oprot.writeFieldEnd();
3058
    }
2764
    }
3059
    if (isSetMop()) {
-
 
3060
      oprot.writeFieldBegin(MOP_FIELD_DESC);
-
 
3061
      oprot.writeDouble(this.mop);
-
 
3062
      oprot.writeFieldEnd();
-
 
3063
    }
-
 
3064
    if (isSetSellingPrice()) {
2765
    if (isSetSellingPrice()) {
3065
      oprot.writeFieldBegin(SELLING_PRICE_FIELD_DESC);
2766
      oprot.writeFieldBegin(SELLING_PRICE_FIELD_DESC);
3066
      oprot.writeDouble(this.sellingPrice);
2767
      oprot.writeDouble(this.sellingPrice);
3067
      oprot.writeFieldEnd();
2768
      oprot.writeFieldEnd();
3068
    }
2769
    }
3069
    if (isSetTransferPrice()) {
-
 
3070
      oprot.writeFieldBegin(TRANSFER_PRICE_FIELD_DESC);
-
 
3071
      oprot.writeDouble(this.transferPrice);
-
 
3072
      oprot.writeFieldEnd();
-
 
3073
    }
-
 
3074
    if (isSetWeight()) {
2770
    if (isSetWeight()) {
3075
      oprot.writeFieldBegin(WEIGHT_FIELD_DESC);
2771
      oprot.writeFieldBegin(WEIGHT_FIELD_DESC);
3076
      oprot.writeDouble(this.weight);
2772
      oprot.writeDouble(this.weight);
3077
      oprot.writeFieldEnd();
2773
      oprot.writeFieldEnd();
3078
    }
2774
    }
Line 3120... Line 2816...
3120
    if (isSetBestDealValue()) {
2816
    if (isSetBestDealValue()) {
3121
      oprot.writeFieldBegin(BEST_DEAL_VALUE_FIELD_DESC);
2817
      oprot.writeFieldBegin(BEST_DEAL_VALUE_FIELD_DESC);
3122
      oprot.writeDouble(this.bestDealValue);
2818
      oprot.writeDouble(this.bestDealValue);
3123
      oprot.writeFieldEnd();
2819
      oprot.writeFieldEnd();
3124
    }
2820
    }
3125
    if (isSetDealerPrice()) {
-
 
3126
      oprot.writeFieldBegin(DEALER_PRICE_FIELD_DESC);
-
 
3127
      oprot.writeDouble(this.dealerPrice);
-
 
3128
      oprot.writeFieldEnd();
-
 
3129
    }
-
 
3130
    oprot.writeFieldBegin(DEFAULT_FOR_ENTITY_FIELD_DESC);
2821
    oprot.writeFieldBegin(DEFAULT_FOR_ENTITY_FIELD_DESC);
3131
    oprot.writeBool(this.defaultForEntity);
2822
    oprot.writeBool(this.defaultForEntity);
3132
    oprot.writeFieldEnd();
2823
    oprot.writeFieldEnd();
3133
    oprot.writeFieldBegin(UPDATED_ON_FIELD_DESC);
2824
    oprot.writeFieldBegin(UPDATED_ON_FIELD_DESC);
3134
    oprot.writeI64(this.updatedOn);
2825
    oprot.writeI64(this.updatedOn);
Line 3136... Line 2827...
3136
    if (isSetBestSellingRank()) {
2827
    if (isSetBestSellingRank()) {
3137
      oprot.writeFieldBegin(BEST_SELLING_RANK_FIELD_DESC);
2828
      oprot.writeFieldBegin(BEST_SELLING_RANK_FIELD_DESC);
3138
      oprot.writeI64(this.bestSellingRank);
2829
      oprot.writeI64(this.bestSellingRank);
3139
      oprot.writeFieldEnd();
2830
      oprot.writeFieldEnd();
3140
    }
2831
    }
3141
    if (this.hotspotCategory != null) {
-
 
3142
      oprot.writeFieldBegin(HOTSPOT_CATEGORY_FIELD_DESC);
-
 
3143
      oprot.writeString(this.hotspotCategory);
-
 
3144
      oprot.writeFieldEnd();
-
 
3145
    }
-
 
3146
    oprot.writeFieldBegin(RISKY_FIELD_DESC);
2832
    oprot.writeFieldBegin(RISKY_FIELD_DESC);
3147
    oprot.writeBool(this.risky);
2833
    oprot.writeBool(this.risky);
3148
    oprot.writeFieldEnd();
2834
    oprot.writeFieldEnd();
3149
    if (isSetExpectedDelay()) {
2835
    if (isSetExpectedDelay()) {
3150
      oprot.writeFieldBegin(EXPECTED_DELAY_FIELD_DESC);
2836
      oprot.writeFieldBegin(EXPECTED_DELAY_FIELD_DESC);
3151
      oprot.writeI32(this.expectedDelay);
2837
      oprot.writeI32(this.expectedDelay);
3152
      oprot.writeFieldEnd();
2838
      oprot.writeFieldEnd();
3153
    }
2839
    }
3154
    if (this.preferredWarehouse != null) {
-
 
3155
      if (isSetPreferredWarehouse()) {
2840
    if (isSetPreferredWarehouse()) {
3156
        oprot.writeFieldBegin(PREFERRED_WAREHOUSE_FIELD_DESC);
2841
      oprot.writeFieldBegin(PREFERRED_WAREHOUSE_FIELD_DESC);
3157
        oprot.writeString(this.preferredWarehouse);
2842
      oprot.writeI64(this.preferredWarehouse);
3158
        oprot.writeFieldEnd();
2843
      oprot.writeFieldEnd();
3159
      }
-
 
3160
    }
2844
    }
3161
    if (this.defaultWarehouse != null) {
-
 
3162
      if (isSetDefaultWarehouse()) {
2845
    if (isSetDefaultWarehouse()) {
3163
        oprot.writeFieldBegin(DEFAULT_WAREHOUSE_FIELD_DESC);
2846
      oprot.writeFieldBegin(DEFAULT_WAREHOUSE_FIELD_DESC);
3164
        oprot.writeString(this.defaultWarehouse);
2847
      oprot.writeI64(this.defaultWarehouse);
3165
        oprot.writeFieldEnd();
2848
      oprot.writeFieldEnd();
3166
      }
-
 
3167
    }
2849
    }
3168
    if (isSetIsWarehousePreferenceSticky()) {
2850
    if (isSetIsWarehousePreferenceSticky()) {
3169
      oprot.writeFieldBegin(IS_WAREHOUSE_PREFERENCE_STICKY_FIELD_DESC);
2851
      oprot.writeFieldBegin(IS_WAREHOUSE_PREFERENCE_STICKY_FIELD_DESC);
3170
      oprot.writeBool(this.isWarehousePreferenceSticky);
2852
      oprot.writeBool(this.isWarehousePreferenceSticky);
3171
      oprot.writeFieldEnd();
2853
      oprot.writeFieldEnd();
Line 3270... Line 2952...
3270
      if (!first) sb.append(", ");
2952
      if (!first) sb.append(", ");
3271
      sb.append("mrp:");
2953
      sb.append("mrp:");
3272
      sb.append(this.mrp);
2954
      sb.append(this.mrp);
3273
      first = false;
2955
      first = false;
3274
    }
2956
    }
3275
    if (isSetMop()) {
-
 
3276
      if (!first) sb.append(", ");
-
 
3277
      sb.append("mop:");
-
 
3278
      sb.append(this.mop);
-
 
3279
      first = false;
-
 
3280
    }
-
 
3281
    if (isSetSellingPrice()) {
2957
    if (isSetSellingPrice()) {
3282
      if (!first) sb.append(", ");
2958
      if (!first) sb.append(", ");
3283
      sb.append("sellingPrice:");
2959
      sb.append("sellingPrice:");
3284
      sb.append(this.sellingPrice);
2960
      sb.append(this.sellingPrice);
3285
      first = false;
2961
      first = false;
3286
    }
2962
    }
3287
    if (isSetTransferPrice()) {
-
 
3288
      if (!first) sb.append(", ");
-
 
3289
      sb.append("transferPrice:");
-
 
3290
      sb.append(this.transferPrice);
-
 
3291
      first = false;
-
 
3292
    }
-
 
3293
    if (isSetWeight()) {
2963
    if (isSetWeight()) {
3294
      if (!first) sb.append(", ");
2964
      if (!first) sb.append(", ");
3295
      sb.append("weight:");
2965
      sb.append("weight:");
3296
      sb.append(this.weight);
2966
      sb.append(this.weight);
3297
      first = false;
2967
      first = false;
Line 3348... Line 3018...
3348
      if (!first) sb.append(", ");
3018
      if (!first) sb.append(", ");
3349
      sb.append("bestDealValue:");
3019
      sb.append("bestDealValue:");
3350
      sb.append(this.bestDealValue);
3020
      sb.append(this.bestDealValue);
3351
      first = false;
3021
      first = false;
3352
    }
3022
    }
3353
    if (isSetDealerPrice()) {
-
 
3354
      if (!first) sb.append(", ");
-
 
3355
      sb.append("dealerPrice:");
-
 
3356
      sb.append(this.dealerPrice);
-
 
3357
      first = false;
-
 
3358
    }
-
 
3359
    if (!first) sb.append(", ");
3023
    if (!first) sb.append(", ");
3360
    sb.append("defaultForEntity:");
3024
    sb.append("defaultForEntity:");
3361
    sb.append(this.defaultForEntity);
3025
    sb.append(this.defaultForEntity);
3362
    first = false;
3026
    first = false;
3363
    if (!first) sb.append(", ");
3027
    if (!first) sb.append(", ");
Line 3369... Line 3033...
3369
      sb.append("bestSellingRank:");
3033
      sb.append("bestSellingRank:");
3370
      sb.append(this.bestSellingRank);
3034
      sb.append(this.bestSellingRank);
3371
      first = false;
3035
      first = false;
3372
    }
3036
    }
3373
    if (!first) sb.append(", ");
3037
    if (!first) sb.append(", ");
3374
    sb.append("hotspotCategory:");
-
 
3375
    if (this.hotspotCategory == null) {
-
 
3376
      sb.append("null");
-
 
3377
    } else {
-
 
3378
      sb.append(this.hotspotCategory);
-
 
3379
    }
-
 
3380
    first = false;
-
 
3381
    if (!first) sb.append(", ");
-
 
3382
    sb.append("risky:");
3038
    sb.append("risky:");
3383
    sb.append(this.risky);
3039
    sb.append(this.risky);
3384
    first = false;
3040
    first = false;
3385
    if (isSetExpectedDelay()) {
3041
    if (isSetExpectedDelay()) {
3386
      if (!first) sb.append(", ");
3042
      if (!first) sb.append(", ");
Line 3389... Line 3045...
3389
      first = false;
3045
      first = false;
3390
    }
3046
    }
3391
    if (isSetPreferredWarehouse()) {
3047
    if (isSetPreferredWarehouse()) {
3392
      if (!first) sb.append(", ");
3048
      if (!first) sb.append(", ");
3393
      sb.append("preferredWarehouse:");
3049
      sb.append("preferredWarehouse:");
3394
      if (this.preferredWarehouse == null) {
-
 
3395
        sb.append("null");
-
 
3396
      } else {
-
 
3397
        sb.append(this.preferredWarehouse);
3050
      sb.append(this.preferredWarehouse);
3398
      }
-
 
3399
      first = false;
3051
      first = false;
3400
    }
3052
    }
3401
    if (isSetDefaultWarehouse()) {
3053
    if (isSetDefaultWarehouse()) {
3402
      if (!first) sb.append(", ");
3054
      if (!first) sb.append(", ");
3403
      sb.append("defaultWarehouse:");
3055
      sb.append("defaultWarehouse:");
3404
      if (this.defaultWarehouse == null) {
-
 
3405
        sb.append("null");
-
 
3406
      } else {
-
 
3407
        sb.append(this.defaultWarehouse);
3056
      sb.append(this.defaultWarehouse);
3408
      }
-
 
3409
      first = false;
3057
      first = false;
3410
    }
3058
    }
3411
    if (isSetIsWarehousePreferenceSticky()) {
3059
    if (isSetIsWarehousePreferenceSticky()) {
3412
      if (!first) sb.append(", ");
3060
      if (!first) sb.append(", ");
3413
      sb.append("isWarehousePreferenceSticky:");
3061
      sb.append("isWarehousePreferenceSticky:");