| Line 32... |
Line 32... |
| 32 |
private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I64, (short)7);
|
32 |
private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I64, (short)7);
|
| 33 |
private static final org.apache.thrift.protocol.TField COMMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("comments", org.apache.thrift.protocol.TType.STRING, (short)8);
|
33 |
private static final org.apache.thrift.protocol.TField COMMENTS_FIELD_DESC = new org.apache.thrift.protocol.TField("comments", org.apache.thrift.protocol.TType.STRING, (short)8);
|
| 34 |
private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)9);
|
34 |
private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)9);
|
| 35 |
private static final org.apache.thrift.protocol.TField FEATURE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("featureId", org.apache.thrift.protocol.TType.I64, (short)10);
|
35 |
private static final org.apache.thrift.protocol.TField FEATURE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("featureId", org.apache.thrift.protocol.TType.I64, (short)10);
|
| 36 |
private static final org.apache.thrift.protocol.TField FEATURE_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("featureDescription", org.apache.thrift.protocol.TType.STRING, (short)11);
|
36 |
private static final org.apache.thrift.protocol.TField FEATURE_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("featureDescription", org.apache.thrift.protocol.TType.STRING, (short)11);
|
| 37 |
private static final org.apache.thrift.protocol.TField ITEM_INVENTORY_FIELD_DESC = new org.apache.thrift.protocol.TField("itemInventory", org.apache.thrift.protocol.TType.STRUCT, (short)12);
|
- |
|
| 38 |
private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)13);
|
37 |
private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)13);
|
| 39 |
private static final org.apache.thrift.protocol.TField SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("sellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
|
38 |
private static final org.apache.thrift.protocol.TField SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("sellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
|
| 40 |
private static final org.apache.thrift.protocol.TField WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("weight", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
|
39 |
private static final org.apache.thrift.protocol.TField WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("weight", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
|
| 41 |
private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)16);
|
40 |
private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)16);
|
| 42 |
private static final org.apache.thrift.protocol.TField START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("startDate", org.apache.thrift.protocol.TType.I64, (short)17);
|
41 |
private static final org.apache.thrift.protocol.TField START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("startDate", org.apache.thrift.protocol.TType.I64, (short)17);
|
| 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);
|
42 |
private static final org.apache.thrift.protocol.TField RETIRE_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("retireDate", org.apache.thrift.protocol.TType.I64, (short)18);
|
| 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);
|
43 |
private static final org.apache.thrift.protocol.TField ITEM_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemStatus", org.apache.thrift.protocol.TType.I32, (short)19);
|
| 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);
|
44 |
private static final org.apache.thrift.protocol.TField STATUS_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("status_description", org.apache.thrift.protocol.TType.STRING, (short)20);
|
| 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);
|
- |
|
| 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);
|
45 |
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);
|
| 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);
|
46 |
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);
|
| 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);
|
47 |
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);
|
| 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);
|
48 |
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);
|
| 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);
|
49 |
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);
|
| Line 69... |
Line 67... |
| 69 |
private long category; // required
|
67 |
private long category; // required
|
| 70 |
private String comments; // required
|
68 |
private String comments; // required
|
| 71 |
private long catalogItemId; // required
|
69 |
private long catalogItemId; // required
|
| 72 |
private long featureId; // required
|
70 |
private long featureId; // required
|
| 73 |
private String featureDescription; // required
|
71 |
private String featureDescription; // required
|
| 74 |
private ItemInventory itemInventory; // required
|
- |
|
| 75 |
private double mrp; // required
|
72 |
private double mrp; // required
|
| 76 |
private double sellingPrice; // required
|
73 |
private double sellingPrice; // required
|
| 77 |
private double weight; // required
|
74 |
private double weight; // required
|
| 78 |
private long addedOn; // required
|
75 |
private long addedOn; // required
|
| 79 |
private long startDate; // required
|
76 |
private long startDate; // required
|
| 80 |
private long retireDate; // required
|
77 |
private long retireDate; // required
|
| 81 |
private status itemStatus; // required
|
78 |
private status itemStatus; // required
|
| 82 |
private String status_description; // required
|
79 |
private String status_description; // required
|
| 83 |
private Map<String,String> otherInfo; // required
|
- |
|
| 84 |
private String bestDealText; // required
|
80 |
private String bestDealText; // required
|
| 85 |
private double bestDealValue; // required
|
81 |
private double bestDealValue; // required
|
| 86 |
private boolean defaultForEntity; // required
|
82 |
private boolean defaultForEntity; // required
|
| 87 |
private long updatedOn; // required
|
83 |
private long updatedOn; // required
|
| 88 |
private long bestSellingRank; // required
|
84 |
private long bestSellingRank; // required
|
| Line 108... |
Line 104... |
| 108 |
CATEGORY((short)7, "category"),
|
104 |
CATEGORY((short)7, "category"),
|
| 109 |
COMMENTS((short)8, "comments"),
|
105 |
COMMENTS((short)8, "comments"),
|
| 110 |
CATALOG_ITEM_ID((short)9, "catalogItemId"),
|
106 |
CATALOG_ITEM_ID((short)9, "catalogItemId"),
|
| 111 |
FEATURE_ID((short)10, "featureId"),
|
107 |
FEATURE_ID((short)10, "featureId"),
|
| 112 |
FEATURE_DESCRIPTION((short)11, "featureDescription"),
|
108 |
FEATURE_DESCRIPTION((short)11, "featureDescription"),
|
| 113 |
ITEM_INVENTORY((short)12, "itemInventory"),
|
- |
|
| 114 |
MRP((short)13, "mrp"),
|
109 |
MRP((short)13, "mrp"),
|
| 115 |
SELLING_PRICE((short)14, "sellingPrice"),
|
110 |
SELLING_PRICE((short)14, "sellingPrice"),
|
| 116 |
WEIGHT((short)15, "weight"),
|
111 |
WEIGHT((short)15, "weight"),
|
| 117 |
ADDED_ON((short)16, "addedOn"),
|
112 |
ADDED_ON((short)16, "addedOn"),
|
| 118 |
START_DATE((short)17, "startDate"),
|
113 |
START_DATE((short)17, "startDate"),
|
| Line 121... |
Line 116... |
| 121 |
*
|
116 |
*
|
| 122 |
* @see status
|
117 |
* @see status
|
| 123 |
*/
|
118 |
*/
|
| 124 |
ITEM_STATUS((short)19, "itemStatus"),
|
119 |
ITEM_STATUS((short)19, "itemStatus"),
|
| 125 |
STATUS_DESCRIPTION((short)20, "status_description"),
|
120 |
STATUS_DESCRIPTION((short)20, "status_description"),
|
| 126 |
OTHER_INFO((short)21, "otherInfo"),
|
- |
|
| 127 |
BEST_DEAL_TEXT((short)22, "bestDealText"),
|
121 |
BEST_DEAL_TEXT((short)22, "bestDealText"),
|
| 128 |
BEST_DEAL_VALUE((short)23, "bestDealValue"),
|
122 |
BEST_DEAL_VALUE((short)23, "bestDealValue"),
|
| 129 |
DEFAULT_FOR_ENTITY((short)24, "defaultForEntity"),
|
123 |
DEFAULT_FOR_ENTITY((short)24, "defaultForEntity"),
|
| 130 |
UPDATED_ON((short)25, "updatedOn"),
|
124 |
UPDATED_ON((short)25, "updatedOn"),
|
| 131 |
BEST_SELLING_RANK((short)26, "bestSellingRank"),
|
125 |
BEST_SELLING_RANK((short)26, "bestSellingRank"),
|
| Line 177... |
Line 171... |
| 177 |
return CATALOG_ITEM_ID;
|
171 |
return CATALOG_ITEM_ID;
|
| 178 |
case 10: // FEATURE_ID
|
172 |
case 10: // FEATURE_ID
|
| 179 |
return FEATURE_ID;
|
173 |
return FEATURE_ID;
|
| 180 |
case 11: // FEATURE_DESCRIPTION
|
174 |
case 11: // FEATURE_DESCRIPTION
|
| 181 |
return FEATURE_DESCRIPTION;
|
175 |
return FEATURE_DESCRIPTION;
|
| 182 |
case 12: // ITEM_INVENTORY
|
- |
|
| 183 |
return ITEM_INVENTORY;
|
- |
|
| 184 |
case 13: // MRP
|
176 |
case 13: // MRP
|
| 185 |
return MRP;
|
177 |
return MRP;
|
| 186 |
case 14: // SELLING_PRICE
|
178 |
case 14: // SELLING_PRICE
|
| 187 |
return SELLING_PRICE;
|
179 |
return SELLING_PRICE;
|
| 188 |
case 15: // WEIGHT
|
180 |
case 15: // WEIGHT
|
| Line 195... |
Line 187... |
| 195 |
return RETIRE_DATE;
|
187 |
return RETIRE_DATE;
|
| 196 |
case 19: // ITEM_STATUS
|
188 |
case 19: // ITEM_STATUS
|
| 197 |
return ITEM_STATUS;
|
189 |
return ITEM_STATUS;
|
| 198 |
case 20: // STATUS_DESCRIPTION
|
190 |
case 20: // STATUS_DESCRIPTION
|
| 199 |
return STATUS_DESCRIPTION;
|
191 |
return STATUS_DESCRIPTION;
|
| 200 |
case 21: // OTHER_INFO
|
- |
|
| 201 |
return OTHER_INFO;
|
- |
|
| 202 |
case 22: // BEST_DEAL_TEXT
|
192 |
case 22: // BEST_DEAL_TEXT
|
| 203 |
return BEST_DEAL_TEXT;
|
193 |
return BEST_DEAL_TEXT;
|
| 204 |
case 23: // BEST_DEAL_VALUE
|
194 |
case 23: // BEST_DEAL_VALUE
|
| 205 |
return BEST_DEAL_VALUE;
|
195 |
return BEST_DEAL_VALUE;
|
| 206 |
case 24: // DEFAULT_FOR_ENTITY
|
196 |
case 24: // DEFAULT_FOR_ENTITY
|
| Line 317... |
Line 307... |
| 317 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
307 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 318 |
tmpMap.put(_Fields.FEATURE_ID, new org.apache.thrift.meta_data.FieldMetaData("featureId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
308 |
tmpMap.put(_Fields.FEATURE_ID, new org.apache.thrift.meta_data.FieldMetaData("featureId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 319 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
309 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 320 |
tmpMap.put(_Fields.FEATURE_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("featureDescription", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
310 |
tmpMap.put(_Fields.FEATURE_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("featureDescription", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 321 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
311 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 322 |
tmpMap.put(_Fields.ITEM_INVENTORY, new org.apache.thrift.meta_data.FieldMetaData("itemInventory", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
- |
|
| 323 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ItemInventory.class)));
|
- |
|
| 324 |
tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
312 |
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)));
|
313 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 326 |
tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
314 |
tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| 327 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
315 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 328 |
tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
316 |
tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| Line 335... |
Line 323... |
| 335 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
323 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 336 |
tmpMap.put(_Fields.ITEM_STATUS, new org.apache.thrift.meta_data.FieldMetaData("itemStatus", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
324 |
tmpMap.put(_Fields.ITEM_STATUS, new org.apache.thrift.meta_data.FieldMetaData("itemStatus", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 337 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, status.class)));
|
325 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, status.class)));
|
| 338 |
tmpMap.put(_Fields.STATUS_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("status_description", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
326 |
tmpMap.put(_Fields.STATUS_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("status_description", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 339 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
327 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 340 |
tmpMap.put(_Fields.OTHER_INFO, new org.apache.thrift.meta_data.FieldMetaData("otherInfo", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
- |
|
| 341 |
new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
|
- |
|
| 342 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING),
|
- |
|
| 343 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
|
- |
|
| 344 |
tmpMap.put(_Fields.BEST_DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealText", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
328 |
tmpMap.put(_Fields.BEST_DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealText", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 345 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
329 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 346 |
tmpMap.put(_Fields.BEST_DEAL_VALUE, new org.apache.thrift.meta_data.FieldMetaData("bestDealValue", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
330 |
tmpMap.put(_Fields.BEST_DEAL_VALUE, new org.apache.thrift.meta_data.FieldMetaData("bestDealValue", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| 347 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
331 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 348 |
tmpMap.put(_Fields.DEFAULT_FOR_ENTITY, new org.apache.thrift.meta_data.FieldMetaData("defaultForEntity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
332 |
tmpMap.put(_Fields.DEFAULT_FOR_ENTITY, new org.apache.thrift.meta_data.FieldMetaData("defaultForEntity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 388... |
Line 372... |
| 388 |
long category,
|
372 |
long category,
|
| 389 |
String comments,
|
373 |
String comments,
|
| 390 |
long catalogItemId,
|
374 |
long catalogItemId,
|
| 391 |
long featureId,
|
375 |
long featureId,
|
| 392 |
String featureDescription,
|
376 |
String featureDescription,
|
| 393 |
ItemInventory itemInventory,
|
- |
|
| 394 |
long addedOn,
|
377 |
long addedOn,
|
| 395 |
status itemStatus,
|
378 |
status itemStatus,
|
| 396 |
String status_description,
|
379 |
String status_description,
|
| 397 |
Map<String,String> otherInfo,
|
- |
|
| 398 |
String bestDealText,
|
380 |
String bestDealText,
|
| 399 |
boolean defaultForEntity,
|
381 |
boolean defaultForEntity,
|
| 400 |
long updatedOn,
|
382 |
long updatedOn,
|
| 401 |
boolean risky,
|
383 |
boolean risky,
|
| 402 |
int warrantyPeriod,
|
384 |
int warrantyPeriod,
|
| Line 416... |
Line 398... |
| 416 |
this.catalogItemId = catalogItemId;
|
398 |
this.catalogItemId = catalogItemId;
|
| 417 |
setCatalogItemIdIsSet(true);
|
399 |
setCatalogItemIdIsSet(true);
|
| 418 |
this.featureId = featureId;
|
400 |
this.featureId = featureId;
|
| 419 |
setFeatureIdIsSet(true);
|
401 |
setFeatureIdIsSet(true);
|
| 420 |
this.featureDescription = featureDescription;
|
402 |
this.featureDescription = featureDescription;
|
| 421 |
this.itemInventory = itemInventory;
|
- |
|
| 422 |
this.addedOn = addedOn;
|
403 |
this.addedOn = addedOn;
|
| 423 |
setAddedOnIsSet(true);
|
404 |
setAddedOnIsSet(true);
|
| 424 |
this.itemStatus = itemStatus;
|
405 |
this.itemStatus = itemStatus;
|
| 425 |
this.status_description = status_description;
|
406 |
this.status_description = status_description;
|
| 426 |
this.otherInfo = otherInfo;
|
- |
|
| 427 |
this.bestDealText = bestDealText;
|
407 |
this.bestDealText = bestDealText;
|
| 428 |
this.defaultForEntity = defaultForEntity;
|
408 |
this.defaultForEntity = defaultForEntity;
|
| 429 |
setDefaultForEntityIsSet(true);
|
409 |
setDefaultForEntityIsSet(true);
|
| 430 |
this.updatedOn = updatedOn;
|
410 |
this.updatedOn = updatedOn;
|
| 431 |
setUpdatedOnIsSet(true);
|
411 |
setUpdatedOnIsSet(true);
|
| Line 465... |
Line 445... |
| 465 |
this.catalogItemId = other.catalogItemId;
|
445 |
this.catalogItemId = other.catalogItemId;
|
| 466 |
this.featureId = other.featureId;
|
446 |
this.featureId = other.featureId;
|
| 467 |
if (other.isSetFeatureDescription()) {
|
447 |
if (other.isSetFeatureDescription()) {
|
| 468 |
this.featureDescription = other.featureDescription;
|
448 |
this.featureDescription = other.featureDescription;
|
| 469 |
}
|
449 |
}
|
| 470 |
if (other.isSetItemInventory()) {
|
- |
|
| 471 |
this.itemInventory = new ItemInventory(other.itemInventory);
|
- |
|
| 472 |
}
|
- |
|
| 473 |
this.mrp = other.mrp;
|
450 |
this.mrp = other.mrp;
|
| 474 |
this.sellingPrice = other.sellingPrice;
|
451 |
this.sellingPrice = other.sellingPrice;
|
| 475 |
this.weight = other.weight;
|
452 |
this.weight = other.weight;
|
| 476 |
this.addedOn = other.addedOn;
|
453 |
this.addedOn = other.addedOn;
|
| 477 |
this.startDate = other.startDate;
|
454 |
this.startDate = other.startDate;
|
| Line 480... |
Line 457... |
| 480 |
this.itemStatus = other.itemStatus;
|
457 |
this.itemStatus = other.itemStatus;
|
| 481 |
}
|
458 |
}
|
| 482 |
if (other.isSetStatus_description()) {
|
459 |
if (other.isSetStatus_description()) {
|
| 483 |
this.status_description = other.status_description;
|
460 |
this.status_description = other.status_description;
|
| 484 |
}
|
461 |
}
|
| 485 |
if (other.isSetOtherInfo()) {
|
- |
|
| 486 |
Map<String,String> __this__otherInfo = new HashMap<String,String>();
|
- |
|
| 487 |
for (Map.Entry<String, String> other_element : other.otherInfo.entrySet()) {
|
- |
|
| 488 |
|
- |
|
| 489 |
String other_element_key = other_element.getKey();
|
- |
|
| 490 |
String other_element_value = other_element.getValue();
|
- |
|
| 491 |
|
- |
|
| 492 |
String __this__otherInfo_copy_key = other_element_key;
|
- |
|
| 493 |
|
- |
|
| 494 |
String __this__otherInfo_copy_value = other_element_value;
|
- |
|
| 495 |
|
- |
|
| 496 |
__this__otherInfo.put(__this__otherInfo_copy_key, __this__otherInfo_copy_value);
|
- |
|
| 497 |
}
|
- |
|
| 498 |
this.otherInfo = __this__otherInfo;
|
- |
|
| 499 |
}
|
- |
|
| 500 |
if (other.isSetBestDealText()) {
|
462 |
if (other.isSetBestDealText()) {
|
| 501 |
this.bestDealText = other.bestDealText;
|
463 |
this.bestDealText = other.bestDealText;
|
| 502 |
}
|
464 |
}
|
| 503 |
this.bestDealValue = other.bestDealValue;
|
465 |
this.bestDealValue = other.bestDealValue;
|
| 504 |
this.defaultForEntity = other.defaultForEntity;
|
466 |
this.defaultForEntity = other.defaultForEntity;
|
| Line 537... |
Line 499... |
| 537 |
setCatalogItemIdIsSet(false);
|
499 |
setCatalogItemIdIsSet(false);
|
| 538 |
this.catalogItemId = 0;
|
500 |
this.catalogItemId = 0;
|
| 539 |
setFeatureIdIsSet(false);
|
501 |
setFeatureIdIsSet(false);
|
| 540 |
this.featureId = 0;
|
502 |
this.featureId = 0;
|
| 541 |
this.featureDescription = null;
|
503 |
this.featureDescription = null;
|
| 542 |
this.itemInventory = null;
|
- |
|
| 543 |
setMrpIsSet(false);
|
504 |
setMrpIsSet(false);
|
| 544 |
this.mrp = 0.0;
|
505 |
this.mrp = 0.0;
|
| 545 |
setSellingPriceIsSet(false);
|
506 |
setSellingPriceIsSet(false);
|
| 546 |
this.sellingPrice = 0.0;
|
507 |
this.sellingPrice = 0.0;
|
| 547 |
setWeightIsSet(false);
|
508 |
setWeightIsSet(false);
|
| Line 552... |
Line 513... |
| 552 |
this.startDate = 0;
|
513 |
this.startDate = 0;
|
| 553 |
setRetireDateIsSet(false);
|
514 |
setRetireDateIsSet(false);
|
| 554 |
this.retireDate = 0;
|
515 |
this.retireDate = 0;
|
| 555 |
this.itemStatus = null;
|
516 |
this.itemStatus = null;
|
| 556 |
this.status_description = null;
|
517 |
this.status_description = null;
|
| 557 |
this.otherInfo = null;
|
- |
|
| 558 |
this.bestDealText = null;
|
518 |
this.bestDealText = null;
|
| 559 |
setBestDealValueIsSet(false);
|
519 |
setBestDealValueIsSet(false);
|
| 560 |
this.bestDealValue = 0.0;
|
520 |
this.bestDealValue = 0.0;
|
| 561 |
setDefaultForEntityIsSet(false);
|
521 |
setDefaultForEntityIsSet(false);
|
| 562 |
this.defaultForEntity = false;
|
522 |
this.defaultForEntity = false;
|
| Line 832... |
Line 792... |
| 832 |
if (!value) {
|
792 |
if (!value) {
|
| 833 |
this.featureDescription = null;
|
793 |
this.featureDescription = null;
|
| 834 |
}
|
794 |
}
|
| 835 |
}
|
795 |
}
|
| 836 |
|
796 |
|
| 837 |
public ItemInventory getItemInventory() {
|
- |
|
| 838 |
return this.itemInventory;
|
- |
|
| 839 |
}
|
- |
|
| 840 |
|
- |
|
| 841 |
public void setItemInventory(ItemInventory itemInventory) {
|
- |
|
| 842 |
this.itemInventory = itemInventory;
|
- |
|
| 843 |
}
|
- |
|
| 844 |
|
- |
|
| 845 |
public void unsetItemInventory() {
|
- |
|
| 846 |
this.itemInventory = null;
|
- |
|
| 847 |
}
|
- |
|
| 848 |
|
- |
|
| 849 |
/** Returns true if field itemInventory is set (has been assigned a value) and false otherwise */
|
- |
|
| 850 |
public boolean isSetItemInventory() {
|
- |
|
| 851 |
return this.itemInventory != null;
|
- |
|
| 852 |
}
|
- |
|
| 853 |
|
- |
|
| 854 |
public void setItemInventoryIsSet(boolean value) {
|
- |
|
| 855 |
if (!value) {
|
- |
|
| 856 |
this.itemInventory = null;
|
- |
|
| 857 |
}
|
- |
|
| 858 |
}
|
- |
|
| 859 |
|
- |
|
| 860 |
public double getMrp() {
|
797 |
public double getMrp() {
|
| 861 |
return this.mrp;
|
798 |
return this.mrp;
|
| 862 |
}
|
799 |
}
|
| 863 |
|
800 |
|
| 864 |
public void setMrp(double mrp) {
|
801 |
public void setMrp(double mrp) {
|
| Line 1041... |
Line 978... |
| 1041 |
if (!value) {
|
978 |
if (!value) {
|
| 1042 |
this.status_description = null;
|
979 |
this.status_description = null;
|
| 1043 |
}
|
980 |
}
|
| 1044 |
}
|
981 |
}
|
| 1045 |
|
982 |
|
| 1046 |
public int getOtherInfoSize() {
|
- |
|
| 1047 |
return (this.otherInfo == null) ? 0 : this.otherInfo.size();
|
- |
|
| 1048 |
}
|
- |
|
| 1049 |
|
- |
|
| 1050 |
public void putToOtherInfo(String key, String val) {
|
- |
|
| 1051 |
if (this.otherInfo == null) {
|
- |
|
| 1052 |
this.otherInfo = new HashMap<String,String>();
|
- |
|
| 1053 |
}
|
- |
|
| 1054 |
this.otherInfo.put(key, val);
|
- |
|
| 1055 |
}
|
- |
|
| 1056 |
|
- |
|
| 1057 |
public Map<String,String> getOtherInfo() {
|
- |
|
| 1058 |
return this.otherInfo;
|
- |
|
| 1059 |
}
|
- |
|
| 1060 |
|
- |
|
| 1061 |
public void setOtherInfo(Map<String,String> otherInfo) {
|
- |
|
| 1062 |
this.otherInfo = otherInfo;
|
- |
|
| 1063 |
}
|
- |
|
| 1064 |
|
- |
|
| 1065 |
public void unsetOtherInfo() {
|
- |
|
| 1066 |
this.otherInfo = null;
|
- |
|
| 1067 |
}
|
- |
|
| 1068 |
|
- |
|
| 1069 |
/** Returns true if field otherInfo is set (has been assigned a value) and false otherwise */
|
- |
|
| 1070 |
public boolean isSetOtherInfo() {
|
- |
|
| 1071 |
return this.otherInfo != null;
|
- |
|
| 1072 |
}
|
- |
|
| 1073 |
|
- |
|
| 1074 |
public void setOtherInfoIsSet(boolean value) {
|
- |
|
| 1075 |
if (!value) {
|
- |
|
| 1076 |
this.otherInfo = null;
|
- |
|
| 1077 |
}
|
- |
|
| 1078 |
}
|
- |
|
| 1079 |
|
- |
|
| 1080 |
public String getBestDealText() {
|
983 |
public String getBestDealText() {
|
| 1081 |
return this.bestDealText;
|
984 |
return this.bestDealText;
|
| 1082 |
}
|
985 |
}
|
| 1083 |
|
986 |
|
| 1084 |
public void setBestDealText(String bestDealText) {
|
987 |
public void setBestDealText(String bestDealText) {
|
| Line 1505... |
Line 1408... |
| 1505 |
} else {
|
1408 |
} else {
|
| 1506 |
setFeatureDescription((String)value);
|
1409 |
setFeatureDescription((String)value);
|
| 1507 |
}
|
1410 |
}
|
| 1508 |
break;
|
1411 |
break;
|
| 1509 |
|
1412 |
|
| 1510 |
case ITEM_INVENTORY:
|
- |
|
| 1511 |
if (value == null) {
|
- |
|
| 1512 |
unsetItemInventory();
|
- |
|
| 1513 |
} else {
|
- |
|
| 1514 |
setItemInventory((ItemInventory)value);
|
- |
|
| 1515 |
}
|
- |
|
| 1516 |
break;
|
- |
|
| 1517 |
|
- |
|
| 1518 |
case MRP:
|
1413 |
case MRP:
|
| 1519 |
if (value == null) {
|
1414 |
if (value == null) {
|
| 1520 |
unsetMrp();
|
1415 |
unsetMrp();
|
| 1521 |
} else {
|
1416 |
} else {
|
| 1522 |
setMrp((Double)value);
|
1417 |
setMrp((Double)value);
|
| Line 1577... |
Line 1472... |
| 1577 |
} else {
|
1472 |
} else {
|
| 1578 |
setStatus_description((String)value);
|
1473 |
setStatus_description((String)value);
|
| 1579 |
}
|
1474 |
}
|
| 1580 |
break;
|
1475 |
break;
|
| 1581 |
|
1476 |
|
| 1582 |
case OTHER_INFO:
|
- |
|
| 1583 |
if (value == null) {
|
- |
|
| 1584 |
unsetOtherInfo();
|
- |
|
| 1585 |
} else {
|
- |
|
| 1586 |
setOtherInfo((Map<String,String>)value);
|
- |
|
| 1587 |
}
|
- |
|
| 1588 |
break;
|
- |
|
| 1589 |
|
- |
|
| 1590 |
case BEST_DEAL_TEXT:
|
1477 |
case BEST_DEAL_TEXT:
|
| 1591 |
if (value == null) {
|
1478 |
if (value == null) {
|
| 1592 |
unsetBestDealText();
|
1479 |
unsetBestDealText();
|
| 1593 |
} else {
|
1480 |
} else {
|
| 1594 |
setBestDealText((String)value);
|
1481 |
setBestDealText((String)value);
|
| Line 1743... |
Line 1630... |
| 1743 |
return Long.valueOf(getFeatureId());
|
1630 |
return Long.valueOf(getFeatureId());
|
| 1744 |
|
1631 |
|
| 1745 |
case FEATURE_DESCRIPTION:
|
1632 |
case FEATURE_DESCRIPTION:
|
| 1746 |
return getFeatureDescription();
|
1633 |
return getFeatureDescription();
|
| 1747 |
|
1634 |
|
| 1748 |
case ITEM_INVENTORY:
|
- |
|
| 1749 |
return getItemInventory();
|
- |
|
| 1750 |
|
- |
|
| 1751 |
case MRP:
|
1635 |
case MRP:
|
| 1752 |
return Double.valueOf(getMrp());
|
1636 |
return Double.valueOf(getMrp());
|
| 1753 |
|
1637 |
|
| 1754 |
case SELLING_PRICE:
|
1638 |
case SELLING_PRICE:
|
| 1755 |
return Double.valueOf(getSellingPrice());
|
1639 |
return Double.valueOf(getSellingPrice());
|
| Line 1770... |
Line 1654... |
| 1770 |
return getItemStatus();
|
1654 |
return getItemStatus();
|
| 1771 |
|
1655 |
|
| 1772 |
case STATUS_DESCRIPTION:
|
1656 |
case STATUS_DESCRIPTION:
|
| 1773 |
return getStatus_description();
|
1657 |
return getStatus_description();
|
| 1774 |
|
1658 |
|
| 1775 |
case OTHER_INFO:
|
- |
|
| 1776 |
return getOtherInfo();
|
- |
|
| 1777 |
|
- |
|
| 1778 |
case BEST_DEAL_TEXT:
|
1659 |
case BEST_DEAL_TEXT:
|
| 1779 |
return getBestDealText();
|
1660 |
return getBestDealText();
|
| 1780 |
|
1661 |
|
| 1781 |
case BEST_DEAL_VALUE:
|
1662 |
case BEST_DEAL_VALUE:
|
| 1782 |
return Double.valueOf(getBestDealValue());
|
1663 |
return Double.valueOf(getBestDealValue());
|
| Line 1851... |
Line 1732... |
| 1851 |
return isSetCatalogItemId();
|
1732 |
return isSetCatalogItemId();
|
| 1852 |
case FEATURE_ID:
|
1733 |
case FEATURE_ID:
|
| 1853 |
return isSetFeatureId();
|
1734 |
return isSetFeatureId();
|
| 1854 |
case FEATURE_DESCRIPTION:
|
1735 |
case FEATURE_DESCRIPTION:
|
| 1855 |
return isSetFeatureDescription();
|
1736 |
return isSetFeatureDescription();
|
| 1856 |
case ITEM_INVENTORY:
|
- |
|
| 1857 |
return isSetItemInventory();
|
- |
|
| 1858 |
case MRP:
|
1737 |
case MRP:
|
| 1859 |
return isSetMrp();
|
1738 |
return isSetMrp();
|
| 1860 |
case SELLING_PRICE:
|
1739 |
case SELLING_PRICE:
|
| 1861 |
return isSetSellingPrice();
|
1740 |
return isSetSellingPrice();
|
| 1862 |
case WEIGHT:
|
1741 |
case WEIGHT:
|
| Line 1869... |
Line 1748... |
| 1869 |
return isSetRetireDate();
|
1748 |
return isSetRetireDate();
|
| 1870 |
case ITEM_STATUS:
|
1749 |
case ITEM_STATUS:
|
| 1871 |
return isSetItemStatus();
|
1750 |
return isSetItemStatus();
|
| 1872 |
case STATUS_DESCRIPTION:
|
1751 |
case STATUS_DESCRIPTION:
|
| 1873 |
return isSetStatus_description();
|
1752 |
return isSetStatus_description();
|
| 1874 |
case OTHER_INFO:
|
- |
|
| 1875 |
return isSetOtherInfo();
|
- |
|
| 1876 |
case BEST_DEAL_TEXT:
|
1753 |
case BEST_DEAL_TEXT:
|
| 1877 |
return isSetBestDealText();
|
1754 |
return isSetBestDealText();
|
| 1878 |
case BEST_DEAL_VALUE:
|
1755 |
case BEST_DEAL_VALUE:
|
| 1879 |
return isSetBestDealValue();
|
1756 |
return isSetBestDealValue();
|
| 1880 |
case DEFAULT_FOR_ENTITY:
|
1757 |
case DEFAULT_FOR_ENTITY:
|
| Line 2017... |
Line 1894... |
| 2017 |
return false;
|
1894 |
return false;
|
| 2018 |
if (!this.featureDescription.equals(that.featureDescription))
|
1895 |
if (!this.featureDescription.equals(that.featureDescription))
|
| 2019 |
return false;
|
1896 |
return false;
|
| 2020 |
}
|
1897 |
}
|
| 2021 |
|
1898 |
|
| 2022 |
boolean this_present_itemInventory = true && this.isSetItemInventory();
|
- |
|
| 2023 |
boolean that_present_itemInventory = true && that.isSetItemInventory();
|
- |
|
| 2024 |
if (this_present_itemInventory || that_present_itemInventory) {
|
- |
|
| 2025 |
if (!(this_present_itemInventory && that_present_itemInventory))
|
- |
|
| 2026 |
return false;
|
- |
|
| 2027 |
if (!this.itemInventory.equals(that.itemInventory))
|
- |
|
| 2028 |
return false;
|
- |
|
| 2029 |
}
|
- |
|
| 2030 |
|
- |
|
| 2031 |
boolean this_present_mrp = true && this.isSetMrp();
|
1899 |
boolean this_present_mrp = true && this.isSetMrp();
|
| 2032 |
boolean that_present_mrp = true && that.isSetMrp();
|
1900 |
boolean that_present_mrp = true && that.isSetMrp();
|
| 2033 |
if (this_present_mrp || that_present_mrp) {
|
1901 |
if (this_present_mrp || that_present_mrp) {
|
| 2034 |
if (!(this_present_mrp && that_present_mrp))
|
1902 |
if (!(this_present_mrp && that_present_mrp))
|
| 2035 |
return false;
|
1903 |
return false;
|
| Line 2098... |
Line 1966... |
| 2098 |
return false;
|
1966 |
return false;
|
| 2099 |
if (!this.status_description.equals(that.status_description))
|
1967 |
if (!this.status_description.equals(that.status_description))
|
| 2100 |
return false;
|
1968 |
return false;
|
| 2101 |
}
|
1969 |
}
|
| 2102 |
|
1970 |
|
| 2103 |
boolean this_present_otherInfo = true && this.isSetOtherInfo();
|
- |
|
| 2104 |
boolean that_present_otherInfo = true && that.isSetOtherInfo();
|
- |
|
| 2105 |
if (this_present_otherInfo || that_present_otherInfo) {
|
- |
|
| 2106 |
if (!(this_present_otherInfo && that_present_otherInfo))
|
- |
|
| 2107 |
return false;
|
- |
|
| 2108 |
if (!this.otherInfo.equals(that.otherInfo))
|
- |
|
| 2109 |
return false;
|
- |
|
| 2110 |
}
|
- |
|
| 2111 |
|
- |
|
| 2112 |
boolean this_present_bestDealText = true && this.isSetBestDealText();
|
1971 |
boolean this_present_bestDealText = true && this.isSetBestDealText();
|
| 2113 |
boolean that_present_bestDealText = true && that.isSetBestDealText();
|
1972 |
boolean that_present_bestDealText = true && that.isSetBestDealText();
|
| 2114 |
if (this_present_bestDealText || that_present_bestDealText) {
|
1973 |
if (this_present_bestDealText || that_present_bestDealText) {
|
| 2115 |
if (!(this_present_bestDealText && that_present_bestDealText))
|
1974 |
if (!(this_present_bestDealText && that_present_bestDealText))
|
| 2116 |
return false;
|
1975 |
return false;
|
| Line 2368... |
Line 2227... |
| 2368 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureDescription, typedOther.featureDescription);
|
2227 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureDescription, typedOther.featureDescription);
|
| 2369 |
if (lastComparison != 0) {
|
2228 |
if (lastComparison != 0) {
|
| 2370 |
return lastComparison;
|
2229 |
return lastComparison;
|
| 2371 |
}
|
2230 |
}
|
| 2372 |
}
|
2231 |
}
|
| 2373 |
lastComparison = Boolean.valueOf(isSetItemInventory()).compareTo(typedOther.isSetItemInventory());
|
- |
|
| 2374 |
if (lastComparison != 0) {
|
- |
|
| 2375 |
return lastComparison;
|
- |
|
| 2376 |
}
|
- |
|
| 2377 |
if (isSetItemInventory()) {
|
- |
|
| 2378 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemInventory, typedOther.itemInventory);
|
- |
|
| 2379 |
if (lastComparison != 0) {
|
- |
|
| 2380 |
return lastComparison;
|
- |
|
| 2381 |
}
|
- |
|
| 2382 |
}
|
- |
|
| 2383 |
lastComparison = Boolean.valueOf(isSetMrp()).compareTo(typedOther.isSetMrp());
|
2232 |
lastComparison = Boolean.valueOf(isSetMrp()).compareTo(typedOther.isSetMrp());
|
| 2384 |
if (lastComparison != 0) {
|
2233 |
if (lastComparison != 0) {
|
| 2385 |
return lastComparison;
|
2234 |
return lastComparison;
|
| 2386 |
}
|
2235 |
}
|
| 2387 |
if (isSetMrp()) {
|
2236 |
if (isSetMrp()) {
|
| Line 2458... |
Line 2307... |
| 2458 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status_description, typedOther.status_description);
|
2307 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status_description, typedOther.status_description);
|
| 2459 |
if (lastComparison != 0) {
|
2308 |
if (lastComparison != 0) {
|
| 2460 |
return lastComparison;
|
2309 |
return lastComparison;
|
| 2461 |
}
|
2310 |
}
|
| 2462 |
}
|
2311 |
}
|
| 2463 |
lastComparison = Boolean.valueOf(isSetOtherInfo()).compareTo(typedOther.isSetOtherInfo());
|
- |
|
| 2464 |
if (lastComparison != 0) {
|
- |
|
| 2465 |
return lastComparison;
|
- |
|
| 2466 |
}
|
- |
|
| 2467 |
if (isSetOtherInfo()) {
|
- |
|
| 2468 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.otherInfo, typedOther.otherInfo);
|
- |
|
| 2469 |
if (lastComparison != 0) {
|
- |
|
| 2470 |
return lastComparison;
|
- |
|
| 2471 |
}
|
- |
|
| 2472 |
}
|
- |
|
| 2473 |
lastComparison = Boolean.valueOf(isSetBestDealText()).compareTo(typedOther.isSetBestDealText());
|
2312 |
lastComparison = Boolean.valueOf(isSetBestDealText()).compareTo(typedOther.isSetBestDealText());
|
| 2474 |
if (lastComparison != 0) {
|
2313 |
if (lastComparison != 0) {
|
| 2475 |
return lastComparison;
|
2314 |
return lastComparison;
|
| 2476 |
}
|
2315 |
}
|
| 2477 |
if (isSetBestDealText()) {
|
2316 |
if (isSetBestDealText()) {
|
| Line 2716... |
Line 2555... |
| 2716 |
this.featureDescription = iprot.readString();
|
2555 |
this.featureDescription = iprot.readString();
|
| 2717 |
} else {
|
2556 |
} else {
|
| 2718 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2557 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2719 |
}
|
2558 |
}
|
| 2720 |
break;
|
2559 |
break;
|
| 2721 |
case 12: // ITEM_INVENTORY
|
- |
|
| 2722 |
if (field.type == org.apache.thrift.protocol.TType.STRUCT) {
|
- |
|
| 2723 |
this.itemInventory = new ItemInventory();
|
- |
|
| 2724 |
this.itemInventory.read(iprot);
|
- |
|
| 2725 |
} else {
|
- |
|
| 2726 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
- |
|
| 2727 |
}
|
- |
|
| 2728 |
break;
|
- |
|
| 2729 |
case 13: // MRP
|
2560 |
case 13: // MRP
|
| 2730 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
2561 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 2731 |
this.mrp = iprot.readDouble();
|
2562 |
this.mrp = iprot.readDouble();
|
| 2732 |
setMrpIsSet(true);
|
2563 |
setMrpIsSet(true);
|
| 2733 |
} else {
|
2564 |
} else {
|
| Line 2786... |
Line 2617... |
| 2786 |
this.status_description = iprot.readString();
|
2617 |
this.status_description = iprot.readString();
|
| 2787 |
} else {
|
2618 |
} else {
|
| 2788 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2619 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2789 |
}
|
2620 |
}
|
| 2790 |
break;
|
2621 |
break;
|
| 2791 |
case 21: // OTHER_INFO
|
- |
|
| 2792 |
if (field.type == org.apache.thrift.protocol.TType.MAP) {
|
- |
|
| 2793 |
{
|
- |
|
| 2794 |
org.apache.thrift.protocol.TMap _map10 = iprot.readMapBegin();
|
- |
|
| 2795 |
this.otherInfo = new HashMap<String,String>(2*_map10.size);
|
- |
|
| 2796 |
for (int _i11 = 0; _i11 < _map10.size; ++_i11)
|
- |
|
| 2797 |
{
|
- |
|
| 2798 |
String _key12; // required
|
- |
|
| 2799 |
String _val13; // required
|
- |
|
| 2800 |
_key12 = iprot.readString();
|
- |
|
| 2801 |
_val13 = iprot.readString();
|
- |
|
| 2802 |
this.otherInfo.put(_key12, _val13);
|
- |
|
| 2803 |
}
|
- |
|
| 2804 |
iprot.readMapEnd();
|
- |
|
| 2805 |
}
|
- |
|
| 2806 |
} else {
|
- |
|
| 2807 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
- |
|
| 2808 |
}
|
- |
|
| 2809 |
break;
|
- |
|
| 2810 |
case 22: // BEST_DEAL_TEXT
|
2622 |
case 22: // BEST_DEAL_TEXT
|
| 2811 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
2623 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| 2812 |
this.bestDealText = iprot.readString();
|
2624 |
this.bestDealText = iprot.readString();
|
| 2813 |
} else {
|
2625 |
} else {
|
| 2814 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2626 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| Line 2983... |
Line 2795... |
| 2983 |
if (this.featureDescription != null) {
|
2795 |
if (this.featureDescription != null) {
|
| 2984 |
oprot.writeFieldBegin(FEATURE_DESCRIPTION_FIELD_DESC);
|
2796 |
oprot.writeFieldBegin(FEATURE_DESCRIPTION_FIELD_DESC);
|
| 2985 |
oprot.writeString(this.featureDescription);
|
2797 |
oprot.writeString(this.featureDescription);
|
| 2986 |
oprot.writeFieldEnd();
|
2798 |
oprot.writeFieldEnd();
|
| 2987 |
}
|
2799 |
}
|
| 2988 |
if (this.itemInventory != null) {
|
- |
|
| 2989 |
oprot.writeFieldBegin(ITEM_INVENTORY_FIELD_DESC);
|
- |
|
| 2990 |
this.itemInventory.write(oprot);
|
- |
|
| 2991 |
oprot.writeFieldEnd();
|
- |
|
| 2992 |
}
|
- |
|
| 2993 |
if (isSetMrp()) {
|
2800 |
if (isSetMrp()) {
|
| 2994 |
oprot.writeFieldBegin(MRP_FIELD_DESC);
|
2801 |
oprot.writeFieldBegin(MRP_FIELD_DESC);
|
| 2995 |
oprot.writeDouble(this.mrp);
|
2802 |
oprot.writeDouble(this.mrp);
|
| 2996 |
oprot.writeFieldEnd();
|
2803 |
oprot.writeFieldEnd();
|
| 2997 |
}
|
2804 |
}
|
| Line 3026... |
Line 2833... |
| 3026 |
if (this.status_description != null) {
|
2833 |
if (this.status_description != null) {
|
| 3027 |
oprot.writeFieldBegin(STATUS_DESCRIPTION_FIELD_DESC);
|
2834 |
oprot.writeFieldBegin(STATUS_DESCRIPTION_FIELD_DESC);
|
| 3028 |
oprot.writeString(this.status_description);
|
2835 |
oprot.writeString(this.status_description);
|
| 3029 |
oprot.writeFieldEnd();
|
2836 |
oprot.writeFieldEnd();
|
| 3030 |
}
|
2837 |
}
|
| 3031 |
if (this.otherInfo != null) {
|
- |
|
| 3032 |
oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
|
- |
|
| 3033 |
{
|
- |
|
| 3034 |
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.otherInfo.size()));
|
- |
|
| 3035 |
for (Map.Entry<String, String> _iter14 : this.otherInfo.entrySet())
|
- |
|
| 3036 |
{
|
- |
|
| 3037 |
oprot.writeString(_iter14.getKey());
|
- |
|
| 3038 |
oprot.writeString(_iter14.getValue());
|
- |
|
| 3039 |
}
|
- |
|
| 3040 |
oprot.writeMapEnd();
|
- |
|
| 3041 |
}
|
- |
|
| 3042 |
oprot.writeFieldEnd();
|
- |
|
| 3043 |
}
|
- |
|
| 3044 |
if (this.bestDealText != null) {
|
2838 |
if (this.bestDealText != null) {
|
| 3045 |
oprot.writeFieldBegin(BEST_DEAL_TEXT_FIELD_DESC);
|
2839 |
oprot.writeFieldBegin(BEST_DEAL_TEXT_FIELD_DESC);
|
| 3046 |
oprot.writeString(this.bestDealText);
|
2840 |
oprot.writeString(this.bestDealText);
|
| 3047 |
oprot.writeFieldEnd();
|
2841 |
oprot.writeFieldEnd();
|
| 3048 |
}
|
2842 |
}
|
| Line 3186... |
Line 2980... |
| 3186 |
sb.append("null");
|
2980 |
sb.append("null");
|
| 3187 |
} else {
|
2981 |
} else {
|
| 3188 |
sb.append(this.featureDescription);
|
2982 |
sb.append(this.featureDescription);
|
| 3189 |
}
|
2983 |
}
|
| 3190 |
first = false;
|
2984 |
first = false;
|
| 3191 |
if (!first) sb.append(", ");
|
- |
|
| 3192 |
sb.append("itemInventory:");
|
- |
|
| 3193 |
if (this.itemInventory == null) {
|
- |
|
| 3194 |
sb.append("null");
|
- |
|
| 3195 |
} else {
|
- |
|
| 3196 |
sb.append(this.itemInventory);
|
- |
|
| 3197 |
}
|
- |
|
| 3198 |
first = false;
|
- |
|
| 3199 |
if (isSetMrp()) {
|
2985 |
if (isSetMrp()) {
|
| 3200 |
if (!first) sb.append(", ");
|
2986 |
if (!first) sb.append(", ");
|
| 3201 |
sb.append("mrp:");
|
2987 |
sb.append("mrp:");
|
| 3202 |
sb.append(this.mrp);
|
2988 |
sb.append(this.mrp);
|
| 3203 |
first = false;
|
2989 |
first = false;
|
| Line 3245... |
Line 3031... |
| 3245 |
} else {
|
3031 |
} else {
|
| 3246 |
sb.append(this.status_description);
|
3032 |
sb.append(this.status_description);
|
| 3247 |
}
|
3033 |
}
|
| 3248 |
first = false;
|
3034 |
first = false;
|
| 3249 |
if (!first) sb.append(", ");
|
3035 |
if (!first) sb.append(", ");
|
| 3250 |
sb.append("otherInfo:");
|
- |
|
| 3251 |
if (this.otherInfo == null) {
|
- |
|
| 3252 |
sb.append("null");
|
- |
|
| 3253 |
} else {
|
- |
|
| 3254 |
sb.append(this.otherInfo);
|
- |
|
| 3255 |
}
|
- |
|
| 3256 |
first = false;
|
- |
|
| 3257 |
if (!first) sb.append(", ");
|
- |
|
| 3258 |
sb.append("bestDealText:");
|
3036 |
sb.append("bestDealText:");
|
| 3259 |
if (this.bestDealText == null) {
|
3037 |
if (this.bestDealText == null) {
|
| 3260 |
sb.append("null");
|
3038 |
sb.append("null");
|
| 3261 |
} else {
|
3039 |
} else {
|
| 3262 |
sb.append(this.bestDealText);
|
3040 |
sb.append(this.bestDealText);
|