| Line 57... |
Line 57... |
| 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);
|
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);
|
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);
|
| 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);
|
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);
|
| - |
|
62 |
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)37);
|
| 62 |
|
63 |
|
| 63 |
private long id; // required
|
64 |
private long id; // required
|
| 64 |
private String productGroup; // required
|
65 |
private String productGroup; // required
|
| 65 |
private String brand; // required
|
66 |
private String brand; // required
|
| 66 |
private String modelNumber; // required
|
67 |
private String modelNumber; // required
|
| Line 94... |
Line 95... |
| 94 |
private int expectedDelay; // required
|
95 |
private int expectedDelay; // required
|
| 95 |
private String preferredWarehouse; // required
|
96 |
private String preferredWarehouse; // required
|
| 96 |
private String defaultWarehouse; // required
|
97 |
private String defaultWarehouse; // required
|
| 97 |
private boolean isWarehousePreferenceSticky; // required
|
98 |
private boolean isWarehousePreferenceSticky; // required
|
| 98 |
private int warrantyPeriod; // required
|
99 |
private int warrantyPeriod; // required
|
| - |
|
100 |
private long preferredVendor; // required
|
| 99 |
|
101 |
|
| 100 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
102 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 101 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
103 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 102 |
ID((short)1, "id"),
|
104 |
ID((short)1, "id"),
|
| 103 |
PRODUCT_GROUP((short)2, "productGroup"),
|
105 |
PRODUCT_GROUP((short)2, "productGroup"),
|
| Line 136... |
Line 138... |
| 136 |
RISKY((short)31, "risky"),
|
138 |
RISKY((short)31, "risky"),
|
| 137 |
EXPECTED_DELAY((short)32, "expectedDelay"),
|
139 |
EXPECTED_DELAY((short)32, "expectedDelay"),
|
| 138 |
PREFERRED_WAREHOUSE((short)33, "preferredWarehouse"),
|
140 |
PREFERRED_WAREHOUSE((short)33, "preferredWarehouse"),
|
| 139 |
DEFAULT_WAREHOUSE((short)34, "defaultWarehouse"),
|
141 |
DEFAULT_WAREHOUSE((short)34, "defaultWarehouse"),
|
| 140 |
IS_WAREHOUSE_PREFERENCE_STICKY((short)35, "isWarehousePreferenceSticky"),
|
142 |
IS_WAREHOUSE_PREFERENCE_STICKY((short)35, "isWarehousePreferenceSticky"),
|
| 141 |
WARRANTY_PERIOD((short)36, "warrantyPeriod");
|
143 |
WARRANTY_PERIOD((short)36, "warrantyPeriod"),
|
| - |
|
144 |
PREFERRED_VENDOR((short)37, "preferredVendor");
|
| 142 |
|
145 |
|
| 143 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
146 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 144 |
|
147 |
|
| 145 |
static {
|
148 |
static {
|
| 146 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
149 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 223... |
Line 226... |
| 223 |
return DEFAULT_WAREHOUSE;
|
226 |
return DEFAULT_WAREHOUSE;
|
| 224 |
case 35: // IS_WAREHOUSE_PREFERENCE_STICKY
|
227 |
case 35: // IS_WAREHOUSE_PREFERENCE_STICKY
|
| 225 |
return IS_WAREHOUSE_PREFERENCE_STICKY;
|
228 |
return IS_WAREHOUSE_PREFERENCE_STICKY;
|
| 226 |
case 36: // WARRANTY_PERIOD
|
229 |
case 36: // WARRANTY_PERIOD
|
| 227 |
return WARRANTY_PERIOD;
|
230 |
return WARRANTY_PERIOD;
|
| - |
|
231 |
case 37: // PREFERRED_VENDOR
|
| - |
|
232 |
return PREFERRED_VENDOR;
|
| 228 |
default:
|
233 |
default:
|
| 229 |
return null;
|
234 |
return null;
|
| 230 |
}
|
235 |
}
|
| 231 |
}
|
236 |
}
|
| 232 |
|
237 |
|
| Line 284... |
Line 289... |
| 284 |
private static final int __BESTSELLINGRANK_ISSET_ID = 16;
|
289 |
private static final int __BESTSELLINGRANK_ISSET_ID = 16;
|
| 285 |
private static final int __RISKY_ISSET_ID = 17;
|
290 |
private static final int __RISKY_ISSET_ID = 17;
|
| 286 |
private static final int __EXPECTEDDELAY_ISSET_ID = 18;
|
291 |
private static final int __EXPECTEDDELAY_ISSET_ID = 18;
|
| 287 |
private static final int __ISWAREHOUSEPREFERENCESTICKY_ISSET_ID = 19;
|
292 |
private static final int __ISWAREHOUSEPREFERENCESTICKY_ISSET_ID = 19;
|
| 288 |
private static final int __WARRANTYPERIOD_ISSET_ID = 20;
|
293 |
private static final int __WARRANTYPERIOD_ISSET_ID = 20;
|
| - |
|
294 |
private static final int __PREFERREDVENDOR_ISSET_ID = 21;
|
| 289 |
private BitSet __isset_bit_vector = new BitSet(21);
|
295 |
private BitSet __isset_bit_vector = new BitSet(22);
|
| 290 |
|
296 |
|
| 291 |
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;
|
| 292 |
static {
|
298 |
static {
|
| 293 |
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);
|
| 294 |
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 363... |
Line 369... |
| 363 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
369 |
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,
|
370 |
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)));
|
371 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 366 |
tmpMap.put(_Fields.WARRANTY_PERIOD, new org.apache.thrift.meta_data.FieldMetaData("warrantyPeriod", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
372 |
tmpMap.put(_Fields.WARRANTY_PERIOD, new org.apache.thrift.meta_data.FieldMetaData("warrantyPeriod", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 367 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
373 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
| - |
|
374 |
tmpMap.put(_Fields.PREFERRED_VENDOR, new org.apache.thrift.meta_data.FieldMetaData("preferredVendor", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
| - |
|
375 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 368 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
376 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 369 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
|
377 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Item.class, metaDataMap);
|
| 370 |
}
|
378 |
}
|
| 371 |
|
379 |
|
| 372 |
public Item() {
|
380 |
public Item() {
|
| Line 512... |
Line 520... |
| 512 |
if (other.isSetDefaultWarehouse()) {
|
520 |
if (other.isSetDefaultWarehouse()) {
|
| 513 |
this.defaultWarehouse = other.defaultWarehouse;
|
521 |
this.defaultWarehouse = other.defaultWarehouse;
|
| 514 |
}
|
522 |
}
|
| 515 |
this.isWarehousePreferenceSticky = other.isWarehousePreferenceSticky;
|
523 |
this.isWarehousePreferenceSticky = other.isWarehousePreferenceSticky;
|
| 516 |
this.warrantyPeriod = other.warrantyPeriod;
|
524 |
this.warrantyPeriod = other.warrantyPeriod;
|
| - |
|
525 |
this.preferredVendor = other.preferredVendor;
|
| 517 |
}
|
526 |
}
|
| 518 |
|
527 |
|
| 519 |
public Item deepCopy() {
|
528 |
public Item deepCopy() {
|
| 520 |
return new Item(this);
|
529 |
return new Item(this);
|
| 521 |
}
|
530 |
}
|
| Line 577... |
Line 586... |
| 577 |
this.defaultWarehouse = null;
|
586 |
this.defaultWarehouse = null;
|
| 578 |
setIsWarehousePreferenceStickyIsSet(false);
|
587 |
setIsWarehousePreferenceStickyIsSet(false);
|
| 579 |
this.isWarehousePreferenceSticky = false;
|
588 |
this.isWarehousePreferenceSticky = false;
|
| 580 |
setWarrantyPeriodIsSet(false);
|
589 |
setWarrantyPeriodIsSet(false);
|
| 581 |
this.warrantyPeriod = 0;
|
590 |
this.warrantyPeriod = 0;
|
| - |
|
591 |
setPreferredVendorIsSet(false);
|
| - |
|
592 |
this.preferredVendor = 0;
|
| 582 |
}
|
593 |
}
|
| 583 |
|
594 |
|
| 584 |
public long getId() {
|
595 |
public long getId() {
|
| 585 |
return this.id;
|
596 |
return this.id;
|
| 586 |
}
|
597 |
}
|
| Line 1405... |
Line 1416... |
| 1405 |
|
1416 |
|
| 1406 |
public void setWarrantyPeriodIsSet(boolean value) {
|
1417 |
public void setWarrantyPeriodIsSet(boolean value) {
|
| 1407 |
__isset_bit_vector.set(__WARRANTYPERIOD_ISSET_ID, value);
|
1418 |
__isset_bit_vector.set(__WARRANTYPERIOD_ISSET_ID, value);
|
| 1408 |
}
|
1419 |
}
|
| 1409 |
|
1420 |
|
| - |
|
1421 |
public long getPreferredVendor() {
|
| - |
|
1422 |
return this.preferredVendor;
|
| - |
|
1423 |
}
|
| - |
|
1424 |
|
| - |
|
1425 |
public void setPreferredVendor(long preferredVendor) {
|
| - |
|
1426 |
this.preferredVendor = preferredVendor;
|
| - |
|
1427 |
setPreferredVendorIsSet(true);
|
| - |
|
1428 |
}
|
| - |
|
1429 |
|
| - |
|
1430 |
public void unsetPreferredVendor() {
|
| - |
|
1431 |
__isset_bit_vector.clear(__PREFERREDVENDOR_ISSET_ID);
|
| - |
|
1432 |
}
|
| - |
|
1433 |
|
| - |
|
1434 |
/** Returns true if field preferredVendor is set (has been assigned a value) and false otherwise */
|
| - |
|
1435 |
public boolean isSetPreferredVendor() {
|
| - |
|
1436 |
return __isset_bit_vector.get(__PREFERREDVENDOR_ISSET_ID);
|
| - |
|
1437 |
}
|
| - |
|
1438 |
|
| - |
|
1439 |
public void setPreferredVendorIsSet(boolean value) {
|
| - |
|
1440 |
__isset_bit_vector.set(__PREFERREDVENDOR_ISSET_ID, value);
|
| - |
|
1441 |
}
|
| - |
|
1442 |
|
| 1410 |
public void setFieldValue(_Fields field, Object value) {
|
1443 |
public void setFieldValue(_Fields field, Object value) {
|
| 1411 |
switch (field) {
|
1444 |
switch (field) {
|
| 1412 |
case ID:
|
1445 |
case ID:
|
| 1413 |
if (value == null) {
|
1446 |
if (value == null) {
|
| 1414 |
unsetId();
|
1447 |
unsetId();
|
| Line 1695... |
Line 1728... |
| 1695 |
} else {
|
1728 |
} else {
|
| 1696 |
setWarrantyPeriod((Integer)value);
|
1729 |
setWarrantyPeriod((Integer)value);
|
| 1697 |
}
|
1730 |
}
|
| 1698 |
break;
|
1731 |
break;
|
| 1699 |
|
1732 |
|
| - |
|
1733 |
case PREFERRED_VENDOR:
|
| - |
|
1734 |
if (value == null) {
|
| - |
|
1735 |
unsetPreferredVendor();
|
| - |
|
1736 |
} else {
|
| - |
|
1737 |
setPreferredVendor((Long)value);
|
| - |
|
1738 |
}
|
| - |
|
1739 |
break;
|
| - |
|
1740 |
|
| 1700 |
}
|
1741 |
}
|
| 1701 |
}
|
1742 |
}
|
| 1702 |
|
1743 |
|
| 1703 |
public Object getFieldValue(_Fields field) {
|
1744 |
public Object getFieldValue(_Fields field) {
|
| 1704 |
switch (field) {
|
1745 |
switch (field) {
|
| Line 1808... |
Line 1849... |
| 1808 |
return Boolean.valueOf(isIsWarehousePreferenceSticky());
|
1849 |
return Boolean.valueOf(isIsWarehousePreferenceSticky());
|
| 1809 |
|
1850 |
|
| 1810 |
case WARRANTY_PERIOD:
|
1851 |
case WARRANTY_PERIOD:
|
| 1811 |
return Integer.valueOf(getWarrantyPeriod());
|
1852 |
return Integer.valueOf(getWarrantyPeriod());
|
| 1812 |
|
1853 |
|
| - |
|
1854 |
case PREFERRED_VENDOR:
|
| - |
|
1855 |
return Long.valueOf(getPreferredVendor());
|
| - |
|
1856 |
|
| 1813 |
}
|
1857 |
}
|
| 1814 |
throw new IllegalStateException();
|
1858 |
throw new IllegalStateException();
|
| 1815 |
}
|
1859 |
}
|
| 1816 |
|
1860 |
|
| 1817 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
1861 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 1891... |
Line 1935... |
| 1891 |
return isSetDefaultWarehouse();
|
1935 |
return isSetDefaultWarehouse();
|
| 1892 |
case IS_WAREHOUSE_PREFERENCE_STICKY:
|
1936 |
case IS_WAREHOUSE_PREFERENCE_STICKY:
|
| 1893 |
return isSetIsWarehousePreferenceSticky();
|
1937 |
return isSetIsWarehousePreferenceSticky();
|
| 1894 |
case WARRANTY_PERIOD:
|
1938 |
case WARRANTY_PERIOD:
|
| 1895 |
return isSetWarrantyPeriod();
|
1939 |
return isSetWarrantyPeriod();
|
| - |
|
1940 |
case PREFERRED_VENDOR:
|
| - |
|
1941 |
return isSetPreferredVendor();
|
| 1896 |
}
|
1942 |
}
|
| 1897 |
throw new IllegalStateException();
|
1943 |
throw new IllegalStateException();
|
| 1898 |
}
|
1944 |
}
|
| 1899 |
|
1945 |
|
| 1900 |
@Override
|
1946 |
@Override
|
| Line 2232... |
Line 2278... |
| 2232 |
return false;
|
2278 |
return false;
|
| 2233 |
if (this.warrantyPeriod != that.warrantyPeriod)
|
2279 |
if (this.warrantyPeriod != that.warrantyPeriod)
|
| 2234 |
return false;
|
2280 |
return false;
|
| 2235 |
}
|
2281 |
}
|
| 2236 |
|
2282 |
|
| - |
|
2283 |
boolean this_present_preferredVendor = true && this.isSetPreferredVendor();
|
| - |
|
2284 |
boolean that_present_preferredVendor = true && that.isSetPreferredVendor();
|
| - |
|
2285 |
if (this_present_preferredVendor || that_present_preferredVendor) {
|
| - |
|
2286 |
if (!(this_present_preferredVendor && that_present_preferredVendor))
|
| - |
|
2287 |
return false;
|
| - |
|
2288 |
if (this.preferredVendor != that.preferredVendor)
|
| - |
|
2289 |
return false;
|
| - |
|
2290 |
}
|
| - |
|
2291 |
|
| 2237 |
return true;
|
2292 |
return true;
|
| 2238 |
}
|
2293 |
}
|
| 2239 |
|
2294 |
|
| 2240 |
@Override
|
2295 |
@Override
|
| 2241 |
public int hashCode() {
|
2296 |
public int hashCode() {
|
| Line 2608... |
Line 2663... |
| 2608 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warrantyPeriod, typedOther.warrantyPeriod);
|
2663 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warrantyPeriod, typedOther.warrantyPeriod);
|
| 2609 |
if (lastComparison != 0) {
|
2664 |
if (lastComparison != 0) {
|
| 2610 |
return lastComparison;
|
2665 |
return lastComparison;
|
| 2611 |
}
|
2666 |
}
|
| 2612 |
}
|
2667 |
}
|
| - |
|
2668 |
lastComparison = Boolean.valueOf(isSetPreferredVendor()).compareTo(typedOther.isSetPreferredVendor());
|
| - |
|
2669 |
if (lastComparison != 0) {
|
| - |
|
2670 |
return lastComparison;
|
| - |
|
2671 |
}
|
| - |
|
2672 |
if (isSetPreferredVendor()) {
|
| - |
|
2673 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.preferredVendor, typedOther.preferredVendor);
|
| - |
|
2674 |
if (lastComparison != 0) {
|
| - |
|
2675 |
return lastComparison;
|
| - |
|
2676 |
}
|
| - |
|
2677 |
}
|
| 2613 |
return 0;
|
2678 |
return 0;
|
| 2614 |
}
|
2679 |
}
|
| 2615 |
|
2680 |
|
| 2616 |
public _Fields fieldForId(int fieldId) {
|
2681 |
public _Fields fieldForId(int fieldId) {
|
| 2617 |
return _Fields.findByThriftId(fieldId);
|
2682 |
return _Fields.findByThriftId(fieldId);
|
| Line 2795... |
Line 2860... |
| 2795 |
}
|
2860 |
}
|
| 2796 |
break;
|
2861 |
break;
|
| 2797 |
case 23: // OTHER_INFO
|
2862 |
case 23: // OTHER_INFO
|
| 2798 |
if (field.type == org.apache.thrift.protocol.TType.MAP) {
|
2863 |
if (field.type == org.apache.thrift.protocol.TType.MAP) {
|
| 2799 |
{
|
2864 |
{
|
| 2800 |
org.apache.thrift.protocol.TMap _map5 = iprot.readMapBegin();
|
2865 |
org.apache.thrift.protocol.TMap _map10 = iprot.readMapBegin();
|
| 2801 |
this.otherInfo = new HashMap<String,String>(2*_map5.size);
|
2866 |
this.otherInfo = new HashMap<String,String>(2*_map10.size);
|
| 2802 |
for (int _i6 = 0; _i6 < _map5.size; ++_i6)
|
2867 |
for (int _i11 = 0; _i11 < _map10.size; ++_i11)
|
| 2803 |
{
|
2868 |
{
|
| 2804 |
String _key7; // required
|
2869 |
String _key12; // required
|
| 2805 |
String _val8; // required
|
2870 |
String _val13; // required
|
| 2806 |
_key7 = iprot.readString();
|
2871 |
_key12 = iprot.readString();
|
| 2807 |
_val8 = iprot.readString();
|
2872 |
_val13 = iprot.readString();
|
| 2808 |
this.otherInfo.put(_key7, _val8);
|
2873 |
this.otherInfo.put(_key12, _val13);
|
| 2809 |
}
|
2874 |
}
|
| 2810 |
iprot.readMapEnd();
|
2875 |
iprot.readMapEnd();
|
| 2811 |
}
|
2876 |
}
|
| 2812 |
} else {
|
2877 |
} else {
|
| 2813 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2878 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| Line 2911... |
Line 2976... |
| 2911 |
setWarrantyPeriodIsSet(true);
|
2976 |
setWarrantyPeriodIsSet(true);
|
| 2912 |
} else {
|
2977 |
} else {
|
| 2913 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2978 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2914 |
}
|
2979 |
}
|
| 2915 |
break;
|
2980 |
break;
|
| - |
|
2981 |
case 37: // PREFERRED_VENDOR
|
| - |
|
2982 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
2983 |
this.preferredVendor = iprot.readI64();
|
| - |
|
2984 |
setPreferredVendorIsSet(true);
|
| - |
|
2985 |
} else {
|
| - |
|
2986 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
2987 |
}
|
| - |
|
2988 |
break;
|
| 2916 |
default:
|
2989 |
default:
|
| 2917 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
2990 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 2918 |
}
|
2991 |
}
|
| 2919 |
iprot.readFieldEnd();
|
2992 |
iprot.readFieldEnd();
|
| 2920 |
}
|
2993 |
}
|
| Line 3028... |
Line 3101... |
| 3028 |
}
|
3101 |
}
|
| 3029 |
if (this.otherInfo != null) {
|
3102 |
if (this.otherInfo != null) {
|
| 3030 |
oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
|
3103 |
oprot.writeFieldBegin(OTHER_INFO_FIELD_DESC);
|
| 3031 |
{
|
3104 |
{
|
| 3032 |
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.otherInfo.size()));
|
3105 |
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, this.otherInfo.size()));
|
| 3033 |
for (Map.Entry<String, String> _iter9 : this.otherInfo.entrySet())
|
3106 |
for (Map.Entry<String, String> _iter14 : this.otherInfo.entrySet())
|
| 3034 |
{
|
3107 |
{
|
| 3035 |
oprot.writeString(_iter9.getKey());
|
3108 |
oprot.writeString(_iter14.getKey());
|
| 3036 |
oprot.writeString(_iter9.getValue());
|
3109 |
oprot.writeString(_iter14.getValue());
|
| 3037 |
}
|
3110 |
}
|
| 3038 |
oprot.writeMapEnd();
|
3111 |
oprot.writeMapEnd();
|
| 3039 |
}
|
3112 |
}
|
| 3040 |
oprot.writeFieldEnd();
|
3113 |
oprot.writeFieldEnd();
|
| 3041 |
}
|
3114 |
}
|
| Line 3098... |
Line 3171... |
| 3098 |
oprot.writeFieldEnd();
|
3171 |
oprot.writeFieldEnd();
|
| 3099 |
}
|
3172 |
}
|
| 3100 |
oprot.writeFieldBegin(WARRANTY_PERIOD_FIELD_DESC);
|
3173 |
oprot.writeFieldBegin(WARRANTY_PERIOD_FIELD_DESC);
|
| 3101 |
oprot.writeI32(this.warrantyPeriod);
|
3174 |
oprot.writeI32(this.warrantyPeriod);
|
| 3102 |
oprot.writeFieldEnd();
|
3175 |
oprot.writeFieldEnd();
|
| - |
|
3176 |
if (isSetPreferredVendor()) {
|
| - |
|
3177 |
oprot.writeFieldBegin(PREFERRED_VENDOR_FIELD_DESC);
|
| - |
|
3178 |
oprot.writeI64(this.preferredVendor);
|
| - |
|
3179 |
oprot.writeFieldEnd();
|
| - |
|
3180 |
}
|
| 3103 |
oprot.writeFieldStop();
|
3181 |
oprot.writeFieldStop();
|
| 3104 |
oprot.writeStructEnd();
|
3182 |
oprot.writeStructEnd();
|
| 3105 |
}
|
3183 |
}
|
| 3106 |
|
3184 |
|
| 3107 |
@Override
|
3185 |
@Override
|
| Line 3338... |
Line 3416... |
| 3338 |
}
|
3416 |
}
|
| 3339 |
if (!first) sb.append(", ");
|
3417 |
if (!first) sb.append(", ");
|
| 3340 |
sb.append("warrantyPeriod:");
|
3418 |
sb.append("warrantyPeriod:");
|
| 3341 |
sb.append(this.warrantyPeriod);
|
3419 |
sb.append(this.warrantyPeriod);
|
| 3342 |
first = false;
|
3420 |
first = false;
|
| - |
|
3421 |
if (isSetPreferredVendor()) {
|
| - |
|
3422 |
if (!first) sb.append(", ");
|
| - |
|
3423 |
sb.append("preferredVendor:");
|
| - |
|
3424 |
sb.append(this.preferredVendor);
|
| - |
|
3425 |
first = false;
|
| - |
|
3426 |
}
|
| 3343 |
sb.append(")");
|
3427 |
sb.append(")");
|
| 3344 |
return sb.toString();
|
3428 |
return sb.toString();
|
| 3345 |
}
|
3429 |
}
|
| 3346 |
|
3430 |
|
| 3347 |
public void validate() throws org.apache.thrift.TException {
|
3431 |
public void validate() throws org.apache.thrift.TException {
|