| 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);
|
| 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);
|
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 SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("sellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
|
39 |
private static final org.apache.thrift.protocol.TField SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("sellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
|
| 39 |
private static final org.apache.thrift.protocol.TField WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("weight", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
|
40 |
private static final org.apache.thrift.protocol.TField WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("weight", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
|
| 40 |
private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)16);
|
41 |
private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)16);
|
| 41 |
private static final org.apache.thrift.protocol.TField START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("startDate", org.apache.thrift.protocol.TType.I64, (short)17);
|
42 |
private static final org.apache.thrift.protocol.TField START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("startDate", org.apache.thrift.protocol.TType.I64, (short)17);
|
| 42 |
private static final org.apache.thrift.protocol.TField RETIRE_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("retireDate", org.apache.thrift.protocol.TType.I64, (short)18);
|
43 |
private static final org.apache.thrift.protocol.TField RETIRE_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("retireDate", org.apache.thrift.protocol.TType.I64, (short)18);
|
| 43 |
private static final org.apache.thrift.protocol.TField ITEM_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemStatus", org.apache.thrift.protocol.TType.I32, (short)19);
|
44 |
private static final org.apache.thrift.protocol.TField ITEM_STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("itemStatus", org.apache.thrift.protocol.TType.I32, (short)19);
|
| 44 |
private static final org.apache.thrift.protocol.TField STATUS_DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("status_description", org.apache.thrift.protocol.TType.STRING, (short)20);
|
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);
|
| - |
|
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);
|
| 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);
|
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);
|
| 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);
|
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);
|
| 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);
|
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);
|
| 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);
|
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);
|
| 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);
|
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);
|
| Line 67... |
Line 69... |
| 67 |
private long category; // required
|
69 |
private long category; // required
|
| 68 |
private String comments; // required
|
70 |
private String comments; // required
|
| 69 |
private long catalogItemId; // required
|
71 |
private long catalogItemId; // required
|
| 70 |
private long featureId; // required
|
72 |
private long featureId; // required
|
| 71 |
private String featureDescription; // required
|
73 |
private String featureDescription; // required
|
| - |
|
74 |
private ItemInventory itemInventory; // required
|
| 72 |
private double mrp; // required
|
75 |
private double mrp; // required
|
| 73 |
private double sellingPrice; // required
|
76 |
private double sellingPrice; // required
|
| 74 |
private double weight; // required
|
77 |
private double weight; // required
|
| 75 |
private long addedOn; // required
|
78 |
private long addedOn; // required
|
| 76 |
private long startDate; // required
|
79 |
private long startDate; // required
|
| 77 |
private long retireDate; // required
|
80 |
private long retireDate; // required
|
| 78 |
private status itemStatus; // required
|
81 |
private status itemStatus; // required
|
| 79 |
private String status_description; // required
|
82 |
private String status_description; // required
|
| - |
|
83 |
private Map<String,String> otherInfo; // required
|
| 80 |
private String bestDealText; // required
|
84 |
private String bestDealText; // required
|
| 81 |
private double bestDealValue; // required
|
85 |
private double bestDealValue; // required
|
| 82 |
private boolean defaultForEntity; // required
|
86 |
private boolean defaultForEntity; // required
|
| 83 |
private long updatedOn; // required
|
87 |
private long updatedOn; // required
|
| 84 |
private long bestSellingRank; // required
|
88 |
private long bestSellingRank; // required
|
| Line 104... |
Line 108... |
| 104 |
CATEGORY((short)7, "category"),
|
108 |
CATEGORY((short)7, "category"),
|
| 105 |
COMMENTS((short)8, "comments"),
|
109 |
COMMENTS((short)8, "comments"),
|
| 106 |
CATALOG_ITEM_ID((short)9, "catalogItemId"),
|
110 |
CATALOG_ITEM_ID((short)9, "catalogItemId"),
|
| 107 |
FEATURE_ID((short)10, "featureId"),
|
111 |
FEATURE_ID((short)10, "featureId"),
|
| 108 |
FEATURE_DESCRIPTION((short)11, "featureDescription"),
|
112 |
FEATURE_DESCRIPTION((short)11, "featureDescription"),
|
| - |
|
113 |
ITEM_INVENTORY((short)12, "itemInventory"),
|
| 109 |
MRP((short)13, "mrp"),
|
114 |
MRP((short)13, "mrp"),
|
| 110 |
SELLING_PRICE((short)14, "sellingPrice"),
|
115 |
SELLING_PRICE((short)14, "sellingPrice"),
|
| 111 |
WEIGHT((short)15, "weight"),
|
116 |
WEIGHT((short)15, "weight"),
|
| 112 |
ADDED_ON((short)16, "addedOn"),
|
117 |
ADDED_ON((short)16, "addedOn"),
|
| 113 |
START_DATE((short)17, "startDate"),
|
118 |
START_DATE((short)17, "startDate"),
|
| Line 116... |
Line 121... |
| 116 |
*
|
121 |
*
|
| 117 |
* @see status
|
122 |
* @see status
|
| 118 |
*/
|
123 |
*/
|
| 119 |
ITEM_STATUS((short)19, "itemStatus"),
|
124 |
ITEM_STATUS((short)19, "itemStatus"),
|
| 120 |
STATUS_DESCRIPTION((short)20, "status_description"),
|
125 |
STATUS_DESCRIPTION((short)20, "status_description"),
|
| - |
|
126 |
OTHER_INFO((short)21, "otherInfo"),
|
| 121 |
BEST_DEAL_TEXT((short)22, "bestDealText"),
|
127 |
BEST_DEAL_TEXT((short)22, "bestDealText"),
|
| 122 |
BEST_DEAL_VALUE((short)23, "bestDealValue"),
|
128 |
BEST_DEAL_VALUE((short)23, "bestDealValue"),
|
| 123 |
DEFAULT_FOR_ENTITY((short)24, "defaultForEntity"),
|
129 |
DEFAULT_FOR_ENTITY((short)24, "defaultForEntity"),
|
| 124 |
UPDATED_ON((short)25, "updatedOn"),
|
130 |
UPDATED_ON((short)25, "updatedOn"),
|
| 125 |
BEST_SELLING_RANK((short)26, "bestSellingRank"),
|
131 |
BEST_SELLING_RANK((short)26, "bestSellingRank"),
|
| Line 171... |
Line 177... |
| 171 |
return CATALOG_ITEM_ID;
|
177 |
return CATALOG_ITEM_ID;
|
| 172 |
case 10: // FEATURE_ID
|
178 |
case 10: // FEATURE_ID
|
| 173 |
return FEATURE_ID;
|
179 |
return FEATURE_ID;
|
| 174 |
case 11: // FEATURE_DESCRIPTION
|
180 |
case 11: // FEATURE_DESCRIPTION
|
| 175 |
return FEATURE_DESCRIPTION;
|
181 |
return FEATURE_DESCRIPTION;
|
| - |
|
182 |
case 12: // ITEM_INVENTORY
|
| - |
|
183 |
return ITEM_INVENTORY;
|
| 176 |
case 13: // MRP
|
184 |
case 13: // MRP
|
| 177 |
return MRP;
|
185 |
return MRP;
|
| 178 |
case 14: // SELLING_PRICE
|
186 |
case 14: // SELLING_PRICE
|
| 179 |
return SELLING_PRICE;
|
187 |
return SELLING_PRICE;
|
| 180 |
case 15: // WEIGHT
|
188 |
case 15: // WEIGHT
|
| Line 187... |
Line 195... |
| 187 |
return RETIRE_DATE;
|
195 |
return RETIRE_DATE;
|
| 188 |
case 19: // ITEM_STATUS
|
196 |
case 19: // ITEM_STATUS
|
| 189 |
return ITEM_STATUS;
|
197 |
return ITEM_STATUS;
|
| 190 |
case 20: // STATUS_DESCRIPTION
|
198 |
case 20: // STATUS_DESCRIPTION
|
| 191 |
return STATUS_DESCRIPTION;
|
199 |
return STATUS_DESCRIPTION;
|
| - |
|
200 |
case 21: // OTHER_INFO
|
| - |
|
201 |
return OTHER_INFO;
|
| 192 |
case 22: // BEST_DEAL_TEXT
|
202 |
case 22: // BEST_DEAL_TEXT
|
| 193 |
return BEST_DEAL_TEXT;
|
203 |
return BEST_DEAL_TEXT;
|
| 194 |
case 23: // BEST_DEAL_VALUE
|
204 |
case 23: // BEST_DEAL_VALUE
|
| 195 |
return BEST_DEAL_VALUE;
|
205 |
return BEST_DEAL_VALUE;
|
| 196 |
case 24: // DEFAULT_FOR_ENTITY
|
206 |
case 24: // DEFAULT_FOR_ENTITY
|
| Line 307... |
Line 317... |
| 307 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
317 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 308 |
tmpMap.put(_Fields.FEATURE_ID, new org.apache.thrift.meta_data.FieldMetaData("featureId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
318 |
tmpMap.put(_Fields.FEATURE_ID, new org.apache.thrift.meta_data.FieldMetaData("featureId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 309 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
319 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 310 |
tmpMap.put(_Fields.FEATURE_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("featureDescription", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
320 |
tmpMap.put(_Fields.FEATURE_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("featureDescription", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 311 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
321 |
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)));
|
| 312 |
tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
324 |
tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| 313 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
325 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 314 |
tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
326 |
tmpMap.put(_Fields.SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("sellingPrice", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| 315 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
327 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 316 |
tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
328 |
tmpMap.put(_Fields.WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("weight", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| Line 323... |
Line 335... |
| 323 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
335 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 324 |
tmpMap.put(_Fields.ITEM_STATUS, new org.apache.thrift.meta_data.FieldMetaData("itemStatus", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
336 |
tmpMap.put(_Fields.ITEM_STATUS, new org.apache.thrift.meta_data.FieldMetaData("itemStatus", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 325 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, status.class)));
|
337 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, status.class)));
|
| 326 |
tmpMap.put(_Fields.STATUS_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("status_description", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
338 |
tmpMap.put(_Fields.STATUS_DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("status_description", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 327 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
339 |
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))));
|
| 328 |
tmpMap.put(_Fields.BEST_DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealText", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
344 |
tmpMap.put(_Fields.BEST_DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealText", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 329 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
345 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 330 |
tmpMap.put(_Fields.BEST_DEAL_VALUE, new org.apache.thrift.meta_data.FieldMetaData("bestDealValue", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
346 |
tmpMap.put(_Fields.BEST_DEAL_VALUE, new org.apache.thrift.meta_data.FieldMetaData("bestDealValue", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| 331 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
347 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 332 |
tmpMap.put(_Fields.DEFAULT_FOR_ENTITY, new org.apache.thrift.meta_data.FieldMetaData("defaultForEntity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
348 |
tmpMap.put(_Fields.DEFAULT_FOR_ENTITY, new org.apache.thrift.meta_data.FieldMetaData("defaultForEntity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 372... |
Line 388... |
| 372 |
long category,
|
388 |
long category,
|
| 373 |
String comments,
|
389 |
String comments,
|
| 374 |
long catalogItemId,
|
390 |
long catalogItemId,
|
| 375 |
long featureId,
|
391 |
long featureId,
|
| 376 |
String featureDescription,
|
392 |
String featureDescription,
|
| - |
|
393 |
ItemInventory itemInventory,
|
| 377 |
long addedOn,
|
394 |
long addedOn,
|
| 378 |
status itemStatus,
|
395 |
status itemStatus,
|
| 379 |
String status_description,
|
396 |
String status_description,
|
| - |
|
397 |
Map<String,String> otherInfo,
|
| 380 |
String bestDealText,
|
398 |
String bestDealText,
|
| 381 |
boolean defaultForEntity,
|
399 |
boolean defaultForEntity,
|
| 382 |
long updatedOn,
|
400 |
long updatedOn,
|
| 383 |
boolean risky,
|
401 |
boolean risky,
|
| 384 |
int warrantyPeriod,
|
402 |
int warrantyPeriod,
|
| Line 398... |
Line 416... |
| 398 |
this.catalogItemId = catalogItemId;
|
416 |
this.catalogItemId = catalogItemId;
|
| 399 |
setCatalogItemIdIsSet(true);
|
417 |
setCatalogItemIdIsSet(true);
|
| 400 |
this.featureId = featureId;
|
418 |
this.featureId = featureId;
|
| 401 |
setFeatureIdIsSet(true);
|
419 |
setFeatureIdIsSet(true);
|
| 402 |
this.featureDescription = featureDescription;
|
420 |
this.featureDescription = featureDescription;
|
| - |
|
421 |
this.itemInventory = itemInventory;
|
| 403 |
this.addedOn = addedOn;
|
422 |
this.addedOn = addedOn;
|
| 404 |
setAddedOnIsSet(true);
|
423 |
setAddedOnIsSet(true);
|
| 405 |
this.itemStatus = itemStatus;
|
424 |
this.itemStatus = itemStatus;
|
| 406 |
this.status_description = status_description;
|
425 |
this.status_description = status_description;
|
| - |
|
426 |
this.otherInfo = otherInfo;
|
| 407 |
this.bestDealText = bestDealText;
|
427 |
this.bestDealText = bestDealText;
|
| 408 |
this.defaultForEntity = defaultForEntity;
|
428 |
this.defaultForEntity = defaultForEntity;
|
| 409 |
setDefaultForEntityIsSet(true);
|
429 |
setDefaultForEntityIsSet(true);
|
| 410 |
this.updatedOn = updatedOn;
|
430 |
this.updatedOn = updatedOn;
|
| 411 |
setUpdatedOnIsSet(true);
|
431 |
setUpdatedOnIsSet(true);
|
| Line 445... |
Line 465... |
| 445 |
this.catalogItemId = other.catalogItemId;
|
465 |
this.catalogItemId = other.catalogItemId;
|
| 446 |
this.featureId = other.featureId;
|
466 |
this.featureId = other.featureId;
|
| 447 |
if (other.isSetFeatureDescription()) {
|
467 |
if (other.isSetFeatureDescription()) {
|
| 448 |
this.featureDescription = other.featureDescription;
|
468 |
this.featureDescription = other.featureDescription;
|
| 449 |
}
|
469 |
}
|
| - |
|
470 |
if (other.isSetItemInventory()) {
|
| - |
|
471 |
this.itemInventory = new ItemInventory(other.itemInventory);
|
| - |
|
472 |
}
|
| 450 |
this.mrp = other.mrp;
|
473 |
this.mrp = other.mrp;
|
| 451 |
this.sellingPrice = other.sellingPrice;
|
474 |
this.sellingPrice = other.sellingPrice;
|
| 452 |
this.weight = other.weight;
|
475 |
this.weight = other.weight;
|
| 453 |
this.addedOn = other.addedOn;
|
476 |
this.addedOn = other.addedOn;
|
| 454 |
this.startDate = other.startDate;
|
477 |
this.startDate = other.startDate;
|
| Line 457... |
Line 480... |
| 457 |
this.itemStatus = other.itemStatus;
|
480 |
this.itemStatus = other.itemStatus;
|
| 458 |
}
|
481 |
}
|
| 459 |
if (other.isSetStatus_description()) {
|
482 |
if (other.isSetStatus_description()) {
|
| 460 |
this.status_description = other.status_description;
|
483 |
this.status_description = other.status_description;
|
| 461 |
}
|
484 |
}
|
| - |
|
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 |
}
|
| 462 |
if (other.isSetBestDealText()) {
|
500 |
if (other.isSetBestDealText()) {
|
| 463 |
this.bestDealText = other.bestDealText;
|
501 |
this.bestDealText = other.bestDealText;
|
| 464 |
}
|
502 |
}
|
| 465 |
this.bestDealValue = other.bestDealValue;
|
503 |
this.bestDealValue = other.bestDealValue;
|
| 466 |
this.defaultForEntity = other.defaultForEntity;
|
504 |
this.defaultForEntity = other.defaultForEntity;
|
| Line 499... |
Line 537... |
| 499 |
setCatalogItemIdIsSet(false);
|
537 |
setCatalogItemIdIsSet(false);
|
| 500 |
this.catalogItemId = 0;
|
538 |
this.catalogItemId = 0;
|
| 501 |
setFeatureIdIsSet(false);
|
539 |
setFeatureIdIsSet(false);
|
| 502 |
this.featureId = 0;
|
540 |
this.featureId = 0;
|
| 503 |
this.featureDescription = null;
|
541 |
this.featureDescription = null;
|
| - |
|
542 |
this.itemInventory = null;
|
| 504 |
setMrpIsSet(false);
|
543 |
setMrpIsSet(false);
|
| 505 |
this.mrp = 0.0;
|
544 |
this.mrp = 0.0;
|
| 506 |
setSellingPriceIsSet(false);
|
545 |
setSellingPriceIsSet(false);
|
| 507 |
this.sellingPrice = 0.0;
|
546 |
this.sellingPrice = 0.0;
|
| 508 |
setWeightIsSet(false);
|
547 |
setWeightIsSet(false);
|
| Line 513... |
Line 552... |
| 513 |
this.startDate = 0;
|
552 |
this.startDate = 0;
|
| 514 |
setRetireDateIsSet(false);
|
553 |
setRetireDateIsSet(false);
|
| 515 |
this.retireDate = 0;
|
554 |
this.retireDate = 0;
|
| 516 |
this.itemStatus = null;
|
555 |
this.itemStatus = null;
|
| 517 |
this.status_description = null;
|
556 |
this.status_description = null;
|
| - |
|
557 |
this.otherInfo = null;
|
| 518 |
this.bestDealText = null;
|
558 |
this.bestDealText = null;
|
| 519 |
setBestDealValueIsSet(false);
|
559 |
setBestDealValueIsSet(false);
|
| 520 |
this.bestDealValue = 0.0;
|
560 |
this.bestDealValue = 0.0;
|
| 521 |
setDefaultForEntityIsSet(false);
|
561 |
setDefaultForEntityIsSet(false);
|
| 522 |
this.defaultForEntity = false;
|
562 |
this.defaultForEntity = false;
|
| Line 792... |
Line 832... |
| 792 |
if (!value) {
|
832 |
if (!value) {
|
| 793 |
this.featureDescription = null;
|
833 |
this.featureDescription = null;
|
| 794 |
}
|
834 |
}
|
| 795 |
}
|
835 |
}
|
| 796 |
|
836 |
|
| - |
|
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 |
|
| 797 |
public double getMrp() {
|
860 |
public double getMrp() {
|
| 798 |
return this.mrp;
|
861 |
return this.mrp;
|
| 799 |
}
|
862 |
}
|
| 800 |
|
863 |
|
| 801 |
public void setMrp(double mrp) {
|
864 |
public void setMrp(double mrp) {
|
| Line 978... |
Line 1041... |
| 978 |
if (!value) {
|
1041 |
if (!value) {
|
| 979 |
this.status_description = null;
|
1042 |
this.status_description = null;
|
| 980 |
}
|
1043 |
}
|
| 981 |
}
|
1044 |
}
|
| 982 |
|
1045 |
|
| - |
|
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 |
|
| 983 |
public String getBestDealText() {
|
1080 |
public String getBestDealText() {
|
| 984 |
return this.bestDealText;
|
1081 |
return this.bestDealText;
|
| 985 |
}
|
1082 |
}
|
| 986 |
|
1083 |
|
| 987 |
public void setBestDealText(String bestDealText) {
|
1084 |
public void setBestDealText(String bestDealText) {
|
| Line 1408... |
Line 1505... |
| 1408 |
} else {
|
1505 |
} else {
|
| 1409 |
setFeatureDescription((String)value);
|
1506 |
setFeatureDescription((String)value);
|
| 1410 |
}
|
1507 |
}
|
| 1411 |
break;
|
1508 |
break;
|
| 1412 |
|
1509 |
|
| - |
|
1510 |
case ITEM_INVENTORY:
|
| - |
|
1511 |
if (value == null) {
|
| - |
|
1512 |
unsetItemInventory();
|
| - |
|
1513 |
} else {
|
| - |
|
1514 |
setItemInventory((ItemInventory)value);
|
| - |
|
1515 |
}
|
| - |
|
1516 |
break;
|
| - |
|
1517 |
|
| 1413 |
case MRP:
|
1518 |
case MRP:
|
| 1414 |
if (value == null) {
|
1519 |
if (value == null) {
|
| 1415 |
unsetMrp();
|
1520 |
unsetMrp();
|
| 1416 |
} else {
|
1521 |
} else {
|
| 1417 |
setMrp((Double)value);
|
1522 |
setMrp((Double)value);
|
| Line 1472... |
Line 1577... |
| 1472 |
} else {
|
1577 |
} else {
|
| 1473 |
setStatus_description((String)value);
|
1578 |
setStatus_description((String)value);
|
| 1474 |
}
|
1579 |
}
|
| 1475 |
break;
|
1580 |
break;
|
| 1476 |
|
1581 |
|
| - |
|
1582 |
case OTHER_INFO:
|
| - |
|
1583 |
if (value == null) {
|
| - |
|
1584 |
unsetOtherInfo();
|
| - |
|
1585 |
} else {
|
| - |
|
1586 |
setOtherInfo((Map<String,String>)value);
|
| - |
|
1587 |
}
|
| - |
|
1588 |
break;
|
| - |
|
1589 |
|
| 1477 |
case BEST_DEAL_TEXT:
|
1590 |
case BEST_DEAL_TEXT:
|
| 1478 |
if (value == null) {
|
1591 |
if (value == null) {
|
| 1479 |
unsetBestDealText();
|
1592 |
unsetBestDealText();
|
| 1480 |
} else {
|
1593 |
} else {
|
| 1481 |
setBestDealText((String)value);
|
1594 |
setBestDealText((String)value);
|
| Line 1630... |
Line 1743... |
| 1630 |
return Long.valueOf(getFeatureId());
|
1743 |
return Long.valueOf(getFeatureId());
|
| 1631 |
|
1744 |
|
| 1632 |
case FEATURE_DESCRIPTION:
|
1745 |
case FEATURE_DESCRIPTION:
|
| 1633 |
return getFeatureDescription();
|
1746 |
return getFeatureDescription();
|
| 1634 |
|
1747 |
|
| - |
|
1748 |
case ITEM_INVENTORY:
|
| - |
|
1749 |
return getItemInventory();
|
| - |
|
1750 |
|
| 1635 |
case MRP:
|
1751 |
case MRP:
|
| 1636 |
return Double.valueOf(getMrp());
|
1752 |
return Double.valueOf(getMrp());
|
| 1637 |
|
1753 |
|
| 1638 |
case SELLING_PRICE:
|
1754 |
case SELLING_PRICE:
|
| 1639 |
return Double.valueOf(getSellingPrice());
|
1755 |
return Double.valueOf(getSellingPrice());
|
| Line 1654... |
Line 1770... |
| 1654 |
return getItemStatus();
|
1770 |
return getItemStatus();
|
| 1655 |
|
1771 |
|
| 1656 |
case STATUS_DESCRIPTION:
|
1772 |
case STATUS_DESCRIPTION:
|
| 1657 |
return getStatus_description();
|
1773 |
return getStatus_description();
|
| 1658 |
|
1774 |
|
| - |
|
1775 |
case OTHER_INFO:
|
| - |
|
1776 |
return getOtherInfo();
|
| - |
|
1777 |
|
| 1659 |
case BEST_DEAL_TEXT:
|
1778 |
case BEST_DEAL_TEXT:
|
| 1660 |
return getBestDealText();
|
1779 |
return getBestDealText();
|
| 1661 |
|
1780 |
|
| 1662 |
case BEST_DEAL_VALUE:
|
1781 |
case BEST_DEAL_VALUE:
|
| 1663 |
return Double.valueOf(getBestDealValue());
|
1782 |
return Double.valueOf(getBestDealValue());
|
| Line 1732... |
Line 1851... |
| 1732 |
return isSetCatalogItemId();
|
1851 |
return isSetCatalogItemId();
|
| 1733 |
case FEATURE_ID:
|
1852 |
case FEATURE_ID:
|
| 1734 |
return isSetFeatureId();
|
1853 |
return isSetFeatureId();
|
| 1735 |
case FEATURE_DESCRIPTION:
|
1854 |
case FEATURE_DESCRIPTION:
|
| 1736 |
return isSetFeatureDescription();
|
1855 |
return isSetFeatureDescription();
|
| - |
|
1856 |
case ITEM_INVENTORY:
|
| - |
|
1857 |
return isSetItemInventory();
|
| 1737 |
case MRP:
|
1858 |
case MRP:
|
| 1738 |
return isSetMrp();
|
1859 |
return isSetMrp();
|
| 1739 |
case SELLING_PRICE:
|
1860 |
case SELLING_PRICE:
|
| 1740 |
return isSetSellingPrice();
|
1861 |
return isSetSellingPrice();
|
| 1741 |
case WEIGHT:
|
1862 |
case WEIGHT:
|
| Line 1748... |
Line 1869... |
| 1748 |
return isSetRetireDate();
|
1869 |
return isSetRetireDate();
|
| 1749 |
case ITEM_STATUS:
|
1870 |
case ITEM_STATUS:
|
| 1750 |
return isSetItemStatus();
|
1871 |
return isSetItemStatus();
|
| 1751 |
case STATUS_DESCRIPTION:
|
1872 |
case STATUS_DESCRIPTION:
|
| 1752 |
return isSetStatus_description();
|
1873 |
return isSetStatus_description();
|
| - |
|
1874 |
case OTHER_INFO:
|
| - |
|
1875 |
return isSetOtherInfo();
|
| 1753 |
case BEST_DEAL_TEXT:
|
1876 |
case BEST_DEAL_TEXT:
|
| 1754 |
return isSetBestDealText();
|
1877 |
return isSetBestDealText();
|
| 1755 |
case BEST_DEAL_VALUE:
|
1878 |
case BEST_DEAL_VALUE:
|
| 1756 |
return isSetBestDealValue();
|
1879 |
return isSetBestDealValue();
|
| 1757 |
case DEFAULT_FOR_ENTITY:
|
1880 |
case DEFAULT_FOR_ENTITY:
|
| Line 1894... |
Line 2017... |
| 1894 |
return false;
|
2017 |
return false;
|
| 1895 |
if (!this.featureDescription.equals(that.featureDescription))
|
2018 |
if (!this.featureDescription.equals(that.featureDescription))
|
| 1896 |
return false;
|
2019 |
return false;
|
| 1897 |
}
|
2020 |
}
|
| 1898 |
|
2021 |
|
| - |
|
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 |
|
| 1899 |
boolean this_present_mrp = true && this.isSetMrp();
|
2031 |
boolean this_present_mrp = true && this.isSetMrp();
|
| 1900 |
boolean that_present_mrp = true && that.isSetMrp();
|
2032 |
boolean that_present_mrp = true && that.isSetMrp();
|
| 1901 |
if (this_present_mrp || that_present_mrp) {
|
2033 |
if (this_present_mrp || that_present_mrp) {
|
| 1902 |
if (!(this_present_mrp && that_present_mrp))
|
2034 |
if (!(this_present_mrp && that_present_mrp))
|
| 1903 |
return false;
|
2035 |
return false;
|
| Line 1966... |
Line 2098... |
| 1966 |
return false;
|
2098 |
return false;
|
| 1967 |
if (!this.status_description.equals(that.status_description))
|
2099 |
if (!this.status_description.equals(that.status_description))
|
| 1968 |
return false;
|
2100 |
return false;
|
| 1969 |
}
|
2101 |
}
|
| 1970 |
|
2102 |
|
| - |
|
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 |
|
| 1971 |
boolean this_present_bestDealText = true && this.isSetBestDealText();
|
2112 |
boolean this_present_bestDealText = true && this.isSetBestDealText();
|
| 1972 |
boolean that_present_bestDealText = true && that.isSetBestDealText();
|
2113 |
boolean that_present_bestDealText = true && that.isSetBestDealText();
|
| 1973 |
if (this_present_bestDealText || that_present_bestDealText) {
|
2114 |
if (this_present_bestDealText || that_present_bestDealText) {
|
| 1974 |
if (!(this_present_bestDealText && that_present_bestDealText))
|
2115 |
if (!(this_present_bestDealText && that_present_bestDealText))
|
| 1975 |
return false;
|
2116 |
return false;
|
| Line 2227... |
Line 2368... |
| 2227 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureDescription, typedOther.featureDescription);
|
2368 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.featureDescription, typedOther.featureDescription);
|
| 2228 |
if (lastComparison != 0) {
|
2369 |
if (lastComparison != 0) {
|
| 2229 |
return lastComparison;
|
2370 |
return lastComparison;
|
| 2230 |
}
|
2371 |
}
|
| 2231 |
}
|
2372 |
}
|
| - |
|
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 |
}
|
| 2232 |
lastComparison = Boolean.valueOf(isSetMrp()).compareTo(typedOther.isSetMrp());
|
2383 |
lastComparison = Boolean.valueOf(isSetMrp()).compareTo(typedOther.isSetMrp());
|
| 2233 |
if (lastComparison != 0) {
|
2384 |
if (lastComparison != 0) {
|
| 2234 |
return lastComparison;
|
2385 |
return lastComparison;
|
| 2235 |
}
|
2386 |
}
|
| 2236 |
if (isSetMrp()) {
|
2387 |
if (isSetMrp()) {
|
| Line 2307... |
Line 2458... |
| 2307 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status_description, typedOther.status_description);
|
2458 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status_description, typedOther.status_description);
|
| 2308 |
if (lastComparison != 0) {
|
2459 |
if (lastComparison != 0) {
|
| 2309 |
return lastComparison;
|
2460 |
return lastComparison;
|
| 2310 |
}
|
2461 |
}
|
| 2311 |
}
|
2462 |
}
|
| - |
|
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 |
}
|
| 2312 |
lastComparison = Boolean.valueOf(isSetBestDealText()).compareTo(typedOther.isSetBestDealText());
|
2473 |
lastComparison = Boolean.valueOf(isSetBestDealText()).compareTo(typedOther.isSetBestDealText());
|
| 2313 |
if (lastComparison != 0) {
|
2474 |
if (lastComparison != 0) {
|
| 2314 |
return lastComparison;
|
2475 |
return lastComparison;
|
| 2315 |
}
|
2476 |
}
|
| 2316 |
if (isSetBestDealText()) {
|
2477 |
if (isSetBestDealText()) {
|
| Line 2555... |
Line 2716... |
| 2555 |
this.featureDescription = iprot.readString();
|
2716 |
this.featureDescription = iprot.readString();
|
| 2556 |
} else {
|
2717 |
} else {
|
| 2557 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2718 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2558 |
}
|
2719 |
}
|
| 2559 |
break;
|
2720 |
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;
|
| 2560 |
case 13: // MRP
|
2729 |
case 13: // MRP
|
| 2561 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
2730 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 2562 |
this.mrp = iprot.readDouble();
|
2731 |
this.mrp = iprot.readDouble();
|
| 2563 |
setMrpIsSet(true);
|
2732 |
setMrpIsSet(true);
|
| 2564 |
} else {
|
2733 |
} else {
|
| Line 2617... |
Line 2786... |
| 2617 |
this.status_description = iprot.readString();
|
2786 |
this.status_description = iprot.readString();
|
| 2618 |
} else {
|
2787 |
} else {
|
| 2619 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2788 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2620 |
}
|
2789 |
}
|
| 2621 |
break;
|
2790 |
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;
|
| 2622 |
case 22: // BEST_DEAL_TEXT
|
2810 |
case 22: // BEST_DEAL_TEXT
|
| 2623 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
2811 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| 2624 |
this.bestDealText = iprot.readString();
|
2812 |
this.bestDealText = iprot.readString();
|
| 2625 |
} else {
|
2813 |
} else {
|
| 2626 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2814 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| Line 2795... |
Line 2983... |
| 2795 |
if (this.featureDescription != null) {
|
2983 |
if (this.featureDescription != null) {
|
| 2796 |
oprot.writeFieldBegin(FEATURE_DESCRIPTION_FIELD_DESC);
|
2984 |
oprot.writeFieldBegin(FEATURE_DESCRIPTION_FIELD_DESC);
|
| 2797 |
oprot.writeString(this.featureDescription);
|
2985 |
oprot.writeString(this.featureDescription);
|
| 2798 |
oprot.writeFieldEnd();
|
2986 |
oprot.writeFieldEnd();
|
| 2799 |
}
|
2987 |
}
|
| - |
|
2988 |
if (this.itemInventory != null) {
|
| - |
|
2989 |
oprot.writeFieldBegin(ITEM_INVENTORY_FIELD_DESC);
|
| - |
|
2990 |
this.itemInventory.write(oprot);
|
| - |
|
2991 |
oprot.writeFieldEnd();
|
| - |
|
2992 |
}
|
| 2800 |
if (isSetMrp()) {
|
2993 |
if (isSetMrp()) {
|
| 2801 |
oprot.writeFieldBegin(MRP_FIELD_DESC);
|
2994 |
oprot.writeFieldBegin(MRP_FIELD_DESC);
|
| 2802 |
oprot.writeDouble(this.mrp);
|
2995 |
oprot.writeDouble(this.mrp);
|
| 2803 |
oprot.writeFieldEnd();
|
2996 |
oprot.writeFieldEnd();
|
| 2804 |
}
|
2997 |
}
|
| Line 2833... |
Line 3026... |
| 2833 |
if (this.status_description != null) {
|
3026 |
if (this.status_description != null) {
|
| 2834 |
oprot.writeFieldBegin(STATUS_DESCRIPTION_FIELD_DESC);
|
3027 |
oprot.writeFieldBegin(STATUS_DESCRIPTION_FIELD_DESC);
|
| 2835 |
oprot.writeString(this.status_description);
|
3028 |
oprot.writeString(this.status_description);
|
| 2836 |
oprot.writeFieldEnd();
|
3029 |
oprot.writeFieldEnd();
|
| 2837 |
}
|
3030 |
}
|
| - |
|
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 |
}
|
| 2838 |
if (this.bestDealText != null) {
|
3044 |
if (this.bestDealText != null) {
|
| 2839 |
oprot.writeFieldBegin(BEST_DEAL_TEXT_FIELD_DESC);
|
3045 |
oprot.writeFieldBegin(BEST_DEAL_TEXT_FIELD_DESC);
|
| 2840 |
oprot.writeString(this.bestDealText);
|
3046 |
oprot.writeString(this.bestDealText);
|
| 2841 |
oprot.writeFieldEnd();
|
3047 |
oprot.writeFieldEnd();
|
| 2842 |
}
|
3048 |
}
|
| Line 2980... |
Line 3186... |
| 2980 |
sb.append("null");
|
3186 |
sb.append("null");
|
| 2981 |
} else {
|
3187 |
} else {
|
| 2982 |
sb.append(this.featureDescription);
|
3188 |
sb.append(this.featureDescription);
|
| 2983 |
}
|
3189 |
}
|
| 2984 |
first = false;
|
3190 |
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;
|
| 2985 |
if (isSetMrp()) {
|
3199 |
if (isSetMrp()) {
|
| 2986 |
if (!first) sb.append(", ");
|
3200 |
if (!first) sb.append(", ");
|
| 2987 |
sb.append("mrp:");
|
3201 |
sb.append("mrp:");
|
| 2988 |
sb.append(this.mrp);
|
3202 |
sb.append(this.mrp);
|
| 2989 |
first = false;
|
3203 |
first = false;
|
| Line 3031... |
Line 3245... |
| 3031 |
} else {
|
3245 |
} else {
|
| 3032 |
sb.append(this.status_description);
|
3246 |
sb.append(this.status_description);
|
| 3033 |
}
|
3247 |
}
|
| 3034 |
first = false;
|
3248 |
first = false;
|
| 3035 |
if (!first) sb.append(", ");
|
3249 |
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(", ");
|
| 3036 |
sb.append("bestDealText:");
|
3258 |
sb.append("bestDealText:");
|
| 3037 |
if (this.bestDealText == null) {
|
3259 |
if (this.bestDealText == null) {
|
| 3038 |
sb.append("null");
|
3260 |
sb.append("null");
|
| 3039 |
} else {
|
3261 |
} else {
|
| 3040 |
sb.append(this.bestDealText);
|
3262 |
sb.append(this.bestDealText);
|