| Line 26... |
Line 26... |
| 26 |
private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
|
26 |
private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 27 |
private static final org.apache.thrift.protocol.TField PO_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("poNumber", org.apache.thrift.protocol.TType.STRING, (short)2);
|
27 |
private static final org.apache.thrift.protocol.TField PO_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("poNumber", org.apache.thrift.protocol.TType.STRING, (short)2);
|
| 28 |
private static final org.apache.thrift.protocol.TField LINEITEMS_FIELD_DESC = new org.apache.thrift.protocol.TField("lineitems", org.apache.thrift.protocol.TType.LIST, (short)3);
|
28 |
private static final org.apache.thrift.protocol.TField LINEITEMS_FIELD_DESC = new org.apache.thrift.protocol.TField("lineitems", org.apache.thrift.protocol.TType.LIST, (short)3);
|
| 29 |
private static final org.apache.thrift.protocol.TField SUPPLIER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("supplierId", org.apache.thrift.protocol.TType.I64, (short)4);
|
29 |
private static final org.apache.thrift.protocol.TField SUPPLIER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("supplierId", org.apache.thrift.protocol.TType.I64, (short)4);
|
| 30 |
private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouseId", org.apache.thrift.protocol.TType.I64, (short)5);
|
30 |
private static final org.apache.thrift.protocol.TField WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("warehouseId", org.apache.thrift.protocol.TType.I64, (short)5);
|
| - |
|
31 |
private static final org.apache.thrift.protocol.TField SHIPPING_WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("shippingWarehouseId", org.apache.thrift.protocol.TType.I64, (short)6);
|
| 31 |
private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.I32, (short)6);
|
32 |
private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.I32, (short)7);
|
| 32 |
private static final org.apache.thrift.protocol.TField CREATED_AT_FIELD_DESC = new org.apache.thrift.protocol.TField("createdAt", org.apache.thrift.protocol.TType.I64, (short)7);
|
33 |
private static final org.apache.thrift.protocol.TField CREATED_AT_FIELD_DESC = new org.apache.thrift.protocol.TField("createdAt", org.apache.thrift.protocol.TType.I64, (short)8);
|
| 33 |
private static final org.apache.thrift.protocol.TField UPDATED_AT_FIELD_DESC = new org.apache.thrift.protocol.TField("updatedAt", org.apache.thrift.protocol.TType.I64, (short)8);
|
34 |
private static final org.apache.thrift.protocol.TField UPDATED_AT_FIELD_DESC = new org.apache.thrift.protocol.TField("updatedAt", org.apache.thrift.protocol.TType.I64, (short)9);
|
| 34 |
private static final org.apache.thrift.protocol.TField TOTAL_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("totalCost", org.apache.thrift.protocol.TType.DOUBLE, (short)9);
|
35 |
private static final org.apache.thrift.protocol.TField TOTAL_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("totalCost", org.apache.thrift.protocol.TType.DOUBLE, (short)10);
|
| 35 |
private static final org.apache.thrift.protocol.TField FREIGHT_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("freightCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)10);
|
36 |
private static final org.apache.thrift.protocol.TField FREIGHT_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("freightCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)11);
|
| 36 |
private static final org.apache.thrift.protocol.TField REALIZED_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("realizedCost", org.apache.thrift.protocol.TType.DOUBLE, (short)11);
|
37 |
private static final org.apache.thrift.protocol.TField REALIZED_COST_FIELD_DESC = new org.apache.thrift.protocol.TField("realizedCost", org.apache.thrift.protocol.TType.DOUBLE, (short)12);
|
| 37 |
private static final org.apache.thrift.protocol.TField REALIZED_FREIGHT_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("realizedFreightCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)12);
|
38 |
private static final org.apache.thrift.protocol.TField REALIZED_FREIGHT_CHARGES_FIELD_DESC = new org.apache.thrift.protocol.TField("realizedFreightCharges", org.apache.thrift.protocol.TType.DOUBLE, (short)13);
|
| 38 |
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)13);
|
39 |
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)14);
|
| 39 |
private static final org.apache.thrift.protocol.TField TAX_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("taxType", org.apache.thrift.protocol.TType.I32, (short)14);
|
40 |
private static final org.apache.thrift.protocol.TField TAX_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("taxType", org.apache.thrift.protocol.TType.I32, (short)15);
|
| 40 |
|
41 |
|
| 41 |
private long id; // required
|
42 |
private long id; // required
|
| 42 |
private String poNumber; // required
|
43 |
private String poNumber; // required
|
| 43 |
private List<LineItem> lineitems; // required
|
44 |
private List<LineItem> lineitems; // required
|
| 44 |
private long supplierId; // required
|
45 |
private long supplierId; // required
|
| 45 |
private long warehouseId; // required
|
46 |
private long warehouseId; // required
|
| - |
|
47 |
private long shippingWarehouseId; // required
|
| 46 |
private POStatus status; // required
|
48 |
private POStatus status; // required
|
| 47 |
private long createdAt; // required
|
49 |
private long createdAt; // required
|
| 48 |
private long updatedAt; // required
|
50 |
private long updatedAt; // required
|
| 49 |
private double totalCost; // required
|
51 |
private double totalCost; // required
|
| 50 |
private double freightCharges; // required
|
52 |
private double freightCharges; // required
|
| Line 58... |
Line 60... |
| 58 |
ID((short)1, "id"),
|
60 |
ID((short)1, "id"),
|
| 59 |
PO_NUMBER((short)2, "poNumber"),
|
61 |
PO_NUMBER((short)2, "poNumber"),
|
| 60 |
LINEITEMS((short)3, "lineitems"),
|
62 |
LINEITEMS((short)3, "lineitems"),
|
| 61 |
SUPPLIER_ID((short)4, "supplierId"),
|
63 |
SUPPLIER_ID((short)4, "supplierId"),
|
| 62 |
WAREHOUSE_ID((short)5, "warehouseId"),
|
64 |
WAREHOUSE_ID((short)5, "warehouseId"),
|
| - |
|
65 |
SHIPPING_WAREHOUSE_ID((short)6, "shippingWarehouseId"),
|
| 63 |
/**
|
66 |
/**
|
| 64 |
*
|
67 |
*
|
| 65 |
* @see POStatus
|
68 |
* @see POStatus
|
| 66 |
*/
|
69 |
*/
|
| 67 |
STATUS((short)6, "status"),
|
70 |
STATUS((short)7, "status"),
|
| 68 |
CREATED_AT((short)7, "createdAt"),
|
71 |
CREATED_AT((short)8, "createdAt"),
|
| 69 |
UPDATED_AT((short)8, "updatedAt"),
|
72 |
UPDATED_AT((short)9, "updatedAt"),
|
| 70 |
TOTAL_COST((short)9, "totalCost"),
|
73 |
TOTAL_COST((short)10, "totalCost"),
|
| 71 |
FREIGHT_CHARGES((short)10, "freightCharges"),
|
74 |
FREIGHT_CHARGES((short)11, "freightCharges"),
|
| 72 |
REALIZED_COST((short)11, "realizedCost"),
|
75 |
REALIZED_COST((short)12, "realizedCost"),
|
| 73 |
REALIZED_FREIGHT_CHARGES((short)12, "realizedFreightCharges"),
|
76 |
REALIZED_FREIGHT_CHARGES((short)13, "realizedFreightCharges"),
|
| 74 |
/**
|
77 |
/**
|
| 75 |
*
|
78 |
*
|
| 76 |
* @see POType
|
79 |
* @see POType
|
| 77 |
*/
|
80 |
*/
|
| 78 |
TYPE((short)13, "type"),
|
81 |
TYPE((short)14, "type"),
|
| 79 |
/**
|
82 |
/**
|
| 80 |
*
|
83 |
*
|
| 81 |
* @see TaxType
|
84 |
* @see TaxType
|
| 82 |
*/
|
85 |
*/
|
| 83 |
TAX_TYPE((short)14, "taxType");
|
86 |
TAX_TYPE((short)15, "taxType");
|
| 84 |
|
87 |
|
| 85 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
88 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 86 |
|
89 |
|
| 87 |
static {
|
90 |
static {
|
| 88 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
91 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 103... |
Line 106... |
| 103 |
return LINEITEMS;
|
106 |
return LINEITEMS;
|
| 104 |
case 4: // SUPPLIER_ID
|
107 |
case 4: // SUPPLIER_ID
|
| 105 |
return SUPPLIER_ID;
|
108 |
return SUPPLIER_ID;
|
| 106 |
case 5: // WAREHOUSE_ID
|
109 |
case 5: // WAREHOUSE_ID
|
| 107 |
return WAREHOUSE_ID;
|
110 |
return WAREHOUSE_ID;
|
| - |
|
111 |
case 6: // SHIPPING_WAREHOUSE_ID
|
| - |
|
112 |
return SHIPPING_WAREHOUSE_ID;
|
| 108 |
case 6: // STATUS
|
113 |
case 7: // STATUS
|
| 109 |
return STATUS;
|
114 |
return STATUS;
|
| 110 |
case 7: // CREATED_AT
|
115 |
case 8: // CREATED_AT
|
| 111 |
return CREATED_AT;
|
116 |
return CREATED_AT;
|
| 112 |
case 8: // UPDATED_AT
|
117 |
case 9: // UPDATED_AT
|
| 113 |
return UPDATED_AT;
|
118 |
return UPDATED_AT;
|
| 114 |
case 9: // TOTAL_COST
|
119 |
case 10: // TOTAL_COST
|
| 115 |
return TOTAL_COST;
|
120 |
return TOTAL_COST;
|
| 116 |
case 10: // FREIGHT_CHARGES
|
121 |
case 11: // FREIGHT_CHARGES
|
| 117 |
return FREIGHT_CHARGES;
|
122 |
return FREIGHT_CHARGES;
|
| 118 |
case 11: // REALIZED_COST
|
123 |
case 12: // REALIZED_COST
|
| 119 |
return REALIZED_COST;
|
124 |
return REALIZED_COST;
|
| 120 |
case 12: // REALIZED_FREIGHT_CHARGES
|
125 |
case 13: // REALIZED_FREIGHT_CHARGES
|
| 121 |
return REALIZED_FREIGHT_CHARGES;
|
126 |
return REALIZED_FREIGHT_CHARGES;
|
| 122 |
case 13: // TYPE
|
127 |
case 14: // TYPE
|
| 123 |
return TYPE;
|
128 |
return TYPE;
|
| 124 |
case 14: // TAX_TYPE
|
129 |
case 15: // TAX_TYPE
|
| 125 |
return TAX_TYPE;
|
130 |
return TAX_TYPE;
|
| 126 |
default:
|
131 |
default:
|
| 127 |
return null;
|
132 |
return null;
|
| 128 |
}
|
133 |
}
|
| 129 |
}
|
134 |
}
|
| Line 164... |
Line 169... |
| 164 |
|
169 |
|
| 165 |
// isset id assignments
|
170 |
// isset id assignments
|
| 166 |
private static final int __ID_ISSET_ID = 0;
|
171 |
private static final int __ID_ISSET_ID = 0;
|
| 167 |
private static final int __SUPPLIERID_ISSET_ID = 1;
|
172 |
private static final int __SUPPLIERID_ISSET_ID = 1;
|
| 168 |
private static final int __WAREHOUSEID_ISSET_ID = 2;
|
173 |
private static final int __WAREHOUSEID_ISSET_ID = 2;
|
| - |
|
174 |
private static final int __SHIPPINGWAREHOUSEID_ISSET_ID = 3;
|
| 169 |
private static final int __CREATEDAT_ISSET_ID = 3;
|
175 |
private static final int __CREATEDAT_ISSET_ID = 4;
|
| 170 |
private static final int __UPDATEDAT_ISSET_ID = 4;
|
176 |
private static final int __UPDATEDAT_ISSET_ID = 5;
|
| 171 |
private static final int __TOTALCOST_ISSET_ID = 5;
|
177 |
private static final int __TOTALCOST_ISSET_ID = 6;
|
| 172 |
private static final int __FREIGHTCHARGES_ISSET_ID = 6;
|
178 |
private static final int __FREIGHTCHARGES_ISSET_ID = 7;
|
| 173 |
private static final int __REALIZEDCOST_ISSET_ID = 7;
|
179 |
private static final int __REALIZEDCOST_ISSET_ID = 8;
|
| 174 |
private static final int __REALIZEDFREIGHTCHARGES_ISSET_ID = 8;
|
180 |
private static final int __REALIZEDFREIGHTCHARGES_ISSET_ID = 9;
|
| 175 |
private BitSet __isset_bit_vector = new BitSet(9);
|
181 |
private BitSet __isset_bit_vector = new BitSet(10);
|
| 176 |
|
182 |
|
| 177 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
183 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 178 |
static {
|
184 |
static {
|
| 179 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
185 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 180 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
186 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 186... |
Line 192... |
| 186 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, LineItem.class))));
|
192 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, LineItem.class))));
|
| 187 |
tmpMap.put(_Fields.SUPPLIER_ID, new org.apache.thrift.meta_data.FieldMetaData("supplierId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
193 |
tmpMap.put(_Fields.SUPPLIER_ID, new org.apache.thrift.meta_data.FieldMetaData("supplierId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 188 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
194 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 189 |
tmpMap.put(_Fields.WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
195 |
tmpMap.put(_Fields.WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("warehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 190 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
196 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
197 |
tmpMap.put(_Fields.SHIPPING_WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("shippingWarehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
198 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 191 |
tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
199 |
tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 192 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, POStatus.class)));
|
200 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, POStatus.class)));
|
| 193 |
tmpMap.put(_Fields.CREATED_AT, new org.apache.thrift.meta_data.FieldMetaData("createdAt", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
201 |
tmpMap.put(_Fields.CREATED_AT, new org.apache.thrift.meta_data.FieldMetaData("createdAt", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 194 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
202 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 195 |
tmpMap.put(_Fields.UPDATED_AT, new org.apache.thrift.meta_data.FieldMetaData("updatedAt", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
203 |
tmpMap.put(_Fields.UPDATED_AT, new org.apache.thrift.meta_data.FieldMetaData("updatedAt", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 217... |
Line 225... |
| 217 |
long id,
|
225 |
long id,
|
| 218 |
String poNumber,
|
226 |
String poNumber,
|
| 219 |
List<LineItem> lineitems,
|
227 |
List<LineItem> lineitems,
|
| 220 |
long supplierId,
|
228 |
long supplierId,
|
| 221 |
long warehouseId,
|
229 |
long warehouseId,
|
| - |
|
230 |
long shippingWarehouseId,
|
| 222 |
POStatus status,
|
231 |
POStatus status,
|
| 223 |
long createdAt,
|
232 |
long createdAt,
|
| 224 |
long updatedAt,
|
233 |
long updatedAt,
|
| 225 |
double totalCost,
|
234 |
double totalCost,
|
| 226 |
double freightCharges,
|
235 |
double freightCharges,
|
| Line 236... |
Line 245... |
| 236 |
this.lineitems = lineitems;
|
245 |
this.lineitems = lineitems;
|
| 237 |
this.supplierId = supplierId;
|
246 |
this.supplierId = supplierId;
|
| 238 |
setSupplierIdIsSet(true);
|
247 |
setSupplierIdIsSet(true);
|
| 239 |
this.warehouseId = warehouseId;
|
248 |
this.warehouseId = warehouseId;
|
| 240 |
setWarehouseIdIsSet(true);
|
249 |
setWarehouseIdIsSet(true);
|
| - |
|
250 |
this.shippingWarehouseId = shippingWarehouseId;
|
| - |
|
251 |
setShippingWarehouseIdIsSet(true);
|
| 241 |
this.status = status;
|
252 |
this.status = status;
|
| 242 |
this.createdAt = createdAt;
|
253 |
this.createdAt = createdAt;
|
| 243 |
setCreatedAtIsSet(true);
|
254 |
setCreatedAtIsSet(true);
|
| 244 |
this.updatedAt = updatedAt;
|
255 |
this.updatedAt = updatedAt;
|
| 245 |
setUpdatedAtIsSet(true);
|
256 |
setUpdatedAtIsSet(true);
|
| Line 272... |
Line 283... |
| 272 |
}
|
283 |
}
|
| 273 |
this.lineitems = __this__lineitems;
|
284 |
this.lineitems = __this__lineitems;
|
| 274 |
}
|
285 |
}
|
| 275 |
this.supplierId = other.supplierId;
|
286 |
this.supplierId = other.supplierId;
|
| 276 |
this.warehouseId = other.warehouseId;
|
287 |
this.warehouseId = other.warehouseId;
|
| - |
|
288 |
this.shippingWarehouseId = other.shippingWarehouseId;
|
| 277 |
if (other.isSetStatus()) {
|
289 |
if (other.isSetStatus()) {
|
| 278 |
this.status = other.status;
|
290 |
this.status = other.status;
|
| 279 |
}
|
291 |
}
|
| 280 |
this.createdAt = other.createdAt;
|
292 |
this.createdAt = other.createdAt;
|
| 281 |
this.updatedAt = other.updatedAt;
|
293 |
this.updatedAt = other.updatedAt;
|
| Line 303... |
Line 315... |
| 303 |
this.lineitems = null;
|
315 |
this.lineitems = null;
|
| 304 |
setSupplierIdIsSet(false);
|
316 |
setSupplierIdIsSet(false);
|
| 305 |
this.supplierId = 0;
|
317 |
this.supplierId = 0;
|
| 306 |
setWarehouseIdIsSet(false);
|
318 |
setWarehouseIdIsSet(false);
|
| 307 |
this.warehouseId = 0;
|
319 |
this.warehouseId = 0;
|
| - |
|
320 |
setShippingWarehouseIdIsSet(false);
|
| - |
|
321 |
this.shippingWarehouseId = 0;
|
| 308 |
this.status = null;
|
322 |
this.status = null;
|
| 309 |
setCreatedAtIsSet(false);
|
323 |
setCreatedAtIsSet(false);
|
| 310 |
this.createdAt = 0;
|
324 |
this.createdAt = 0;
|
| 311 |
setUpdatedAtIsSet(false);
|
325 |
setUpdatedAtIsSet(false);
|
| 312 |
this.updatedAt = 0;
|
326 |
this.updatedAt = 0;
|
| Line 447... |
Line 461... |
| 447 |
|
461 |
|
| 448 |
public void setWarehouseIdIsSet(boolean value) {
|
462 |
public void setWarehouseIdIsSet(boolean value) {
|
| 449 |
__isset_bit_vector.set(__WAREHOUSEID_ISSET_ID, value);
|
463 |
__isset_bit_vector.set(__WAREHOUSEID_ISSET_ID, value);
|
| 450 |
}
|
464 |
}
|
| 451 |
|
465 |
|
| - |
|
466 |
public long getShippingWarehouseId() {
|
| - |
|
467 |
return this.shippingWarehouseId;
|
| - |
|
468 |
}
|
| - |
|
469 |
|
| - |
|
470 |
public void setShippingWarehouseId(long shippingWarehouseId) {
|
| - |
|
471 |
this.shippingWarehouseId = shippingWarehouseId;
|
| - |
|
472 |
setShippingWarehouseIdIsSet(true);
|
| - |
|
473 |
}
|
| - |
|
474 |
|
| - |
|
475 |
public void unsetShippingWarehouseId() {
|
| - |
|
476 |
__isset_bit_vector.clear(__SHIPPINGWAREHOUSEID_ISSET_ID);
|
| - |
|
477 |
}
|
| - |
|
478 |
|
| - |
|
479 |
/** Returns true if field shippingWarehouseId is set (has been assigned a value) and false otherwise */
|
| - |
|
480 |
public boolean isSetShippingWarehouseId() {
|
| - |
|
481 |
return __isset_bit_vector.get(__SHIPPINGWAREHOUSEID_ISSET_ID);
|
| - |
|
482 |
}
|
| - |
|
483 |
|
| - |
|
484 |
public void setShippingWarehouseIdIsSet(boolean value) {
|
| - |
|
485 |
__isset_bit_vector.set(__SHIPPINGWAREHOUSEID_ISSET_ID, value);
|
| - |
|
486 |
}
|
| - |
|
487 |
|
| 452 |
/**
|
488 |
/**
|
| 453 |
*
|
489 |
*
|
| 454 |
* @see POStatus
|
490 |
* @see POStatus
|
| 455 |
*/
|
491 |
*/
|
| 456 |
public POStatus getStatus() {
|
492 |
public POStatus getStatus() {
|
| Line 714... |
Line 750... |
| 714 |
} else {
|
750 |
} else {
|
| 715 |
setWarehouseId((Long)value);
|
751 |
setWarehouseId((Long)value);
|
| 716 |
}
|
752 |
}
|
| 717 |
break;
|
753 |
break;
|
| 718 |
|
754 |
|
| - |
|
755 |
case SHIPPING_WAREHOUSE_ID:
|
| - |
|
756 |
if (value == null) {
|
| - |
|
757 |
unsetShippingWarehouseId();
|
| - |
|
758 |
} else {
|
| - |
|
759 |
setShippingWarehouseId((Long)value);
|
| - |
|
760 |
}
|
| - |
|
761 |
break;
|
| - |
|
762 |
|
| 719 |
case STATUS:
|
763 |
case STATUS:
|
| 720 |
if (value == null) {
|
764 |
if (value == null) {
|
| 721 |
unsetStatus();
|
765 |
unsetStatus();
|
| 722 |
} else {
|
766 |
} else {
|
| 723 |
setStatus((POStatus)value);
|
767 |
setStatus((POStatus)value);
|
| Line 806... |
Line 850... |
| 806 |
return Long.valueOf(getSupplierId());
|
850 |
return Long.valueOf(getSupplierId());
|
| 807 |
|
851 |
|
| 808 |
case WAREHOUSE_ID:
|
852 |
case WAREHOUSE_ID:
|
| 809 |
return Long.valueOf(getWarehouseId());
|
853 |
return Long.valueOf(getWarehouseId());
|
| 810 |
|
854 |
|
| - |
|
855 |
case SHIPPING_WAREHOUSE_ID:
|
| - |
|
856 |
return Long.valueOf(getShippingWarehouseId());
|
| - |
|
857 |
|
| 811 |
case STATUS:
|
858 |
case STATUS:
|
| 812 |
return getStatus();
|
859 |
return getStatus();
|
| 813 |
|
860 |
|
| 814 |
case CREATED_AT:
|
861 |
case CREATED_AT:
|
| 815 |
return Long.valueOf(getCreatedAt());
|
862 |
return Long.valueOf(getCreatedAt());
|
| Line 854... |
Line 901... |
| 854 |
return isSetLineitems();
|
901 |
return isSetLineitems();
|
| 855 |
case SUPPLIER_ID:
|
902 |
case SUPPLIER_ID:
|
| 856 |
return isSetSupplierId();
|
903 |
return isSetSupplierId();
|
| 857 |
case WAREHOUSE_ID:
|
904 |
case WAREHOUSE_ID:
|
| 858 |
return isSetWarehouseId();
|
905 |
return isSetWarehouseId();
|
| - |
|
906 |
case SHIPPING_WAREHOUSE_ID:
|
| - |
|
907 |
return isSetShippingWarehouseId();
|
| 859 |
case STATUS:
|
908 |
case STATUS:
|
| 860 |
return isSetStatus();
|
909 |
return isSetStatus();
|
| 861 |
case CREATED_AT:
|
910 |
case CREATED_AT:
|
| 862 |
return isSetCreatedAt();
|
911 |
return isSetCreatedAt();
|
| 863 |
case UPDATED_AT:
|
912 |
case UPDATED_AT:
|
| Line 934... |
Line 983... |
| 934 |
return false;
|
983 |
return false;
|
| 935 |
if (this.warehouseId != that.warehouseId)
|
984 |
if (this.warehouseId != that.warehouseId)
|
| 936 |
return false;
|
985 |
return false;
|
| 937 |
}
|
986 |
}
|
| 938 |
|
987 |
|
| - |
|
988 |
boolean this_present_shippingWarehouseId = true;
|
| - |
|
989 |
boolean that_present_shippingWarehouseId = true;
|
| - |
|
990 |
if (this_present_shippingWarehouseId || that_present_shippingWarehouseId) {
|
| - |
|
991 |
if (!(this_present_shippingWarehouseId && that_present_shippingWarehouseId))
|
| - |
|
992 |
return false;
|
| - |
|
993 |
if (this.shippingWarehouseId != that.shippingWarehouseId)
|
| - |
|
994 |
return false;
|
| - |
|
995 |
}
|
| - |
|
996 |
|
| 939 |
boolean this_present_status = true && this.isSetStatus();
|
997 |
boolean this_present_status = true && this.isSetStatus();
|
| 940 |
boolean that_present_status = true && that.isSetStatus();
|
998 |
boolean that_present_status = true && that.isSetStatus();
|
| 941 |
if (this_present_status || that_present_status) {
|
999 |
if (this_present_status || that_present_status) {
|
| 942 |
if (!(this_present_status && that_present_status))
|
1000 |
if (!(this_present_status && that_present_status))
|
| 943 |
return false;
|
1001 |
return false;
|
| Line 1081... |
Line 1139... |
| 1081 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouseId, typedOther.warehouseId);
|
1139 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.warehouseId, typedOther.warehouseId);
|
| 1082 |
if (lastComparison != 0) {
|
1140 |
if (lastComparison != 0) {
|
| 1083 |
return lastComparison;
|
1141 |
return lastComparison;
|
| 1084 |
}
|
1142 |
}
|
| 1085 |
}
|
1143 |
}
|
| - |
|
1144 |
lastComparison = Boolean.valueOf(isSetShippingWarehouseId()).compareTo(typedOther.isSetShippingWarehouseId());
|
| - |
|
1145 |
if (lastComparison != 0) {
|
| - |
|
1146 |
return lastComparison;
|
| - |
|
1147 |
}
|
| - |
|
1148 |
if (isSetShippingWarehouseId()) {
|
| - |
|
1149 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shippingWarehouseId, typedOther.shippingWarehouseId);
|
| - |
|
1150 |
if (lastComparison != 0) {
|
| - |
|
1151 |
return lastComparison;
|
| - |
|
1152 |
}
|
| - |
|
1153 |
}
|
| 1086 |
lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
|
1154 |
lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
|
| 1087 |
if (lastComparison != 0) {
|
1155 |
if (lastComparison != 0) {
|
| 1088 |
return lastComparison;
|
1156 |
return lastComparison;
|
| 1089 |
}
|
1157 |
}
|
| 1090 |
if (isSetStatus()) {
|
1158 |
if (isSetStatus()) {
|
| Line 1237... |
Line 1305... |
| 1237 |
setWarehouseIdIsSet(true);
|
1305 |
setWarehouseIdIsSet(true);
|
| 1238 |
} else {
|
1306 |
} else {
|
| 1239 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1307 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1240 |
}
|
1308 |
}
|
| 1241 |
break;
|
1309 |
break;
|
| - |
|
1310 |
case 6: // SHIPPING_WAREHOUSE_ID
|
| - |
|
1311 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
1312 |
this.shippingWarehouseId = iprot.readI64();
|
| - |
|
1313 |
setShippingWarehouseIdIsSet(true);
|
| - |
|
1314 |
} else {
|
| - |
|
1315 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
1316 |
}
|
| - |
|
1317 |
break;
|
| 1242 |
case 6: // STATUS
|
1318 |
case 7: // STATUS
|
| 1243 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
1319 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
| 1244 |
this.status = POStatus.findByValue(iprot.readI32());
|
1320 |
this.status = POStatus.findByValue(iprot.readI32());
|
| 1245 |
} else {
|
1321 |
} else {
|
| 1246 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1322 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1247 |
}
|
1323 |
}
|
| 1248 |
break;
|
1324 |
break;
|
| 1249 |
case 7: // CREATED_AT
|
1325 |
case 8: // CREATED_AT
|
| 1250 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
1326 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 1251 |
this.createdAt = iprot.readI64();
|
1327 |
this.createdAt = iprot.readI64();
|
| 1252 |
setCreatedAtIsSet(true);
|
1328 |
setCreatedAtIsSet(true);
|
| 1253 |
} else {
|
1329 |
} else {
|
| 1254 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1330 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1255 |
}
|
1331 |
}
|
| 1256 |
break;
|
1332 |
break;
|
| 1257 |
case 8: // UPDATED_AT
|
1333 |
case 9: // UPDATED_AT
|
| 1258 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
1334 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 1259 |
this.updatedAt = iprot.readI64();
|
1335 |
this.updatedAt = iprot.readI64();
|
| 1260 |
setUpdatedAtIsSet(true);
|
1336 |
setUpdatedAtIsSet(true);
|
| 1261 |
} else {
|
1337 |
} else {
|
| 1262 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1338 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1263 |
}
|
1339 |
}
|
| 1264 |
break;
|
1340 |
break;
|
| 1265 |
case 9: // TOTAL_COST
|
1341 |
case 10: // TOTAL_COST
|
| 1266 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
1342 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 1267 |
this.totalCost = iprot.readDouble();
|
1343 |
this.totalCost = iprot.readDouble();
|
| 1268 |
setTotalCostIsSet(true);
|
1344 |
setTotalCostIsSet(true);
|
| 1269 |
} else {
|
1345 |
} else {
|
| 1270 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1346 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1271 |
}
|
1347 |
}
|
| 1272 |
break;
|
1348 |
break;
|
| 1273 |
case 10: // FREIGHT_CHARGES
|
1349 |
case 11: // FREIGHT_CHARGES
|
| 1274 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
1350 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 1275 |
this.freightCharges = iprot.readDouble();
|
1351 |
this.freightCharges = iprot.readDouble();
|
| 1276 |
setFreightChargesIsSet(true);
|
1352 |
setFreightChargesIsSet(true);
|
| 1277 |
} else {
|
1353 |
} else {
|
| 1278 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1354 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1279 |
}
|
1355 |
}
|
| 1280 |
break;
|
1356 |
break;
|
| 1281 |
case 11: // REALIZED_COST
|
1357 |
case 12: // REALIZED_COST
|
| 1282 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
1358 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 1283 |
this.realizedCost = iprot.readDouble();
|
1359 |
this.realizedCost = iprot.readDouble();
|
| 1284 |
setRealizedCostIsSet(true);
|
1360 |
setRealizedCostIsSet(true);
|
| 1285 |
} else {
|
1361 |
} else {
|
| 1286 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1362 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1287 |
}
|
1363 |
}
|
| 1288 |
break;
|
1364 |
break;
|
| 1289 |
case 12: // REALIZED_FREIGHT_CHARGES
|
1365 |
case 13: // REALIZED_FREIGHT_CHARGES
|
| 1290 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
1366 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 1291 |
this.realizedFreightCharges = iprot.readDouble();
|
1367 |
this.realizedFreightCharges = iprot.readDouble();
|
| 1292 |
setRealizedFreightChargesIsSet(true);
|
1368 |
setRealizedFreightChargesIsSet(true);
|
| 1293 |
} else {
|
1369 |
} else {
|
| 1294 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1370 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1295 |
}
|
1371 |
}
|
| 1296 |
break;
|
1372 |
break;
|
| 1297 |
case 13: // TYPE
|
1373 |
case 14: // TYPE
|
| 1298 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
1374 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
| 1299 |
this.type = POType.findByValue(iprot.readI32());
|
1375 |
this.type = POType.findByValue(iprot.readI32());
|
| 1300 |
} else {
|
1376 |
} else {
|
| 1301 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1377 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1302 |
}
|
1378 |
}
|
| 1303 |
break;
|
1379 |
break;
|
| 1304 |
case 14: // TAX_TYPE
|
1380 |
case 15: // TAX_TYPE
|
| 1305 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
1381 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
| 1306 |
this.taxType = TaxType.findByValue(iprot.readI32());
|
1382 |
this.taxType = TaxType.findByValue(iprot.readI32());
|
| 1307 |
} else {
|
1383 |
} else {
|
| 1308 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1384 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1309 |
}
|
1385 |
}
|
| Line 1345... |
Line 1421... |
| 1345 |
oprot.writeI64(this.supplierId);
|
1421 |
oprot.writeI64(this.supplierId);
|
| 1346 |
oprot.writeFieldEnd();
|
1422 |
oprot.writeFieldEnd();
|
| 1347 |
oprot.writeFieldBegin(WAREHOUSE_ID_FIELD_DESC);
|
1423 |
oprot.writeFieldBegin(WAREHOUSE_ID_FIELD_DESC);
|
| 1348 |
oprot.writeI64(this.warehouseId);
|
1424 |
oprot.writeI64(this.warehouseId);
|
| 1349 |
oprot.writeFieldEnd();
|
1425 |
oprot.writeFieldEnd();
|
| - |
|
1426 |
oprot.writeFieldBegin(SHIPPING_WAREHOUSE_ID_FIELD_DESC);
|
| - |
|
1427 |
oprot.writeI64(this.shippingWarehouseId);
|
| - |
|
1428 |
oprot.writeFieldEnd();
|
| 1350 |
if (this.status != null) {
|
1429 |
if (this.status != null) {
|
| 1351 |
oprot.writeFieldBegin(STATUS_FIELD_DESC);
|
1430 |
oprot.writeFieldBegin(STATUS_FIELD_DESC);
|
| 1352 |
oprot.writeI32(this.status.getValue());
|
1431 |
oprot.writeI32(this.status.getValue());
|
| 1353 |
oprot.writeFieldEnd();
|
1432 |
oprot.writeFieldEnd();
|
| 1354 |
}
|
1433 |
}
|
| Line 1415... |
Line 1494... |
| 1415 |
if (!first) sb.append(", ");
|
1494 |
if (!first) sb.append(", ");
|
| 1416 |
sb.append("warehouseId:");
|
1495 |
sb.append("warehouseId:");
|
| 1417 |
sb.append(this.warehouseId);
|
1496 |
sb.append(this.warehouseId);
|
| 1418 |
first = false;
|
1497 |
first = false;
|
| 1419 |
if (!first) sb.append(", ");
|
1498 |
if (!first) sb.append(", ");
|
| - |
|
1499 |
sb.append("shippingWarehouseId:");
|
| - |
|
1500 |
sb.append(this.shippingWarehouseId);
|
| - |
|
1501 |
first = false;
|
| - |
|
1502 |
if (!first) sb.append(", ");
|
| 1420 |
sb.append("status:");
|
1503 |
sb.append("status:");
|
| 1421 |
if (this.status == null) {
|
1504 |
if (this.status == null) {
|
| 1422 |
sb.append("null");
|
1505 |
sb.append("null");
|
| 1423 |
} else {
|
1506 |
} else {
|
| 1424 |
sb.append(this.status);
|
1507 |
sb.append(this.status);
|