| Line 30... |
Line 30... |
| 30 |
private static final org.apache.thrift.protocol.TField MODEL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("model_number", org.apache.thrift.protocol.TType.STRING, (short)5);
|
30 |
private static final org.apache.thrift.protocol.TField MODEL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("model_number", org.apache.thrift.protocol.TType.STRING, (short)5);
|
| 31 |
private static final org.apache.thrift.protocol.TField COLOR_FIELD_DESC = new org.apache.thrift.protocol.TField("color", org.apache.thrift.protocol.TType.STRING, (short)6);
|
31 |
private static final org.apache.thrift.protocol.TField COLOR_FIELD_DESC = new org.apache.thrift.protocol.TField("color", org.apache.thrift.protocol.TType.STRING, (short)6);
|
| 32 |
private static final org.apache.thrift.protocol.TField MODEL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("model_name", org.apache.thrift.protocol.TType.STRING, (short)7);
|
32 |
private static final org.apache.thrift.protocol.TField MODEL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("model_name", org.apache.thrift.protocol.TType.STRING, (short)7);
|
| 33 |
private static final org.apache.thrift.protocol.TField EXTRA_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("extra_info", org.apache.thrift.protocol.TType.STRING, (short)8);
|
33 |
private static final org.apache.thrift.protocol.TField EXTRA_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("extra_info", org.apache.thrift.protocol.TType.STRING, (short)8);
|
| 34 |
private static final org.apache.thrift.protocol.TField QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("quantity", org.apache.thrift.protocol.TType.DOUBLE, (short)9);
|
34 |
private static final org.apache.thrift.protocol.TField QUANTITY_FIELD_DESC = new org.apache.thrift.protocol.TField("quantity", org.apache.thrift.protocol.TType.DOUBLE, (short)9);
|
| - |
|
35 |
private static final org.apache.thrift.protocol.TField MRP_FIELD_DESC = new org.apache.thrift.protocol.TField("mrp", org.apache.thrift.protocol.TType.DOUBLE, (short)10);
|
| 35 |
private static final org.apache.thrift.protocol.TField UNIT_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("unit_price", org.apache.thrift.protocol.TType.DOUBLE, (short)10);
|
36 |
private static final org.apache.thrift.protocol.TField UNIT_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("unit_price", org.apache.thrift.protocol.TType.DOUBLE, (short)11);
|
| 36 |
private static final org.apache.thrift.protocol.TField UNIT_WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("unit_weight", org.apache.thrift.protocol.TType.DOUBLE, (short)11);
|
37 |
private static final org.apache.thrift.protocol.TField UNIT_WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("unit_weight", org.apache.thrift.protocol.TType.DOUBLE, (short)12);
|
| 37 |
private static final org.apache.thrift.protocol.TField TOTAL_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("total_price", org.apache.thrift.protocol.TType.DOUBLE, (short)12);
|
38 |
private static final org.apache.thrift.protocol.TField TOTAL_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("total_price", org.apache.thrift.protocol.TType.DOUBLE, (short)13);
|
| 38 |
private static final org.apache.thrift.protocol.TField TRANSFER_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("transfer_price", org.apache.thrift.protocol.TType.DOUBLE, (short)13);
|
39 |
private static final org.apache.thrift.protocol.TField TRANSFER_PRICE_FIELD_DESC = new org.apache.thrift.protocol.TField("transfer_price", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
|
| 39 |
private static final org.apache.thrift.protocol.TField TOTAL_WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("total_weight", org.apache.thrift.protocol.TType.DOUBLE, (short)14);
|
40 |
private static final org.apache.thrift.protocol.TField TOTAL_WEIGHT_FIELD_DESC = new org.apache.thrift.protocol.TField("total_weight", org.apache.thrift.protocol.TType.DOUBLE, (short)15);
|
| 40 |
private static final org.apache.thrift.protocol.TField SERIAL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("serial_number", org.apache.thrift.protocol.TType.STRING, (short)15);
|
41 |
private static final org.apache.thrift.protocol.TField SERIAL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("serial_number", org.apache.thrift.protocol.TType.STRING, (short)16);
|
| 41 |
private static final org.apache.thrift.protocol.TField ITEM_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("item_number", org.apache.thrift.protocol.TType.STRING, (short)16);
|
42 |
private static final org.apache.thrift.protocol.TField ITEM_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("item_number", org.apache.thrift.protocol.TType.STRING, (short)17);
|
| 42 |
private static final org.apache.thrift.protocol.TField DEAL_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("dealText", org.apache.thrift.protocol.TType.STRING, (short)17);
|
43 |
private static final org.apache.thrift.protocol.TField DEAL_TEXT_FIELD_DESC = new org.apache.thrift.protocol.TField("dealText", org.apache.thrift.protocol.TType.STRING, (short)18);
|
| 43 |
private static final org.apache.thrift.protocol.TField WARRANTRY_EXPIRY_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("warrantry_expiry_timestamp", org.apache.thrift.protocol.TType.I64, (short)18);
|
44 |
private static final org.apache.thrift.protocol.TField WARRANTRY_EXPIRY_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("warrantry_expiry_timestamp", org.apache.thrift.protocol.TType.I64, (short)19);
|
| 44 |
private static final org.apache.thrift.protocol.TField VAT_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatRate", org.apache.thrift.protocol.TType.DOUBLE, (short)19);
|
45 |
private static final org.apache.thrift.protocol.TField VAT_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("vatRate", org.apache.thrift.protocol.TType.DOUBLE, (short)20);
|
| 45 |
private static final org.apache.thrift.protocol.TField NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("nlc", org.apache.thrift.protocol.TType.DOUBLE, (short)20);
|
46 |
private static final org.apache.thrift.protocol.TField NLC_FIELD_DESC = new org.apache.thrift.protocol.TField("nlc", org.apache.thrift.protocol.TType.DOUBLE, (short)21);
|
| 46 |
|
47 |
|
| 47 |
private long id; // required
|
48 |
private long id; // required
|
| 48 |
private long item_id; // required
|
49 |
private long item_id; // required
|
| 49 |
private String productGroup; // required
|
50 |
private String productGroup; // required
|
| 50 |
private String brand; // required
|
51 |
private String brand; // required
|
| 51 |
private String model_number; // required
|
52 |
private String model_number; // required
|
| 52 |
private String color; // required
|
53 |
private String color; // required
|
| 53 |
private String model_name; // required
|
54 |
private String model_name; // required
|
| 54 |
private String extra_info; // required
|
55 |
private String extra_info; // required
|
| 55 |
private double quantity; // required
|
56 |
private double quantity; // required
|
| - |
|
57 |
private double mrp; // required
|
| 56 |
private double unit_price; // required
|
58 |
private double unit_price; // required
|
| 57 |
private double unit_weight; // required
|
59 |
private double unit_weight; // required
|
| 58 |
private double total_price; // required
|
60 |
private double total_price; // required
|
| 59 |
private double transfer_price; // required
|
61 |
private double transfer_price; // required
|
| 60 |
private double total_weight; // required
|
62 |
private double total_weight; // required
|
| Line 74... |
Line 76... |
| 74 |
MODEL_NUMBER((short)5, "model_number"),
|
76 |
MODEL_NUMBER((short)5, "model_number"),
|
| 75 |
COLOR((short)6, "color"),
|
77 |
COLOR((short)6, "color"),
|
| 76 |
MODEL_NAME((short)7, "model_name"),
|
78 |
MODEL_NAME((short)7, "model_name"),
|
| 77 |
EXTRA_INFO((short)8, "extra_info"),
|
79 |
EXTRA_INFO((short)8, "extra_info"),
|
| 78 |
QUANTITY((short)9, "quantity"),
|
80 |
QUANTITY((short)9, "quantity"),
|
| - |
|
81 |
MRP((short)10, "mrp"),
|
| 79 |
UNIT_PRICE((short)10, "unit_price"),
|
82 |
UNIT_PRICE((short)11, "unit_price"),
|
| 80 |
UNIT_WEIGHT((short)11, "unit_weight"),
|
83 |
UNIT_WEIGHT((short)12, "unit_weight"),
|
| 81 |
TOTAL_PRICE((short)12, "total_price"),
|
84 |
TOTAL_PRICE((short)13, "total_price"),
|
| 82 |
TRANSFER_PRICE((short)13, "transfer_price"),
|
85 |
TRANSFER_PRICE((short)14, "transfer_price"),
|
| 83 |
TOTAL_WEIGHT((short)14, "total_weight"),
|
86 |
TOTAL_WEIGHT((short)15, "total_weight"),
|
| 84 |
SERIAL_NUMBER((short)15, "serial_number"),
|
87 |
SERIAL_NUMBER((short)16, "serial_number"),
|
| 85 |
ITEM_NUMBER((short)16, "item_number"),
|
88 |
ITEM_NUMBER((short)17, "item_number"),
|
| 86 |
DEAL_TEXT((short)17, "dealText"),
|
89 |
DEAL_TEXT((short)18, "dealText"),
|
| 87 |
WARRANTRY_EXPIRY_TIMESTAMP((short)18, "warrantry_expiry_timestamp"),
|
90 |
WARRANTRY_EXPIRY_TIMESTAMP((short)19, "warrantry_expiry_timestamp"),
|
| 88 |
VAT_RATE((short)19, "vatRate"),
|
91 |
VAT_RATE((short)20, "vatRate"),
|
| 89 |
NLC((short)20, "nlc");
|
92 |
NLC((short)21, "nlc");
|
| 90 |
|
93 |
|
| 91 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
94 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 92 |
|
95 |
|
| 93 |
static {
|
96 |
static {
|
| 94 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
97 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 117... |
Line 120... |
| 117 |
return MODEL_NAME;
|
120 |
return MODEL_NAME;
|
| 118 |
case 8: // EXTRA_INFO
|
121 |
case 8: // EXTRA_INFO
|
| 119 |
return EXTRA_INFO;
|
122 |
return EXTRA_INFO;
|
| 120 |
case 9: // QUANTITY
|
123 |
case 9: // QUANTITY
|
| 121 |
return QUANTITY;
|
124 |
return QUANTITY;
|
| - |
|
125 |
case 10: // MRP
|
| - |
|
126 |
return MRP;
|
| 122 |
case 10: // UNIT_PRICE
|
127 |
case 11: // UNIT_PRICE
|
| 123 |
return UNIT_PRICE;
|
128 |
return UNIT_PRICE;
|
| 124 |
case 11: // UNIT_WEIGHT
|
129 |
case 12: // UNIT_WEIGHT
|
| 125 |
return UNIT_WEIGHT;
|
130 |
return UNIT_WEIGHT;
|
| 126 |
case 12: // TOTAL_PRICE
|
131 |
case 13: // TOTAL_PRICE
|
| 127 |
return TOTAL_PRICE;
|
132 |
return TOTAL_PRICE;
|
| 128 |
case 13: // TRANSFER_PRICE
|
133 |
case 14: // TRANSFER_PRICE
|
| 129 |
return TRANSFER_PRICE;
|
134 |
return TRANSFER_PRICE;
|
| 130 |
case 14: // TOTAL_WEIGHT
|
135 |
case 15: // TOTAL_WEIGHT
|
| 131 |
return TOTAL_WEIGHT;
|
136 |
return TOTAL_WEIGHT;
|
| 132 |
case 15: // SERIAL_NUMBER
|
137 |
case 16: // SERIAL_NUMBER
|
| 133 |
return SERIAL_NUMBER;
|
138 |
return SERIAL_NUMBER;
|
| 134 |
case 16: // ITEM_NUMBER
|
139 |
case 17: // ITEM_NUMBER
|
| 135 |
return ITEM_NUMBER;
|
140 |
return ITEM_NUMBER;
|
| 136 |
case 17: // DEAL_TEXT
|
141 |
case 18: // DEAL_TEXT
|
| 137 |
return DEAL_TEXT;
|
142 |
return DEAL_TEXT;
|
| 138 |
case 18: // WARRANTRY_EXPIRY_TIMESTAMP
|
143 |
case 19: // WARRANTRY_EXPIRY_TIMESTAMP
|
| 139 |
return WARRANTRY_EXPIRY_TIMESTAMP;
|
144 |
return WARRANTRY_EXPIRY_TIMESTAMP;
|
| 140 |
case 19: // VAT_RATE
|
145 |
case 20: // VAT_RATE
|
| 141 |
return VAT_RATE;
|
146 |
return VAT_RATE;
|
| 142 |
case 20: // NLC
|
147 |
case 21: // NLC
|
| 143 |
return NLC;
|
148 |
return NLC;
|
| 144 |
default:
|
149 |
default:
|
| 145 |
return null;
|
150 |
return null;
|
| 146 |
}
|
151 |
}
|
| 147 |
}
|
152 |
}
|
| Line 182... |
Line 187... |
| 182 |
|
187 |
|
| 183 |
// isset id assignments
|
188 |
// isset id assignments
|
| 184 |
private static final int __ID_ISSET_ID = 0;
|
189 |
private static final int __ID_ISSET_ID = 0;
|
| 185 |
private static final int __ITEM_ID_ISSET_ID = 1;
|
190 |
private static final int __ITEM_ID_ISSET_ID = 1;
|
| 186 |
private static final int __QUANTITY_ISSET_ID = 2;
|
191 |
private static final int __QUANTITY_ISSET_ID = 2;
|
| - |
|
192 |
private static final int __MRP_ISSET_ID = 3;
|
| 187 |
private static final int __UNIT_PRICE_ISSET_ID = 3;
|
193 |
private static final int __UNIT_PRICE_ISSET_ID = 4;
|
| 188 |
private static final int __UNIT_WEIGHT_ISSET_ID = 4;
|
194 |
private static final int __UNIT_WEIGHT_ISSET_ID = 5;
|
| 189 |
private static final int __TOTAL_PRICE_ISSET_ID = 5;
|
195 |
private static final int __TOTAL_PRICE_ISSET_ID = 6;
|
| 190 |
private static final int __TRANSFER_PRICE_ISSET_ID = 6;
|
196 |
private static final int __TRANSFER_PRICE_ISSET_ID = 7;
|
| 191 |
private static final int __TOTAL_WEIGHT_ISSET_ID = 7;
|
197 |
private static final int __TOTAL_WEIGHT_ISSET_ID = 8;
|
| 192 |
private static final int __WARRANTRY_EXPIRY_TIMESTAMP_ISSET_ID = 8;
|
198 |
private static final int __WARRANTRY_EXPIRY_TIMESTAMP_ISSET_ID = 9;
|
| 193 |
private static final int __VATRATE_ISSET_ID = 9;
|
199 |
private static final int __VATRATE_ISSET_ID = 10;
|
| 194 |
private static final int __NLC_ISSET_ID = 10;
|
200 |
private static final int __NLC_ISSET_ID = 11;
|
| 195 |
private BitSet __isset_bit_vector = new BitSet(11);
|
201 |
private BitSet __isset_bit_vector = new BitSet(12);
|
| 196 |
|
202 |
|
| 197 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
203 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 198 |
static {
|
204 |
static {
|
| 199 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
205 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 200 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
206 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 213... |
Line 219... |
| 213 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
219 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 214 |
tmpMap.put(_Fields.EXTRA_INFO, new org.apache.thrift.meta_data.FieldMetaData("extra_info", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
220 |
tmpMap.put(_Fields.EXTRA_INFO, new org.apache.thrift.meta_data.FieldMetaData("extra_info", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 215 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
221 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 216 |
tmpMap.put(_Fields.QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("quantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
222 |
tmpMap.put(_Fields.QUANTITY, new org.apache.thrift.meta_data.FieldMetaData("quantity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 217 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
223 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
224 |
tmpMap.put(_Fields.MRP, new org.apache.thrift.meta_data.FieldMetaData("mrp", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
225 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 218 |
tmpMap.put(_Fields.UNIT_PRICE, new org.apache.thrift.meta_data.FieldMetaData("unit_price", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
226 |
tmpMap.put(_Fields.UNIT_PRICE, new org.apache.thrift.meta_data.FieldMetaData("unit_price", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 219 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
227 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 220 |
tmpMap.put(_Fields.UNIT_WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("unit_weight", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
228 |
tmpMap.put(_Fields.UNIT_WEIGHT, new org.apache.thrift.meta_data.FieldMetaData("unit_weight", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 221 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
229 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| 222 |
tmpMap.put(_Fields.TOTAL_PRICE, new org.apache.thrift.meta_data.FieldMetaData("total_price", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
230 |
tmpMap.put(_Fields.TOTAL_PRICE, new org.apache.thrift.meta_data.FieldMetaData("total_price", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 252... |
Line 260... |
| 252 |
String model_number,
|
260 |
String model_number,
|
| 253 |
String color,
|
261 |
String color,
|
| 254 |
String model_name,
|
262 |
String model_name,
|
| 255 |
String extra_info,
|
263 |
String extra_info,
|
| 256 |
double quantity,
|
264 |
double quantity,
|
| - |
|
265 |
double mrp,
|
| 257 |
double unit_price,
|
266 |
double unit_price,
|
| 258 |
double unit_weight,
|
267 |
double unit_weight,
|
| 259 |
double total_price,
|
268 |
double total_price,
|
| 260 |
double transfer_price,
|
269 |
double transfer_price,
|
| 261 |
double total_weight,
|
270 |
double total_weight,
|
| Line 274... |
Line 283... |
| 274 |
this.color = color;
|
283 |
this.color = color;
|
| 275 |
this.model_name = model_name;
|
284 |
this.model_name = model_name;
|
| 276 |
this.extra_info = extra_info;
|
285 |
this.extra_info = extra_info;
|
| 277 |
this.quantity = quantity;
|
286 |
this.quantity = quantity;
|
| 278 |
setQuantityIsSet(true);
|
287 |
setQuantityIsSet(true);
|
| - |
|
288 |
this.mrp = mrp;
|
| - |
|
289 |
setMrpIsSet(true);
|
| 279 |
this.unit_price = unit_price;
|
290 |
this.unit_price = unit_price;
|
| 280 |
setUnit_priceIsSet(true);
|
291 |
setUnit_priceIsSet(true);
|
| 281 |
this.unit_weight = unit_weight;
|
292 |
this.unit_weight = unit_weight;
|
| 282 |
setUnit_weightIsSet(true);
|
293 |
setUnit_weightIsSet(true);
|
| 283 |
this.total_price = total_price;
|
294 |
this.total_price = total_price;
|
| Line 319... |
Line 330... |
| 319 |
}
|
330 |
}
|
| 320 |
if (other.isSetExtra_info()) {
|
331 |
if (other.isSetExtra_info()) {
|
| 321 |
this.extra_info = other.extra_info;
|
332 |
this.extra_info = other.extra_info;
|
| 322 |
}
|
333 |
}
|
| 323 |
this.quantity = other.quantity;
|
334 |
this.quantity = other.quantity;
|
| - |
|
335 |
this.mrp = other.mrp;
|
| 324 |
this.unit_price = other.unit_price;
|
336 |
this.unit_price = other.unit_price;
|
| 325 |
this.unit_weight = other.unit_weight;
|
337 |
this.unit_weight = other.unit_weight;
|
| 326 |
this.total_price = other.total_price;
|
338 |
this.total_price = other.total_price;
|
| 327 |
this.transfer_price = other.transfer_price;
|
339 |
this.transfer_price = other.transfer_price;
|
| 328 |
this.total_weight = other.total_weight;
|
340 |
this.total_weight = other.total_weight;
|
| Line 356... |
Line 368... |
| 356 |
this.color = null;
|
368 |
this.color = null;
|
| 357 |
this.model_name = null;
|
369 |
this.model_name = null;
|
| 358 |
this.extra_info = null;
|
370 |
this.extra_info = null;
|
| 359 |
setQuantityIsSet(false);
|
371 |
setQuantityIsSet(false);
|
| 360 |
this.quantity = 0.0;
|
372 |
this.quantity = 0.0;
|
| - |
|
373 |
setMrpIsSet(false);
|
| - |
|
374 |
this.mrp = 0.0;
|
| 361 |
setUnit_priceIsSet(false);
|
375 |
setUnit_priceIsSet(false);
|
| 362 |
this.unit_price = 0.0;
|
376 |
this.unit_price = 0.0;
|
| 363 |
setUnit_weightIsSet(false);
|
377 |
setUnit_weightIsSet(false);
|
| 364 |
this.unit_weight = 0.0;
|
378 |
this.unit_weight = 0.0;
|
| 365 |
setTotal_priceIsSet(false);
|
379 |
setTotal_priceIsSet(false);
|
| Line 581... |
Line 595... |
| 581 |
|
595 |
|
| 582 |
public void setQuantityIsSet(boolean value) {
|
596 |
public void setQuantityIsSet(boolean value) {
|
| 583 |
__isset_bit_vector.set(__QUANTITY_ISSET_ID, value);
|
597 |
__isset_bit_vector.set(__QUANTITY_ISSET_ID, value);
|
| 584 |
}
|
598 |
}
|
| 585 |
|
599 |
|
| - |
|
600 |
public double getMrp() {
|
| - |
|
601 |
return this.mrp;
|
| - |
|
602 |
}
|
| - |
|
603 |
|
| - |
|
604 |
public void setMrp(double mrp) {
|
| - |
|
605 |
this.mrp = mrp;
|
| - |
|
606 |
setMrpIsSet(true);
|
| - |
|
607 |
}
|
| - |
|
608 |
|
| - |
|
609 |
public void unsetMrp() {
|
| - |
|
610 |
__isset_bit_vector.clear(__MRP_ISSET_ID);
|
| - |
|
611 |
}
|
| - |
|
612 |
|
| - |
|
613 |
/** Returns true if field mrp is set (has been assigned a value) and false otherwise */
|
| - |
|
614 |
public boolean isSetMrp() {
|
| - |
|
615 |
return __isset_bit_vector.get(__MRP_ISSET_ID);
|
| - |
|
616 |
}
|
| - |
|
617 |
|
| - |
|
618 |
public void setMrpIsSet(boolean value) {
|
| - |
|
619 |
__isset_bit_vector.set(__MRP_ISSET_ID, value);
|
| - |
|
620 |
}
|
| - |
|
621 |
|
| 586 |
public double getUnit_price() {
|
622 |
public double getUnit_price() {
|
| 587 |
return this.unit_price;
|
623 |
return this.unit_price;
|
| 588 |
}
|
624 |
}
|
| 589 |
|
625 |
|
| 590 |
public void setUnit_price(double unit_price) {
|
626 |
public void setUnit_price(double unit_price) {
|
| Line 900... |
Line 936... |
| 900 |
} else {
|
936 |
} else {
|
| 901 |
setQuantity((Double)value);
|
937 |
setQuantity((Double)value);
|
| 902 |
}
|
938 |
}
|
| 903 |
break;
|
939 |
break;
|
| 904 |
|
940 |
|
| - |
|
941 |
case MRP:
|
| - |
|
942 |
if (value == null) {
|
| - |
|
943 |
unsetMrp();
|
| - |
|
944 |
} else {
|
| - |
|
945 |
setMrp((Double)value);
|
| - |
|
946 |
}
|
| - |
|
947 |
break;
|
| - |
|
948 |
|
| 905 |
case UNIT_PRICE:
|
949 |
case UNIT_PRICE:
|
| 906 |
if (value == null) {
|
950 |
if (value == null) {
|
| 907 |
unsetUnit_price();
|
951 |
unsetUnit_price();
|
| 908 |
} else {
|
952 |
} else {
|
| 909 |
setUnit_price((Double)value);
|
953 |
setUnit_price((Double)value);
|
| Line 1020... |
Line 1064... |
| 1020 |
return getExtra_info();
|
1064 |
return getExtra_info();
|
| 1021 |
|
1065 |
|
| 1022 |
case QUANTITY:
|
1066 |
case QUANTITY:
|
| 1023 |
return Double.valueOf(getQuantity());
|
1067 |
return Double.valueOf(getQuantity());
|
| 1024 |
|
1068 |
|
| - |
|
1069 |
case MRP:
|
| - |
|
1070 |
return Double.valueOf(getMrp());
|
| - |
|
1071 |
|
| 1025 |
case UNIT_PRICE:
|
1072 |
case UNIT_PRICE:
|
| 1026 |
return Double.valueOf(getUnit_price());
|
1073 |
return Double.valueOf(getUnit_price());
|
| 1027 |
|
1074 |
|
| 1028 |
case UNIT_WEIGHT:
|
1075 |
case UNIT_WEIGHT:
|
| 1029 |
return Double.valueOf(getUnit_weight());
|
1076 |
return Double.valueOf(getUnit_weight());
|
| Line 1082... |
Line 1129... |
| 1082 |
return isSetModel_name();
|
1129 |
return isSetModel_name();
|
| 1083 |
case EXTRA_INFO:
|
1130 |
case EXTRA_INFO:
|
| 1084 |
return isSetExtra_info();
|
1131 |
return isSetExtra_info();
|
| 1085 |
case QUANTITY:
|
1132 |
case QUANTITY:
|
| 1086 |
return isSetQuantity();
|
1133 |
return isSetQuantity();
|
| - |
|
1134 |
case MRP:
|
| - |
|
1135 |
return isSetMrp();
|
| 1087 |
case UNIT_PRICE:
|
1136 |
case UNIT_PRICE:
|
| 1088 |
return isSetUnit_price();
|
1137 |
return isSetUnit_price();
|
| 1089 |
case UNIT_WEIGHT:
|
1138 |
case UNIT_WEIGHT:
|
| 1090 |
return isSetUnit_weight();
|
1139 |
return isSetUnit_weight();
|
| 1091 |
case TOTAL_PRICE:
|
1140 |
case TOTAL_PRICE:
|
| Line 1202... |
Line 1251... |
| 1202 |
return false;
|
1251 |
return false;
|
| 1203 |
if (this.quantity != that.quantity)
|
1252 |
if (this.quantity != that.quantity)
|
| 1204 |
return false;
|
1253 |
return false;
|
| 1205 |
}
|
1254 |
}
|
| 1206 |
|
1255 |
|
| - |
|
1256 |
boolean this_present_mrp = true;
|
| - |
|
1257 |
boolean that_present_mrp = true;
|
| - |
|
1258 |
if (this_present_mrp || that_present_mrp) {
|
| - |
|
1259 |
if (!(this_present_mrp && that_present_mrp))
|
| - |
|
1260 |
return false;
|
| - |
|
1261 |
if (this.mrp != that.mrp)
|
| - |
|
1262 |
return false;
|
| - |
|
1263 |
}
|
| - |
|
1264 |
|
| 1207 |
boolean this_present_unit_price = true;
|
1265 |
boolean this_present_unit_price = true;
|
| 1208 |
boolean that_present_unit_price = true;
|
1266 |
boolean that_present_unit_price = true;
|
| 1209 |
if (this_present_unit_price || that_present_unit_price) {
|
1267 |
if (this_present_unit_price || that_present_unit_price) {
|
| 1210 |
if (!(this_present_unit_price && that_present_unit_price))
|
1268 |
if (!(this_present_unit_price && that_present_unit_price))
|
| 1211 |
return false;
|
1269 |
return false;
|
| Line 1407... |
Line 1465... |
| 1407 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.quantity, typedOther.quantity);
|
1465 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.quantity, typedOther.quantity);
|
| 1408 |
if (lastComparison != 0) {
|
1466 |
if (lastComparison != 0) {
|
| 1409 |
return lastComparison;
|
1467 |
return lastComparison;
|
| 1410 |
}
|
1468 |
}
|
| 1411 |
}
|
1469 |
}
|
| - |
|
1470 |
lastComparison = Boolean.valueOf(isSetMrp()).compareTo(typedOther.isSetMrp());
|
| - |
|
1471 |
if (lastComparison != 0) {
|
| - |
|
1472 |
return lastComparison;
|
| - |
|
1473 |
}
|
| - |
|
1474 |
if (isSetMrp()) {
|
| - |
|
1475 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.mrp, typedOther.mrp);
|
| - |
|
1476 |
if (lastComparison != 0) {
|
| - |
|
1477 |
return lastComparison;
|
| - |
|
1478 |
}
|
| - |
|
1479 |
}
|
| 1412 |
lastComparison = Boolean.valueOf(isSetUnit_price()).compareTo(typedOther.isSetUnit_price());
|
1480 |
lastComparison = Boolean.valueOf(isSetUnit_price()).compareTo(typedOther.isSetUnit_price());
|
| 1413 |
if (lastComparison != 0) {
|
1481 |
if (lastComparison != 0) {
|
| 1414 |
return lastComparison;
|
1482 |
return lastComparison;
|
| 1415 |
}
|
1483 |
}
|
| 1416 |
if (isSetUnit_price()) {
|
1484 |
if (isSetUnit_price()) {
|
| Line 1600... |
Line 1668... |
| 1600 |
setQuantityIsSet(true);
|
1668 |
setQuantityIsSet(true);
|
| 1601 |
} else {
|
1669 |
} else {
|
| 1602 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1670 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1603 |
}
|
1671 |
}
|
| 1604 |
break;
|
1672 |
break;
|
| - |
|
1673 |
case 10: // MRP
|
| - |
|
1674 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
1675 |
this.mrp = iprot.readDouble();
|
| - |
|
1676 |
setMrpIsSet(true);
|
| - |
|
1677 |
} else {
|
| - |
|
1678 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
1679 |
}
|
| - |
|
1680 |
break;
|
| 1605 |
case 10: // UNIT_PRICE
|
1681 |
case 11: // UNIT_PRICE
|
| 1606 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
1682 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 1607 |
this.unit_price = iprot.readDouble();
|
1683 |
this.unit_price = iprot.readDouble();
|
| 1608 |
setUnit_priceIsSet(true);
|
1684 |
setUnit_priceIsSet(true);
|
| 1609 |
} else {
|
1685 |
} else {
|
| 1610 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1686 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1611 |
}
|
1687 |
}
|
| 1612 |
break;
|
1688 |
break;
|
| 1613 |
case 11: // UNIT_WEIGHT
|
1689 |
case 12: // UNIT_WEIGHT
|
| 1614 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
1690 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 1615 |
this.unit_weight = iprot.readDouble();
|
1691 |
this.unit_weight = iprot.readDouble();
|
| 1616 |
setUnit_weightIsSet(true);
|
1692 |
setUnit_weightIsSet(true);
|
| 1617 |
} else {
|
1693 |
} else {
|
| 1618 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1694 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1619 |
}
|
1695 |
}
|
| 1620 |
break;
|
1696 |
break;
|
| 1621 |
case 12: // TOTAL_PRICE
|
1697 |
case 13: // TOTAL_PRICE
|
| 1622 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
1698 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 1623 |
this.total_price = iprot.readDouble();
|
1699 |
this.total_price = iprot.readDouble();
|
| 1624 |
setTotal_priceIsSet(true);
|
1700 |
setTotal_priceIsSet(true);
|
| 1625 |
} else {
|
1701 |
} else {
|
| 1626 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1702 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1627 |
}
|
1703 |
}
|
| 1628 |
break;
|
1704 |
break;
|
| 1629 |
case 13: // TRANSFER_PRICE
|
1705 |
case 14: // TRANSFER_PRICE
|
| 1630 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
1706 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 1631 |
this.transfer_price = iprot.readDouble();
|
1707 |
this.transfer_price = iprot.readDouble();
|
| 1632 |
setTransfer_priceIsSet(true);
|
1708 |
setTransfer_priceIsSet(true);
|
| 1633 |
} else {
|
1709 |
} else {
|
| 1634 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1710 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1635 |
}
|
1711 |
}
|
| 1636 |
break;
|
1712 |
break;
|
| 1637 |
case 14: // TOTAL_WEIGHT
|
1713 |
case 15: // TOTAL_WEIGHT
|
| 1638 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
1714 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 1639 |
this.total_weight = iprot.readDouble();
|
1715 |
this.total_weight = iprot.readDouble();
|
| 1640 |
setTotal_weightIsSet(true);
|
1716 |
setTotal_weightIsSet(true);
|
| 1641 |
} else {
|
1717 |
} else {
|
| 1642 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1718 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1643 |
}
|
1719 |
}
|
| 1644 |
break;
|
1720 |
break;
|
| 1645 |
case 15: // SERIAL_NUMBER
|
1721 |
case 16: // SERIAL_NUMBER
|
| 1646 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
1722 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| 1647 |
this.serial_number = iprot.readString();
|
1723 |
this.serial_number = iprot.readString();
|
| 1648 |
} else {
|
1724 |
} else {
|
| 1649 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1725 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1650 |
}
|
1726 |
}
|
| 1651 |
break;
|
1727 |
break;
|
| 1652 |
case 16: // ITEM_NUMBER
|
1728 |
case 17: // ITEM_NUMBER
|
| 1653 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
1729 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| 1654 |
this.item_number = iprot.readString();
|
1730 |
this.item_number = iprot.readString();
|
| 1655 |
} else {
|
1731 |
} else {
|
| 1656 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1732 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1657 |
}
|
1733 |
}
|
| 1658 |
break;
|
1734 |
break;
|
| 1659 |
case 17: // DEAL_TEXT
|
1735 |
case 18: // DEAL_TEXT
|
| 1660 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
1736 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| 1661 |
this.dealText = iprot.readString();
|
1737 |
this.dealText = iprot.readString();
|
| 1662 |
} else {
|
1738 |
} else {
|
| 1663 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1739 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1664 |
}
|
1740 |
}
|
| 1665 |
break;
|
1741 |
break;
|
| 1666 |
case 18: // WARRANTRY_EXPIRY_TIMESTAMP
|
1742 |
case 19: // WARRANTRY_EXPIRY_TIMESTAMP
|
| 1667 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
1743 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 1668 |
this.warrantry_expiry_timestamp = iprot.readI64();
|
1744 |
this.warrantry_expiry_timestamp = iprot.readI64();
|
| 1669 |
setWarrantry_expiry_timestampIsSet(true);
|
1745 |
setWarrantry_expiry_timestampIsSet(true);
|
| 1670 |
} else {
|
1746 |
} else {
|
| 1671 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1747 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1672 |
}
|
1748 |
}
|
| 1673 |
break;
|
1749 |
break;
|
| 1674 |
case 19: // VAT_RATE
|
1750 |
case 20: // VAT_RATE
|
| 1675 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
1751 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 1676 |
this.vatRate = iprot.readDouble();
|
1752 |
this.vatRate = iprot.readDouble();
|
| 1677 |
setVatRateIsSet(true);
|
1753 |
setVatRateIsSet(true);
|
| 1678 |
} else {
|
1754 |
} else {
|
| 1679 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1755 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1680 |
}
|
1756 |
}
|
| 1681 |
break;
|
1757 |
break;
|
| 1682 |
case 20: // NLC
|
1758 |
case 21: // NLC
|
| 1683 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
1759 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| 1684 |
this.nlc = iprot.readDouble();
|
1760 |
this.nlc = iprot.readDouble();
|
| 1685 |
setNlcIsSet(true);
|
1761 |
setNlcIsSet(true);
|
| 1686 |
} else {
|
1762 |
} else {
|
| 1687 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1763 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| Line 1737... |
Line 1813... |
| 1737 |
oprot.writeFieldEnd();
|
1813 |
oprot.writeFieldEnd();
|
| 1738 |
}
|
1814 |
}
|
| 1739 |
oprot.writeFieldBegin(QUANTITY_FIELD_DESC);
|
1815 |
oprot.writeFieldBegin(QUANTITY_FIELD_DESC);
|
| 1740 |
oprot.writeDouble(this.quantity);
|
1816 |
oprot.writeDouble(this.quantity);
|
| 1741 |
oprot.writeFieldEnd();
|
1817 |
oprot.writeFieldEnd();
|
| - |
|
1818 |
oprot.writeFieldBegin(MRP_FIELD_DESC);
|
| - |
|
1819 |
oprot.writeDouble(this.mrp);
|
| - |
|
1820 |
oprot.writeFieldEnd();
|
| 1742 |
oprot.writeFieldBegin(UNIT_PRICE_FIELD_DESC);
|
1821 |
oprot.writeFieldBegin(UNIT_PRICE_FIELD_DESC);
|
| 1743 |
oprot.writeDouble(this.unit_price);
|
1822 |
oprot.writeDouble(this.unit_price);
|
| 1744 |
oprot.writeFieldEnd();
|
1823 |
oprot.writeFieldEnd();
|
| 1745 |
oprot.writeFieldBegin(UNIT_WEIGHT_FIELD_DESC);
|
1824 |
oprot.writeFieldBegin(UNIT_WEIGHT_FIELD_DESC);
|
| 1746 |
oprot.writeDouble(this.unit_weight);
|
1825 |
oprot.writeDouble(this.unit_weight);
|
| Line 1851... |
Line 1930... |
| 1851 |
if (!first) sb.append(", ");
|
1930 |
if (!first) sb.append(", ");
|
| 1852 |
sb.append("quantity:");
|
1931 |
sb.append("quantity:");
|
| 1853 |
sb.append(this.quantity);
|
1932 |
sb.append(this.quantity);
|
| 1854 |
first = false;
|
1933 |
first = false;
|
| 1855 |
if (!first) sb.append(", ");
|
1934 |
if (!first) sb.append(", ");
|
| - |
|
1935 |
sb.append("mrp:");
|
| - |
|
1936 |
sb.append(this.mrp);
|
| - |
|
1937 |
first = false;
|
| - |
|
1938 |
if (!first) sb.append(", ");
|
| 1856 |
sb.append("unit_price:");
|
1939 |
sb.append("unit_price:");
|
| 1857 |
sb.append(this.unit_price);
|
1940 |
sb.append(this.unit_price);
|
| 1858 |
first = false;
|
1941 |
first = false;
|
| 1859 |
if (!first) sb.append(", ");
|
1942 |
if (!first) sb.append(", ");
|
| 1860 |
sb.append("unit_weight:");
|
1943 |
sb.append("unit_weight:");
|