| Line 41... |
Line 41... |
| 41 |
private static final org.apache.thrift.protocol.TField CURRENT_SP_FIELD_DESC = new org.apache.thrift.protocol.TField("currentSp", org.apache.thrift.protocol.TType.DOUBLE, (short)16);
|
41 |
private static final org.apache.thrift.protocol.TField CURRENT_SP_FIELD_DESC = new org.apache.thrift.protocol.TField("currentSp", org.apache.thrift.protocol.TType.DOUBLE, (short)16);
|
| 42 |
private static final org.apache.thrift.protocol.TField CURRENT_TP_FIELD_DESC = new org.apache.thrift.protocol.TField("currentTp", org.apache.thrift.protocol.TType.DOUBLE, (short)17);
|
42 |
private static final org.apache.thrift.protocol.TField CURRENT_TP_FIELD_DESC = new org.apache.thrift.protocol.TField("currentTp", org.apache.thrift.protocol.TType.DOUBLE, (short)17);
|
| 43 |
private static final org.apache.thrift.protocol.TField MINIMUM_POSSIBLE_SP_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumPossibleSp", org.apache.thrift.protocol.TType.DOUBLE, (short)18);
|
43 |
private static final org.apache.thrift.protocol.TField MINIMUM_POSSIBLE_SP_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumPossibleSp", org.apache.thrift.protocol.TType.DOUBLE, (short)18);
|
| 44 |
private static final org.apache.thrift.protocol.TField MINIMUM_POSSIBLE_TP_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumPossibleTp", org.apache.thrift.protocol.TType.DOUBLE, (short)19);
|
44 |
private static final org.apache.thrift.protocol.TField MINIMUM_POSSIBLE_TP_FIELD_DESC = new org.apache.thrift.protocol.TField("minimumPossibleTp", org.apache.thrift.protocol.TType.DOUBLE, (short)19);
|
| 45 |
private static final org.apache.thrift.protocol.TField LAST_CHECKED_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("lastCheckedTimestamp", org.apache.thrift.protocol.TType.I64, (short)20);
|
45 |
private static final org.apache.thrift.protocol.TField LAST_CHECKED_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("lastCheckedTimestamp", org.apache.thrift.protocol.TType.I64, (short)20);
|
| - |
|
46 |
private static final org.apache.thrift.protocol.TField MAXIMUM_SELLING_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("maximumSellingPrice", org.apache.thrift.protocol.TType.DOUBLE, (short)21);
|
| 46 |
|
47 |
|
| 47 |
private long itemId; // required
|
48 |
private long itemId; // required
|
| 48 |
private long source; // required
|
49 |
private long source; // required
|
| 49 |
private double emiFee; // required
|
50 |
private double emiFee; // required
|
| 50 |
private double courierCost; // required
|
51 |
private double courierCost; // required
|
| Line 62... |
Line 63... |
| 62 |
private double currentSp; // required
|
63 |
private double currentSp; // required
|
| 63 |
private double currentTp; // required
|
64 |
private double currentTp; // required
|
| 64 |
private double minimumPossibleSp; // required
|
65 |
private double minimumPossibleSp; // required
|
| 65 |
private double minimumPossibleTp; // required
|
66 |
private double minimumPossibleTp; // required
|
| 66 |
private long lastCheckedTimestamp; // required
|
67 |
private long lastCheckedTimestamp; // required
|
| - |
|
68 |
private double maximumSellingPrice; // required
|
| 67 |
|
69 |
|
| 68 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
70 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 69 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
71 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 70 |
ITEM_ID((short)1, "itemId"),
|
72 |
ITEM_ID((short)1, "itemId"),
|
| 71 |
SOURCE((short)2, "source"),
|
73 |
SOURCE((short)2, "source"),
|
| Line 84... |
Line 86... |
| 84 |
AUTO_FAVOURITE((short)15, "autoFavourite"),
|
86 |
AUTO_FAVOURITE((short)15, "autoFavourite"),
|
| 85 |
CURRENT_SP((short)16, "currentSp"),
|
87 |
CURRENT_SP((short)16, "currentSp"),
|
| 86 |
CURRENT_TP((short)17, "currentTp"),
|
88 |
CURRENT_TP((short)17, "currentTp"),
|
| 87 |
MINIMUM_POSSIBLE_SP((short)18, "minimumPossibleSp"),
|
89 |
MINIMUM_POSSIBLE_SP((short)18, "minimumPossibleSp"),
|
| 88 |
MINIMUM_POSSIBLE_TP((short)19, "minimumPossibleTp"),
|
90 |
MINIMUM_POSSIBLE_TP((short)19, "minimumPossibleTp"),
|
| 89 |
LAST_CHECKED_TIMESTAMP((short)20, "lastCheckedTimestamp");
|
91 |
LAST_CHECKED_TIMESTAMP((short)20, "lastCheckedTimestamp"),
|
| - |
|
92 |
MAXIMUM_SELLING_PRICE((short)21, "maximumSellingPrice");
|
| 90 |
|
93 |
|
| 91 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
94 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 92 |
|
95 |
|
| 93 |
static {
|
96 |
static {
|
| 94 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
97 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 139... |
Line 142... |
| 139 |
return MINIMUM_POSSIBLE_SP;
|
142 |
return MINIMUM_POSSIBLE_SP;
|
| 140 |
case 19: // MINIMUM_POSSIBLE_TP
|
143 |
case 19: // MINIMUM_POSSIBLE_TP
|
| 141 |
return MINIMUM_POSSIBLE_TP;
|
144 |
return MINIMUM_POSSIBLE_TP;
|
| 142 |
case 20: // LAST_CHECKED_TIMESTAMP
|
145 |
case 20: // LAST_CHECKED_TIMESTAMP
|
| 143 |
return LAST_CHECKED_TIMESTAMP;
|
146 |
return LAST_CHECKED_TIMESTAMP;
|
| - |
|
147 |
case 21: // MAXIMUM_SELLING_PRICE
|
| - |
|
148 |
return MAXIMUM_SELLING_PRICE;
|
| 144 |
default:
|
149 |
default:
|
| 145 |
return null;
|
150 |
return null;
|
| 146 |
}
|
151 |
}
|
| 147 |
}
|
152 |
}
|
| 148 |
|
153 |
|
| Line 199... |
Line 204... |
| 199 |
private static final int __CURRENTSP_ISSET_ID = 15;
|
204 |
private static final int __CURRENTSP_ISSET_ID = 15;
|
| 200 |
private static final int __CURRENTTP_ISSET_ID = 16;
|
205 |
private static final int __CURRENTTP_ISSET_ID = 16;
|
| 201 |
private static final int __MINIMUMPOSSIBLESP_ISSET_ID = 17;
|
206 |
private static final int __MINIMUMPOSSIBLESP_ISSET_ID = 17;
|
| 202 |
private static final int __MINIMUMPOSSIBLETP_ISSET_ID = 18;
|
207 |
private static final int __MINIMUMPOSSIBLETP_ISSET_ID = 18;
|
| 203 |
private static final int __LASTCHECKEDTIMESTAMP_ISSET_ID = 19;
|
208 |
private static final int __LASTCHECKEDTIMESTAMP_ISSET_ID = 19;
|
| - |
|
209 |
private static final int __MAXIMUMSELLINGPRICE_ISSET_ID = 20;
|
| 204 |
private BitSet __isset_bit_vector = new BitSet(20);
|
210 |
private BitSet __isset_bit_vector = new BitSet(21);
|
| 205 |
|
211 |
|
| 206 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
212 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 207 |
static {
|
213 |
static {
|
| 208 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
214 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 209 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
215 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 244... |
Line 250... |
| 244 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
250 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 245 |
tmpMap.put(_Fields.MINIMUM_POSSIBLE_TP, new org.apache.thrift.meta_data.FieldMetaData("minimumPossibleTp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
251 |
tmpMap.put(_Fields.MINIMUM_POSSIBLE_TP, new org.apache.thrift.meta_data.FieldMetaData("minimumPossibleTp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 246 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
252 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 247 |
tmpMap.put(_Fields.LAST_CHECKED_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("lastCheckedTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
253 |
tmpMap.put(_Fields.LAST_CHECKED_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("lastCheckedTimestamp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 248 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
254 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
255 |
tmpMap.put(_Fields.MAXIMUM_SELLING_PRICE, new org.apache.thrift.meta_data.FieldMetaData("maximumSellingPrice", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
256 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 249 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
257 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 250 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(MarketplaceItems.class, metaDataMap);
|
258 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(MarketplaceItems.class, metaDataMap);
|
| 251 |
}
|
259 |
}
|
| 252 |
|
260 |
|
| 253 |
public MarketplaceItems() {
|
261 |
public MarketplaceItems() {
|
| Line 271... |
Line 279... |
| 271 |
boolean autoFavourite,
|
279 |
boolean autoFavourite,
|
| 272 |
double currentSp,
|
280 |
double currentSp,
|
| 273 |
double currentTp,
|
281 |
double currentTp,
|
| 274 |
double minimumPossibleSp,
|
282 |
double minimumPossibleSp,
|
| 275 |
double minimumPossibleTp,
|
283 |
double minimumPossibleTp,
|
| 276 |
long lastCheckedTimestamp)
|
284 |
long lastCheckedTimestamp,
|
| - |
|
285 |
double maximumSellingPrice)
|
| 277 |
{
|
286 |
{
|
| 278 |
this();
|
287 |
this();
|
| 279 |
this.itemId = itemId;
|
288 |
this.itemId = itemId;
|
| 280 |
setItemIdIsSet(true);
|
289 |
setItemIdIsSet(true);
|
| 281 |
this.source = source;
|
290 |
this.source = source;
|
| Line 314... |
Line 323... |
| 314 |
setMinimumPossibleSpIsSet(true);
|
323 |
setMinimumPossibleSpIsSet(true);
|
| 315 |
this.minimumPossibleTp = minimumPossibleTp;
|
324 |
this.minimumPossibleTp = minimumPossibleTp;
|
| 316 |
setMinimumPossibleTpIsSet(true);
|
325 |
setMinimumPossibleTpIsSet(true);
|
| 317 |
this.lastCheckedTimestamp = lastCheckedTimestamp;
|
326 |
this.lastCheckedTimestamp = lastCheckedTimestamp;
|
| 318 |
setLastCheckedTimestampIsSet(true);
|
327 |
setLastCheckedTimestampIsSet(true);
|
| - |
|
328 |
this.maximumSellingPrice = maximumSellingPrice;
|
| - |
|
329 |
setMaximumSellingPriceIsSet(true);
|
| 319 |
}
|
330 |
}
|
| 320 |
|
331 |
|
| 321 |
/**
|
332 |
/**
|
| 322 |
* Performs a deep copy on <i>other</i>.
|
333 |
* Performs a deep copy on <i>other</i>.
|
| 323 |
*/
|
334 |
*/
|
| Line 342... |
Line 353... |
| 342 |
this.currentSp = other.currentSp;
|
353 |
this.currentSp = other.currentSp;
|
| 343 |
this.currentTp = other.currentTp;
|
354 |
this.currentTp = other.currentTp;
|
| 344 |
this.minimumPossibleSp = other.minimumPossibleSp;
|
355 |
this.minimumPossibleSp = other.minimumPossibleSp;
|
| 345 |
this.minimumPossibleTp = other.minimumPossibleTp;
|
356 |
this.minimumPossibleTp = other.minimumPossibleTp;
|
| 346 |
this.lastCheckedTimestamp = other.lastCheckedTimestamp;
|
357 |
this.lastCheckedTimestamp = other.lastCheckedTimestamp;
|
| - |
|
358 |
this.maximumSellingPrice = other.maximumSellingPrice;
|
| 347 |
}
|
359 |
}
|
| 348 |
|
360 |
|
| 349 |
public MarketplaceItems deepCopy() {
|
361 |
public MarketplaceItems deepCopy() {
|
| 350 |
return new MarketplaceItems(this);
|
362 |
return new MarketplaceItems(this);
|
| 351 |
}
|
363 |
}
|
| Line 390... |
Line 402... |
| 390 |
this.minimumPossibleSp = 0.0;
|
402 |
this.minimumPossibleSp = 0.0;
|
| 391 |
setMinimumPossibleTpIsSet(false);
|
403 |
setMinimumPossibleTpIsSet(false);
|
| 392 |
this.minimumPossibleTp = 0.0;
|
404 |
this.minimumPossibleTp = 0.0;
|
| 393 |
setLastCheckedTimestampIsSet(false);
|
405 |
setLastCheckedTimestampIsSet(false);
|
| 394 |
this.lastCheckedTimestamp = 0;
|
406 |
this.lastCheckedTimestamp = 0;
|
| - |
|
407 |
setMaximumSellingPriceIsSet(false);
|
| - |
|
408 |
this.maximumSellingPrice = 0.0;
|
| 395 |
}
|
409 |
}
|
| 396 |
|
410 |
|
| 397 |
public long getItemId() {
|
411 |
public long getItemId() {
|
| 398 |
return this.itemId;
|
412 |
return this.itemId;
|
| 399 |
}
|
413 |
}
|
| Line 832... |
Line 846... |
| 832 |
|
846 |
|
| 833 |
public void setLastCheckedTimestampIsSet(boolean value) {
|
847 |
public void setLastCheckedTimestampIsSet(boolean value) {
|
| 834 |
__isset_bit_vector.set(__LASTCHECKEDTIMESTAMP_ISSET_ID, value);
|
848 |
__isset_bit_vector.set(__LASTCHECKEDTIMESTAMP_ISSET_ID, value);
|
| 835 |
}
|
849 |
}
|
| 836 |
|
850 |
|
| - |
|
851 |
public double getMaximumSellingPrice() {
|
| - |
|
852 |
return this.maximumSellingPrice;
|
| - |
|
853 |
}
|
| - |
|
854 |
|
| - |
|
855 |
public void setMaximumSellingPrice(double maximumSellingPrice) {
|
| - |
|
856 |
this.maximumSellingPrice = maximumSellingPrice;
|
| - |
|
857 |
setMaximumSellingPriceIsSet(true);
|
| - |
|
858 |
}
|
| - |
|
859 |
|
| - |
|
860 |
public void unsetMaximumSellingPrice() {
|
| - |
|
861 |
__isset_bit_vector.clear(__MAXIMUMSELLINGPRICE_ISSET_ID);
|
| - |
|
862 |
}
|
| - |
|
863 |
|
| - |
|
864 |
/** Returns true if field maximumSellingPrice is set (has been assigned a value) and false otherwise */
|
| - |
|
865 |
public boolean isSetMaximumSellingPrice() {
|
| - |
|
866 |
return __isset_bit_vector.get(__MAXIMUMSELLINGPRICE_ISSET_ID);
|
| - |
|
867 |
}
|
| - |
|
868 |
|
| - |
|
869 |
public void setMaximumSellingPriceIsSet(boolean value) {
|
| - |
|
870 |
__isset_bit_vector.set(__MAXIMUMSELLINGPRICE_ISSET_ID, value);
|
| - |
|
871 |
}
|
| - |
|
872 |
|
| 837 |
public void setFieldValue(_Fields field, Object value) {
|
873 |
public void setFieldValue(_Fields field, Object value) {
|
| 838 |
switch (field) {
|
874 |
switch (field) {
|
| 839 |
case ITEM_ID:
|
875 |
case ITEM_ID:
|
| 840 |
if (value == null) {
|
876 |
if (value == null) {
|
| 841 |
unsetItemId();
|
877 |
unsetItemId();
|
| Line 994... |
Line 1030... |
| 994 |
} else {
|
1030 |
} else {
|
| 995 |
setLastCheckedTimestamp((Long)value);
|
1031 |
setLastCheckedTimestamp((Long)value);
|
| 996 |
}
|
1032 |
}
|
| 997 |
break;
|
1033 |
break;
|
| 998 |
|
1034 |
|
| - |
|
1035 |
case MAXIMUM_SELLING_PRICE:
|
| - |
|
1036 |
if (value == null) {
|
| - |
|
1037 |
unsetMaximumSellingPrice();
|
| - |
|
1038 |
} else {
|
| - |
|
1039 |
setMaximumSellingPrice((Double)value);
|
| - |
|
1040 |
}
|
| - |
|
1041 |
break;
|
| - |
|
1042 |
|
| 999 |
}
|
1043 |
}
|
| 1000 |
}
|
1044 |
}
|
| 1001 |
|
1045 |
|
| 1002 |
public Object getFieldValue(_Fields field) {
|
1046 |
public Object getFieldValue(_Fields field) {
|
| 1003 |
switch (field) {
|
1047 |
switch (field) {
|
| Line 1059... |
Line 1103... |
| 1059 |
return Double.valueOf(getMinimumPossibleTp());
|
1103 |
return Double.valueOf(getMinimumPossibleTp());
|
| 1060 |
|
1104 |
|
| 1061 |
case LAST_CHECKED_TIMESTAMP:
|
1105 |
case LAST_CHECKED_TIMESTAMP:
|
| 1062 |
return Long.valueOf(getLastCheckedTimestamp());
|
1106 |
return Long.valueOf(getLastCheckedTimestamp());
|
| 1063 |
|
1107 |
|
| - |
|
1108 |
case MAXIMUM_SELLING_PRICE:
|
| - |
|
1109 |
return Double.valueOf(getMaximumSellingPrice());
|
| - |
|
1110 |
|
| 1064 |
}
|
1111 |
}
|
| 1065 |
throw new IllegalStateException();
|
1112 |
throw new IllegalStateException();
|
| 1066 |
}
|
1113 |
}
|
| 1067 |
|
1114 |
|
| 1068 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
1115 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 1110... |
Line 1157... |
| 1110 |
return isSetMinimumPossibleSp();
|
1157 |
return isSetMinimumPossibleSp();
|
| 1111 |
case MINIMUM_POSSIBLE_TP:
|
1158 |
case MINIMUM_POSSIBLE_TP:
|
| 1112 |
return isSetMinimumPossibleTp();
|
1159 |
return isSetMinimumPossibleTp();
|
| 1113 |
case LAST_CHECKED_TIMESTAMP:
|
1160 |
case LAST_CHECKED_TIMESTAMP:
|
| 1114 |
return isSetLastCheckedTimestamp();
|
1161 |
return isSetLastCheckedTimestamp();
|
| - |
|
1162 |
case MAXIMUM_SELLING_PRICE:
|
| - |
|
1163 |
return isSetMaximumSellingPrice();
|
| 1115 |
}
|
1164 |
}
|
| 1116 |
throw new IllegalStateException();
|
1165 |
throw new IllegalStateException();
|
| 1117 |
}
|
1166 |
}
|
| 1118 |
|
1167 |
|
| 1119 |
@Override
|
1168 |
@Override
|
| Line 1307... |
Line 1356... |
| 1307 |
return false;
|
1356 |
return false;
|
| 1308 |
if (this.lastCheckedTimestamp != that.lastCheckedTimestamp)
|
1357 |
if (this.lastCheckedTimestamp != that.lastCheckedTimestamp)
|
| 1309 |
return false;
|
1358 |
return false;
|
| 1310 |
}
|
1359 |
}
|
| 1311 |
|
1360 |
|
| - |
|
1361 |
boolean this_present_maximumSellingPrice = true;
|
| - |
|
1362 |
boolean that_present_maximumSellingPrice = true;
|
| - |
|
1363 |
if (this_present_maximumSellingPrice || that_present_maximumSellingPrice) {
|
| - |
|
1364 |
if (!(this_present_maximumSellingPrice && that_present_maximumSellingPrice))
|
| - |
|
1365 |
return false;
|
| - |
|
1366 |
if (this.maximumSellingPrice != that.maximumSellingPrice)
|
| - |
|
1367 |
return false;
|
| - |
|
1368 |
}
|
| - |
|
1369 |
|
| 1312 |
return true;
|
1370 |
return true;
|
| 1313 |
}
|
1371 |
}
|
| 1314 |
|
1372 |
|
| 1315 |
@Override
|
1373 |
@Override
|
| 1316 |
public int hashCode() {
|
1374 |
public int hashCode() {
|
| Line 1523... |
Line 1581... |
| 1523 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastCheckedTimestamp, typedOther.lastCheckedTimestamp);
|
1581 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.lastCheckedTimestamp, typedOther.lastCheckedTimestamp);
|
| 1524 |
if (lastComparison != 0) {
|
1582 |
if (lastComparison != 0) {
|
| 1525 |
return lastComparison;
|
1583 |
return lastComparison;
|
| 1526 |
}
|
1584 |
}
|
| 1527 |
}
|
1585 |
}
|
| - |
|
1586 |
lastComparison = Boolean.valueOf(isSetMaximumSellingPrice()).compareTo(typedOther.isSetMaximumSellingPrice());
|
| - |
|
1587 |
if (lastComparison != 0) {
|
| - |
|
1588 |
return lastComparison;
|
| - |
|
1589 |
}
|
| - |
|
1590 |
if (isSetMaximumSellingPrice()) {
|
| - |
|
1591 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.maximumSellingPrice, typedOther.maximumSellingPrice);
|
| - |
|
1592 |
if (lastComparison != 0) {
|
| - |
|
1593 |
return lastComparison;
|
| - |
|
1594 |
}
|
| - |
|
1595 |
}
|
| 1528 |
return 0;
|
1596 |
return 0;
|
| 1529 |
}
|
1597 |
}
|
| 1530 |
|
1598 |
|
| 1531 |
public _Fields fieldForId(int fieldId) {
|
1599 |
public _Fields fieldForId(int fieldId) {
|
| 1532 |
return _Fields.findByThriftId(fieldId);
|
1600 |
return _Fields.findByThriftId(fieldId);
|
| Line 1700... |
Line 1768... |
| 1700 |
setLastCheckedTimestampIsSet(true);
|
1768 |
setLastCheckedTimestampIsSet(true);
|
| 1701 |
} else {
|
1769 |
} else {
|
| 1702 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1770 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1703 |
}
|
1771 |
}
|
| 1704 |
break;
|
1772 |
break;
|
| - |
|
1773 |
case 21: // MAXIMUM_SELLING_PRICE
|
| - |
|
1774 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
1775 |
this.maximumSellingPrice = iprot.readDouble();
|
| - |
|
1776 |
setMaximumSellingPriceIsSet(true);
|
| - |
|
1777 |
} else {
|
| - |
|
1778 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
1779 |
}
|
| - |
|
1780 |
break;
|
| 1705 |
default:
|
1781 |
default:
|
| 1706 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1782 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1707 |
}
|
1783 |
}
|
| 1708 |
iprot.readFieldEnd();
|
1784 |
iprot.readFieldEnd();
|
| 1709 |
}
|
1785 |
}
|
| Line 1773... |
Line 1849... |
| 1773 |
oprot.writeDouble(this.minimumPossibleTp);
|
1849 |
oprot.writeDouble(this.minimumPossibleTp);
|
| 1774 |
oprot.writeFieldEnd();
|
1850 |
oprot.writeFieldEnd();
|
| 1775 |
oprot.writeFieldBegin(LAST_CHECKED_TIMESTAMP_FIELD_DESC);
|
1851 |
oprot.writeFieldBegin(LAST_CHECKED_TIMESTAMP_FIELD_DESC);
|
| 1776 |
oprot.writeI64(this.lastCheckedTimestamp);
|
1852 |
oprot.writeI64(this.lastCheckedTimestamp);
|
| 1777 |
oprot.writeFieldEnd();
|
1853 |
oprot.writeFieldEnd();
|
| - |
|
1854 |
oprot.writeFieldBegin(MAXIMUM_SELLING_PRICE_FIELD_DESC);
|
| - |
|
1855 |
oprot.writeDouble(this.maximumSellingPrice);
|
| - |
|
1856 |
oprot.writeFieldEnd();
|
| 1778 |
oprot.writeFieldStop();
|
1857 |
oprot.writeFieldStop();
|
| 1779 |
oprot.writeStructEnd();
|
1858 |
oprot.writeStructEnd();
|
| 1780 |
}
|
1859 |
}
|
| 1781 |
|
1860 |
|
| 1782 |
@Override
|
1861 |
@Override
|
| Line 1861... |
Line 1940... |
| 1861 |
first = false;
|
1940 |
first = false;
|
| 1862 |
if (!first) sb.append(", ");
|
1941 |
if (!first) sb.append(", ");
|
| 1863 |
sb.append("lastCheckedTimestamp:");
|
1942 |
sb.append("lastCheckedTimestamp:");
|
| 1864 |
sb.append(this.lastCheckedTimestamp);
|
1943 |
sb.append(this.lastCheckedTimestamp);
|
| 1865 |
first = false;
|
1944 |
first = false;
|
| - |
|
1945 |
if (!first) sb.append(", ");
|
| - |
|
1946 |
sb.append("maximumSellingPrice:");
|
| - |
|
1947 |
sb.append(this.maximumSellingPrice);
|
| - |
|
1948 |
first = false;
|
| 1866 |
sb.append(")");
|
1949 |
sb.append(")");
|
| 1867 |
return sb.toString();
|
1950 |
return sb.toString();
|
| 1868 |
}
|
1951 |
}
|
| 1869 |
|
1952 |
|
| 1870 |
public void validate() throws org.apache.thrift.TException {
|
1953 |
public void validate() throws org.apache.thrift.TException {
|