| Line 54... |
Line 54... |
| 54 |
private static final org.apache.thrift.protocol.TField BEST_SELLING_RANK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestSellingRank", org.apache.thrift.protocol.TType.I64, (short)29);
|
54 |
private static final org.apache.thrift.protocol.TField BEST_SELLING_RANK_FIELD_DESC = new org.apache.thrift.protocol.TField("bestSellingRank", org.apache.thrift.protocol.TType.I64, (short)29);
|
| 55 |
private static final org.apache.thrift.protocol.TField HOTSPOT_CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("hotspotCategory", org.apache.thrift.protocol.TType.STRING, (short)30);
|
55 |
private static final org.apache.thrift.protocol.TField HOTSPOT_CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("hotspotCategory", org.apache.thrift.protocol.TType.STRING, (short)30);
|
| 56 |
private static final org.apache.thrift.protocol.TField RISKY_FIELD_DESC = new org.apache.thrift.protocol.TField("risky", org.apache.thrift.protocol.TType.BOOL, (short)31);
|
56 |
private static final org.apache.thrift.protocol.TField RISKY_FIELD_DESC = new org.apache.thrift.protocol.TField("risky", org.apache.thrift.protocol.TType.BOOL, (short)31);
|
| 57 |
private static final org.apache.thrift.protocol.TField EXPECTED_DELAY_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedDelay", org.apache.thrift.protocol.TType.I32, (short)32);
|
57 |
private static final org.apache.thrift.protocol.TField EXPECTED_DELAY_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedDelay", org.apache.thrift.protocol.TType.I32, (short)32);
|
| 58 |
private static final org.apache.thrift.protocol.TField PREFERRED_WAREHOUSE_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredWarehouse", org.apache.thrift.protocol.TType.STRING, (short)33);
|
58 |
private static final org.apache.thrift.protocol.TField PREFERRED_WAREHOUSE_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredWarehouse", org.apache.thrift.protocol.TType.STRING, (short)33);
|
| - |
|
59 |
private static final org.apache.thrift.protocol.TField DEFAULT_WAREHOUSE_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultWarehouse", org.apache.thrift.protocol.TType.STRING, (short)34);
|
| - |
|
60 |
private static final org.apache.thrift.protocol.TField IS_WAREHOUSE_PREFERENCE_STICKY_FIELD_DESC = new org.apache.thrift.protocol.TField("isWarehousePreferenceSticky", org.apache.thrift.protocol.TType.BOOL, (short)35);
|
| 59 |
private static final org.apache.thrift.protocol.TField WARRANTY_PERIOD_FIELD_DESC = new org.apache.thrift.protocol.TField("warrantyPeriod", org.apache.thrift.protocol.TType.I32, (short)34);
|
61 |
private static final org.apache.thrift.protocol.TField WARRANTY_PERIOD_FIELD_DESC = new org.apache.thrift.protocol.TField("warrantyPeriod", org.apache.thrift.protocol.TType.I32, (short)36);
|
| 60 |
|
62 |
|
| 61 |
private long id; // required
|
63 |
private long id; // required
|
| 62 |
private String productGroup; // required
|
64 |
private String productGroup; // required
|
| 63 |
private String brand; // required
|
65 |
private String brand; // required
|
| 64 |
private String modelNumber; // required
|
66 |
private String modelNumber; // required
|
| Line 89... |
Line 91... |
| 89 |
private long bestSellingRank; // required
|
91 |
private long bestSellingRank; // required
|
| 90 |
private String hotspotCategory; // required
|
92 |
private String hotspotCategory; // required
|
| 91 |
private boolean risky; // required
|
93 |
private boolean risky; // required
|
| 92 |
private int expectedDelay; // required
|
94 |
private int expectedDelay; // required
|
| 93 |
private String preferredWarehouse; // required
|
95 |
private String preferredWarehouse; // required
|
| - |
|
96 |
private String defaultWarehouse; // required
|
| - |
|
97 |
private boolean isWarehousePreferenceSticky; // required
|
| 94 |
private int warrantyPeriod; // required
|
98 |
private int warrantyPeriod; // required
|
| 95 |
|
99 |
|
| 96 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
100 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 97 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
101 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 98 |
ID((short)1, "id"),
|
102 |
ID((short)1, "id"),
|
| Line 130... |
Line 134... |
| 130 |
BEST_SELLING_RANK((short)29, "bestSellingRank"),
|
134 |
BEST_SELLING_RANK((short)29, "bestSellingRank"),
|
| 131 |
HOTSPOT_CATEGORY((short)30, "hotspotCategory"),
|
135 |
HOTSPOT_CATEGORY((short)30, "hotspotCategory"),
|
| 132 |
RISKY((short)31, "risky"),
|
136 |
RISKY((short)31, "risky"),
|
| 133 |
EXPECTED_DELAY((short)32, "expectedDelay"),
|
137 |
EXPECTED_DELAY((short)32, "expectedDelay"),
|
| 134 |
PREFERRED_WAREHOUSE((short)33, "preferredWarehouse"),
|
138 |
PREFERRED_WAREHOUSE((short)33, "preferredWarehouse"),
|
| - |
|
139 |
DEFAULT_WAREHOUSE((short)34, "defaultWarehouse"),
|
| - |
|
140 |
IS_WAREHOUSE_PREFERENCE_STICKY((short)35, "isWarehousePreferenceSticky"),
|
| 135 |
WARRANTY_PERIOD((short)34, "warrantyPeriod");
|
141 |
WARRANTY_PERIOD((short)36, "warrantyPeriod");
|
| 136 |
|
142 |
|
| 137 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
143 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 138 |
|
144 |
|
| 139 |
static {
|
145 |
static {
|
| 140 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
146 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 211... |
Line 217... |
| 211 |
return RISKY;
|
217 |
return RISKY;
|
| 212 |
case 32: // EXPECTED_DELAY
|
218 |
case 32: // EXPECTED_DELAY
|
| 213 |
return EXPECTED_DELAY;
|
219 |
return EXPECTED_DELAY;
|
| 214 |
case 33: // PREFERRED_WAREHOUSE
|
220 |
case 33: // PREFERRED_WAREHOUSE
|
| 215 |
return PREFERRED_WAREHOUSE;
|
221 |
return PREFERRED_WAREHOUSE;
|
| - |
|
222 |
case 34: // DEFAULT_WAREHOUSE
|
| - |
|
223 |
return DEFAULT_WAREHOUSE;
|
| - |
|
224 |
case 35: // IS_WAREHOUSE_PREFERENCE_STICKY
|
| - |
|
225 |
return IS_WAREHOUSE_PREFERENCE_STICKY;
|
| 216 |
case 34: // WARRANTY_PERIOD
|
226 |
case 36: // WARRANTY_PERIOD
|
| 217 |
return WARRANTY_PERIOD;
|
227 |
return WARRANTY_PERIOD;
|
| 218 |
default:
|
228 |
default:
|
| 219 |
return null;
|
229 |
return null;
|
| 220 |
}
|
230 |
}
|
| 221 |
}
|
231 |
}
|
| Line 272... |
Line 282... |
| 272 |
private static final int __DEFAULTFORENTITY_ISSET_ID = 14;
|
282 |
private static final int __DEFAULTFORENTITY_ISSET_ID = 14;
|
| 273 |
private static final int __UPDATEDON_ISSET_ID = 15;
|
283 |
private static final int __UPDATEDON_ISSET_ID = 15;
|
| 274 |
private static final int __BESTSELLINGRANK_ISSET_ID = 16;
|
284 |
private static final int __BESTSELLINGRANK_ISSET_ID = 16;
|
| 275 |
private static final int __RISKY_ISSET_ID = 17;
|
285 |
private static final int __RISKY_ISSET_ID = 17;
|
| 276 |
private static final int __EXPECTEDDELAY_ISSET_ID = 18;
|
286 |
private static final int __EXPECTEDDELAY_ISSET_ID = 18;
|
| - |
|
287 |
private static final int __ISWAREHOUSEPREFERENCESTICKY_ISSET_ID = 19;
|
| 277 |
private static final int __WARRANTYPERIOD_ISSET_ID = 19;
|
288 |
private static final int __WARRANTYPERIOD_ISSET_ID = 20;
|
| 278 |
private BitSet __isset_bit_vector = new BitSet(20);
|
289 |
private BitSet __isset_bit_vector = new BitSet(21);
|
| 279 |
|
290 |
|
| 280 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
291 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 281 |
static {
|
292 |
static {
|
| 282 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
293 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 283 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
294 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 346... |
Line 357... |
| 346 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
357 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 347 |
tmpMap.put(_Fields.EXPECTED_DELAY, new org.apache.thrift.meta_data.FieldMetaData("expectedDelay", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
358 |
tmpMap.put(_Fields.EXPECTED_DELAY, new org.apache.thrift.meta_data.FieldMetaData("expectedDelay", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| 348 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
359 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
| 349 |
tmpMap.put(_Fields.PREFERRED_WAREHOUSE, new org.apache.thrift.meta_data.FieldMetaData("preferredWarehouse", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
360 |
tmpMap.put(_Fields.PREFERRED_WAREHOUSE, new org.apache.thrift.meta_data.FieldMetaData("preferredWarehouse", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| 350 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
361 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| - |
|
362 |
tmpMap.put(_Fields.DEFAULT_WAREHOUSE, new org.apache.thrift.meta_data.FieldMetaData("defaultWarehouse", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| - |
|
363 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| - |
|
364 |
tmpMap.put(_Fields.IS_WAREHOUSE_PREFERENCE_STICKY, new org.apache.thrift.meta_data.FieldMetaData("isWarehousePreferenceSticky", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| - |
|
365 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 351 |
tmpMap.put(_Fields.WARRANTY_PERIOD, new org.apache.thrift.meta_data.FieldMetaData("warrantyPeriod", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
366 |
tmpMap.put(_Fields.WARRANTY_PERIOD, new org.apache.thrift.meta_data.FieldMetaData("warrantyPeriod", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 352 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
367 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
| 353 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
368 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 354 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
|
369 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
|
| 355 |
}
|
370 |
}
|
| Line 492... |
Line 507... |
| 492 |
this.risky = other.risky;
|
507 |
this.risky = other.risky;
|
| 493 |
this.expectedDelay = other.expectedDelay;
|
508 |
this.expectedDelay = other.expectedDelay;
|
| 494 |
if (other.isSetPreferredWarehouse()) {
|
509 |
if (other.isSetPreferredWarehouse()) {
|
| 495 |
this.preferredWarehouse = other.preferredWarehouse;
|
510 |
this.preferredWarehouse = other.preferredWarehouse;
|
| 496 |
}
|
511 |
}
|
| - |
|
512 |
if (other.isSetDefaultWarehouse()) {
|
| - |
|
513 |
this.defaultWarehouse = other.defaultWarehouse;
|
| - |
|
514 |
}
|
| - |
|
515 |
this.isWarehousePreferenceSticky = other.isWarehousePreferenceSticky;
|
| 497 |
this.warrantyPeriod = other.warrantyPeriod;
|
516 |
this.warrantyPeriod = other.warrantyPeriod;
|
| 498 |
}
|
517 |
}
|
| 499 |
|
518 |
|
| 500 |
public Item deepCopy() {
|
519 |
public Item deepCopy() {
|
| 501 |
return new Item(this);
|
520 |
return new Item(this);
|
| Line 553... |
Line 572... |
| 553 |
setRiskyIsSet(false);
|
572 |
setRiskyIsSet(false);
|
| 554 |
this.risky = false;
|
573 |
this.risky = false;
|
| 555 |
setExpectedDelayIsSet(false);
|
574 |
setExpectedDelayIsSet(false);
|
| 556 |
this.expectedDelay = 0;
|
575 |
this.expectedDelay = 0;
|
| 557 |
this.preferredWarehouse = null;
|
576 |
this.preferredWarehouse = null;
|
| - |
|
577 |
this.defaultWarehouse = null;
|
| - |
|
578 |
setIsWarehousePreferenceStickyIsSet(false);
|
| - |
|
579 |
this.isWarehousePreferenceSticky = false;
|
| 558 |
setWarrantyPeriodIsSet(false);
|
580 |
setWarrantyPeriodIsSet(false);
|
| 559 |
this.warrantyPeriod = 0;
|
581 |
this.warrantyPeriod = 0;
|
| 560 |
}
|
582 |
}
|
| 561 |
|
583 |
|
| 562 |
public long getId() {
|
584 |
public long getId() {
|
| Line 1316... |
Line 1338... |
| 1316 |
if (!value) {
|
1338 |
if (!value) {
|
| 1317 |
this.preferredWarehouse = null;
|
1339 |
this.preferredWarehouse = null;
|
| 1318 |
}
|
1340 |
}
|
| 1319 |
}
|
1341 |
}
|
| 1320 |
|
1342 |
|
| - |
|
1343 |
public String getDefaultWarehouse() {
|
| - |
|
1344 |
return this.defaultWarehouse;
|
| - |
|
1345 |
}
|
| - |
|
1346 |
|
| - |
|
1347 |
public void setDefaultWarehouse(String defaultWarehouse) {
|
| - |
|
1348 |
this.defaultWarehouse = defaultWarehouse;
|
| - |
|
1349 |
}
|
| - |
|
1350 |
|
| - |
|
1351 |
public void unsetDefaultWarehouse() {
|
| - |
|
1352 |
this.defaultWarehouse = null;
|
| - |
|
1353 |
}
|
| - |
|
1354 |
|
| - |
|
1355 |
/** Returns true if field defaultWarehouse is set (has been assigned a value) and false otherwise */
|
| - |
|
1356 |
public boolean isSetDefaultWarehouse() {
|
| - |
|
1357 |
return this.defaultWarehouse != null;
|
| - |
|
1358 |
}
|
| - |
|
1359 |
|
| - |
|
1360 |
public void setDefaultWarehouseIsSet(boolean value) {
|
| - |
|
1361 |
if (!value) {
|
| - |
|
1362 |
this.defaultWarehouse = null;
|
| - |
|
1363 |
}
|
| - |
|
1364 |
}
|
| - |
|
1365 |
|
| - |
|
1366 |
public boolean isIsWarehousePreferenceSticky() {
|
| - |
|
1367 |
return this.isWarehousePreferenceSticky;
|
| - |
|
1368 |
}
|
| - |
|
1369 |
|
| - |
|
1370 |
public void setIsWarehousePreferenceSticky(boolean isWarehousePreferenceSticky) {
|
| - |
|
1371 |
this.isWarehousePreferenceSticky = isWarehousePreferenceSticky;
|
| - |
|
1372 |
setIsWarehousePreferenceStickyIsSet(true);
|
| - |
|
1373 |
}
|
| - |
|
1374 |
|
| - |
|
1375 |
public void unsetIsWarehousePreferenceSticky() {
|
| - |
|
1376 |
__isset_bit_vector.clear(__ISWAREHOUSEPREFERENCESTICKY_ISSET_ID);
|
| - |
|
1377 |
}
|
| - |
|
1378 |
|
| - |
|
1379 |
/** Returns true if field isWarehousePreferenceSticky is set (has been assigned a value) and false otherwise */
|
| - |
|
1380 |
public boolean isSetIsWarehousePreferenceSticky() {
|
| - |
|
1381 |
return __isset_bit_vector.get(__ISWAREHOUSEPREFERENCESTICKY_ISSET_ID);
|
| - |
|
1382 |
}
|
| - |
|
1383 |
|
| - |
|
1384 |
public void setIsWarehousePreferenceStickyIsSet(boolean value) {
|
| - |
|
1385 |
__isset_bit_vector.set(__ISWAREHOUSEPREFERENCESTICKY_ISSET_ID, value);
|
| - |
|
1386 |
}
|
| - |
|
1387 |
|
| 1321 |
public int getWarrantyPeriod() {
|
1388 |
public int getWarrantyPeriod() {
|
| 1322 |
return this.warrantyPeriod;
|
1389 |
return this.warrantyPeriod;
|
| 1323 |
}
|
1390 |
}
|
| 1324 |
|
1391 |
|
| 1325 |
public void setWarrantyPeriod(int warrantyPeriod) {
|
1392 |
public void setWarrantyPeriod(int warrantyPeriod) {
|
| Line 1604... |
Line 1671... |
| 1604 |
} else {
|
1671 |
} else {
|
| 1605 |
setPreferredWarehouse((String)value);
|
1672 |
setPreferredWarehouse((String)value);
|
| 1606 |
}
|
1673 |
}
|
| 1607 |
break;
|
1674 |
break;
|
| 1608 |
|
1675 |
|
| - |
|
1676 |
case DEFAULT_WAREHOUSE:
|
| - |
|
1677 |
if (value == null) {
|
| - |
|
1678 |
unsetDefaultWarehouse();
|
| - |
|
1679 |
} else {
|
| - |
|
1680 |
setDefaultWarehouse((String)value);
|
| - |
|
1681 |
}
|
| - |
|
1682 |
break;
|
| - |
|
1683 |
|
| - |
|
1684 |
case IS_WAREHOUSE_PREFERENCE_STICKY:
|
| - |
|
1685 |
if (value == null) {
|
| - |
|
1686 |
unsetIsWarehousePreferenceSticky();
|
| - |
|
1687 |
} else {
|
| - |
|
1688 |
setIsWarehousePreferenceSticky((Boolean)value);
|
| - |
|
1689 |
}
|
| - |
|
1690 |
break;
|
| - |
|
1691 |
|
| 1609 |
case WARRANTY_PERIOD:
|
1692 |
case WARRANTY_PERIOD:
|
| 1610 |
if (value == null) {
|
1693 |
if (value == null) {
|
| 1611 |
unsetWarrantyPeriod();
|
1694 |
unsetWarrantyPeriod();
|
| 1612 |
} else {
|
1695 |
} else {
|
| 1613 |
setWarrantyPeriod((Integer)value);
|
1696 |
setWarrantyPeriod((Integer)value);
|
| Line 1716... |
Line 1799... |
| 1716 |
return Integer.valueOf(getExpectedDelay());
|
1799 |
return Integer.valueOf(getExpectedDelay());
|
| 1717 |
|
1800 |
|
| 1718 |
case PREFERRED_WAREHOUSE:
|
1801 |
case PREFERRED_WAREHOUSE:
|
| 1719 |
return getPreferredWarehouse();
|
1802 |
return getPreferredWarehouse();
|
| 1720 |
|
1803 |
|
| - |
|
1804 |
case DEFAULT_WAREHOUSE:
|
| - |
|
1805 |
return getDefaultWarehouse();
|
| - |
|
1806 |
|
| - |
|
1807 |
case IS_WAREHOUSE_PREFERENCE_STICKY:
|
| - |
|
1808 |
return Boolean.valueOf(isIsWarehousePreferenceSticky());
|
| - |
|
1809 |
|
| 1721 |
case WARRANTY_PERIOD:
|
1810 |
case WARRANTY_PERIOD:
|
| 1722 |
return Integer.valueOf(getWarrantyPeriod());
|
1811 |
return Integer.valueOf(getWarrantyPeriod());
|
| 1723 |
|
1812 |
|
| 1724 |
}
|
1813 |
}
|
| 1725 |
throw new IllegalStateException();
|
1814 |
throw new IllegalStateException();
|
| Line 1796... |
Line 1885... |
| 1796 |
return isSetRisky();
|
1885 |
return isSetRisky();
|
| 1797 |
case EXPECTED_DELAY:
|
1886 |
case EXPECTED_DELAY:
|
| 1798 |
return isSetExpectedDelay();
|
1887 |
return isSetExpectedDelay();
|
| 1799 |
case PREFERRED_WAREHOUSE:
|
1888 |
case PREFERRED_WAREHOUSE:
|
| 1800 |
return isSetPreferredWarehouse();
|
1889 |
return isSetPreferredWarehouse();
|
| - |
|
1890 |
case DEFAULT_WAREHOUSE:
|
| - |
|
1891 |
return isSetDefaultWarehouse();
|
| - |
|
1892 |
case IS_WAREHOUSE_PREFERENCE_STICKY:
|
| - |
|
1893 |
return isSetIsWarehousePreferenceSticky();
|
| 1801 |
case WARRANTY_PERIOD:
|
1894 |
case WARRANTY_PERIOD:
|
| 1802 |
return isSetWarrantyPeriod();
|
1895 |
return isSetWarrantyPeriod();
|
| 1803 |
}
|
1896 |
}
|
| 1804 |
throw new IllegalStateException();
|
1897 |
throw new IllegalStateException();
|
| 1805 |
}
|
1898 |
}
|
| Line 2112... |
Line 2205... |
| 2112 |
return false;
|
2205 |
return false;
|
| 2113 |
if (!this.preferredWarehouse.equals(that.preferredWarehouse))
|
2206 |
if (!this.preferredWarehouse.equals(that.preferredWarehouse))
|
| 2114 |
return false;
|
2207 |
return false;
|
| 2115 |
}
|
2208 |
}
|
| 2116 |
|
2209 |
|
| - |
|
2210 |
boolean this_present_defaultWarehouse = true && this.isSetDefaultWarehouse();
|
| - |
|
2211 |
boolean that_present_defaultWarehouse = true && that.isSetDefaultWarehouse();
|
| - |
|
2212 |
if (this_present_defaultWarehouse || that_present_defaultWarehouse) {
|
| - |
|
2213 |
if (!(this_present_defaultWarehouse && that_present_defaultWarehouse))
|
| - |
|
2214 |
return false;
|
| - |
|
2215 |
if (!this.defaultWarehouse.equals(that.defaultWarehouse))
|
| - |
|
2216 |
return false;
|
| - |
|
2217 |
}
|
| - |
|
2218 |
|
| - |
|
2219 |
boolean this_present_isWarehousePreferenceSticky = true && this.isSetIsWarehousePreferenceSticky();
|
| - |
|
2220 |
boolean that_present_isWarehousePreferenceSticky = true && that.isSetIsWarehousePreferenceSticky();
|
| - |
|
2221 |
if (this_present_isWarehousePreferenceSticky || that_present_isWarehousePreferenceSticky) {
|
| - |
|
2222 |
if (!(this_present_isWarehousePreferenceSticky && that_present_isWarehousePreferenceSticky))
|
| - |
|
2223 |
return false;
|
| - |
|
2224 |
if (this.isWarehousePreferenceSticky != that.isWarehousePreferenceSticky)
|
| - |
|
2225 |
return false;
|
| - |
|
2226 |
}
|
| - |
|
2227 |
|
| 2117 |
boolean this_present_warrantyPeriod = true;
|
2228 |
boolean this_present_warrantyPeriod = true;
|
| 2118 |
boolean that_present_warrantyPeriod = true;
|
2229 |
boolean that_present_warrantyPeriod = true;
|
| 2119 |
if (this_present_warrantyPeriod || that_present_warrantyPeriod) {
|
2230 |
if (this_present_warrantyPeriod || that_present_warrantyPeriod) {
|
| 2120 |
if (!(this_present_warrantyPeriod && that_present_warrantyPeriod))
|
2231 |
if (!(this_present_warrantyPeriod && that_present_warrantyPeriod))
|
| 2121 |
return false;
|
2232 |
return false;
|
| Line 2467... |
Line 2578... |
| 2467 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.preferredWarehouse, typedOther.preferredWarehouse);
|
2578 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.preferredWarehouse, typedOther.preferredWarehouse);
|
| 2468 |
if (lastComparison != 0) {
|
2579 |
if (lastComparison != 0) {
|
| 2469 |
return lastComparison;
|
2580 |
return lastComparison;
|
| 2470 |
}
|
2581 |
}
|
| 2471 |
}
|
2582 |
}
|
| - |
|
2583 |
lastComparison = Boolean.valueOf(isSetDefaultWarehouse()).compareTo(typedOther.isSetDefaultWarehouse());
|
| - |
|
2584 |
if (lastComparison != 0) {
|
| - |
|
2585 |
return lastComparison;
|
| - |
|
2586 |
}
|
| - |
|
2587 |
if (isSetDefaultWarehouse()) {
|
| - |
|
2588 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.defaultWarehouse, typedOther.defaultWarehouse);
|
| - |
|
2589 |
if (lastComparison != 0) {
|
| - |
|
2590 |
return lastComparison;
|
| - |
|
2591 |
}
|
| - |
|
2592 |
}
|
| - |
|
2593 |
lastComparison = Boolean.valueOf(isSetIsWarehousePreferenceSticky()).compareTo(typedOther.isSetIsWarehousePreferenceSticky());
|
| - |
|
2594 |
if (lastComparison != 0) {
|
| - |
|
2595 |
return lastComparison;
|
| - |
|
2596 |
}
|
| - |
|
2597 |
if (isSetIsWarehousePreferenceSticky()) {
|
| - |
|
2598 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isWarehousePreferenceSticky, typedOther.isWarehousePreferenceSticky);
|
| - |
|
2599 |
if (lastComparison != 0) {
|
| - |
|
2600 |
return lastComparison;
|
| - |
|
2601 |
}
|
| - |
|
2602 |
}
|
| 2472 |
lastComparison = Boolean.valueOf(isSetWarrantyPeriod()).compareTo(typedOther.isSetWarrantyPeriod());
|
2603 |
lastComparison = Boolean.valueOf(isSetWarrantyPeriod()).compareTo(typedOther.isSetWarrantyPeriod());
|
| 2473 |
if (lastComparison != 0) {
|
2604 |
if (lastComparison != 0) {
|
| 2474 |
return lastComparison;
|
2605 |
return lastComparison;
|
| 2475 |
}
|
2606 |
}
|
| 2476 |
if (isSetWarrantyPeriod()) {
|
2607 |
if (isSetWarrantyPeriod()) {
|
| Line 2757... |
Line 2888... |
| 2757 |
this.preferredWarehouse = iprot.readString();
|
2888 |
this.preferredWarehouse = iprot.readString();
|
| 2758 |
} else {
|
2889 |
} else {
|
| 2759 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2890 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2760 |
}
|
2891 |
}
|
| 2761 |
break;
|
2892 |
break;
|
| - |
|
2893 |
case 34: // DEFAULT_WAREHOUSE
|
| - |
|
2894 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| - |
|
2895 |
this.defaultWarehouse = iprot.readString();
|
| - |
|
2896 |
} else {
|
| - |
|
2897 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2898 |
}
|
| - |
|
2899 |
break;
|
| - |
|
2900 |
case 35: // IS_WAREHOUSE_PREFERENCE_STICKY
|
| - |
|
2901 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
2902 |
this.isWarehousePreferenceSticky = iprot.readBool();
|
| - |
|
2903 |
setIsWarehousePreferenceStickyIsSet(true);
|
| - |
|
2904 |
} else {
|
| - |
|
2905 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2906 |
}
|
| - |
|
2907 |
break;
|
| 2762 |
case 34: // WARRANTY_PERIOD
|
2908 |
case 36: // WARRANTY_PERIOD
|
| 2763 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
2909 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
| 2764 |
this.warrantyPeriod = iprot.readI32();
|
2910 |
this.warrantyPeriod = iprot.readI32();
|
| 2765 |
setWarrantyPeriodIsSet(true);
|
2911 |
setWarrantyPeriodIsSet(true);
|
| 2766 |
} else {
|
2912 |
} else {
|
| 2767 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2913 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| Line 2937... |
Line 3083... |
| 2937 |
oprot.writeFieldBegin(PREFERRED_WAREHOUSE_FIELD_DESC);
|
3083 |
oprot.writeFieldBegin(PREFERRED_WAREHOUSE_FIELD_DESC);
|
| 2938 |
oprot.writeString(this.preferredWarehouse);
|
3084 |
oprot.writeString(this.preferredWarehouse);
|
| 2939 |
oprot.writeFieldEnd();
|
3085 |
oprot.writeFieldEnd();
|
| 2940 |
}
|
3086 |
}
|
| 2941 |
}
|
3087 |
}
|
| - |
|
3088 |
if (this.defaultWarehouse != null) {
|
| - |
|
3089 |
if (isSetDefaultWarehouse()) {
|
| - |
|
3090 |
oprot.writeFieldBegin(DEFAULT_WAREHOUSE_FIELD_DESC);
|
| - |
|
3091 |
oprot.writeString(this.defaultWarehouse);
|
| - |
|
3092 |
oprot.writeFieldEnd();
|
| - |
|
3093 |
}
|
| - |
|
3094 |
}
|
| - |
|
3095 |
if (isSetIsWarehousePreferenceSticky()) {
|
| - |
|
3096 |
oprot.writeFieldBegin(IS_WAREHOUSE_PREFERENCE_STICKY_FIELD_DESC);
|
| - |
|
3097 |
oprot.writeBool(this.isWarehousePreferenceSticky);
|
| - |
|
3098 |
oprot.writeFieldEnd();
|
| - |
|
3099 |
}
|
| 2942 |
oprot.writeFieldBegin(WARRANTY_PERIOD_FIELD_DESC);
|
3100 |
oprot.writeFieldBegin(WARRANTY_PERIOD_FIELD_DESC);
|
| 2943 |
oprot.writeI32(this.warrantyPeriod);
|
3101 |
oprot.writeI32(this.warrantyPeriod);
|
| 2944 |
oprot.writeFieldEnd();
|
3102 |
oprot.writeFieldEnd();
|
| 2945 |
oprot.writeFieldStop();
|
3103 |
oprot.writeFieldStop();
|
| 2946 |
oprot.writeStructEnd();
|
3104 |
oprot.writeStructEnd();
|
| Line 3160... |
Line 3318... |
| 3160 |
} else {
|
3318 |
} else {
|
| 3161 |
sb.append(this.preferredWarehouse);
|
3319 |
sb.append(this.preferredWarehouse);
|
| 3162 |
}
|
3320 |
}
|
| 3163 |
first = false;
|
3321 |
first = false;
|
| 3164 |
}
|
3322 |
}
|
| - |
|
3323 |
if (isSetDefaultWarehouse()) {
|
| - |
|
3324 |
if (!first) sb.append(", ");
|
| - |
|
3325 |
sb.append("defaultWarehouse:");
|
| - |
|
3326 |
if (this.defaultWarehouse == null) {
|
| - |
|
3327 |
sb.append("null");
|
| - |
|
3328 |
} else {
|
| - |
|
3329 |
sb.append(this.defaultWarehouse);
|
| - |
|
3330 |
}
|
| - |
|
3331 |
first = false;
|
| - |
|
3332 |
}
|
| - |
|
3333 |
if (isSetIsWarehousePreferenceSticky()) {
|
| - |
|
3334 |
if (!first) sb.append(", ");
|
| - |
|
3335 |
sb.append("isWarehousePreferenceSticky:");
|
| - |
|
3336 |
sb.append(this.isWarehousePreferenceSticky);
|
| - |
|
3337 |
first = false;
|
| - |
|
3338 |
}
|
| 3165 |
if (!first) sb.append(", ");
|
3339 |
if (!first) sb.append(", ");
|
| 3166 |
sb.append("warrantyPeriod:");
|
3340 |
sb.append("warrantyPeriod:");
|
| 3167 |
sb.append(this.warrantyPeriod);
|
3341 |
sb.append(this.warrantyPeriod);
|
| 3168 |
first = false;
|
3342 |
first = false;
|
| 3169 |
sb.append(")");
|
3343 |
sb.append(")");
|