| Line 26... |
Line 26... |
| 26 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
|
26 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 27 |
private static final org.apache.thrift.protocol.TField RECOMMENDED_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("recommendedPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)2);
|
27 |
private static final org.apache.thrift.protocol.TField RECOMMENDED_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("recommendedPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)2);
|
| 28 |
private static final org.apache.thrift.protocol.TField MIN_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("minPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)3);
|
28 |
private static final org.apache.thrift.protocol.TField MIN_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("minPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)3);
|
| 29 |
private static final org.apache.thrift.protocol.TField MAX_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("maxPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)4);
|
29 |
private static final org.apache.thrift.protocol.TField MAX_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("maxPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)4);
|
| 30 |
private static final org.apache.thrift.protocol.TField MIN_ADVANCE_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("minAdvancePrice", org.apache.thrift.protocol.TType.DOUBLE, (short)5);
|
30 |
private static final org.apache.thrift.protocol.TField MIN_ADVANCE_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("minAdvancePrice", org.apache.thrift.protocol.TType.DOUBLE, (short)5);
|
| - |
|
31 |
private static final org.apache.thrift.protocol.TField ABSOLUTE_MIN_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("absoluteMinPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)6);
|
| 31 |
private static final org.apache.thrift.protocol.TField FREEBIE_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("freebieItemId", org.apache.thrift.protocol.TType.I64, (short)6);
|
32 |
private static final org.apache.thrift.protocol.TField FREEBIE_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("freebieItemId", org.apache.thrift.protocol.TType.I64, (short)7);
|
| 32 |
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)7);
|
33 |
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)8);
|
| 33 |
|
34 |
|
| 34 |
private long itemId; // required
|
35 |
private long itemId; // required
|
| 35 |
private double recommendedPrice; // required
|
36 |
private double recommendedPrice; // required
|
| 36 |
private double minPrice; // required
|
37 |
private double minPrice; // required
|
| 37 |
private double maxPrice; // required
|
38 |
private double maxPrice; // required
|
| 38 |
private double minAdvancePrice; // required
|
39 |
private double minAdvancePrice; // required
|
| - |
|
40 |
private double absoluteMinPrice; // required
|
| 39 |
private long freebieItemId; // required
|
41 |
private long freebieItemId; // required
|
| 40 |
private String bestDealText; // required
|
42 |
private String bestDealText; // required
|
| 41 |
|
43 |
|
| 42 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
44 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 43 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
45 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 44 |
ITEM_ID((short)1, "itemId"),
|
46 |
ITEM_ID((short)1, "itemId"),
|
| 45 |
RECOMMENDED_PRICE((short)2, "recommendedPrice"),
|
47 |
RECOMMENDED_PRICE((short)2, "recommendedPrice"),
|
| 46 |
MIN_PRICE((short)3, "minPrice"),
|
48 |
MIN_PRICE((short)3, "minPrice"),
|
| 47 |
MAX_PRICE((short)4, "maxPrice"),
|
49 |
MAX_PRICE((short)4, "maxPrice"),
|
| 48 |
MIN_ADVANCE_PRICE((short)5, "minAdvancePrice"),
|
50 |
MIN_ADVANCE_PRICE((short)5, "minAdvancePrice"),
|
| - |
|
51 |
ABSOLUTE_MIN_PRICE((short)6, "absoluteMinPrice"),
|
| 49 |
FREEBIE_ITEM_ID((short)6, "freebieItemId"),
|
52 |
FREEBIE_ITEM_ID((short)7, "freebieItemId"),
|
| 50 |
BEST_DEAL_TEXT((short)7, "bestDealText");
|
53 |
BEST_DEAL_TEXT((short)8, "bestDealText");
|
| 51 |
|
54 |
|
| 52 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
55 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 53 |
|
56 |
|
| 54 |
static {
|
57 |
static {
|
| 55 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
58 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 70... |
Line 73... |
| 70 |
return MIN_PRICE;
|
73 |
return MIN_PRICE;
|
| 71 |
case 4: // MAX_PRICE
|
74 |
case 4: // MAX_PRICE
|
| 72 |
return MAX_PRICE;
|
75 |
return MAX_PRICE;
|
| 73 |
case 5: // MIN_ADVANCE_PRICE
|
76 |
case 5: // MIN_ADVANCE_PRICE
|
| 74 |
return MIN_ADVANCE_PRICE;
|
77 |
return MIN_ADVANCE_PRICE;
|
| - |
|
78 |
case 6: // ABSOLUTE_MIN_PRICE
|
| - |
|
79 |
return ABSOLUTE_MIN_PRICE;
|
| 75 |
case 6: // FREEBIE_ITEM_ID
|
80 |
case 7: // FREEBIE_ITEM_ID
|
| 76 |
return FREEBIE_ITEM_ID;
|
81 |
return FREEBIE_ITEM_ID;
|
| 77 |
case 7: // BEST_DEAL_TEXT
|
82 |
case 8: // BEST_DEAL_TEXT
|
| 78 |
return BEST_DEAL_TEXT;
|
83 |
return BEST_DEAL_TEXT;
|
| 79 |
default:
|
84 |
default:
|
| 80 |
return null;
|
85 |
return null;
|
| 81 |
}
|
86 |
}
|
| 82 |
}
|
87 |
}
|
| Line 119... |
Line 124... |
| 119 |
private static final int __ITEMID_ISSET_ID = 0;
|
124 |
private static final int __ITEMID_ISSET_ID = 0;
|
| 120 |
private static final int __RECOMMENDEDPRICE_ISSET_ID = 1;
|
125 |
private static final int __RECOMMENDEDPRICE_ISSET_ID = 1;
|
| 121 |
private static final int __MINPRICE_ISSET_ID = 2;
|
126 |
private static final int __MINPRICE_ISSET_ID = 2;
|
| 122 |
private static final int __MAXPRICE_ISSET_ID = 3;
|
127 |
private static final int __MAXPRICE_ISSET_ID = 3;
|
| 123 |
private static final int __MINADVANCEPRICE_ISSET_ID = 4;
|
128 |
private static final int __MINADVANCEPRICE_ISSET_ID = 4;
|
| - |
|
129 |
private static final int __ABSOLUTEMINPRICE_ISSET_ID = 5;
|
| 124 |
private static final int __FREEBIEITEMID_ISSET_ID = 5;
|
130 |
private static final int __FREEBIEITEMID_ISSET_ID = 6;
|
| 125 |
private BitSet __isset_bit_vector = new BitSet(6);
|
131 |
private BitSet __isset_bit_vector = new BitSet(7);
|
| 126 |
|
132 |
|
| 127 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
133 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 128 |
static {
|
134 |
static {
|
| 129 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
135 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 130 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
136 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 135... |
Line 141... |
| 135 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
141 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 136 |
tmpMap.put(_Fields.MAX_PRICE, new org.apache.thrift.meta_data.FieldMetaData("maxPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
142 |
tmpMap.put(_Fields.MAX_PRICE, new org.apache.thrift.meta_data.FieldMetaData("maxPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 137 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
143 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 138 |
tmpMap.put(_Fields.MIN_ADVANCE_PRICE, new org.apache.thrift.meta_data.FieldMetaData("minAdvancePrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
144 |
tmpMap.put(_Fields.MIN_ADVANCE_PRICE, new org.apache.thrift.meta_data.FieldMetaData("minAdvancePrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 139 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
145 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
146 |
tmpMap.put(_Fields.ABSOLUTE_MIN_PRICE, new org.apache.thrift.meta_data.FieldMetaData("absoluteMinPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
147 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 140 |
tmpMap.put(_Fields.FREEBIE_ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("freebieItemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
148 |
tmpMap.put(_Fields.FREEBIE_ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("freebieItemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 141 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
149 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 142 |
tmpMap.put(_Fields.BEST_DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealText", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
150 |
tmpMap.put(_Fields.BEST_DEAL_TEXT, new org.apache.thrift.meta_data.FieldMetaData("bestDealText", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 143 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
151 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 144 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
152 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| Line 152... |
Line 160... |
| 152 |
long itemId,
|
160 |
long itemId,
|
| 153 |
double recommendedPrice,
|
161 |
double recommendedPrice,
|
| 154 |
double minPrice,
|
162 |
double minPrice,
|
| 155 |
double maxPrice,
|
163 |
double maxPrice,
|
| 156 |
double minAdvancePrice,
|
164 |
double minAdvancePrice,
|
| - |
|
165 |
double absoluteMinPrice,
|
| 157 |
long freebieItemId,
|
166 |
long freebieItemId,
|
| 158 |
String bestDealText)
|
167 |
String bestDealText)
|
| 159 |
{
|
168 |
{
|
| 160 |
this();
|
169 |
this();
|
| 161 |
this.itemId = itemId;
|
170 |
this.itemId = itemId;
|
| Line 166... |
Line 175... |
| 166 |
setMinPriceIsSet(true);
|
175 |
setMinPriceIsSet(true);
|
| 167 |
this.maxPrice = maxPrice;
|
176 |
this.maxPrice = maxPrice;
|
| 168 |
setMaxPriceIsSet(true);
|
177 |
setMaxPriceIsSet(true);
|
| 169 |
this.minAdvancePrice = minAdvancePrice;
|
178 |
this.minAdvancePrice = minAdvancePrice;
|
| 170 |
setMinAdvancePriceIsSet(true);
|
179 |
setMinAdvancePriceIsSet(true);
|
| - |
|
180 |
this.absoluteMinPrice = absoluteMinPrice;
|
| - |
|
181 |
setAbsoluteMinPriceIsSet(true);
|
| 171 |
this.freebieItemId = freebieItemId;
|
182 |
this.freebieItemId = freebieItemId;
|
| 172 |
setFreebieItemIdIsSet(true);
|
183 |
setFreebieItemIdIsSet(true);
|
| 173 |
this.bestDealText = bestDealText;
|
184 |
this.bestDealText = bestDealText;
|
| 174 |
}
|
185 |
}
|
| 175 |
|
186 |
|
| Line 182... |
Line 193... |
| 182 |
this.itemId = other.itemId;
|
193 |
this.itemId = other.itemId;
|
| 183 |
this.recommendedPrice = other.recommendedPrice;
|
194 |
this.recommendedPrice = other.recommendedPrice;
|
| 184 |
this.minPrice = other.minPrice;
|
195 |
this.minPrice = other.minPrice;
|
| 185 |
this.maxPrice = other.maxPrice;
|
196 |
this.maxPrice = other.maxPrice;
|
| 186 |
this.minAdvancePrice = other.minAdvancePrice;
|
197 |
this.minAdvancePrice = other.minAdvancePrice;
|
| - |
|
198 |
this.absoluteMinPrice = other.absoluteMinPrice;
|
| 187 |
this.freebieItemId = other.freebieItemId;
|
199 |
this.freebieItemId = other.freebieItemId;
|
| 188 |
if (other.isSetBestDealText()) {
|
200 |
if (other.isSetBestDealText()) {
|
| 189 |
this.bestDealText = other.bestDealText;
|
201 |
this.bestDealText = other.bestDealText;
|
| 190 |
}
|
202 |
}
|
| 191 |
}
|
203 |
}
|
| Line 204... |
Line 216... |
| 204 |
this.minPrice = 0.0;
|
216 |
this.minPrice = 0.0;
|
| 205 |
setMaxPriceIsSet(false);
|
217 |
setMaxPriceIsSet(false);
|
| 206 |
this.maxPrice = 0.0;
|
218 |
this.maxPrice = 0.0;
|
| 207 |
setMinAdvancePriceIsSet(false);
|
219 |
setMinAdvancePriceIsSet(false);
|
| 208 |
this.minAdvancePrice = 0.0;
|
220 |
this.minAdvancePrice = 0.0;
|
| - |
|
221 |
setAbsoluteMinPriceIsSet(false);
|
| - |
|
222 |
this.absoluteMinPrice = 0.0;
|
| 209 |
setFreebieItemIdIsSet(false);
|
223 |
setFreebieItemIdIsSet(false);
|
| 210 |
this.freebieItemId = 0;
|
224 |
this.freebieItemId = 0;
|
| 211 |
this.bestDealText = null;
|
225 |
this.bestDealText = null;
|
| 212 |
}
|
226 |
}
|
| 213 |
|
227 |
|
| Line 319... |
Line 333... |
| 319 |
|
333 |
|
| 320 |
public void setMinAdvancePriceIsSet(boolean value) {
|
334 |
public void setMinAdvancePriceIsSet(boolean value) {
|
| 321 |
__isset_bit_vector.set(__MINADVANCEPRICE_ISSET_ID, value);
|
335 |
__isset_bit_vector.set(__MINADVANCEPRICE_ISSET_ID, value);
|
| 322 |
}
|
336 |
}
|
| 323 |
|
337 |
|
| - |
|
338 |
public double getAbsoluteMinPrice() {
|
| - |
|
339 |
return this.absoluteMinPrice;
|
| - |
|
340 |
}
|
| - |
|
341 |
|
| - |
|
342 |
public void setAbsoluteMinPrice(double absoluteMinPrice) {
|
| - |
|
343 |
this.absoluteMinPrice = absoluteMinPrice;
|
| - |
|
344 |
setAbsoluteMinPriceIsSet(true);
|
| - |
|
345 |
}
|
| - |
|
346 |
|
| - |
|
347 |
public void unsetAbsoluteMinPrice() {
|
| - |
|
348 |
__isset_bit_vector.clear(__ABSOLUTEMINPRICE_ISSET_ID);
|
| - |
|
349 |
}
|
| - |
|
350 |
|
| - |
|
351 |
/** Returns true if field absoluteMinPrice is set (has been assigned a value) and false otherwise */
|
| - |
|
352 |
public boolean isSetAbsoluteMinPrice() {
|
| - |
|
353 |
return __isset_bit_vector.get(__ABSOLUTEMINPRICE_ISSET_ID);
|
| - |
|
354 |
}
|
| - |
|
355 |
|
| - |
|
356 |
public void setAbsoluteMinPriceIsSet(boolean value) {
|
| - |
|
357 |
__isset_bit_vector.set(__ABSOLUTEMINPRICE_ISSET_ID, value);
|
| - |
|
358 |
}
|
| - |
|
359 |
|
| 324 |
public long getFreebieItemId() {
|
360 |
public long getFreebieItemId() {
|
| 325 |
return this.freebieItemId;
|
361 |
return this.freebieItemId;
|
| 326 |
}
|
362 |
}
|
| 327 |
|
363 |
|
| 328 |
public void setFreebieItemId(long freebieItemId) {
|
364 |
public void setFreebieItemId(long freebieItemId) {
|
| Line 406... |
Line 442... |
| 406 |
} else {
|
442 |
} else {
|
| 407 |
setMinAdvancePrice((Double)value);
|
443 |
setMinAdvancePrice((Double)value);
|
| 408 |
}
|
444 |
}
|
| 409 |
break;
|
445 |
break;
|
| 410 |
|
446 |
|
| - |
|
447 |
case ABSOLUTE_MIN_PRICE:
|
| - |
|
448 |
if (value == null) {
|
| - |
|
449 |
unsetAbsoluteMinPrice();
|
| - |
|
450 |
} else {
|
| - |
|
451 |
setAbsoluteMinPrice((Double)value);
|
| - |
|
452 |
}
|
| - |
|
453 |
break;
|
| - |
|
454 |
|
| 411 |
case FREEBIE_ITEM_ID:
|
455 |
case FREEBIE_ITEM_ID:
|
| 412 |
if (value == null) {
|
456 |
if (value == null) {
|
| 413 |
unsetFreebieItemId();
|
457 |
unsetFreebieItemId();
|
| 414 |
} else {
|
458 |
} else {
|
| 415 |
setFreebieItemId((Long)value);
|
459 |
setFreebieItemId((Long)value);
|
| Line 442... |
Line 486... |
| 442 |
return Double.valueOf(getMaxPrice());
|
486 |
return Double.valueOf(getMaxPrice());
|
| 443 |
|
487 |
|
| 444 |
case MIN_ADVANCE_PRICE:
|
488 |
case MIN_ADVANCE_PRICE:
|
| 445 |
return Double.valueOf(getMinAdvancePrice());
|
489 |
return Double.valueOf(getMinAdvancePrice());
|
| 446 |
|
490 |
|
| - |
|
491 |
case ABSOLUTE_MIN_PRICE:
|
| - |
|
492 |
return Double.valueOf(getAbsoluteMinPrice());
|
| - |
|
493 |
|
| 447 |
case FREEBIE_ITEM_ID:
|
494 |
case FREEBIE_ITEM_ID:
|
| 448 |
return Long.valueOf(getFreebieItemId());
|
495 |
return Long.valueOf(getFreebieItemId());
|
| 449 |
|
496 |
|
| 450 |
case BEST_DEAL_TEXT:
|
497 |
case BEST_DEAL_TEXT:
|
| 451 |
return getBestDealText();
|
498 |
return getBestDealText();
|
| Line 469... |
Line 516... |
| 469 |
return isSetMinPrice();
|
516 |
return isSetMinPrice();
|
| 470 |
case MAX_PRICE:
|
517 |
case MAX_PRICE:
|
| 471 |
return isSetMaxPrice();
|
518 |
return isSetMaxPrice();
|
| 472 |
case MIN_ADVANCE_PRICE:
|
519 |
case MIN_ADVANCE_PRICE:
|
| 473 |
return isSetMinAdvancePrice();
|
520 |
return isSetMinAdvancePrice();
|
| - |
|
521 |
case ABSOLUTE_MIN_PRICE:
|
| - |
|
522 |
return isSetAbsoluteMinPrice();
|
| 474 |
case FREEBIE_ITEM_ID:
|
523 |
case FREEBIE_ITEM_ID:
|
| 475 |
return isSetFreebieItemId();
|
524 |
return isSetFreebieItemId();
|
| 476 |
case BEST_DEAL_TEXT:
|
525 |
case BEST_DEAL_TEXT:
|
| 477 |
return isSetBestDealText();
|
526 |
return isSetBestDealText();
|
| 478 |
}
|
527 |
}
|
| Line 535... |
Line 584... |
| 535 |
return false;
|
584 |
return false;
|
| 536 |
if (this.minAdvancePrice != that.minAdvancePrice)
|
585 |
if (this.minAdvancePrice != that.minAdvancePrice)
|
| 537 |
return false;
|
586 |
return false;
|
| 538 |
}
|
587 |
}
|
| 539 |
|
588 |
|
| - |
|
589 |
boolean this_present_absoluteMinPrice = true;
|
| - |
|
590 |
boolean that_present_absoluteMinPrice = true;
|
| - |
|
591 |
if (this_present_absoluteMinPrice || that_present_absoluteMinPrice) {
|
| - |
|
592 |
if (!(this_present_absoluteMinPrice && that_present_absoluteMinPrice))
|
| - |
|
593 |
return false;
|
| - |
|
594 |
if (this.absoluteMinPrice != that.absoluteMinPrice)
|
| - |
|
595 |
return false;
|
| - |
|
596 |
}
|
| - |
|
597 |
|
| 540 |
boolean this_present_freebieItemId = true;
|
598 |
boolean this_present_freebieItemId = true;
|
| 541 |
boolean that_present_freebieItemId = true;
|
599 |
boolean that_present_freebieItemId = true;
|
| 542 |
if (this_present_freebieItemId || that_present_freebieItemId) {
|
600 |
if (this_present_freebieItemId || that_present_freebieItemId) {
|
| 543 |
if (!(this_present_freebieItemId && that_present_freebieItemId))
|
601 |
if (!(this_present_freebieItemId && that_present_freebieItemId))
|
| 544 |
return false;
|
602 |
return false;
|
| Line 619... |
Line 677... |
| 619 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minAdvancePrice, typedOther.minAdvancePrice);
|
677 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.minAdvancePrice, typedOther.minAdvancePrice);
|
| 620 |
if (lastComparison != 0) {
|
678 |
if (lastComparison != 0) {
|
| 621 |
return lastComparison;
|
679 |
return lastComparison;
|
| 622 |
}
|
680 |
}
|
| 623 |
}
|
681 |
}
|
| - |
|
682 |
lastComparison = Boolean.valueOf(isSetAbsoluteMinPrice()).compareTo(typedOther.isSetAbsoluteMinPrice());
|
| - |
|
683 |
if (lastComparison != 0) {
|
| - |
|
684 |
return lastComparison;
|
| - |
|
685 |
}
|
| - |
|
686 |
if (isSetAbsoluteMinPrice()) {
|
| - |
|
687 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.absoluteMinPrice, typedOther.absoluteMinPrice);
|
| - |
|
688 |
if (lastComparison != 0) {
|
| - |
|
689 |
return lastComparison;
|
| - |
|
690 |
}
|
| - |
|
691 |
}
|
| 624 |
lastComparison = Boolean.valueOf(isSetFreebieItemId()).compareTo(typedOther.isSetFreebieItemId());
|
692 |
lastComparison = Boolean.valueOf(isSetFreebieItemId()).compareTo(typedOther.isSetFreebieItemId());
|
| 625 |
if (lastComparison != 0) {
|
693 |
if (lastComparison != 0) {
|
| 626 |
return lastComparison;
|
694 |
return lastComparison;
|
| 627 |
}
|
695 |
}
|
| 628 |
if (isSetFreebieItemId()) {
|
696 |
if (isSetFreebieItemId()) {
|
| Line 696... |
Line 764... |
| 696 |
setMinAdvancePriceIsSet(true);
|
764 |
setMinAdvancePriceIsSet(true);
|
| 697 |
} else {
|
765 |
} else {
|
| 698 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
766 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 699 |
}
|
767 |
}
|
| 700 |
break;
|
768 |
break;
|
| - |
|
769 |
case 6: // ABSOLUTE_MIN_PRICE
|
| - |
|
770 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
771 |
this.absoluteMinPrice = iprot.readDouble();
|
| - |
|
772 |
setAbsoluteMinPriceIsSet(true);
|
| - |
|
773 |
} else {
|
| - |
|
774 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
775 |
}
|
| - |
|
776 |
break;
|
| 701 |
case 6: // FREEBIE_ITEM_ID
|
777 |
case 7: // FREEBIE_ITEM_ID
|
| 702 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
778 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 703 |
this.freebieItemId = iprot.readI64();
|
779 |
this.freebieItemId = iprot.readI64();
|
| 704 |
setFreebieItemIdIsSet(true);
|
780 |
setFreebieItemIdIsSet(true);
|
| 705 |
} else {
|
781 |
} else {
|
| 706 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
782 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 707 |
}
|
783 |
}
|
| 708 |
break;
|
784 |
break;
|
| 709 |
case 7: // BEST_DEAL_TEXT
|
785 |
case 8: // BEST_DEAL_TEXT
|
| 710 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
786 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| 711 |
this.bestDealText = iprot.readString();
|
787 |
this.bestDealText = iprot.readString();
|
| 712 |
} else {
|
788 |
} else {
|
| 713 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
789 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 714 |
}
|
790 |
}
|
| Line 739... |
Line 815... |
| 739 |
oprot.writeDouble(this.maxPrice);
|
815 |
oprot.writeDouble(this.maxPrice);
|
| 740 |
oprot.writeFieldEnd();
|
816 |
oprot.writeFieldEnd();
|
| 741 |
oprot.writeFieldBegin(MIN_ADVANCE_PRICE_FIELD_DESC);
|
817 |
oprot.writeFieldBegin(MIN_ADVANCE_PRICE_FIELD_DESC);
|
| 742 |
oprot.writeDouble(this.minAdvancePrice);
|
818 |
oprot.writeDouble(this.minAdvancePrice);
|
| 743 |
oprot.writeFieldEnd();
|
819 |
oprot.writeFieldEnd();
|
| - |
|
820 |
oprot.writeFieldBegin(ABSOLUTE_MIN_PRICE_FIELD_DESC);
|
| - |
|
821 |
oprot.writeDouble(this.absoluteMinPrice);
|
| - |
|
822 |
oprot.writeFieldEnd();
|
| 744 |
oprot.writeFieldBegin(FREEBIE_ITEM_ID_FIELD_DESC);
|
823 |
oprot.writeFieldBegin(FREEBIE_ITEM_ID_FIELD_DESC);
|
| 745 |
oprot.writeI64(this.freebieItemId);
|
824 |
oprot.writeI64(this.freebieItemId);
|
| 746 |
oprot.writeFieldEnd();
|
825 |
oprot.writeFieldEnd();
|
| 747 |
if (this.bestDealText != null) {
|
826 |
if (this.bestDealText != null) {
|
| 748 |
oprot.writeFieldBegin(BEST_DEAL_TEXT_FIELD_DESC);
|
827 |
oprot.writeFieldBegin(BEST_DEAL_TEXT_FIELD_DESC);
|
| Line 776... |
Line 855... |
| 776 |
if (!first) sb.append(", ");
|
855 |
if (!first) sb.append(", ");
|
| 777 |
sb.append("minAdvancePrice:");
|
856 |
sb.append("minAdvancePrice:");
|
| 778 |
sb.append(this.minAdvancePrice);
|
857 |
sb.append(this.minAdvancePrice);
|
| 779 |
first = false;
|
858 |
first = false;
|
| 780 |
if (!first) sb.append(", ");
|
859 |
if (!first) sb.append(", ");
|
| - |
|
860 |
sb.append("absoluteMinPrice:");
|
| - |
|
861 |
sb.append(this.absoluteMinPrice);
|
| - |
|
862 |
first = false;
|
| - |
|
863 |
if (!first) sb.append(", ");
|
| 781 |
sb.append("freebieItemId:");
|
864 |
sb.append("freebieItemId:");
|
| 782 |
sb.append(this.freebieItemId);
|
865 |
sb.append(this.freebieItemId);
|
| 783 |
first = false;
|
866 |
first = false;
|
| 784 |
if (!first) sb.append(", ");
|
867 |
if (!first) sb.append(", ");
|
| 785 |
sb.append("bestDealText:");
|
868 |
sb.append("bestDealText:");
|