| Line 55... |
Line 55... |
| 55 |
private static final org.apache.thrift.protocol.TField DEFAULT_WAREHOUSE_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultWarehouse", org.apache.thrift.protocol.TType.I64, (short)30);
|
55 |
private static final org.apache.thrift.protocol.TField DEFAULT_WAREHOUSE_FIELD_DESC = new org.apache.thrift.protocol.TField("defaultWarehouse", org.apache.thrift.protocol.TType.I64, (short)30);
|
| 56 |
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)31);
|
56 |
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)31);
|
| 57 |
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)32);
|
57 |
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)32);
|
| 58 |
private static final org.apache.thrift.protocol.TField PREFERRED_VENDOR_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredVendor", org.apache.thrift.protocol.TType.I64, (short)33);
|
58 |
private static final org.apache.thrift.protocol.TField PREFERRED_VENDOR_FIELD_DESC = new org.apache.thrift.protocol.TField("preferredVendor", org.apache.thrift.protocol.TType.I64, (short)33);
|
| 59 |
private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)34);
|
59 |
private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)34);
|
| - |
|
60 |
private static final org.apache.thrift.protocol.TField COMING_SOON_START_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("comingSoonStartDate", org.apache.thrift.protocol.TType.I64, (short)35);
|
| - |
|
61 |
private static final org.apache.thrift.protocol.TField EXPECTED_ARRIVAL_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("expectedArrivalDate", org.apache.thrift.protocol.TType.I64, (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 90... |
Line 92... |
| 90 |
private long defaultWarehouse; // required
|
92 |
private long defaultWarehouse; // required
|
| 91 |
private boolean isWarehousePreferenceSticky; // required
|
93 |
private boolean isWarehousePreferenceSticky; // required
|
| 92 |
private int warrantyPeriod; // required
|
94 |
private int warrantyPeriod; // required
|
| 93 |
private long preferredVendor; // required
|
95 |
private long preferredVendor; // required
|
| 94 |
private ItemType type; // required
|
96 |
private ItemType type; // required
|
| - |
|
97 |
private long comingSoonStartDate; // required
|
| - |
|
98 |
private long expectedArrivalDate; // 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"),
|
| 99 |
PRODUCT_GROUP((short)2, "productGroup"),
|
103 |
PRODUCT_GROUP((short)2, "productGroup"),
|
| Line 134... |
Line 138... |
| 134 |
PREFERRED_VENDOR((short)33, "preferredVendor"),
|
138 |
PREFERRED_VENDOR((short)33, "preferredVendor"),
|
| 135 |
/**
|
139 |
/**
|
| 136 |
*
|
140 |
*
|
| 137 |
* @see ItemType
|
141 |
* @see ItemType
|
| 138 |
*/
|
142 |
*/
|
| 139 |
TYPE((short)34, "type");
|
143 |
TYPE((short)34, "type"),
|
| - |
|
144 |
COMING_SOON_START_DATE((short)35, "comingSoonStartDate"),
|
| - |
|
145 |
EXPECTED_ARRIVAL_DATE((short)36, "expectedArrivalDate");
|
| 140 |
|
146 |
|
| 141 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
147 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 142 |
|
148 |
|
| 143 |
static {
|
149 |
static {
|
| 144 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
150 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 217... |
Line 223... |
| 217 |
return WARRANTY_PERIOD;
|
223 |
return WARRANTY_PERIOD;
|
| 218 |
case 33: // PREFERRED_VENDOR
|
224 |
case 33: // PREFERRED_VENDOR
|
| 219 |
return PREFERRED_VENDOR;
|
225 |
return PREFERRED_VENDOR;
|
| 220 |
case 34: // TYPE
|
226 |
case 34: // TYPE
|
| 221 |
return TYPE;
|
227 |
return TYPE;
|
| - |
|
228 |
case 35: // COMING_SOON_START_DATE
|
| - |
|
229 |
return COMING_SOON_START_DATE;
|
| - |
|
230 |
case 36: // EXPECTED_ARRIVAL_DATE
|
| - |
|
231 |
return EXPECTED_ARRIVAL_DATE;
|
| 222 |
default:
|
232 |
default:
|
| 223 |
return null;
|
233 |
return null;
|
| 224 |
}
|
234 |
}
|
| 225 |
}
|
235 |
}
|
| 226 |
|
236 |
|
| Line 278... |
Line 288... |
| 278 |
private static final int __PREFERREDWAREHOUSE_ISSET_ID = 16;
|
288 |
private static final int __PREFERREDWAREHOUSE_ISSET_ID = 16;
|
| 279 |
private static final int __DEFAULTWAREHOUSE_ISSET_ID = 17;
|
289 |
private static final int __DEFAULTWAREHOUSE_ISSET_ID = 17;
|
| 280 |
private static final int __ISWAREHOUSEPREFERENCESTICKY_ISSET_ID = 18;
|
290 |
private static final int __ISWAREHOUSEPREFERENCESTICKY_ISSET_ID = 18;
|
| 281 |
private static final int __WARRANTYPERIOD_ISSET_ID = 19;
|
291 |
private static final int __WARRANTYPERIOD_ISSET_ID = 19;
|
| 282 |
private static final int __PREFERREDVENDOR_ISSET_ID = 20;
|
292 |
private static final int __PREFERREDVENDOR_ISSET_ID = 20;
|
| - |
|
293 |
private static final int __COMINGSOONSTARTDATE_ISSET_ID = 21;
|
| - |
|
294 |
private static final int __EXPECTEDARRIVALDATE_ISSET_ID = 22;
|
| 283 |
private BitSet __isset_bit_vector = new BitSet(21);
|
295 |
private BitSet __isset_bit_vector = new BitSet(23);
|
| 284 |
|
296 |
|
| 285 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
297 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 286 |
static {
|
298 |
static {
|
| 287 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
299 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 288 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
300 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 353... |
Line 365... |
| 353 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
365 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
| 354 |
tmpMap.put(_Fields.PREFERRED_VENDOR, new org.apache.thrift.meta_data.FieldMetaData("preferredVendor", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
366 |
tmpMap.put(_Fields.PREFERRED_VENDOR, new org.apache.thrift.meta_data.FieldMetaData("preferredVendor", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| 355 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
367 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 356 |
tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
368 |
tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 357 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ItemType.class)));
|
369 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ItemType.class)));
|
| - |
|
370 |
tmpMap.put(_Fields.COMING_SOON_START_DATE, new org.apache.thrift.meta_data.FieldMetaData("comingSoonStartDate", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| - |
|
371 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
372 |
tmpMap.put(_Fields.EXPECTED_ARRIVAL_DATE, new org.apache.thrift.meta_data.FieldMetaData("expectedArrivalDate", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| - |
|
373 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 358 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
374 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 359 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
|
375 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
|
| 360 |
}
|
376 |
}
|
| 361 |
|
377 |
|
| 362 |
public Item() {
|
378 |
public Item() {
|
| Line 496... |
Line 512... |
| 496 |
this.warrantyPeriod = other.warrantyPeriod;
|
512 |
this.warrantyPeriod = other.warrantyPeriod;
|
| 497 |
this.preferredVendor = other.preferredVendor;
|
513 |
this.preferredVendor = other.preferredVendor;
|
| 498 |
if (other.isSetType()) {
|
514 |
if (other.isSetType()) {
|
| 499 |
this.type = other.type;
|
515 |
this.type = other.type;
|
| 500 |
}
|
516 |
}
|
| - |
|
517 |
this.comingSoonStartDate = other.comingSoonStartDate;
|
| - |
|
518 |
this.expectedArrivalDate = other.expectedArrivalDate;
|
| 501 |
}
|
519 |
}
|
| 502 |
|
520 |
|
| 503 |
public Item deepCopy() {
|
521 |
public Item deepCopy() {
|
| 504 |
return new Item(this);
|
522 |
return new Item(this);
|
| 505 |
}
|
523 |
}
|
| Line 559... |
Line 577... |
| 559 |
setWarrantyPeriodIsSet(false);
|
577 |
setWarrantyPeriodIsSet(false);
|
| 560 |
this.warrantyPeriod = 0;
|
578 |
this.warrantyPeriod = 0;
|
| 561 |
setPreferredVendorIsSet(false);
|
579 |
setPreferredVendorIsSet(false);
|
| 562 |
this.preferredVendor = 0;
|
580 |
this.preferredVendor = 0;
|
| 563 |
this.type = null;
|
581 |
this.type = null;
|
| - |
|
582 |
setComingSoonStartDateIsSet(false);
|
| - |
|
583 |
this.comingSoonStartDate = 0;
|
| - |
|
584 |
setExpectedArrivalDateIsSet(false);
|
| - |
|
585 |
this.expectedArrivalDate = 0;
|
| 564 |
}
|
586 |
}
|
| 565 |
|
587 |
|
| 566 |
public long getId() {
|
588 |
public long getId() {
|
| 567 |
return this.id;
|
589 |
return this.id;
|
| 568 |
}
|
590 |
}
|
| Line 1349... |
Line 1371... |
| 1349 |
if (!value) {
|
1371 |
if (!value) {
|
| 1350 |
this.type = null;
|
1372 |
this.type = null;
|
| 1351 |
}
|
1373 |
}
|
| 1352 |
}
|
1374 |
}
|
| 1353 |
|
1375 |
|
| - |
|
1376 |
public long getComingSoonStartDate() {
|
| - |
|
1377 |
return this.comingSoonStartDate;
|
| - |
|
1378 |
}
|
| - |
|
1379 |
|
| - |
|
1380 |
public void setComingSoonStartDate(long comingSoonStartDate) {
|
| - |
|
1381 |
this.comingSoonStartDate = comingSoonStartDate;
|
| - |
|
1382 |
setComingSoonStartDateIsSet(true);
|
| - |
|
1383 |
}
|
| - |
|
1384 |
|
| - |
|
1385 |
public void unsetComingSoonStartDate() {
|
| - |
|
1386 |
__isset_bit_vector.clear(__COMINGSOONSTARTDATE_ISSET_ID);
|
| - |
|
1387 |
}
|
| - |
|
1388 |
|
| - |
|
1389 |
/** Returns true if field comingSoonStartDate is set (has been assigned a value) and false otherwise */
|
| - |
|
1390 |
public boolean isSetComingSoonStartDate() {
|
| - |
|
1391 |
return __isset_bit_vector.get(__COMINGSOONSTARTDATE_ISSET_ID);
|
| - |
|
1392 |
}
|
| - |
|
1393 |
|
| - |
|
1394 |
public void setComingSoonStartDateIsSet(boolean value) {
|
| - |
|
1395 |
__isset_bit_vector.set(__COMINGSOONSTARTDATE_ISSET_ID, value);
|
| - |
|
1396 |
}
|
| - |
|
1397 |
|
| - |
|
1398 |
public long getExpectedArrivalDate() {
|
| - |
|
1399 |
return this.expectedArrivalDate;
|
| - |
|
1400 |
}
|
| - |
|
1401 |
|
| - |
|
1402 |
public void setExpectedArrivalDate(long expectedArrivalDate) {
|
| - |
|
1403 |
this.expectedArrivalDate = expectedArrivalDate;
|
| - |
|
1404 |
setExpectedArrivalDateIsSet(true);
|
| - |
|
1405 |
}
|
| - |
|
1406 |
|
| - |
|
1407 |
public void unsetExpectedArrivalDate() {
|
| - |
|
1408 |
__isset_bit_vector.clear(__EXPECTEDARRIVALDATE_ISSET_ID);
|
| - |
|
1409 |
}
|
| - |
|
1410 |
|
| - |
|
1411 |
/** Returns true if field expectedArrivalDate is set (has been assigned a value) and false otherwise */
|
| - |
|
1412 |
public boolean isSetExpectedArrivalDate() {
|
| - |
|
1413 |
return __isset_bit_vector.get(__EXPECTEDARRIVALDATE_ISSET_ID);
|
| - |
|
1414 |
}
|
| - |
|
1415 |
|
| - |
|
1416 |
public void setExpectedArrivalDateIsSet(boolean value) {
|
| - |
|
1417 |
__isset_bit_vector.set(__EXPECTEDARRIVALDATE_ISSET_ID, value);
|
| - |
|
1418 |
}
|
| - |
|
1419 |
|
| 1354 |
public void setFieldValue(_Fields field, Object value) {
|
1420 |
public void setFieldValue(_Fields field, Object value) {
|
| 1355 |
switch (field) {
|
1421 |
switch (field) {
|
| 1356 |
case ID:
|
1422 |
case ID:
|
| 1357 |
if (value == null) {
|
1423 |
if (value == null) {
|
| 1358 |
unsetId();
|
1424 |
unsetId();
|
| Line 1623... |
Line 1689... |
| 1623 |
} else {
|
1689 |
} else {
|
| 1624 |
setType((ItemType)value);
|
1690 |
setType((ItemType)value);
|
| 1625 |
}
|
1691 |
}
|
| 1626 |
break;
|
1692 |
break;
|
| 1627 |
|
1693 |
|
| - |
|
1694 |
case COMING_SOON_START_DATE:
|
| - |
|
1695 |
if (value == null) {
|
| - |
|
1696 |
unsetComingSoonStartDate();
|
| - |
|
1697 |
} else {
|
| - |
|
1698 |
setComingSoonStartDate((Long)value);
|
| - |
|
1699 |
}
|
| - |
|
1700 |
break;
|
| - |
|
1701 |
|
| - |
|
1702 |
case EXPECTED_ARRIVAL_DATE:
|
| - |
|
1703 |
if (value == null) {
|
| - |
|
1704 |
unsetExpectedArrivalDate();
|
| - |
|
1705 |
} else {
|
| - |
|
1706 |
setExpectedArrivalDate((Long)value);
|
| - |
|
1707 |
}
|
| - |
|
1708 |
break;
|
| - |
|
1709 |
|
| 1628 |
}
|
1710 |
}
|
| 1629 |
}
|
1711 |
}
|
| 1630 |
|
1712 |
|
| 1631 |
public Object getFieldValue(_Fields field) {
|
1713 |
public Object getFieldValue(_Fields field) {
|
| 1632 |
switch (field) {
|
1714 |
switch (field) {
|
| Line 1730... |
Line 1812... |
| 1730 |
return Long.valueOf(getPreferredVendor());
|
1812 |
return Long.valueOf(getPreferredVendor());
|
| 1731 |
|
1813 |
|
| 1732 |
case TYPE:
|
1814 |
case TYPE:
|
| 1733 |
return getType();
|
1815 |
return getType();
|
| 1734 |
|
1816 |
|
| - |
|
1817 |
case COMING_SOON_START_DATE:
|
| - |
|
1818 |
return Long.valueOf(getComingSoonStartDate());
|
| - |
|
1819 |
|
| - |
|
1820 |
case EXPECTED_ARRIVAL_DATE:
|
| - |
|
1821 |
return Long.valueOf(getExpectedArrivalDate());
|
| - |
|
1822 |
|
| 1735 |
}
|
1823 |
}
|
| 1736 |
throw new IllegalStateException();
|
1824 |
throw new IllegalStateException();
|
| 1737 |
}
|
1825 |
}
|
| 1738 |
|
1826 |
|
| 1739 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
1827 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 1809... |
Line 1897... |
| 1809 |
return isSetWarrantyPeriod();
|
1897 |
return isSetWarrantyPeriod();
|
| 1810 |
case PREFERRED_VENDOR:
|
1898 |
case PREFERRED_VENDOR:
|
| 1811 |
return isSetPreferredVendor();
|
1899 |
return isSetPreferredVendor();
|
| 1812 |
case TYPE:
|
1900 |
case TYPE:
|
| 1813 |
return isSetType();
|
1901 |
return isSetType();
|
| - |
|
1902 |
case COMING_SOON_START_DATE:
|
| - |
|
1903 |
return isSetComingSoonStartDate();
|
| - |
|
1904 |
case EXPECTED_ARRIVAL_DATE:
|
| - |
|
1905 |
return isSetExpectedArrivalDate();
|
| 1814 |
}
|
1906 |
}
|
| 1815 |
throw new IllegalStateException();
|
1907 |
throw new IllegalStateException();
|
| 1816 |
}
|
1908 |
}
|
| 1817 |
|
1909 |
|
| 1818 |
@Override
|
1910 |
@Override
|
| Line 2132... |
Line 2224... |
| 2132 |
return false;
|
2224 |
return false;
|
| 2133 |
if (!this.type.equals(that.type))
|
2225 |
if (!this.type.equals(that.type))
|
| 2134 |
return false;
|
2226 |
return false;
|
| 2135 |
}
|
2227 |
}
|
| 2136 |
|
2228 |
|
| - |
|
2229 |
boolean this_present_comingSoonStartDate = true && this.isSetComingSoonStartDate();
|
| - |
|
2230 |
boolean that_present_comingSoonStartDate = true && that.isSetComingSoonStartDate();
|
| - |
|
2231 |
if (this_present_comingSoonStartDate || that_present_comingSoonStartDate) {
|
| - |
|
2232 |
if (!(this_present_comingSoonStartDate && that_present_comingSoonStartDate))
|
| - |
|
2233 |
return false;
|
| - |
|
2234 |
if (this.comingSoonStartDate != that.comingSoonStartDate)
|
| - |
|
2235 |
return false;
|
| - |
|
2236 |
}
|
| - |
|
2237 |
|
| - |
|
2238 |
boolean this_present_expectedArrivalDate = true && this.isSetExpectedArrivalDate();
|
| - |
|
2239 |
boolean that_present_expectedArrivalDate = true && that.isSetExpectedArrivalDate();
|
| - |
|
2240 |
if (this_present_expectedArrivalDate || that_present_expectedArrivalDate) {
|
| - |
|
2241 |
if (!(this_present_expectedArrivalDate && that_present_expectedArrivalDate))
|
| - |
|
2242 |
return false;
|
| - |
|
2243 |
if (this.expectedArrivalDate != that.expectedArrivalDate)
|
| - |
|
2244 |
return false;
|
| - |
|
2245 |
}
|
| - |
|
2246 |
|
| 2137 |
return true;
|
2247 |
return true;
|
| 2138 |
}
|
2248 |
}
|
| 2139 |
|
2249 |
|
| 2140 |
@Override
|
2250 |
@Override
|
| 2141 |
public int hashCode() {
|
2251 |
public int hashCode() {
|
| Line 2488... |
Line 2598... |
| 2488 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type);
|
2598 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type);
|
| 2489 |
if (lastComparison != 0) {
|
2599 |
if (lastComparison != 0) {
|
| 2490 |
return lastComparison;
|
2600 |
return lastComparison;
|
| 2491 |
}
|
2601 |
}
|
| 2492 |
}
|
2602 |
}
|
| - |
|
2603 |
lastComparison = Boolean.valueOf(isSetComingSoonStartDate()).compareTo(typedOther.isSetComingSoonStartDate());
|
| - |
|
2604 |
if (lastComparison != 0) {
|
| - |
|
2605 |
return lastComparison;
|
| - |
|
2606 |
}
|
| - |
|
2607 |
if (isSetComingSoonStartDate()) {
|
| - |
|
2608 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.comingSoonStartDate, typedOther.comingSoonStartDate);
|
| - |
|
2609 |
if (lastComparison != 0) {
|
| - |
|
2610 |
return lastComparison;
|
| - |
|
2611 |
}
|
| - |
|
2612 |
}
|
| - |
|
2613 |
lastComparison = Boolean.valueOf(isSetExpectedArrivalDate()).compareTo(typedOther.isSetExpectedArrivalDate());
|
| - |
|
2614 |
if (lastComparison != 0) {
|
| - |
|
2615 |
return lastComparison;
|
| - |
|
2616 |
}
|
| - |
|
2617 |
if (isSetExpectedArrivalDate()) {
|
| - |
|
2618 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.expectedArrivalDate, typedOther.expectedArrivalDate);
|
| - |
|
2619 |
if (lastComparison != 0) {
|
| - |
|
2620 |
return lastComparison;
|
| - |
|
2621 |
}
|
| - |
|
2622 |
}
|
| 2493 |
return 0;
|
2623 |
return 0;
|
| 2494 |
}
|
2624 |
}
|
| 2495 |
|
2625 |
|
| 2496 |
public _Fields fieldForId(int fieldId) {
|
2626 |
public _Fields fieldForId(int fieldId) {
|
| 2497 |
return _Fields.findByThriftId(fieldId);
|
2627 |
return _Fields.findByThriftId(fieldId);
|
| Line 2777... |
Line 2907... |
| 2777 |
this.type = ItemType.findByValue(iprot.readI32());
|
2907 |
this.type = ItemType.findByValue(iprot.readI32());
|
| 2778 |
} else {
|
2908 |
} else {
|
| 2779 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2909 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2780 |
}
|
2910 |
}
|
| 2781 |
break;
|
2911 |
break;
|
| - |
|
2912 |
case 35: // COMING_SOON_START_DATE
|
| - |
|
2913 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
2914 |
this.comingSoonStartDate = iprot.readI64();
|
| - |
|
2915 |
setComingSoonStartDateIsSet(true);
|
| - |
|
2916 |
} else {
|
| - |
|
2917 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2918 |
}
|
| - |
|
2919 |
break;
|
| - |
|
2920 |
case 36: // EXPECTED_ARRIVAL_DATE
|
| - |
|
2921 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
2922 |
this.expectedArrivalDate = iprot.readI64();
|
| - |
|
2923 |
setExpectedArrivalDateIsSet(true);
|
| - |
|
2924 |
} else {
|
| - |
|
2925 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2926 |
}
|
| - |
|
2927 |
break;
|
| 2782 |
default:
|
2928 |
default:
|
| 2783 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2929 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2784 |
}
|
2930 |
}
|
| 2785 |
iprot.readFieldEnd();
|
2931 |
iprot.readFieldEnd();
|
| 2786 |
}
|
2932 |
}
|
| Line 2950... |
Line 3096... |
| 2950 |
if (this.type != null) {
|
3096 |
if (this.type != null) {
|
| 2951 |
oprot.writeFieldBegin(TYPE_FIELD_DESC);
|
3097 |
oprot.writeFieldBegin(TYPE_FIELD_DESC);
|
| 2952 |
oprot.writeI32(this.type.getValue());
|
3098 |
oprot.writeI32(this.type.getValue());
|
| 2953 |
oprot.writeFieldEnd();
|
3099 |
oprot.writeFieldEnd();
|
| 2954 |
}
|
3100 |
}
|
| - |
|
3101 |
if (isSetComingSoonStartDate()) {
|
| - |
|
3102 |
oprot.writeFieldBegin(COMING_SOON_START_DATE_FIELD_DESC);
|
| - |
|
3103 |
oprot.writeI64(this.comingSoonStartDate);
|
| - |
|
3104 |
oprot.writeFieldEnd();
|
| - |
|
3105 |
}
|
| - |
|
3106 |
if (isSetExpectedArrivalDate()) {
|
| - |
|
3107 |
oprot.writeFieldBegin(EXPECTED_ARRIVAL_DATE_FIELD_DESC);
|
| - |
|
3108 |
oprot.writeI64(this.expectedArrivalDate);
|
| - |
|
3109 |
oprot.writeFieldEnd();
|
| - |
|
3110 |
}
|
| 2955 |
oprot.writeFieldStop();
|
3111 |
oprot.writeFieldStop();
|
| 2956 |
oprot.writeStructEnd();
|
3112 |
oprot.writeStructEnd();
|
| 2957 |
}
|
3113 |
}
|
| 2958 |
|
3114 |
|
| 2959 |
@Override
|
3115 |
@Override
|
| Line 3170... |
Line 3326... |
| 3170 |
sb.append("null");
|
3326 |
sb.append("null");
|
| 3171 |
} else {
|
3327 |
} else {
|
| 3172 |
sb.append(this.type);
|
3328 |
sb.append(this.type);
|
| 3173 |
}
|
3329 |
}
|
| 3174 |
first = false;
|
3330 |
first = false;
|
| - |
|
3331 |
if (isSetComingSoonStartDate()) {
|
| - |
|
3332 |
if (!first) sb.append(", ");
|
| - |
|
3333 |
sb.append("comingSoonStartDate:");
|
| - |
|
3334 |
sb.append(this.comingSoonStartDate);
|
| - |
|
3335 |
first = false;
|
| - |
|
3336 |
}
|
| - |
|
3337 |
if (isSetExpectedArrivalDate()) {
|
| - |
|
3338 |
if (!first) sb.append(", ");
|
| - |
|
3339 |
sb.append("expectedArrivalDate:");
|
| - |
|
3340 |
sb.append(this.expectedArrivalDate);
|
| - |
|
3341 |
first = false;
|
| - |
|
3342 |
}
|
| 3175 |
sb.append(")");
|
3343 |
sb.append(")");
|
| 3176 |
return sb.toString();
|
3344 |
return sb.toString();
|
| 3177 |
}
|
3345 |
}
|
| 3178 |
|
3346 |
|
| 3179 |
public void validate() throws org.apache.thrift.TException {
|
3347 |
public void validate() throws org.apache.thrift.TException {
|