| 483 |
rajveer |
1 |
/**
|
|
|
2 |
* Autogenerated by Thrift
|
|
|
3 |
*
|
|
|
4 |
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
|
5 |
*/
|
|
|
6 |
package in.shop2020.model.v1.order;
|
|
|
7 |
|
|
|
8 |
import java.util.List;
|
|
|
9 |
import java.util.ArrayList;
|
|
|
10 |
import java.util.Map;
|
|
|
11 |
import java.util.HashMap;
|
|
|
12 |
import java.util.EnumMap;
|
|
|
13 |
import java.util.Set;
|
|
|
14 |
import java.util.HashSet;
|
|
|
15 |
import java.util.EnumSet;
|
|
|
16 |
import java.util.Collections;
|
|
|
17 |
import java.util.BitSet;
|
|
|
18 |
import java.util.Arrays;
|
|
|
19 |
import org.slf4j.Logger;
|
|
|
20 |
import org.slf4j.LoggerFactory;
|
|
|
21 |
|
|
|
22 |
import org.apache.thrift.*;
|
|
|
23 |
import org.apache.thrift.meta_data.*;
|
|
|
24 |
import org.apache.thrift.protocol.*;
|
|
|
25 |
|
|
|
26 |
public class Order implements TBase<Order._Fields>, java.io.Serializable, Cloneable, Comparable<Order> {
|
|
|
27 |
private static final TStruct STRUCT_DESC = new TStruct("Order");
|
|
|
28 |
|
|
|
29 |
private static final TField ID_FIELD_DESC = new TField("id", TType.I64, (short)1);
|
|
|
30 |
private static final TField WAREHOUSE_ID_FIELD_DESC = new TField("warehouse_id", TType.I64, (short)2);
|
|
|
31 |
private static final TField LINEITEMS_FIELD_DESC = new TField("lineitems", TType.LIST, (short)3);
|
|
|
32 |
private static final TField LOGISTICS_PROVIDER_ID_FIELD_DESC = new TField("logistics_provider_id", TType.I64, (short)4);
|
|
|
33 |
private static final TField AIRWAYBILL_NO_FIELD_DESC = new TField("airwaybill_no", TType.STRING, (short)5);
|
|
|
34 |
private static final TField TRACKING_ID_FIELD_DESC = new TField("tracking_id", TType.STRING, (short)6);
|
|
|
35 |
private static final TField EXPECTED_DELIVERY_TIME_FIELD_DESC = new TField("expected_delivery_time", TType.I64, (short)7);
|
|
|
36 |
private static final TField CUSTOMER_ID_FIELD_DESC = new TField("customer_id", TType.I64, (short)8);
|
|
|
37 |
private static final TField CUSTOMER_NAME_FIELD_DESC = new TField("customer_name", TType.STRING, (short)9);
|
|
|
38 |
private static final TField CUSTOMER_MOBILENUMBER_FIELD_DESC = new TField("customer_mobilenumber", TType.STRING, (short)10);
|
|
|
39 |
private static final TField CUSTOMER_PINCODE_FIELD_DESC = new TField("customer_pincode", TType.STRING, (short)11);
|
| 736 |
chandransh |
40 |
private static final TField CUSTOMER_ADDRESS1_FIELD_DESC = new TField("customer_address1", TType.STRING, (short)12);
|
|
|
41 |
private static final TField CUSTOMER_ADDRESS2_FIELD_DESC = new TField("customer_address2", TType.STRING, (short)13);
|
|
|
42 |
private static final TField CUSTOMER_EMAIL_FIELD_DESC = new TField("customer_email", TType.STRING, (short)14);
|
|
|
43 |
private static final TField CUSTOMER_CITY_FIELD_DESC = new TField("customer_city", TType.STRING, (short)15);
|
|
|
44 |
private static final TField CUSTOMER_STATE_FIELD_DESC = new TField("customer_state", TType.STRING, (short)16);
|
|
|
45 |
private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short)17);
|
|
|
46 |
private static final TField STATUS_DESCRIPTION_FIELD_DESC = new TField("statusDescription", TType.STRING, (short)18);
|
|
|
47 |
private static final TField TOTAL_AMOUNT_FIELD_DESC = new TField("total_amount", TType.DOUBLE, (short)19);
|
|
|
48 |
private static final TField TOTAL_WEIGHT_FIELD_DESC = new TField("total_weight", TType.DOUBLE, (short)20);
|
|
|
49 |
private static final TField INVOICE_NUMBER_FIELD_DESC = new TField("invoice_number", TType.STRING, (short)21);
|
|
|
50 |
private static final TField BILLED_BY_FIELD_DESC = new TField("billed_by", TType.STRING, (short)22);
|
|
|
51 |
private static final TField CREATED_TIMESTAMP_FIELD_DESC = new TField("created_timestamp", TType.I64, (short)23);
|
|
|
52 |
private static final TField ACCEPTED_TIMESTAMP_FIELD_DESC = new TField("accepted_timestamp", TType.I64, (short)24);
|
|
|
53 |
private static final TField BILLING_TIMESTAMP_FIELD_DESC = new TField("billing_timestamp", TType.I64, (short)25);
|
|
|
54 |
private static final TField SHIPPING_TIMESTAMP_FIELD_DESC = new TField("shipping_timestamp", TType.I64, (short)26);
|
|
|
55 |
private static final TField DELIVERY_TIMESTAMP_FIELD_DESC = new TField("delivery_timestamp", TType.I64, (short)27);
|
|
|
56 |
private static final TField JACKET_NUMBER_FIELD_DESC = new TField("jacket_number", TType.I64, (short)28);
|
| 483 |
rajveer |
57 |
|
|
|
58 |
private long id;
|
|
|
59 |
private long warehouse_id;
|
|
|
60 |
private List<LineItem> lineitems;
|
|
|
61 |
private long logistics_provider_id;
|
|
|
62 |
private String airwaybill_no;
|
|
|
63 |
private String tracking_id;
|
|
|
64 |
private long expected_delivery_time;
|
|
|
65 |
private long customer_id;
|
|
|
66 |
private String customer_name;
|
|
|
67 |
private String customer_mobilenumber;
|
|
|
68 |
private String customer_pincode;
|
| 736 |
chandransh |
69 |
private String customer_address1;
|
|
|
70 |
private String customer_address2;
|
| 483 |
rajveer |
71 |
private String customer_email;
|
| 736 |
chandransh |
72 |
private String customer_city;
|
|
|
73 |
private String customer_state;
|
| 483 |
rajveer |
74 |
private OrderStatus status;
|
|
|
75 |
private String statusDescription;
|
|
|
76 |
private double total_amount;
|
|
|
77 |
private double total_weight;
|
|
|
78 |
private String invoice_number;
|
|
|
79 |
private String billed_by;
|
|
|
80 |
private long created_timestamp;
|
|
|
81 |
private long accepted_timestamp;
|
|
|
82 |
private long billing_timestamp;
|
|
|
83 |
private long shipping_timestamp;
|
|
|
84 |
private long delivery_timestamp;
|
| 640 |
chandransh |
85 |
private long jacket_number;
|
| 483 |
rajveer |
86 |
|
|
|
87 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
|
|
88 |
public enum _Fields implements TFieldIdEnum {
|
|
|
89 |
ID((short)1, "id"),
|
|
|
90 |
WAREHOUSE_ID((short)2, "warehouse_id"),
|
|
|
91 |
/**
|
|
|
92 |
* item info
|
|
|
93 |
* *
|
|
|
94 |
*/
|
|
|
95 |
LINEITEMS((short)3, "lineitems"),
|
|
|
96 |
/**
|
|
|
97 |
* logistics info
|
|
|
98 |
* *
|
|
|
99 |
*/
|
|
|
100 |
LOGISTICS_PROVIDER_ID((short)4, "logistics_provider_id"),
|
|
|
101 |
AIRWAYBILL_NO((short)5, "airwaybill_no"),
|
|
|
102 |
TRACKING_ID((short)6, "tracking_id"),
|
|
|
103 |
EXPECTED_DELIVERY_TIME((short)7, "expected_delivery_time"),
|
|
|
104 |
/**
|
|
|
105 |
* customer info
|
|
|
106 |
* *
|
|
|
107 |
*/
|
|
|
108 |
CUSTOMER_ID((short)8, "customer_id"),
|
|
|
109 |
CUSTOMER_NAME((short)9, "customer_name"),
|
|
|
110 |
CUSTOMER_MOBILENUMBER((short)10, "customer_mobilenumber"),
|
|
|
111 |
CUSTOMER_PINCODE((short)11, "customer_pincode"),
|
| 736 |
chandransh |
112 |
CUSTOMER_ADDRESS1((short)12, "customer_address1"),
|
|
|
113 |
CUSTOMER_ADDRESS2((short)13, "customer_address2"),
|
|
|
114 |
CUSTOMER_EMAIL((short)14, "customer_email"),
|
|
|
115 |
CUSTOMER_CITY((short)15, "customer_city"),
|
|
|
116 |
CUSTOMER_STATE((short)16, "customer_state"),
|
| 483 |
rajveer |
117 |
/**
|
|
|
118 |
* status and misc info
|
|
|
119 |
* *
|
|
|
120 |
*
|
|
|
121 |
* @see OrderStatus
|
|
|
122 |
*/
|
| 736 |
chandransh |
123 |
STATUS((short)17, "status"),
|
|
|
124 |
STATUS_DESCRIPTION((short)18, "statusDescription"),
|
|
|
125 |
TOTAL_AMOUNT((short)19, "total_amount"),
|
|
|
126 |
TOTAL_WEIGHT((short)20, "total_weight"),
|
| 483 |
rajveer |
127 |
/**
|
|
|
128 |
* billing info
|
|
|
129 |
* *
|
|
|
130 |
*/
|
| 736 |
chandransh |
131 |
INVOICE_NUMBER((short)21, "invoice_number"),
|
|
|
132 |
BILLED_BY((short)22, "billed_by"),
|
| 483 |
rajveer |
133 |
/**
|
|
|
134 |
* timestamps
|
|
|
135 |
* *
|
|
|
136 |
*/
|
| 736 |
chandransh |
137 |
CREATED_TIMESTAMP((short)23, "created_timestamp"),
|
|
|
138 |
ACCEPTED_TIMESTAMP((short)24, "accepted_timestamp"),
|
|
|
139 |
BILLING_TIMESTAMP((short)25, "billing_timestamp"),
|
|
|
140 |
SHIPPING_TIMESTAMP((short)26, "shipping_timestamp"),
|
|
|
141 |
DELIVERY_TIMESTAMP((short)27, "delivery_timestamp"),
|
|
|
142 |
JACKET_NUMBER((short)28, "jacket_number");
|
| 483 |
rajveer |
143 |
|
|
|
144 |
private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
|
|
|
145 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
146 |
|
|
|
147 |
static {
|
|
|
148 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
149 |
byId.put((int)field._thriftId, field);
|
|
|
150 |
byName.put(field.getFieldName(), field);
|
|
|
151 |
}
|
|
|
152 |
}
|
|
|
153 |
|
|
|
154 |
/**
|
|
|
155 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
156 |
*/
|
|
|
157 |
public static _Fields findByThriftId(int fieldId) {
|
|
|
158 |
return byId.get(fieldId);
|
|
|
159 |
}
|
|
|
160 |
|
|
|
161 |
/**
|
|
|
162 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
163 |
* if it is not found.
|
|
|
164 |
*/
|
|
|
165 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
166 |
_Fields fields = findByThriftId(fieldId);
|
|
|
167 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
168 |
return fields;
|
|
|
169 |
}
|
|
|
170 |
|
|
|
171 |
/**
|
|
|
172 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
173 |
*/
|
|
|
174 |
public static _Fields findByName(String name) {
|
|
|
175 |
return byName.get(name);
|
|
|
176 |
}
|
|
|
177 |
|
|
|
178 |
private final short _thriftId;
|
|
|
179 |
private final String _fieldName;
|
|
|
180 |
|
|
|
181 |
_Fields(short thriftId, String fieldName) {
|
|
|
182 |
_thriftId = thriftId;
|
|
|
183 |
_fieldName = fieldName;
|
|
|
184 |
}
|
|
|
185 |
|
|
|
186 |
public short getThriftFieldId() {
|
|
|
187 |
return _thriftId;
|
|
|
188 |
}
|
|
|
189 |
|
|
|
190 |
public String getFieldName() {
|
|
|
191 |
return _fieldName;
|
|
|
192 |
}
|
|
|
193 |
}
|
|
|
194 |
|
|
|
195 |
// isset id assignments
|
|
|
196 |
private static final int __ID_ISSET_ID = 0;
|
|
|
197 |
private static final int __WAREHOUSE_ID_ISSET_ID = 1;
|
|
|
198 |
private static final int __LOGISTICS_PROVIDER_ID_ISSET_ID = 2;
|
|
|
199 |
private static final int __EXPECTED_DELIVERY_TIME_ISSET_ID = 3;
|
|
|
200 |
private static final int __CUSTOMER_ID_ISSET_ID = 4;
|
|
|
201 |
private static final int __TOTAL_AMOUNT_ISSET_ID = 5;
|
|
|
202 |
private static final int __TOTAL_WEIGHT_ISSET_ID = 6;
|
|
|
203 |
private static final int __CREATED_TIMESTAMP_ISSET_ID = 7;
|
|
|
204 |
private static final int __ACCEPTED_TIMESTAMP_ISSET_ID = 8;
|
|
|
205 |
private static final int __BILLING_TIMESTAMP_ISSET_ID = 9;
|
|
|
206 |
private static final int __SHIPPING_TIMESTAMP_ISSET_ID = 10;
|
|
|
207 |
private static final int __DELIVERY_TIMESTAMP_ISSET_ID = 11;
|
| 640 |
chandransh |
208 |
private static final int __JACKET_NUMBER_ISSET_ID = 12;
|
|
|
209 |
private BitSet __isset_bit_vector = new BitSet(13);
|
| 483 |
rajveer |
210 |
|
|
|
211 |
public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
|
|
|
212 |
put(_Fields.ID, new FieldMetaData("id", TFieldRequirementType.DEFAULT,
|
|
|
213 |
new FieldValueMetaData(TType.I64)));
|
|
|
214 |
put(_Fields.WAREHOUSE_ID, new FieldMetaData("warehouse_id", TFieldRequirementType.DEFAULT,
|
|
|
215 |
new FieldValueMetaData(TType.I64)));
|
|
|
216 |
put(_Fields.LINEITEMS, new FieldMetaData("lineitems", TFieldRequirementType.DEFAULT,
|
|
|
217 |
new ListMetaData(TType.LIST,
|
|
|
218 |
new StructMetaData(TType.STRUCT, LineItem.class))));
|
|
|
219 |
put(_Fields.LOGISTICS_PROVIDER_ID, new FieldMetaData("logistics_provider_id", TFieldRequirementType.DEFAULT,
|
|
|
220 |
new FieldValueMetaData(TType.I64)));
|
|
|
221 |
put(_Fields.AIRWAYBILL_NO, new FieldMetaData("airwaybill_no", TFieldRequirementType.DEFAULT,
|
|
|
222 |
new FieldValueMetaData(TType.STRING)));
|
|
|
223 |
put(_Fields.TRACKING_ID, new FieldMetaData("tracking_id", TFieldRequirementType.DEFAULT,
|
|
|
224 |
new FieldValueMetaData(TType.STRING)));
|
|
|
225 |
put(_Fields.EXPECTED_DELIVERY_TIME, new FieldMetaData("expected_delivery_time", TFieldRequirementType.DEFAULT,
|
|
|
226 |
new FieldValueMetaData(TType.I64)));
|
|
|
227 |
put(_Fields.CUSTOMER_ID, new FieldMetaData("customer_id", TFieldRequirementType.DEFAULT,
|
|
|
228 |
new FieldValueMetaData(TType.I64)));
|
|
|
229 |
put(_Fields.CUSTOMER_NAME, new FieldMetaData("customer_name", TFieldRequirementType.DEFAULT,
|
|
|
230 |
new FieldValueMetaData(TType.STRING)));
|
|
|
231 |
put(_Fields.CUSTOMER_MOBILENUMBER, new FieldMetaData("customer_mobilenumber", TFieldRequirementType.DEFAULT,
|
|
|
232 |
new FieldValueMetaData(TType.STRING)));
|
|
|
233 |
put(_Fields.CUSTOMER_PINCODE, new FieldMetaData("customer_pincode", TFieldRequirementType.DEFAULT,
|
|
|
234 |
new FieldValueMetaData(TType.STRING)));
|
| 736 |
chandransh |
235 |
put(_Fields.CUSTOMER_ADDRESS1, new FieldMetaData("customer_address1", TFieldRequirementType.DEFAULT,
|
| 483 |
rajveer |
236 |
new FieldValueMetaData(TType.STRING)));
|
| 736 |
chandransh |
237 |
put(_Fields.CUSTOMER_ADDRESS2, new FieldMetaData("customer_address2", TFieldRequirementType.DEFAULT,
|
|
|
238 |
new FieldValueMetaData(TType.STRING)));
|
| 483 |
rajveer |
239 |
put(_Fields.CUSTOMER_EMAIL, new FieldMetaData("customer_email", TFieldRequirementType.DEFAULT,
|
|
|
240 |
new FieldValueMetaData(TType.STRING)));
|
| 736 |
chandransh |
241 |
put(_Fields.CUSTOMER_CITY, new FieldMetaData("customer_city", TFieldRequirementType.DEFAULT,
|
|
|
242 |
new FieldValueMetaData(TType.STRING)));
|
|
|
243 |
put(_Fields.CUSTOMER_STATE, new FieldMetaData("customer_state", TFieldRequirementType.DEFAULT,
|
|
|
244 |
new FieldValueMetaData(TType.STRING)));
|
| 483 |
rajveer |
245 |
put(_Fields.STATUS, new FieldMetaData("status", TFieldRequirementType.DEFAULT,
|
|
|
246 |
new EnumMetaData(TType.ENUM, OrderStatus.class)));
|
|
|
247 |
put(_Fields.STATUS_DESCRIPTION, new FieldMetaData("statusDescription", TFieldRequirementType.DEFAULT,
|
|
|
248 |
new FieldValueMetaData(TType.STRING)));
|
|
|
249 |
put(_Fields.TOTAL_AMOUNT, new FieldMetaData("total_amount", TFieldRequirementType.DEFAULT,
|
|
|
250 |
new FieldValueMetaData(TType.DOUBLE)));
|
|
|
251 |
put(_Fields.TOTAL_WEIGHT, new FieldMetaData("total_weight", TFieldRequirementType.DEFAULT,
|
|
|
252 |
new FieldValueMetaData(TType.DOUBLE)));
|
|
|
253 |
put(_Fields.INVOICE_NUMBER, new FieldMetaData("invoice_number", TFieldRequirementType.DEFAULT,
|
|
|
254 |
new FieldValueMetaData(TType.STRING)));
|
|
|
255 |
put(_Fields.BILLED_BY, new FieldMetaData("billed_by", TFieldRequirementType.DEFAULT,
|
|
|
256 |
new FieldValueMetaData(TType.STRING)));
|
|
|
257 |
put(_Fields.CREATED_TIMESTAMP, new FieldMetaData("created_timestamp", TFieldRequirementType.DEFAULT,
|
|
|
258 |
new FieldValueMetaData(TType.I64)));
|
|
|
259 |
put(_Fields.ACCEPTED_TIMESTAMP, new FieldMetaData("accepted_timestamp", TFieldRequirementType.DEFAULT,
|
|
|
260 |
new FieldValueMetaData(TType.I64)));
|
|
|
261 |
put(_Fields.BILLING_TIMESTAMP, new FieldMetaData("billing_timestamp", TFieldRequirementType.DEFAULT,
|
|
|
262 |
new FieldValueMetaData(TType.I64)));
|
|
|
263 |
put(_Fields.SHIPPING_TIMESTAMP, new FieldMetaData("shipping_timestamp", TFieldRequirementType.DEFAULT,
|
|
|
264 |
new FieldValueMetaData(TType.I64)));
|
|
|
265 |
put(_Fields.DELIVERY_TIMESTAMP, new FieldMetaData("delivery_timestamp", TFieldRequirementType.DEFAULT,
|
|
|
266 |
new FieldValueMetaData(TType.I64)));
|
| 640 |
chandransh |
267 |
put(_Fields.JACKET_NUMBER, new FieldMetaData("jacket_number", TFieldRequirementType.DEFAULT,
|
|
|
268 |
new FieldValueMetaData(TType.I64)));
|
| 483 |
rajveer |
269 |
}});
|
|
|
270 |
|
|
|
271 |
static {
|
|
|
272 |
FieldMetaData.addStructMetaDataMap(Order.class, metaDataMap);
|
|
|
273 |
}
|
|
|
274 |
|
|
|
275 |
public Order() {
|
|
|
276 |
}
|
|
|
277 |
|
|
|
278 |
public Order(
|
|
|
279 |
long id,
|
|
|
280 |
long warehouse_id,
|
|
|
281 |
List<LineItem> lineitems,
|
|
|
282 |
long logistics_provider_id,
|
|
|
283 |
String airwaybill_no,
|
|
|
284 |
String tracking_id,
|
|
|
285 |
long expected_delivery_time,
|
|
|
286 |
long customer_id,
|
|
|
287 |
String customer_name,
|
|
|
288 |
String customer_mobilenumber,
|
|
|
289 |
String customer_pincode,
|
| 736 |
chandransh |
290 |
String customer_address1,
|
|
|
291 |
String customer_address2,
|
| 483 |
rajveer |
292 |
String customer_email,
|
| 736 |
chandransh |
293 |
String customer_city,
|
|
|
294 |
String customer_state,
|
| 483 |
rajveer |
295 |
OrderStatus status,
|
|
|
296 |
String statusDescription,
|
|
|
297 |
double total_amount,
|
|
|
298 |
double total_weight,
|
|
|
299 |
String invoice_number,
|
|
|
300 |
String billed_by,
|
|
|
301 |
long created_timestamp,
|
|
|
302 |
long accepted_timestamp,
|
|
|
303 |
long billing_timestamp,
|
|
|
304 |
long shipping_timestamp,
|
| 640 |
chandransh |
305 |
long delivery_timestamp,
|
| 736 |
chandransh |
306 |
long jacket_number)
|
| 483 |
rajveer |
307 |
{
|
|
|
308 |
this();
|
|
|
309 |
this.id = id;
|
|
|
310 |
setIdIsSet(true);
|
|
|
311 |
this.warehouse_id = warehouse_id;
|
|
|
312 |
setWarehouse_idIsSet(true);
|
|
|
313 |
this.lineitems = lineitems;
|
|
|
314 |
this.logistics_provider_id = logistics_provider_id;
|
|
|
315 |
setLogistics_provider_idIsSet(true);
|
|
|
316 |
this.airwaybill_no = airwaybill_no;
|
|
|
317 |
this.tracking_id = tracking_id;
|
|
|
318 |
this.expected_delivery_time = expected_delivery_time;
|
|
|
319 |
setExpected_delivery_timeIsSet(true);
|
|
|
320 |
this.customer_id = customer_id;
|
|
|
321 |
setCustomer_idIsSet(true);
|
|
|
322 |
this.customer_name = customer_name;
|
|
|
323 |
this.customer_mobilenumber = customer_mobilenumber;
|
|
|
324 |
this.customer_pincode = customer_pincode;
|
| 736 |
chandransh |
325 |
this.customer_address1 = customer_address1;
|
|
|
326 |
this.customer_address2 = customer_address2;
|
| 483 |
rajveer |
327 |
this.customer_email = customer_email;
|
| 736 |
chandransh |
328 |
this.customer_city = customer_city;
|
|
|
329 |
this.customer_state = customer_state;
|
| 483 |
rajveer |
330 |
this.status = status;
|
|
|
331 |
this.statusDescription = statusDescription;
|
|
|
332 |
this.total_amount = total_amount;
|
|
|
333 |
setTotal_amountIsSet(true);
|
|
|
334 |
this.total_weight = total_weight;
|
|
|
335 |
setTotal_weightIsSet(true);
|
|
|
336 |
this.invoice_number = invoice_number;
|
|
|
337 |
this.billed_by = billed_by;
|
|
|
338 |
this.created_timestamp = created_timestamp;
|
|
|
339 |
setCreated_timestampIsSet(true);
|
|
|
340 |
this.accepted_timestamp = accepted_timestamp;
|
|
|
341 |
setAccepted_timestampIsSet(true);
|
|
|
342 |
this.billing_timestamp = billing_timestamp;
|
|
|
343 |
setBilling_timestampIsSet(true);
|
|
|
344 |
this.shipping_timestamp = shipping_timestamp;
|
|
|
345 |
setShipping_timestampIsSet(true);
|
|
|
346 |
this.delivery_timestamp = delivery_timestamp;
|
|
|
347 |
setDelivery_timestampIsSet(true);
|
| 640 |
chandransh |
348 |
this.jacket_number = jacket_number;
|
|
|
349 |
setJacket_numberIsSet(true);
|
| 483 |
rajveer |
350 |
}
|
|
|
351 |
|
|
|
352 |
/**
|
|
|
353 |
* Performs a deep copy on <i>other</i>.
|
|
|
354 |
*/
|
|
|
355 |
public Order(Order other) {
|
|
|
356 |
__isset_bit_vector.clear();
|
|
|
357 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
|
|
358 |
this.id = other.id;
|
|
|
359 |
this.warehouse_id = other.warehouse_id;
|
|
|
360 |
if (other.isSetLineitems()) {
|
|
|
361 |
List<LineItem> __this__lineitems = new ArrayList<LineItem>();
|
|
|
362 |
for (LineItem other_element : other.lineitems) {
|
|
|
363 |
__this__lineitems.add(new LineItem(other_element));
|
|
|
364 |
}
|
|
|
365 |
this.lineitems = __this__lineitems;
|
|
|
366 |
}
|
|
|
367 |
this.logistics_provider_id = other.logistics_provider_id;
|
|
|
368 |
if (other.isSetAirwaybill_no()) {
|
|
|
369 |
this.airwaybill_no = other.airwaybill_no;
|
|
|
370 |
}
|
|
|
371 |
if (other.isSetTracking_id()) {
|
|
|
372 |
this.tracking_id = other.tracking_id;
|
|
|
373 |
}
|
|
|
374 |
this.expected_delivery_time = other.expected_delivery_time;
|
|
|
375 |
this.customer_id = other.customer_id;
|
|
|
376 |
if (other.isSetCustomer_name()) {
|
|
|
377 |
this.customer_name = other.customer_name;
|
|
|
378 |
}
|
|
|
379 |
if (other.isSetCustomer_mobilenumber()) {
|
|
|
380 |
this.customer_mobilenumber = other.customer_mobilenumber;
|
|
|
381 |
}
|
|
|
382 |
if (other.isSetCustomer_pincode()) {
|
|
|
383 |
this.customer_pincode = other.customer_pincode;
|
|
|
384 |
}
|
| 736 |
chandransh |
385 |
if (other.isSetCustomer_address1()) {
|
|
|
386 |
this.customer_address1 = other.customer_address1;
|
| 483 |
rajveer |
387 |
}
|
| 736 |
chandransh |
388 |
if (other.isSetCustomer_address2()) {
|
|
|
389 |
this.customer_address2 = other.customer_address2;
|
|
|
390 |
}
|
| 483 |
rajveer |
391 |
if (other.isSetCustomer_email()) {
|
|
|
392 |
this.customer_email = other.customer_email;
|
|
|
393 |
}
|
| 736 |
chandransh |
394 |
if (other.isSetCustomer_city()) {
|
|
|
395 |
this.customer_city = other.customer_city;
|
|
|
396 |
}
|
|
|
397 |
if (other.isSetCustomer_state()) {
|
|
|
398 |
this.customer_state = other.customer_state;
|
|
|
399 |
}
|
| 483 |
rajveer |
400 |
if (other.isSetStatus()) {
|
|
|
401 |
this.status = other.status;
|
|
|
402 |
}
|
|
|
403 |
if (other.isSetStatusDescription()) {
|
|
|
404 |
this.statusDescription = other.statusDescription;
|
|
|
405 |
}
|
|
|
406 |
this.total_amount = other.total_amount;
|
|
|
407 |
this.total_weight = other.total_weight;
|
|
|
408 |
if (other.isSetInvoice_number()) {
|
|
|
409 |
this.invoice_number = other.invoice_number;
|
|
|
410 |
}
|
|
|
411 |
if (other.isSetBilled_by()) {
|
|
|
412 |
this.billed_by = other.billed_by;
|
|
|
413 |
}
|
|
|
414 |
this.created_timestamp = other.created_timestamp;
|
|
|
415 |
this.accepted_timestamp = other.accepted_timestamp;
|
|
|
416 |
this.billing_timestamp = other.billing_timestamp;
|
|
|
417 |
this.shipping_timestamp = other.shipping_timestamp;
|
|
|
418 |
this.delivery_timestamp = other.delivery_timestamp;
|
| 640 |
chandransh |
419 |
this.jacket_number = other.jacket_number;
|
| 483 |
rajveer |
420 |
}
|
|
|
421 |
|
|
|
422 |
public Order deepCopy() {
|
|
|
423 |
return new Order(this);
|
|
|
424 |
}
|
|
|
425 |
|
|
|
426 |
@Deprecated
|
|
|
427 |
public Order clone() {
|
|
|
428 |
return new Order(this);
|
|
|
429 |
}
|
|
|
430 |
|
|
|
431 |
public long getId() {
|
|
|
432 |
return this.id;
|
|
|
433 |
}
|
|
|
434 |
|
|
|
435 |
public Order setId(long id) {
|
|
|
436 |
this.id = id;
|
|
|
437 |
setIdIsSet(true);
|
|
|
438 |
return this;
|
|
|
439 |
}
|
|
|
440 |
|
|
|
441 |
public void unsetId() {
|
|
|
442 |
__isset_bit_vector.clear(__ID_ISSET_ID);
|
|
|
443 |
}
|
|
|
444 |
|
|
|
445 |
/** Returns true if field id is set (has been asigned a value) and false otherwise */
|
|
|
446 |
public boolean isSetId() {
|
|
|
447 |
return __isset_bit_vector.get(__ID_ISSET_ID);
|
|
|
448 |
}
|
|
|
449 |
|
|
|
450 |
public void setIdIsSet(boolean value) {
|
|
|
451 |
__isset_bit_vector.set(__ID_ISSET_ID, value);
|
|
|
452 |
}
|
|
|
453 |
|
|
|
454 |
public long getWarehouse_id() {
|
|
|
455 |
return this.warehouse_id;
|
|
|
456 |
}
|
|
|
457 |
|
|
|
458 |
public Order setWarehouse_id(long warehouse_id) {
|
|
|
459 |
this.warehouse_id = warehouse_id;
|
|
|
460 |
setWarehouse_idIsSet(true);
|
|
|
461 |
return this;
|
|
|
462 |
}
|
|
|
463 |
|
|
|
464 |
public void unsetWarehouse_id() {
|
|
|
465 |
__isset_bit_vector.clear(__WAREHOUSE_ID_ISSET_ID);
|
|
|
466 |
}
|
|
|
467 |
|
|
|
468 |
/** Returns true if field warehouse_id is set (has been asigned a value) and false otherwise */
|
|
|
469 |
public boolean isSetWarehouse_id() {
|
|
|
470 |
return __isset_bit_vector.get(__WAREHOUSE_ID_ISSET_ID);
|
|
|
471 |
}
|
|
|
472 |
|
|
|
473 |
public void setWarehouse_idIsSet(boolean value) {
|
|
|
474 |
__isset_bit_vector.set(__WAREHOUSE_ID_ISSET_ID, value);
|
|
|
475 |
}
|
|
|
476 |
|
|
|
477 |
public int getLineitemsSize() {
|
|
|
478 |
return (this.lineitems == null) ? 0 : this.lineitems.size();
|
|
|
479 |
}
|
|
|
480 |
|
|
|
481 |
public java.util.Iterator<LineItem> getLineitemsIterator() {
|
|
|
482 |
return (this.lineitems == null) ? null : this.lineitems.iterator();
|
|
|
483 |
}
|
|
|
484 |
|
|
|
485 |
public void addToLineitems(LineItem elem) {
|
|
|
486 |
if (this.lineitems == null) {
|
|
|
487 |
this.lineitems = new ArrayList<LineItem>();
|
|
|
488 |
}
|
|
|
489 |
this.lineitems.add(elem);
|
|
|
490 |
}
|
|
|
491 |
|
|
|
492 |
/**
|
|
|
493 |
* item info
|
|
|
494 |
* *
|
|
|
495 |
*/
|
|
|
496 |
public List<LineItem> getLineitems() {
|
|
|
497 |
return this.lineitems;
|
|
|
498 |
}
|
|
|
499 |
|
|
|
500 |
/**
|
|
|
501 |
* item info
|
|
|
502 |
* *
|
|
|
503 |
*/
|
|
|
504 |
public Order setLineitems(List<LineItem> lineitems) {
|
|
|
505 |
this.lineitems = lineitems;
|
|
|
506 |
return this;
|
|
|
507 |
}
|
|
|
508 |
|
|
|
509 |
public void unsetLineitems() {
|
|
|
510 |
this.lineitems = null;
|
|
|
511 |
}
|
|
|
512 |
|
|
|
513 |
/** Returns true if field lineitems is set (has been asigned a value) and false otherwise */
|
|
|
514 |
public boolean isSetLineitems() {
|
|
|
515 |
return this.lineitems != null;
|
|
|
516 |
}
|
|
|
517 |
|
|
|
518 |
public void setLineitemsIsSet(boolean value) {
|
|
|
519 |
if (!value) {
|
|
|
520 |
this.lineitems = null;
|
|
|
521 |
}
|
|
|
522 |
}
|
|
|
523 |
|
|
|
524 |
/**
|
|
|
525 |
* logistics info
|
|
|
526 |
* *
|
|
|
527 |
*/
|
|
|
528 |
public long getLogistics_provider_id() {
|
|
|
529 |
return this.logistics_provider_id;
|
|
|
530 |
}
|
|
|
531 |
|
|
|
532 |
/**
|
|
|
533 |
* logistics info
|
|
|
534 |
* *
|
|
|
535 |
*/
|
|
|
536 |
public Order setLogistics_provider_id(long logistics_provider_id) {
|
|
|
537 |
this.logistics_provider_id = logistics_provider_id;
|
|
|
538 |
setLogistics_provider_idIsSet(true);
|
|
|
539 |
return this;
|
|
|
540 |
}
|
|
|
541 |
|
|
|
542 |
public void unsetLogistics_provider_id() {
|
|
|
543 |
__isset_bit_vector.clear(__LOGISTICS_PROVIDER_ID_ISSET_ID);
|
|
|
544 |
}
|
|
|
545 |
|
|
|
546 |
/** Returns true if field logistics_provider_id is set (has been asigned a value) and false otherwise */
|
|
|
547 |
public boolean isSetLogistics_provider_id() {
|
|
|
548 |
return __isset_bit_vector.get(__LOGISTICS_PROVIDER_ID_ISSET_ID);
|
|
|
549 |
}
|
|
|
550 |
|
|
|
551 |
public void setLogistics_provider_idIsSet(boolean value) {
|
|
|
552 |
__isset_bit_vector.set(__LOGISTICS_PROVIDER_ID_ISSET_ID, value);
|
|
|
553 |
}
|
|
|
554 |
|
|
|
555 |
public String getAirwaybill_no() {
|
|
|
556 |
return this.airwaybill_no;
|
|
|
557 |
}
|
|
|
558 |
|
|
|
559 |
public Order setAirwaybill_no(String airwaybill_no) {
|
|
|
560 |
this.airwaybill_no = airwaybill_no;
|
|
|
561 |
return this;
|
|
|
562 |
}
|
|
|
563 |
|
|
|
564 |
public void unsetAirwaybill_no() {
|
|
|
565 |
this.airwaybill_no = null;
|
|
|
566 |
}
|
|
|
567 |
|
|
|
568 |
/** Returns true if field airwaybill_no is set (has been asigned a value) and false otherwise */
|
|
|
569 |
public boolean isSetAirwaybill_no() {
|
|
|
570 |
return this.airwaybill_no != null;
|
|
|
571 |
}
|
|
|
572 |
|
|
|
573 |
public void setAirwaybill_noIsSet(boolean value) {
|
|
|
574 |
if (!value) {
|
|
|
575 |
this.airwaybill_no = null;
|
|
|
576 |
}
|
|
|
577 |
}
|
|
|
578 |
|
|
|
579 |
public String getTracking_id() {
|
|
|
580 |
return this.tracking_id;
|
|
|
581 |
}
|
|
|
582 |
|
|
|
583 |
public Order setTracking_id(String tracking_id) {
|
|
|
584 |
this.tracking_id = tracking_id;
|
|
|
585 |
return this;
|
|
|
586 |
}
|
|
|
587 |
|
|
|
588 |
public void unsetTracking_id() {
|
|
|
589 |
this.tracking_id = null;
|
|
|
590 |
}
|
|
|
591 |
|
|
|
592 |
/** Returns true if field tracking_id is set (has been asigned a value) and false otherwise */
|
|
|
593 |
public boolean isSetTracking_id() {
|
|
|
594 |
return this.tracking_id != null;
|
|
|
595 |
}
|
|
|
596 |
|
|
|
597 |
public void setTracking_idIsSet(boolean value) {
|
|
|
598 |
if (!value) {
|
|
|
599 |
this.tracking_id = null;
|
|
|
600 |
}
|
|
|
601 |
}
|
|
|
602 |
|
|
|
603 |
public long getExpected_delivery_time() {
|
|
|
604 |
return this.expected_delivery_time;
|
|
|
605 |
}
|
|
|
606 |
|
|
|
607 |
public Order setExpected_delivery_time(long expected_delivery_time) {
|
|
|
608 |
this.expected_delivery_time = expected_delivery_time;
|
|
|
609 |
setExpected_delivery_timeIsSet(true);
|
|
|
610 |
return this;
|
|
|
611 |
}
|
|
|
612 |
|
|
|
613 |
public void unsetExpected_delivery_time() {
|
|
|
614 |
__isset_bit_vector.clear(__EXPECTED_DELIVERY_TIME_ISSET_ID);
|
|
|
615 |
}
|
|
|
616 |
|
|
|
617 |
/** Returns true if field expected_delivery_time is set (has been asigned a value) and false otherwise */
|
|
|
618 |
public boolean isSetExpected_delivery_time() {
|
|
|
619 |
return __isset_bit_vector.get(__EXPECTED_DELIVERY_TIME_ISSET_ID);
|
|
|
620 |
}
|
|
|
621 |
|
|
|
622 |
public void setExpected_delivery_timeIsSet(boolean value) {
|
|
|
623 |
__isset_bit_vector.set(__EXPECTED_DELIVERY_TIME_ISSET_ID, value);
|
|
|
624 |
}
|
|
|
625 |
|
|
|
626 |
/**
|
|
|
627 |
* customer info
|
|
|
628 |
* *
|
|
|
629 |
*/
|
|
|
630 |
public long getCustomer_id() {
|
|
|
631 |
return this.customer_id;
|
|
|
632 |
}
|
|
|
633 |
|
|
|
634 |
/**
|
|
|
635 |
* customer info
|
|
|
636 |
* *
|
|
|
637 |
*/
|
|
|
638 |
public Order setCustomer_id(long customer_id) {
|
|
|
639 |
this.customer_id = customer_id;
|
|
|
640 |
setCustomer_idIsSet(true);
|
|
|
641 |
return this;
|
|
|
642 |
}
|
|
|
643 |
|
|
|
644 |
public void unsetCustomer_id() {
|
|
|
645 |
__isset_bit_vector.clear(__CUSTOMER_ID_ISSET_ID);
|
|
|
646 |
}
|
|
|
647 |
|
|
|
648 |
/** Returns true if field customer_id is set (has been asigned a value) and false otherwise */
|
|
|
649 |
public boolean isSetCustomer_id() {
|
|
|
650 |
return __isset_bit_vector.get(__CUSTOMER_ID_ISSET_ID);
|
|
|
651 |
}
|
|
|
652 |
|
|
|
653 |
public void setCustomer_idIsSet(boolean value) {
|
|
|
654 |
__isset_bit_vector.set(__CUSTOMER_ID_ISSET_ID, value);
|
|
|
655 |
}
|
|
|
656 |
|
|
|
657 |
public String getCustomer_name() {
|
|
|
658 |
return this.customer_name;
|
|
|
659 |
}
|
|
|
660 |
|
|
|
661 |
public Order setCustomer_name(String customer_name) {
|
|
|
662 |
this.customer_name = customer_name;
|
|
|
663 |
return this;
|
|
|
664 |
}
|
|
|
665 |
|
|
|
666 |
public void unsetCustomer_name() {
|
|
|
667 |
this.customer_name = null;
|
|
|
668 |
}
|
|
|
669 |
|
|
|
670 |
/** Returns true if field customer_name is set (has been asigned a value) and false otherwise */
|
|
|
671 |
public boolean isSetCustomer_name() {
|
|
|
672 |
return this.customer_name != null;
|
|
|
673 |
}
|
|
|
674 |
|
|
|
675 |
public void setCustomer_nameIsSet(boolean value) {
|
|
|
676 |
if (!value) {
|
|
|
677 |
this.customer_name = null;
|
|
|
678 |
}
|
|
|
679 |
}
|
|
|
680 |
|
|
|
681 |
public String getCustomer_mobilenumber() {
|
|
|
682 |
return this.customer_mobilenumber;
|
|
|
683 |
}
|
|
|
684 |
|
|
|
685 |
public Order setCustomer_mobilenumber(String customer_mobilenumber) {
|
|
|
686 |
this.customer_mobilenumber = customer_mobilenumber;
|
|
|
687 |
return this;
|
|
|
688 |
}
|
|
|
689 |
|
|
|
690 |
public void unsetCustomer_mobilenumber() {
|
|
|
691 |
this.customer_mobilenumber = null;
|
|
|
692 |
}
|
|
|
693 |
|
|
|
694 |
/** Returns true if field customer_mobilenumber is set (has been asigned a value) and false otherwise */
|
|
|
695 |
public boolean isSetCustomer_mobilenumber() {
|
|
|
696 |
return this.customer_mobilenumber != null;
|
|
|
697 |
}
|
|
|
698 |
|
|
|
699 |
public void setCustomer_mobilenumberIsSet(boolean value) {
|
|
|
700 |
if (!value) {
|
|
|
701 |
this.customer_mobilenumber = null;
|
|
|
702 |
}
|
|
|
703 |
}
|
|
|
704 |
|
|
|
705 |
public String getCustomer_pincode() {
|
|
|
706 |
return this.customer_pincode;
|
|
|
707 |
}
|
|
|
708 |
|
|
|
709 |
public Order setCustomer_pincode(String customer_pincode) {
|
|
|
710 |
this.customer_pincode = customer_pincode;
|
|
|
711 |
return this;
|
|
|
712 |
}
|
|
|
713 |
|
|
|
714 |
public void unsetCustomer_pincode() {
|
|
|
715 |
this.customer_pincode = null;
|
|
|
716 |
}
|
|
|
717 |
|
|
|
718 |
/** Returns true if field customer_pincode is set (has been asigned a value) and false otherwise */
|
|
|
719 |
public boolean isSetCustomer_pincode() {
|
|
|
720 |
return this.customer_pincode != null;
|
|
|
721 |
}
|
|
|
722 |
|
|
|
723 |
public void setCustomer_pincodeIsSet(boolean value) {
|
|
|
724 |
if (!value) {
|
|
|
725 |
this.customer_pincode = null;
|
|
|
726 |
}
|
|
|
727 |
}
|
|
|
728 |
|
| 736 |
chandransh |
729 |
public String getCustomer_address1() {
|
|
|
730 |
return this.customer_address1;
|
| 483 |
rajveer |
731 |
}
|
|
|
732 |
|
| 736 |
chandransh |
733 |
public Order setCustomer_address1(String customer_address1) {
|
|
|
734 |
this.customer_address1 = customer_address1;
|
| 483 |
rajveer |
735 |
return this;
|
|
|
736 |
}
|
|
|
737 |
|
| 736 |
chandransh |
738 |
public void unsetCustomer_address1() {
|
|
|
739 |
this.customer_address1 = null;
|
| 483 |
rajveer |
740 |
}
|
|
|
741 |
|
| 736 |
chandransh |
742 |
/** Returns true if field customer_address1 is set (has been asigned a value) and false otherwise */
|
|
|
743 |
public boolean isSetCustomer_address1() {
|
|
|
744 |
return this.customer_address1 != null;
|
| 483 |
rajveer |
745 |
}
|
|
|
746 |
|
| 736 |
chandransh |
747 |
public void setCustomer_address1IsSet(boolean value) {
|
| 483 |
rajveer |
748 |
if (!value) {
|
| 736 |
chandransh |
749 |
this.customer_address1 = null;
|
| 483 |
rajveer |
750 |
}
|
|
|
751 |
}
|
|
|
752 |
|
| 736 |
chandransh |
753 |
public String getCustomer_address2() {
|
|
|
754 |
return this.customer_address2;
|
|
|
755 |
}
|
|
|
756 |
|
|
|
757 |
public Order setCustomer_address2(String customer_address2) {
|
|
|
758 |
this.customer_address2 = customer_address2;
|
|
|
759 |
return this;
|
|
|
760 |
}
|
|
|
761 |
|
|
|
762 |
public void unsetCustomer_address2() {
|
|
|
763 |
this.customer_address2 = null;
|
|
|
764 |
}
|
|
|
765 |
|
|
|
766 |
/** Returns true if field customer_address2 is set (has been asigned a value) and false otherwise */
|
|
|
767 |
public boolean isSetCustomer_address2() {
|
|
|
768 |
return this.customer_address2 != null;
|
|
|
769 |
}
|
|
|
770 |
|
|
|
771 |
public void setCustomer_address2IsSet(boolean value) {
|
|
|
772 |
if (!value) {
|
|
|
773 |
this.customer_address2 = null;
|
|
|
774 |
}
|
|
|
775 |
}
|
|
|
776 |
|
| 483 |
rajveer |
777 |
public String getCustomer_email() {
|
|
|
778 |
return this.customer_email;
|
|
|
779 |
}
|
|
|
780 |
|
|
|
781 |
public Order setCustomer_email(String customer_email) {
|
|
|
782 |
this.customer_email = customer_email;
|
|
|
783 |
return this;
|
|
|
784 |
}
|
|
|
785 |
|
|
|
786 |
public void unsetCustomer_email() {
|
|
|
787 |
this.customer_email = null;
|
|
|
788 |
}
|
|
|
789 |
|
|
|
790 |
/** Returns true if field customer_email is set (has been asigned a value) and false otherwise */
|
|
|
791 |
public boolean isSetCustomer_email() {
|
|
|
792 |
return this.customer_email != null;
|
|
|
793 |
}
|
|
|
794 |
|
|
|
795 |
public void setCustomer_emailIsSet(boolean value) {
|
|
|
796 |
if (!value) {
|
|
|
797 |
this.customer_email = null;
|
|
|
798 |
}
|
|
|
799 |
}
|
|
|
800 |
|
| 736 |
chandransh |
801 |
public String getCustomer_city() {
|
|
|
802 |
return this.customer_city;
|
|
|
803 |
}
|
|
|
804 |
|
|
|
805 |
public Order setCustomer_city(String customer_city) {
|
|
|
806 |
this.customer_city = customer_city;
|
|
|
807 |
return this;
|
|
|
808 |
}
|
|
|
809 |
|
|
|
810 |
public void unsetCustomer_city() {
|
|
|
811 |
this.customer_city = null;
|
|
|
812 |
}
|
|
|
813 |
|
|
|
814 |
/** Returns true if field customer_city is set (has been asigned a value) and false otherwise */
|
|
|
815 |
public boolean isSetCustomer_city() {
|
|
|
816 |
return this.customer_city != null;
|
|
|
817 |
}
|
|
|
818 |
|
|
|
819 |
public void setCustomer_cityIsSet(boolean value) {
|
|
|
820 |
if (!value) {
|
|
|
821 |
this.customer_city = null;
|
|
|
822 |
}
|
|
|
823 |
}
|
|
|
824 |
|
|
|
825 |
public String getCustomer_state() {
|
|
|
826 |
return this.customer_state;
|
|
|
827 |
}
|
|
|
828 |
|
|
|
829 |
public Order setCustomer_state(String customer_state) {
|
|
|
830 |
this.customer_state = customer_state;
|
|
|
831 |
return this;
|
|
|
832 |
}
|
|
|
833 |
|
|
|
834 |
public void unsetCustomer_state() {
|
|
|
835 |
this.customer_state = null;
|
|
|
836 |
}
|
|
|
837 |
|
|
|
838 |
/** Returns true if field customer_state is set (has been asigned a value) and false otherwise */
|
|
|
839 |
public boolean isSetCustomer_state() {
|
|
|
840 |
return this.customer_state != null;
|
|
|
841 |
}
|
|
|
842 |
|
|
|
843 |
public void setCustomer_stateIsSet(boolean value) {
|
|
|
844 |
if (!value) {
|
|
|
845 |
this.customer_state = null;
|
|
|
846 |
}
|
|
|
847 |
}
|
|
|
848 |
|
| 483 |
rajveer |
849 |
/**
|
|
|
850 |
* status and misc info
|
|
|
851 |
* *
|
|
|
852 |
*
|
|
|
853 |
* @see OrderStatus
|
|
|
854 |
*/
|
|
|
855 |
public OrderStatus getStatus() {
|
|
|
856 |
return this.status;
|
|
|
857 |
}
|
|
|
858 |
|
|
|
859 |
/**
|
|
|
860 |
* status and misc info
|
|
|
861 |
* *
|
|
|
862 |
*
|
|
|
863 |
* @see OrderStatus
|
|
|
864 |
*/
|
|
|
865 |
public Order setStatus(OrderStatus status) {
|
|
|
866 |
this.status = status;
|
|
|
867 |
return this;
|
|
|
868 |
}
|
|
|
869 |
|
|
|
870 |
public void unsetStatus() {
|
|
|
871 |
this.status = null;
|
|
|
872 |
}
|
|
|
873 |
|
|
|
874 |
/** Returns true if field status is set (has been asigned a value) and false otherwise */
|
|
|
875 |
public boolean isSetStatus() {
|
|
|
876 |
return this.status != null;
|
|
|
877 |
}
|
|
|
878 |
|
|
|
879 |
public void setStatusIsSet(boolean value) {
|
|
|
880 |
if (!value) {
|
|
|
881 |
this.status = null;
|
|
|
882 |
}
|
|
|
883 |
}
|
|
|
884 |
|
|
|
885 |
public String getStatusDescription() {
|
|
|
886 |
return this.statusDescription;
|
|
|
887 |
}
|
|
|
888 |
|
|
|
889 |
public Order setStatusDescription(String statusDescription) {
|
|
|
890 |
this.statusDescription = statusDescription;
|
|
|
891 |
return this;
|
|
|
892 |
}
|
|
|
893 |
|
|
|
894 |
public void unsetStatusDescription() {
|
|
|
895 |
this.statusDescription = null;
|
|
|
896 |
}
|
|
|
897 |
|
|
|
898 |
/** Returns true if field statusDescription is set (has been asigned a value) and false otherwise */
|
|
|
899 |
public boolean isSetStatusDescription() {
|
|
|
900 |
return this.statusDescription != null;
|
|
|
901 |
}
|
|
|
902 |
|
|
|
903 |
public void setStatusDescriptionIsSet(boolean value) {
|
|
|
904 |
if (!value) {
|
|
|
905 |
this.statusDescription = null;
|
|
|
906 |
}
|
|
|
907 |
}
|
|
|
908 |
|
|
|
909 |
public double getTotal_amount() {
|
|
|
910 |
return this.total_amount;
|
|
|
911 |
}
|
|
|
912 |
|
|
|
913 |
public Order setTotal_amount(double total_amount) {
|
|
|
914 |
this.total_amount = total_amount;
|
|
|
915 |
setTotal_amountIsSet(true);
|
|
|
916 |
return this;
|
|
|
917 |
}
|
|
|
918 |
|
|
|
919 |
public void unsetTotal_amount() {
|
|
|
920 |
__isset_bit_vector.clear(__TOTAL_AMOUNT_ISSET_ID);
|
|
|
921 |
}
|
|
|
922 |
|
|
|
923 |
/** Returns true if field total_amount is set (has been asigned a value) and false otherwise */
|
|
|
924 |
public boolean isSetTotal_amount() {
|
|
|
925 |
return __isset_bit_vector.get(__TOTAL_AMOUNT_ISSET_ID);
|
|
|
926 |
}
|
|
|
927 |
|
|
|
928 |
public void setTotal_amountIsSet(boolean value) {
|
|
|
929 |
__isset_bit_vector.set(__TOTAL_AMOUNT_ISSET_ID, value);
|
|
|
930 |
}
|
|
|
931 |
|
|
|
932 |
public double getTotal_weight() {
|
|
|
933 |
return this.total_weight;
|
|
|
934 |
}
|
|
|
935 |
|
|
|
936 |
public Order setTotal_weight(double total_weight) {
|
|
|
937 |
this.total_weight = total_weight;
|
|
|
938 |
setTotal_weightIsSet(true);
|
|
|
939 |
return this;
|
|
|
940 |
}
|
|
|
941 |
|
|
|
942 |
public void unsetTotal_weight() {
|
|
|
943 |
__isset_bit_vector.clear(__TOTAL_WEIGHT_ISSET_ID);
|
|
|
944 |
}
|
|
|
945 |
|
|
|
946 |
/** Returns true if field total_weight is set (has been asigned a value) and false otherwise */
|
|
|
947 |
public boolean isSetTotal_weight() {
|
|
|
948 |
return __isset_bit_vector.get(__TOTAL_WEIGHT_ISSET_ID);
|
|
|
949 |
}
|
|
|
950 |
|
|
|
951 |
public void setTotal_weightIsSet(boolean value) {
|
|
|
952 |
__isset_bit_vector.set(__TOTAL_WEIGHT_ISSET_ID, value);
|
|
|
953 |
}
|
|
|
954 |
|
|
|
955 |
/**
|
|
|
956 |
* billing info
|
|
|
957 |
* *
|
|
|
958 |
*/
|
|
|
959 |
public String getInvoice_number() {
|
|
|
960 |
return this.invoice_number;
|
|
|
961 |
}
|
|
|
962 |
|
|
|
963 |
/**
|
|
|
964 |
* billing info
|
|
|
965 |
* *
|
|
|
966 |
*/
|
|
|
967 |
public Order setInvoice_number(String invoice_number) {
|
|
|
968 |
this.invoice_number = invoice_number;
|
|
|
969 |
return this;
|
|
|
970 |
}
|
|
|
971 |
|
|
|
972 |
public void unsetInvoice_number() {
|
|
|
973 |
this.invoice_number = null;
|
|
|
974 |
}
|
|
|
975 |
|
|
|
976 |
/** Returns true if field invoice_number is set (has been asigned a value) and false otherwise */
|
|
|
977 |
public boolean isSetInvoice_number() {
|
|
|
978 |
return this.invoice_number != null;
|
|
|
979 |
}
|
|
|
980 |
|
|
|
981 |
public void setInvoice_numberIsSet(boolean value) {
|
|
|
982 |
if (!value) {
|
|
|
983 |
this.invoice_number = null;
|
|
|
984 |
}
|
|
|
985 |
}
|
|
|
986 |
|
|
|
987 |
public String getBilled_by() {
|
|
|
988 |
return this.billed_by;
|
|
|
989 |
}
|
|
|
990 |
|
|
|
991 |
public Order setBilled_by(String billed_by) {
|
|
|
992 |
this.billed_by = billed_by;
|
|
|
993 |
return this;
|
|
|
994 |
}
|
|
|
995 |
|
|
|
996 |
public void unsetBilled_by() {
|
|
|
997 |
this.billed_by = null;
|
|
|
998 |
}
|
|
|
999 |
|
|
|
1000 |
/** Returns true if field billed_by is set (has been asigned a value) and false otherwise */
|
|
|
1001 |
public boolean isSetBilled_by() {
|
|
|
1002 |
return this.billed_by != null;
|
|
|
1003 |
}
|
|
|
1004 |
|
|
|
1005 |
public void setBilled_byIsSet(boolean value) {
|
|
|
1006 |
if (!value) {
|
|
|
1007 |
this.billed_by = null;
|
|
|
1008 |
}
|
|
|
1009 |
}
|
|
|
1010 |
|
|
|
1011 |
/**
|
|
|
1012 |
* timestamps
|
|
|
1013 |
* *
|
|
|
1014 |
*/
|
|
|
1015 |
public long getCreated_timestamp() {
|
|
|
1016 |
return this.created_timestamp;
|
|
|
1017 |
}
|
|
|
1018 |
|
|
|
1019 |
/**
|
|
|
1020 |
* timestamps
|
|
|
1021 |
* *
|
|
|
1022 |
*/
|
|
|
1023 |
public Order setCreated_timestamp(long created_timestamp) {
|
|
|
1024 |
this.created_timestamp = created_timestamp;
|
|
|
1025 |
setCreated_timestampIsSet(true);
|
|
|
1026 |
return this;
|
|
|
1027 |
}
|
|
|
1028 |
|
|
|
1029 |
public void unsetCreated_timestamp() {
|
|
|
1030 |
__isset_bit_vector.clear(__CREATED_TIMESTAMP_ISSET_ID);
|
|
|
1031 |
}
|
|
|
1032 |
|
|
|
1033 |
/** Returns true if field created_timestamp is set (has been asigned a value) and false otherwise */
|
|
|
1034 |
public boolean isSetCreated_timestamp() {
|
|
|
1035 |
return __isset_bit_vector.get(__CREATED_TIMESTAMP_ISSET_ID);
|
|
|
1036 |
}
|
|
|
1037 |
|
|
|
1038 |
public void setCreated_timestampIsSet(boolean value) {
|
|
|
1039 |
__isset_bit_vector.set(__CREATED_TIMESTAMP_ISSET_ID, value);
|
|
|
1040 |
}
|
|
|
1041 |
|
|
|
1042 |
public long getAccepted_timestamp() {
|
|
|
1043 |
return this.accepted_timestamp;
|
|
|
1044 |
}
|
|
|
1045 |
|
|
|
1046 |
public Order setAccepted_timestamp(long accepted_timestamp) {
|
|
|
1047 |
this.accepted_timestamp = accepted_timestamp;
|
|
|
1048 |
setAccepted_timestampIsSet(true);
|
|
|
1049 |
return this;
|
|
|
1050 |
}
|
|
|
1051 |
|
|
|
1052 |
public void unsetAccepted_timestamp() {
|
|
|
1053 |
__isset_bit_vector.clear(__ACCEPTED_TIMESTAMP_ISSET_ID);
|
|
|
1054 |
}
|
|
|
1055 |
|
|
|
1056 |
/** Returns true if field accepted_timestamp is set (has been asigned a value) and false otherwise */
|
|
|
1057 |
public boolean isSetAccepted_timestamp() {
|
|
|
1058 |
return __isset_bit_vector.get(__ACCEPTED_TIMESTAMP_ISSET_ID);
|
|
|
1059 |
}
|
|
|
1060 |
|
|
|
1061 |
public void setAccepted_timestampIsSet(boolean value) {
|
|
|
1062 |
__isset_bit_vector.set(__ACCEPTED_TIMESTAMP_ISSET_ID, value);
|
|
|
1063 |
}
|
|
|
1064 |
|
|
|
1065 |
public long getBilling_timestamp() {
|
|
|
1066 |
return this.billing_timestamp;
|
|
|
1067 |
}
|
|
|
1068 |
|
|
|
1069 |
public Order setBilling_timestamp(long billing_timestamp) {
|
|
|
1070 |
this.billing_timestamp = billing_timestamp;
|
|
|
1071 |
setBilling_timestampIsSet(true);
|
|
|
1072 |
return this;
|
|
|
1073 |
}
|
|
|
1074 |
|
|
|
1075 |
public void unsetBilling_timestamp() {
|
|
|
1076 |
__isset_bit_vector.clear(__BILLING_TIMESTAMP_ISSET_ID);
|
|
|
1077 |
}
|
|
|
1078 |
|
|
|
1079 |
/** Returns true if field billing_timestamp is set (has been asigned a value) and false otherwise */
|
|
|
1080 |
public boolean isSetBilling_timestamp() {
|
|
|
1081 |
return __isset_bit_vector.get(__BILLING_TIMESTAMP_ISSET_ID);
|
|
|
1082 |
}
|
|
|
1083 |
|
|
|
1084 |
public void setBilling_timestampIsSet(boolean value) {
|
|
|
1085 |
__isset_bit_vector.set(__BILLING_TIMESTAMP_ISSET_ID, value);
|
|
|
1086 |
}
|
|
|
1087 |
|
|
|
1088 |
public long getShipping_timestamp() {
|
|
|
1089 |
return this.shipping_timestamp;
|
|
|
1090 |
}
|
|
|
1091 |
|
|
|
1092 |
public Order setShipping_timestamp(long shipping_timestamp) {
|
|
|
1093 |
this.shipping_timestamp = shipping_timestamp;
|
|
|
1094 |
setShipping_timestampIsSet(true);
|
|
|
1095 |
return this;
|
|
|
1096 |
}
|
|
|
1097 |
|
|
|
1098 |
public void unsetShipping_timestamp() {
|
|
|
1099 |
__isset_bit_vector.clear(__SHIPPING_TIMESTAMP_ISSET_ID);
|
|
|
1100 |
}
|
|
|
1101 |
|
|
|
1102 |
/** Returns true if field shipping_timestamp is set (has been asigned a value) and false otherwise */
|
|
|
1103 |
public boolean isSetShipping_timestamp() {
|
|
|
1104 |
return __isset_bit_vector.get(__SHIPPING_TIMESTAMP_ISSET_ID);
|
|
|
1105 |
}
|
|
|
1106 |
|
|
|
1107 |
public void setShipping_timestampIsSet(boolean value) {
|
|
|
1108 |
__isset_bit_vector.set(__SHIPPING_TIMESTAMP_ISSET_ID, value);
|
|
|
1109 |
}
|
|
|
1110 |
|
|
|
1111 |
public long getDelivery_timestamp() {
|
|
|
1112 |
return this.delivery_timestamp;
|
|
|
1113 |
}
|
|
|
1114 |
|
|
|
1115 |
public Order setDelivery_timestamp(long delivery_timestamp) {
|
|
|
1116 |
this.delivery_timestamp = delivery_timestamp;
|
|
|
1117 |
setDelivery_timestampIsSet(true);
|
|
|
1118 |
return this;
|
|
|
1119 |
}
|
|
|
1120 |
|
|
|
1121 |
public void unsetDelivery_timestamp() {
|
|
|
1122 |
__isset_bit_vector.clear(__DELIVERY_TIMESTAMP_ISSET_ID);
|
|
|
1123 |
}
|
|
|
1124 |
|
|
|
1125 |
/** Returns true if field delivery_timestamp is set (has been asigned a value) and false otherwise */
|
|
|
1126 |
public boolean isSetDelivery_timestamp() {
|
|
|
1127 |
return __isset_bit_vector.get(__DELIVERY_TIMESTAMP_ISSET_ID);
|
|
|
1128 |
}
|
|
|
1129 |
|
|
|
1130 |
public void setDelivery_timestampIsSet(boolean value) {
|
|
|
1131 |
__isset_bit_vector.set(__DELIVERY_TIMESTAMP_ISSET_ID, value);
|
|
|
1132 |
}
|
|
|
1133 |
|
| 640 |
chandransh |
1134 |
public long getJacket_number() {
|
|
|
1135 |
return this.jacket_number;
|
|
|
1136 |
}
|
|
|
1137 |
|
|
|
1138 |
public Order setJacket_number(long jacket_number) {
|
|
|
1139 |
this.jacket_number = jacket_number;
|
|
|
1140 |
setJacket_numberIsSet(true);
|
|
|
1141 |
return this;
|
|
|
1142 |
}
|
|
|
1143 |
|
|
|
1144 |
public void unsetJacket_number() {
|
|
|
1145 |
__isset_bit_vector.clear(__JACKET_NUMBER_ISSET_ID);
|
|
|
1146 |
}
|
|
|
1147 |
|
|
|
1148 |
/** Returns true if field jacket_number is set (has been asigned a value) and false otherwise */
|
|
|
1149 |
public boolean isSetJacket_number() {
|
|
|
1150 |
return __isset_bit_vector.get(__JACKET_NUMBER_ISSET_ID);
|
|
|
1151 |
}
|
|
|
1152 |
|
|
|
1153 |
public void setJacket_numberIsSet(boolean value) {
|
|
|
1154 |
__isset_bit_vector.set(__JACKET_NUMBER_ISSET_ID, value);
|
|
|
1155 |
}
|
|
|
1156 |
|
| 483 |
rajveer |
1157 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
1158 |
switch (field) {
|
|
|
1159 |
case ID:
|
|
|
1160 |
if (value == null) {
|
|
|
1161 |
unsetId();
|
|
|
1162 |
} else {
|
|
|
1163 |
setId((Long)value);
|
|
|
1164 |
}
|
|
|
1165 |
break;
|
|
|
1166 |
|
|
|
1167 |
case WAREHOUSE_ID:
|
|
|
1168 |
if (value == null) {
|
|
|
1169 |
unsetWarehouse_id();
|
|
|
1170 |
} else {
|
|
|
1171 |
setWarehouse_id((Long)value);
|
|
|
1172 |
}
|
|
|
1173 |
break;
|
|
|
1174 |
|
|
|
1175 |
case LINEITEMS:
|
|
|
1176 |
if (value == null) {
|
|
|
1177 |
unsetLineitems();
|
|
|
1178 |
} else {
|
|
|
1179 |
setLineitems((List<LineItem>)value);
|
|
|
1180 |
}
|
|
|
1181 |
break;
|
|
|
1182 |
|
|
|
1183 |
case LOGISTICS_PROVIDER_ID:
|
|
|
1184 |
if (value == null) {
|
|
|
1185 |
unsetLogistics_provider_id();
|
|
|
1186 |
} else {
|
|
|
1187 |
setLogistics_provider_id((Long)value);
|
|
|
1188 |
}
|
|
|
1189 |
break;
|
|
|
1190 |
|
|
|
1191 |
case AIRWAYBILL_NO:
|
|
|
1192 |
if (value == null) {
|
|
|
1193 |
unsetAirwaybill_no();
|
|
|
1194 |
} else {
|
|
|
1195 |
setAirwaybill_no((String)value);
|
|
|
1196 |
}
|
|
|
1197 |
break;
|
|
|
1198 |
|
|
|
1199 |
case TRACKING_ID:
|
|
|
1200 |
if (value == null) {
|
|
|
1201 |
unsetTracking_id();
|
|
|
1202 |
} else {
|
|
|
1203 |
setTracking_id((String)value);
|
|
|
1204 |
}
|
|
|
1205 |
break;
|
|
|
1206 |
|
|
|
1207 |
case EXPECTED_DELIVERY_TIME:
|
|
|
1208 |
if (value == null) {
|
|
|
1209 |
unsetExpected_delivery_time();
|
|
|
1210 |
} else {
|
|
|
1211 |
setExpected_delivery_time((Long)value);
|
|
|
1212 |
}
|
|
|
1213 |
break;
|
|
|
1214 |
|
|
|
1215 |
case CUSTOMER_ID:
|
|
|
1216 |
if (value == null) {
|
|
|
1217 |
unsetCustomer_id();
|
|
|
1218 |
} else {
|
|
|
1219 |
setCustomer_id((Long)value);
|
|
|
1220 |
}
|
|
|
1221 |
break;
|
|
|
1222 |
|
|
|
1223 |
case CUSTOMER_NAME:
|
|
|
1224 |
if (value == null) {
|
|
|
1225 |
unsetCustomer_name();
|
|
|
1226 |
} else {
|
|
|
1227 |
setCustomer_name((String)value);
|
|
|
1228 |
}
|
|
|
1229 |
break;
|
|
|
1230 |
|
|
|
1231 |
case CUSTOMER_MOBILENUMBER:
|
|
|
1232 |
if (value == null) {
|
|
|
1233 |
unsetCustomer_mobilenumber();
|
|
|
1234 |
} else {
|
|
|
1235 |
setCustomer_mobilenumber((String)value);
|
|
|
1236 |
}
|
|
|
1237 |
break;
|
|
|
1238 |
|
|
|
1239 |
case CUSTOMER_PINCODE:
|
|
|
1240 |
if (value == null) {
|
|
|
1241 |
unsetCustomer_pincode();
|
|
|
1242 |
} else {
|
|
|
1243 |
setCustomer_pincode((String)value);
|
|
|
1244 |
}
|
|
|
1245 |
break;
|
|
|
1246 |
|
| 736 |
chandransh |
1247 |
case CUSTOMER_ADDRESS1:
|
| 483 |
rajveer |
1248 |
if (value == null) {
|
| 736 |
chandransh |
1249 |
unsetCustomer_address1();
|
| 483 |
rajveer |
1250 |
} else {
|
| 736 |
chandransh |
1251 |
setCustomer_address1((String)value);
|
| 483 |
rajveer |
1252 |
}
|
|
|
1253 |
break;
|
|
|
1254 |
|
| 736 |
chandransh |
1255 |
case CUSTOMER_ADDRESS2:
|
|
|
1256 |
if (value == null) {
|
|
|
1257 |
unsetCustomer_address2();
|
|
|
1258 |
} else {
|
|
|
1259 |
setCustomer_address2((String)value);
|
|
|
1260 |
}
|
|
|
1261 |
break;
|
|
|
1262 |
|
| 483 |
rajveer |
1263 |
case CUSTOMER_EMAIL:
|
|
|
1264 |
if (value == null) {
|
|
|
1265 |
unsetCustomer_email();
|
|
|
1266 |
} else {
|
|
|
1267 |
setCustomer_email((String)value);
|
|
|
1268 |
}
|
|
|
1269 |
break;
|
|
|
1270 |
|
| 736 |
chandransh |
1271 |
case CUSTOMER_CITY:
|
|
|
1272 |
if (value == null) {
|
|
|
1273 |
unsetCustomer_city();
|
|
|
1274 |
} else {
|
|
|
1275 |
setCustomer_city((String)value);
|
|
|
1276 |
}
|
|
|
1277 |
break;
|
|
|
1278 |
|
|
|
1279 |
case CUSTOMER_STATE:
|
|
|
1280 |
if (value == null) {
|
|
|
1281 |
unsetCustomer_state();
|
|
|
1282 |
} else {
|
|
|
1283 |
setCustomer_state((String)value);
|
|
|
1284 |
}
|
|
|
1285 |
break;
|
|
|
1286 |
|
| 483 |
rajveer |
1287 |
case STATUS:
|
|
|
1288 |
if (value == null) {
|
|
|
1289 |
unsetStatus();
|
|
|
1290 |
} else {
|
|
|
1291 |
setStatus((OrderStatus)value);
|
|
|
1292 |
}
|
|
|
1293 |
break;
|
|
|
1294 |
|
|
|
1295 |
case STATUS_DESCRIPTION:
|
|
|
1296 |
if (value == null) {
|
|
|
1297 |
unsetStatusDescription();
|
|
|
1298 |
} else {
|
|
|
1299 |
setStatusDescription((String)value);
|
|
|
1300 |
}
|
|
|
1301 |
break;
|
|
|
1302 |
|
|
|
1303 |
case TOTAL_AMOUNT:
|
|
|
1304 |
if (value == null) {
|
|
|
1305 |
unsetTotal_amount();
|
|
|
1306 |
} else {
|
|
|
1307 |
setTotal_amount((Double)value);
|
|
|
1308 |
}
|
|
|
1309 |
break;
|
|
|
1310 |
|
|
|
1311 |
case TOTAL_WEIGHT:
|
|
|
1312 |
if (value == null) {
|
|
|
1313 |
unsetTotal_weight();
|
|
|
1314 |
} else {
|
|
|
1315 |
setTotal_weight((Double)value);
|
|
|
1316 |
}
|
|
|
1317 |
break;
|
|
|
1318 |
|
|
|
1319 |
case INVOICE_NUMBER:
|
|
|
1320 |
if (value == null) {
|
|
|
1321 |
unsetInvoice_number();
|
|
|
1322 |
} else {
|
|
|
1323 |
setInvoice_number((String)value);
|
|
|
1324 |
}
|
|
|
1325 |
break;
|
|
|
1326 |
|
|
|
1327 |
case BILLED_BY:
|
|
|
1328 |
if (value == null) {
|
|
|
1329 |
unsetBilled_by();
|
|
|
1330 |
} else {
|
|
|
1331 |
setBilled_by((String)value);
|
|
|
1332 |
}
|
|
|
1333 |
break;
|
|
|
1334 |
|
|
|
1335 |
case CREATED_TIMESTAMP:
|
|
|
1336 |
if (value == null) {
|
|
|
1337 |
unsetCreated_timestamp();
|
|
|
1338 |
} else {
|
|
|
1339 |
setCreated_timestamp((Long)value);
|
|
|
1340 |
}
|
|
|
1341 |
break;
|
|
|
1342 |
|
|
|
1343 |
case ACCEPTED_TIMESTAMP:
|
|
|
1344 |
if (value == null) {
|
|
|
1345 |
unsetAccepted_timestamp();
|
|
|
1346 |
} else {
|
|
|
1347 |
setAccepted_timestamp((Long)value);
|
|
|
1348 |
}
|
|
|
1349 |
break;
|
|
|
1350 |
|
|
|
1351 |
case BILLING_TIMESTAMP:
|
|
|
1352 |
if (value == null) {
|
|
|
1353 |
unsetBilling_timestamp();
|
|
|
1354 |
} else {
|
|
|
1355 |
setBilling_timestamp((Long)value);
|
|
|
1356 |
}
|
|
|
1357 |
break;
|
|
|
1358 |
|
|
|
1359 |
case SHIPPING_TIMESTAMP:
|
|
|
1360 |
if (value == null) {
|
|
|
1361 |
unsetShipping_timestamp();
|
|
|
1362 |
} else {
|
|
|
1363 |
setShipping_timestamp((Long)value);
|
|
|
1364 |
}
|
|
|
1365 |
break;
|
|
|
1366 |
|
|
|
1367 |
case DELIVERY_TIMESTAMP:
|
|
|
1368 |
if (value == null) {
|
|
|
1369 |
unsetDelivery_timestamp();
|
|
|
1370 |
} else {
|
|
|
1371 |
setDelivery_timestamp((Long)value);
|
|
|
1372 |
}
|
|
|
1373 |
break;
|
|
|
1374 |
|
| 640 |
chandransh |
1375 |
case JACKET_NUMBER:
|
|
|
1376 |
if (value == null) {
|
|
|
1377 |
unsetJacket_number();
|
|
|
1378 |
} else {
|
|
|
1379 |
setJacket_number((Long)value);
|
|
|
1380 |
}
|
|
|
1381 |
break;
|
|
|
1382 |
|
| 483 |
rajveer |
1383 |
}
|
|
|
1384 |
}
|
|
|
1385 |
|
|
|
1386 |
public void setFieldValue(int fieldID, Object value) {
|
|
|
1387 |
setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
|
|
|
1388 |
}
|
|
|
1389 |
|
|
|
1390 |
public Object getFieldValue(_Fields field) {
|
|
|
1391 |
switch (field) {
|
|
|
1392 |
case ID:
|
|
|
1393 |
return new Long(getId());
|
|
|
1394 |
|
|
|
1395 |
case WAREHOUSE_ID:
|
|
|
1396 |
return new Long(getWarehouse_id());
|
|
|
1397 |
|
|
|
1398 |
case LINEITEMS:
|
|
|
1399 |
return getLineitems();
|
|
|
1400 |
|
|
|
1401 |
case LOGISTICS_PROVIDER_ID:
|
|
|
1402 |
return new Long(getLogistics_provider_id());
|
|
|
1403 |
|
|
|
1404 |
case AIRWAYBILL_NO:
|
|
|
1405 |
return getAirwaybill_no();
|
|
|
1406 |
|
|
|
1407 |
case TRACKING_ID:
|
|
|
1408 |
return getTracking_id();
|
|
|
1409 |
|
|
|
1410 |
case EXPECTED_DELIVERY_TIME:
|
|
|
1411 |
return new Long(getExpected_delivery_time());
|
|
|
1412 |
|
|
|
1413 |
case CUSTOMER_ID:
|
|
|
1414 |
return new Long(getCustomer_id());
|
|
|
1415 |
|
|
|
1416 |
case CUSTOMER_NAME:
|
|
|
1417 |
return getCustomer_name();
|
|
|
1418 |
|
|
|
1419 |
case CUSTOMER_MOBILENUMBER:
|
|
|
1420 |
return getCustomer_mobilenumber();
|
|
|
1421 |
|
|
|
1422 |
case CUSTOMER_PINCODE:
|
|
|
1423 |
return getCustomer_pincode();
|
|
|
1424 |
|
| 736 |
chandransh |
1425 |
case CUSTOMER_ADDRESS1:
|
|
|
1426 |
return getCustomer_address1();
|
| 483 |
rajveer |
1427 |
|
| 736 |
chandransh |
1428 |
case CUSTOMER_ADDRESS2:
|
|
|
1429 |
return getCustomer_address2();
|
|
|
1430 |
|
| 483 |
rajveer |
1431 |
case CUSTOMER_EMAIL:
|
|
|
1432 |
return getCustomer_email();
|
|
|
1433 |
|
| 736 |
chandransh |
1434 |
case CUSTOMER_CITY:
|
|
|
1435 |
return getCustomer_city();
|
|
|
1436 |
|
|
|
1437 |
case CUSTOMER_STATE:
|
|
|
1438 |
return getCustomer_state();
|
|
|
1439 |
|
| 483 |
rajveer |
1440 |
case STATUS:
|
|
|
1441 |
return getStatus();
|
|
|
1442 |
|
|
|
1443 |
case STATUS_DESCRIPTION:
|
|
|
1444 |
return getStatusDescription();
|
|
|
1445 |
|
|
|
1446 |
case TOTAL_AMOUNT:
|
|
|
1447 |
return new Double(getTotal_amount());
|
|
|
1448 |
|
|
|
1449 |
case TOTAL_WEIGHT:
|
|
|
1450 |
return new Double(getTotal_weight());
|
|
|
1451 |
|
|
|
1452 |
case INVOICE_NUMBER:
|
|
|
1453 |
return getInvoice_number();
|
|
|
1454 |
|
|
|
1455 |
case BILLED_BY:
|
|
|
1456 |
return getBilled_by();
|
|
|
1457 |
|
|
|
1458 |
case CREATED_TIMESTAMP:
|
|
|
1459 |
return new Long(getCreated_timestamp());
|
|
|
1460 |
|
|
|
1461 |
case ACCEPTED_TIMESTAMP:
|
|
|
1462 |
return new Long(getAccepted_timestamp());
|
|
|
1463 |
|
|
|
1464 |
case BILLING_TIMESTAMP:
|
|
|
1465 |
return new Long(getBilling_timestamp());
|
|
|
1466 |
|
|
|
1467 |
case SHIPPING_TIMESTAMP:
|
|
|
1468 |
return new Long(getShipping_timestamp());
|
|
|
1469 |
|
|
|
1470 |
case DELIVERY_TIMESTAMP:
|
|
|
1471 |
return new Long(getDelivery_timestamp());
|
|
|
1472 |
|
| 640 |
chandransh |
1473 |
case JACKET_NUMBER:
|
|
|
1474 |
return new Long(getJacket_number());
|
|
|
1475 |
|
| 483 |
rajveer |
1476 |
}
|
|
|
1477 |
throw new IllegalStateException();
|
|
|
1478 |
}
|
|
|
1479 |
|
|
|
1480 |
public Object getFieldValue(int fieldId) {
|
|
|
1481 |
return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
|
|
|
1482 |
}
|
|
|
1483 |
|
|
|
1484 |
/** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
|
|
|
1485 |
public boolean isSet(_Fields field) {
|
|
|
1486 |
switch (field) {
|
|
|
1487 |
case ID:
|
|
|
1488 |
return isSetId();
|
|
|
1489 |
case WAREHOUSE_ID:
|
|
|
1490 |
return isSetWarehouse_id();
|
|
|
1491 |
case LINEITEMS:
|
|
|
1492 |
return isSetLineitems();
|
|
|
1493 |
case LOGISTICS_PROVIDER_ID:
|
|
|
1494 |
return isSetLogistics_provider_id();
|
|
|
1495 |
case AIRWAYBILL_NO:
|
|
|
1496 |
return isSetAirwaybill_no();
|
|
|
1497 |
case TRACKING_ID:
|
|
|
1498 |
return isSetTracking_id();
|
|
|
1499 |
case EXPECTED_DELIVERY_TIME:
|
|
|
1500 |
return isSetExpected_delivery_time();
|
|
|
1501 |
case CUSTOMER_ID:
|
|
|
1502 |
return isSetCustomer_id();
|
|
|
1503 |
case CUSTOMER_NAME:
|
|
|
1504 |
return isSetCustomer_name();
|
|
|
1505 |
case CUSTOMER_MOBILENUMBER:
|
|
|
1506 |
return isSetCustomer_mobilenumber();
|
|
|
1507 |
case CUSTOMER_PINCODE:
|
|
|
1508 |
return isSetCustomer_pincode();
|
| 736 |
chandransh |
1509 |
case CUSTOMER_ADDRESS1:
|
|
|
1510 |
return isSetCustomer_address1();
|
|
|
1511 |
case CUSTOMER_ADDRESS2:
|
|
|
1512 |
return isSetCustomer_address2();
|
| 483 |
rajveer |
1513 |
case CUSTOMER_EMAIL:
|
|
|
1514 |
return isSetCustomer_email();
|
| 736 |
chandransh |
1515 |
case CUSTOMER_CITY:
|
|
|
1516 |
return isSetCustomer_city();
|
|
|
1517 |
case CUSTOMER_STATE:
|
|
|
1518 |
return isSetCustomer_state();
|
| 483 |
rajveer |
1519 |
case STATUS:
|
|
|
1520 |
return isSetStatus();
|
|
|
1521 |
case STATUS_DESCRIPTION:
|
|
|
1522 |
return isSetStatusDescription();
|
|
|
1523 |
case TOTAL_AMOUNT:
|
|
|
1524 |
return isSetTotal_amount();
|
|
|
1525 |
case TOTAL_WEIGHT:
|
|
|
1526 |
return isSetTotal_weight();
|
|
|
1527 |
case INVOICE_NUMBER:
|
|
|
1528 |
return isSetInvoice_number();
|
|
|
1529 |
case BILLED_BY:
|
|
|
1530 |
return isSetBilled_by();
|
|
|
1531 |
case CREATED_TIMESTAMP:
|
|
|
1532 |
return isSetCreated_timestamp();
|
|
|
1533 |
case ACCEPTED_TIMESTAMP:
|
|
|
1534 |
return isSetAccepted_timestamp();
|
|
|
1535 |
case BILLING_TIMESTAMP:
|
|
|
1536 |
return isSetBilling_timestamp();
|
|
|
1537 |
case SHIPPING_TIMESTAMP:
|
|
|
1538 |
return isSetShipping_timestamp();
|
|
|
1539 |
case DELIVERY_TIMESTAMP:
|
|
|
1540 |
return isSetDelivery_timestamp();
|
| 640 |
chandransh |
1541 |
case JACKET_NUMBER:
|
|
|
1542 |
return isSetJacket_number();
|
| 483 |
rajveer |
1543 |
}
|
|
|
1544 |
throw new IllegalStateException();
|
|
|
1545 |
}
|
|
|
1546 |
|
|
|
1547 |
public boolean isSet(int fieldID) {
|
|
|
1548 |
return isSet(_Fields.findByThriftIdOrThrow(fieldID));
|
|
|
1549 |
}
|
|
|
1550 |
|
|
|
1551 |
@Override
|
|
|
1552 |
public boolean equals(Object that) {
|
|
|
1553 |
if (that == null)
|
|
|
1554 |
return false;
|
|
|
1555 |
if (that instanceof Order)
|
|
|
1556 |
return this.equals((Order)that);
|
|
|
1557 |
return false;
|
|
|
1558 |
}
|
|
|
1559 |
|
|
|
1560 |
public boolean equals(Order that) {
|
|
|
1561 |
if (that == null)
|
|
|
1562 |
return false;
|
|
|
1563 |
|
|
|
1564 |
boolean this_present_id = true;
|
|
|
1565 |
boolean that_present_id = true;
|
|
|
1566 |
if (this_present_id || that_present_id) {
|
|
|
1567 |
if (!(this_present_id && that_present_id))
|
|
|
1568 |
return false;
|
|
|
1569 |
if (this.id != that.id)
|
|
|
1570 |
return false;
|
|
|
1571 |
}
|
|
|
1572 |
|
|
|
1573 |
boolean this_present_warehouse_id = true;
|
|
|
1574 |
boolean that_present_warehouse_id = true;
|
|
|
1575 |
if (this_present_warehouse_id || that_present_warehouse_id) {
|
|
|
1576 |
if (!(this_present_warehouse_id && that_present_warehouse_id))
|
|
|
1577 |
return false;
|
|
|
1578 |
if (this.warehouse_id != that.warehouse_id)
|
|
|
1579 |
return false;
|
|
|
1580 |
}
|
|
|
1581 |
|
|
|
1582 |
boolean this_present_lineitems = true && this.isSetLineitems();
|
|
|
1583 |
boolean that_present_lineitems = true && that.isSetLineitems();
|
|
|
1584 |
if (this_present_lineitems || that_present_lineitems) {
|
|
|
1585 |
if (!(this_present_lineitems && that_present_lineitems))
|
|
|
1586 |
return false;
|
|
|
1587 |
if (!this.lineitems.equals(that.lineitems))
|
|
|
1588 |
return false;
|
|
|
1589 |
}
|
|
|
1590 |
|
|
|
1591 |
boolean this_present_logistics_provider_id = true;
|
|
|
1592 |
boolean that_present_logistics_provider_id = true;
|
|
|
1593 |
if (this_present_logistics_provider_id || that_present_logistics_provider_id) {
|
|
|
1594 |
if (!(this_present_logistics_provider_id && that_present_logistics_provider_id))
|
|
|
1595 |
return false;
|
|
|
1596 |
if (this.logistics_provider_id != that.logistics_provider_id)
|
|
|
1597 |
return false;
|
|
|
1598 |
}
|
|
|
1599 |
|
|
|
1600 |
boolean this_present_airwaybill_no = true && this.isSetAirwaybill_no();
|
|
|
1601 |
boolean that_present_airwaybill_no = true && that.isSetAirwaybill_no();
|
|
|
1602 |
if (this_present_airwaybill_no || that_present_airwaybill_no) {
|
|
|
1603 |
if (!(this_present_airwaybill_no && that_present_airwaybill_no))
|
|
|
1604 |
return false;
|
|
|
1605 |
if (!this.airwaybill_no.equals(that.airwaybill_no))
|
|
|
1606 |
return false;
|
|
|
1607 |
}
|
|
|
1608 |
|
|
|
1609 |
boolean this_present_tracking_id = true && this.isSetTracking_id();
|
|
|
1610 |
boolean that_present_tracking_id = true && that.isSetTracking_id();
|
|
|
1611 |
if (this_present_tracking_id || that_present_tracking_id) {
|
|
|
1612 |
if (!(this_present_tracking_id && that_present_tracking_id))
|
|
|
1613 |
return false;
|
|
|
1614 |
if (!this.tracking_id.equals(that.tracking_id))
|
|
|
1615 |
return false;
|
|
|
1616 |
}
|
|
|
1617 |
|
|
|
1618 |
boolean this_present_expected_delivery_time = true;
|
|
|
1619 |
boolean that_present_expected_delivery_time = true;
|
|
|
1620 |
if (this_present_expected_delivery_time || that_present_expected_delivery_time) {
|
|
|
1621 |
if (!(this_present_expected_delivery_time && that_present_expected_delivery_time))
|
|
|
1622 |
return false;
|
|
|
1623 |
if (this.expected_delivery_time != that.expected_delivery_time)
|
|
|
1624 |
return false;
|
|
|
1625 |
}
|
|
|
1626 |
|
|
|
1627 |
boolean this_present_customer_id = true;
|
|
|
1628 |
boolean that_present_customer_id = true;
|
|
|
1629 |
if (this_present_customer_id || that_present_customer_id) {
|
|
|
1630 |
if (!(this_present_customer_id && that_present_customer_id))
|
|
|
1631 |
return false;
|
|
|
1632 |
if (this.customer_id != that.customer_id)
|
|
|
1633 |
return false;
|
|
|
1634 |
}
|
|
|
1635 |
|
|
|
1636 |
boolean this_present_customer_name = true && this.isSetCustomer_name();
|
|
|
1637 |
boolean that_present_customer_name = true && that.isSetCustomer_name();
|
|
|
1638 |
if (this_present_customer_name || that_present_customer_name) {
|
|
|
1639 |
if (!(this_present_customer_name && that_present_customer_name))
|
|
|
1640 |
return false;
|
|
|
1641 |
if (!this.customer_name.equals(that.customer_name))
|
|
|
1642 |
return false;
|
|
|
1643 |
}
|
|
|
1644 |
|
|
|
1645 |
boolean this_present_customer_mobilenumber = true && this.isSetCustomer_mobilenumber();
|
|
|
1646 |
boolean that_present_customer_mobilenumber = true && that.isSetCustomer_mobilenumber();
|
|
|
1647 |
if (this_present_customer_mobilenumber || that_present_customer_mobilenumber) {
|
|
|
1648 |
if (!(this_present_customer_mobilenumber && that_present_customer_mobilenumber))
|
|
|
1649 |
return false;
|
|
|
1650 |
if (!this.customer_mobilenumber.equals(that.customer_mobilenumber))
|
|
|
1651 |
return false;
|
|
|
1652 |
}
|
|
|
1653 |
|
|
|
1654 |
boolean this_present_customer_pincode = true && this.isSetCustomer_pincode();
|
|
|
1655 |
boolean that_present_customer_pincode = true && that.isSetCustomer_pincode();
|
|
|
1656 |
if (this_present_customer_pincode || that_present_customer_pincode) {
|
|
|
1657 |
if (!(this_present_customer_pincode && that_present_customer_pincode))
|
|
|
1658 |
return false;
|
|
|
1659 |
if (!this.customer_pincode.equals(that.customer_pincode))
|
|
|
1660 |
return false;
|
|
|
1661 |
}
|
|
|
1662 |
|
| 736 |
chandransh |
1663 |
boolean this_present_customer_address1 = true && this.isSetCustomer_address1();
|
|
|
1664 |
boolean that_present_customer_address1 = true && that.isSetCustomer_address1();
|
|
|
1665 |
if (this_present_customer_address1 || that_present_customer_address1) {
|
|
|
1666 |
if (!(this_present_customer_address1 && that_present_customer_address1))
|
| 483 |
rajveer |
1667 |
return false;
|
| 736 |
chandransh |
1668 |
if (!this.customer_address1.equals(that.customer_address1))
|
| 483 |
rajveer |
1669 |
return false;
|
|
|
1670 |
}
|
|
|
1671 |
|
| 736 |
chandransh |
1672 |
boolean this_present_customer_address2 = true && this.isSetCustomer_address2();
|
|
|
1673 |
boolean that_present_customer_address2 = true && that.isSetCustomer_address2();
|
|
|
1674 |
if (this_present_customer_address2 || that_present_customer_address2) {
|
|
|
1675 |
if (!(this_present_customer_address2 && that_present_customer_address2))
|
|
|
1676 |
return false;
|
|
|
1677 |
if (!this.customer_address2.equals(that.customer_address2))
|
|
|
1678 |
return false;
|
|
|
1679 |
}
|
|
|
1680 |
|
| 483 |
rajveer |
1681 |
boolean this_present_customer_email = true && this.isSetCustomer_email();
|
|
|
1682 |
boolean that_present_customer_email = true && that.isSetCustomer_email();
|
|
|
1683 |
if (this_present_customer_email || that_present_customer_email) {
|
|
|
1684 |
if (!(this_present_customer_email && that_present_customer_email))
|
|
|
1685 |
return false;
|
|
|
1686 |
if (!this.customer_email.equals(that.customer_email))
|
|
|
1687 |
return false;
|
|
|
1688 |
}
|
|
|
1689 |
|
| 736 |
chandransh |
1690 |
boolean this_present_customer_city = true && this.isSetCustomer_city();
|
|
|
1691 |
boolean that_present_customer_city = true && that.isSetCustomer_city();
|
|
|
1692 |
if (this_present_customer_city || that_present_customer_city) {
|
|
|
1693 |
if (!(this_present_customer_city && that_present_customer_city))
|
|
|
1694 |
return false;
|
|
|
1695 |
if (!this.customer_city.equals(that.customer_city))
|
|
|
1696 |
return false;
|
|
|
1697 |
}
|
|
|
1698 |
|
|
|
1699 |
boolean this_present_customer_state = true && this.isSetCustomer_state();
|
|
|
1700 |
boolean that_present_customer_state = true && that.isSetCustomer_state();
|
|
|
1701 |
if (this_present_customer_state || that_present_customer_state) {
|
|
|
1702 |
if (!(this_present_customer_state && that_present_customer_state))
|
|
|
1703 |
return false;
|
|
|
1704 |
if (!this.customer_state.equals(that.customer_state))
|
|
|
1705 |
return false;
|
|
|
1706 |
}
|
|
|
1707 |
|
| 483 |
rajveer |
1708 |
boolean this_present_status = true && this.isSetStatus();
|
|
|
1709 |
boolean that_present_status = true && that.isSetStatus();
|
|
|
1710 |
if (this_present_status || that_present_status) {
|
|
|
1711 |
if (!(this_present_status && that_present_status))
|
|
|
1712 |
return false;
|
|
|
1713 |
if (!this.status.equals(that.status))
|
|
|
1714 |
return false;
|
|
|
1715 |
}
|
|
|
1716 |
|
|
|
1717 |
boolean this_present_statusDescription = true && this.isSetStatusDescription();
|
|
|
1718 |
boolean that_present_statusDescription = true && that.isSetStatusDescription();
|
|
|
1719 |
if (this_present_statusDescription || that_present_statusDescription) {
|
|
|
1720 |
if (!(this_present_statusDescription && that_present_statusDescription))
|
|
|
1721 |
return false;
|
|
|
1722 |
if (!this.statusDescription.equals(that.statusDescription))
|
|
|
1723 |
return false;
|
|
|
1724 |
}
|
|
|
1725 |
|
|
|
1726 |
boolean this_present_total_amount = true;
|
|
|
1727 |
boolean that_present_total_amount = true;
|
|
|
1728 |
if (this_present_total_amount || that_present_total_amount) {
|
|
|
1729 |
if (!(this_present_total_amount && that_present_total_amount))
|
|
|
1730 |
return false;
|
|
|
1731 |
if (this.total_amount != that.total_amount)
|
|
|
1732 |
return false;
|
|
|
1733 |
}
|
|
|
1734 |
|
|
|
1735 |
boolean this_present_total_weight = true;
|
|
|
1736 |
boolean that_present_total_weight = true;
|
|
|
1737 |
if (this_present_total_weight || that_present_total_weight) {
|
|
|
1738 |
if (!(this_present_total_weight && that_present_total_weight))
|
|
|
1739 |
return false;
|
|
|
1740 |
if (this.total_weight != that.total_weight)
|
|
|
1741 |
return false;
|
|
|
1742 |
}
|
|
|
1743 |
|
|
|
1744 |
boolean this_present_invoice_number = true && this.isSetInvoice_number();
|
|
|
1745 |
boolean that_present_invoice_number = true && that.isSetInvoice_number();
|
|
|
1746 |
if (this_present_invoice_number || that_present_invoice_number) {
|
|
|
1747 |
if (!(this_present_invoice_number && that_present_invoice_number))
|
|
|
1748 |
return false;
|
|
|
1749 |
if (!this.invoice_number.equals(that.invoice_number))
|
|
|
1750 |
return false;
|
|
|
1751 |
}
|
|
|
1752 |
|
|
|
1753 |
boolean this_present_billed_by = true && this.isSetBilled_by();
|
|
|
1754 |
boolean that_present_billed_by = true && that.isSetBilled_by();
|
|
|
1755 |
if (this_present_billed_by || that_present_billed_by) {
|
|
|
1756 |
if (!(this_present_billed_by && that_present_billed_by))
|
|
|
1757 |
return false;
|
|
|
1758 |
if (!this.billed_by.equals(that.billed_by))
|
|
|
1759 |
return false;
|
|
|
1760 |
}
|
|
|
1761 |
|
|
|
1762 |
boolean this_present_created_timestamp = true;
|
|
|
1763 |
boolean that_present_created_timestamp = true;
|
|
|
1764 |
if (this_present_created_timestamp || that_present_created_timestamp) {
|
|
|
1765 |
if (!(this_present_created_timestamp && that_present_created_timestamp))
|
|
|
1766 |
return false;
|
|
|
1767 |
if (this.created_timestamp != that.created_timestamp)
|
|
|
1768 |
return false;
|
|
|
1769 |
}
|
|
|
1770 |
|
|
|
1771 |
boolean this_present_accepted_timestamp = true;
|
|
|
1772 |
boolean that_present_accepted_timestamp = true;
|
|
|
1773 |
if (this_present_accepted_timestamp || that_present_accepted_timestamp) {
|
|
|
1774 |
if (!(this_present_accepted_timestamp && that_present_accepted_timestamp))
|
|
|
1775 |
return false;
|
|
|
1776 |
if (this.accepted_timestamp != that.accepted_timestamp)
|
|
|
1777 |
return false;
|
|
|
1778 |
}
|
|
|
1779 |
|
|
|
1780 |
boolean this_present_billing_timestamp = true;
|
|
|
1781 |
boolean that_present_billing_timestamp = true;
|
|
|
1782 |
if (this_present_billing_timestamp || that_present_billing_timestamp) {
|
|
|
1783 |
if (!(this_present_billing_timestamp && that_present_billing_timestamp))
|
|
|
1784 |
return false;
|
|
|
1785 |
if (this.billing_timestamp != that.billing_timestamp)
|
|
|
1786 |
return false;
|
|
|
1787 |
}
|
|
|
1788 |
|
|
|
1789 |
boolean this_present_shipping_timestamp = true;
|
|
|
1790 |
boolean that_present_shipping_timestamp = true;
|
|
|
1791 |
if (this_present_shipping_timestamp || that_present_shipping_timestamp) {
|
|
|
1792 |
if (!(this_present_shipping_timestamp && that_present_shipping_timestamp))
|
|
|
1793 |
return false;
|
|
|
1794 |
if (this.shipping_timestamp != that.shipping_timestamp)
|
|
|
1795 |
return false;
|
|
|
1796 |
}
|
|
|
1797 |
|
|
|
1798 |
boolean this_present_delivery_timestamp = true;
|
|
|
1799 |
boolean that_present_delivery_timestamp = true;
|
|
|
1800 |
if (this_present_delivery_timestamp || that_present_delivery_timestamp) {
|
|
|
1801 |
if (!(this_present_delivery_timestamp && that_present_delivery_timestamp))
|
|
|
1802 |
return false;
|
|
|
1803 |
if (this.delivery_timestamp != that.delivery_timestamp)
|
|
|
1804 |
return false;
|
|
|
1805 |
}
|
|
|
1806 |
|
| 640 |
chandransh |
1807 |
boolean this_present_jacket_number = true;
|
|
|
1808 |
boolean that_present_jacket_number = true;
|
|
|
1809 |
if (this_present_jacket_number || that_present_jacket_number) {
|
|
|
1810 |
if (!(this_present_jacket_number && that_present_jacket_number))
|
|
|
1811 |
return false;
|
|
|
1812 |
if (this.jacket_number != that.jacket_number)
|
|
|
1813 |
return false;
|
|
|
1814 |
}
|
|
|
1815 |
|
| 483 |
rajveer |
1816 |
return true;
|
|
|
1817 |
}
|
|
|
1818 |
|
|
|
1819 |
@Override
|
|
|
1820 |
public int hashCode() {
|
|
|
1821 |
return 0;
|
|
|
1822 |
}
|
|
|
1823 |
|
|
|
1824 |
public int compareTo(Order other) {
|
|
|
1825 |
if (!getClass().equals(other.getClass())) {
|
|
|
1826 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
1827 |
}
|
|
|
1828 |
|
|
|
1829 |
int lastComparison = 0;
|
|
|
1830 |
Order typedOther = (Order)other;
|
|
|
1831 |
|
|
|
1832 |
lastComparison = Boolean.valueOf(isSetId()).compareTo(isSetId());
|
|
|
1833 |
if (lastComparison != 0) {
|
|
|
1834 |
return lastComparison;
|
|
|
1835 |
}
|
|
|
1836 |
lastComparison = TBaseHelper.compareTo(id, typedOther.id);
|
|
|
1837 |
if (lastComparison != 0) {
|
|
|
1838 |
return lastComparison;
|
|
|
1839 |
}
|
|
|
1840 |
lastComparison = Boolean.valueOf(isSetWarehouse_id()).compareTo(isSetWarehouse_id());
|
|
|
1841 |
if (lastComparison != 0) {
|
|
|
1842 |
return lastComparison;
|
|
|
1843 |
}
|
|
|
1844 |
lastComparison = TBaseHelper.compareTo(warehouse_id, typedOther.warehouse_id);
|
|
|
1845 |
if (lastComparison != 0) {
|
|
|
1846 |
return lastComparison;
|
|
|
1847 |
}
|
|
|
1848 |
lastComparison = Boolean.valueOf(isSetLineitems()).compareTo(isSetLineitems());
|
|
|
1849 |
if (lastComparison != 0) {
|
|
|
1850 |
return lastComparison;
|
|
|
1851 |
}
|
|
|
1852 |
lastComparison = TBaseHelper.compareTo(lineitems, typedOther.lineitems);
|
|
|
1853 |
if (lastComparison != 0) {
|
|
|
1854 |
return lastComparison;
|
|
|
1855 |
}
|
|
|
1856 |
lastComparison = Boolean.valueOf(isSetLogistics_provider_id()).compareTo(isSetLogistics_provider_id());
|
|
|
1857 |
if (lastComparison != 0) {
|
|
|
1858 |
return lastComparison;
|
|
|
1859 |
}
|
|
|
1860 |
lastComparison = TBaseHelper.compareTo(logistics_provider_id, typedOther.logistics_provider_id);
|
|
|
1861 |
if (lastComparison != 0) {
|
|
|
1862 |
return lastComparison;
|
|
|
1863 |
}
|
|
|
1864 |
lastComparison = Boolean.valueOf(isSetAirwaybill_no()).compareTo(isSetAirwaybill_no());
|
|
|
1865 |
if (lastComparison != 0) {
|
|
|
1866 |
return lastComparison;
|
|
|
1867 |
}
|
|
|
1868 |
lastComparison = TBaseHelper.compareTo(airwaybill_no, typedOther.airwaybill_no);
|
|
|
1869 |
if (lastComparison != 0) {
|
|
|
1870 |
return lastComparison;
|
|
|
1871 |
}
|
|
|
1872 |
lastComparison = Boolean.valueOf(isSetTracking_id()).compareTo(isSetTracking_id());
|
|
|
1873 |
if (lastComparison != 0) {
|
|
|
1874 |
return lastComparison;
|
|
|
1875 |
}
|
|
|
1876 |
lastComparison = TBaseHelper.compareTo(tracking_id, typedOther.tracking_id);
|
|
|
1877 |
if (lastComparison != 0) {
|
|
|
1878 |
return lastComparison;
|
|
|
1879 |
}
|
|
|
1880 |
lastComparison = Boolean.valueOf(isSetExpected_delivery_time()).compareTo(isSetExpected_delivery_time());
|
|
|
1881 |
if (lastComparison != 0) {
|
|
|
1882 |
return lastComparison;
|
|
|
1883 |
}
|
|
|
1884 |
lastComparison = TBaseHelper.compareTo(expected_delivery_time, typedOther.expected_delivery_time);
|
|
|
1885 |
if (lastComparison != 0) {
|
|
|
1886 |
return lastComparison;
|
|
|
1887 |
}
|
|
|
1888 |
lastComparison = Boolean.valueOf(isSetCustomer_id()).compareTo(isSetCustomer_id());
|
|
|
1889 |
if (lastComparison != 0) {
|
|
|
1890 |
return lastComparison;
|
|
|
1891 |
}
|
|
|
1892 |
lastComparison = TBaseHelper.compareTo(customer_id, typedOther.customer_id);
|
|
|
1893 |
if (lastComparison != 0) {
|
|
|
1894 |
return lastComparison;
|
|
|
1895 |
}
|
|
|
1896 |
lastComparison = Boolean.valueOf(isSetCustomer_name()).compareTo(isSetCustomer_name());
|
|
|
1897 |
if (lastComparison != 0) {
|
|
|
1898 |
return lastComparison;
|
|
|
1899 |
}
|
|
|
1900 |
lastComparison = TBaseHelper.compareTo(customer_name, typedOther.customer_name);
|
|
|
1901 |
if (lastComparison != 0) {
|
|
|
1902 |
return lastComparison;
|
|
|
1903 |
}
|
|
|
1904 |
lastComparison = Boolean.valueOf(isSetCustomer_mobilenumber()).compareTo(isSetCustomer_mobilenumber());
|
|
|
1905 |
if (lastComparison != 0) {
|
|
|
1906 |
return lastComparison;
|
|
|
1907 |
}
|
|
|
1908 |
lastComparison = TBaseHelper.compareTo(customer_mobilenumber, typedOther.customer_mobilenumber);
|
|
|
1909 |
if (lastComparison != 0) {
|
|
|
1910 |
return lastComparison;
|
|
|
1911 |
}
|
|
|
1912 |
lastComparison = Boolean.valueOf(isSetCustomer_pincode()).compareTo(isSetCustomer_pincode());
|
|
|
1913 |
if (lastComparison != 0) {
|
|
|
1914 |
return lastComparison;
|
|
|
1915 |
}
|
|
|
1916 |
lastComparison = TBaseHelper.compareTo(customer_pincode, typedOther.customer_pincode);
|
|
|
1917 |
if (lastComparison != 0) {
|
|
|
1918 |
return lastComparison;
|
|
|
1919 |
}
|
| 736 |
chandransh |
1920 |
lastComparison = Boolean.valueOf(isSetCustomer_address1()).compareTo(isSetCustomer_address1());
|
| 483 |
rajveer |
1921 |
if (lastComparison != 0) {
|
|
|
1922 |
return lastComparison;
|
|
|
1923 |
}
|
| 736 |
chandransh |
1924 |
lastComparison = TBaseHelper.compareTo(customer_address1, typedOther.customer_address1);
|
| 483 |
rajveer |
1925 |
if (lastComparison != 0) {
|
|
|
1926 |
return lastComparison;
|
|
|
1927 |
}
|
| 736 |
chandransh |
1928 |
lastComparison = Boolean.valueOf(isSetCustomer_address2()).compareTo(isSetCustomer_address2());
|
|
|
1929 |
if (lastComparison != 0) {
|
|
|
1930 |
return lastComparison;
|
|
|
1931 |
}
|
|
|
1932 |
lastComparison = TBaseHelper.compareTo(customer_address2, typedOther.customer_address2);
|
|
|
1933 |
if (lastComparison != 0) {
|
|
|
1934 |
return lastComparison;
|
|
|
1935 |
}
|
| 483 |
rajveer |
1936 |
lastComparison = Boolean.valueOf(isSetCustomer_email()).compareTo(isSetCustomer_email());
|
|
|
1937 |
if (lastComparison != 0) {
|
|
|
1938 |
return lastComparison;
|
|
|
1939 |
}
|
|
|
1940 |
lastComparison = TBaseHelper.compareTo(customer_email, typedOther.customer_email);
|
|
|
1941 |
if (lastComparison != 0) {
|
|
|
1942 |
return lastComparison;
|
|
|
1943 |
}
|
| 736 |
chandransh |
1944 |
lastComparison = Boolean.valueOf(isSetCustomer_city()).compareTo(isSetCustomer_city());
|
|
|
1945 |
if (lastComparison != 0) {
|
|
|
1946 |
return lastComparison;
|
|
|
1947 |
}
|
|
|
1948 |
lastComparison = TBaseHelper.compareTo(customer_city, typedOther.customer_city);
|
|
|
1949 |
if (lastComparison != 0) {
|
|
|
1950 |
return lastComparison;
|
|
|
1951 |
}
|
|
|
1952 |
lastComparison = Boolean.valueOf(isSetCustomer_state()).compareTo(isSetCustomer_state());
|
|
|
1953 |
if (lastComparison != 0) {
|
|
|
1954 |
return lastComparison;
|
|
|
1955 |
}
|
|
|
1956 |
lastComparison = TBaseHelper.compareTo(customer_state, typedOther.customer_state);
|
|
|
1957 |
if (lastComparison != 0) {
|
|
|
1958 |
return lastComparison;
|
|
|
1959 |
}
|
| 483 |
rajveer |
1960 |
lastComparison = Boolean.valueOf(isSetStatus()).compareTo(isSetStatus());
|
|
|
1961 |
if (lastComparison != 0) {
|
|
|
1962 |
return lastComparison;
|
|
|
1963 |
}
|
|
|
1964 |
lastComparison = TBaseHelper.compareTo(status, typedOther.status);
|
|
|
1965 |
if (lastComparison != 0) {
|
|
|
1966 |
return lastComparison;
|
|
|
1967 |
}
|
|
|
1968 |
lastComparison = Boolean.valueOf(isSetStatusDescription()).compareTo(isSetStatusDescription());
|
|
|
1969 |
if (lastComparison != 0) {
|
|
|
1970 |
return lastComparison;
|
|
|
1971 |
}
|
|
|
1972 |
lastComparison = TBaseHelper.compareTo(statusDescription, typedOther.statusDescription);
|
|
|
1973 |
if (lastComparison != 0) {
|
|
|
1974 |
return lastComparison;
|
|
|
1975 |
}
|
|
|
1976 |
lastComparison = Boolean.valueOf(isSetTotal_amount()).compareTo(isSetTotal_amount());
|
|
|
1977 |
if (lastComparison != 0) {
|
|
|
1978 |
return lastComparison;
|
|
|
1979 |
}
|
|
|
1980 |
lastComparison = TBaseHelper.compareTo(total_amount, typedOther.total_amount);
|
|
|
1981 |
if (lastComparison != 0) {
|
|
|
1982 |
return lastComparison;
|
|
|
1983 |
}
|
|
|
1984 |
lastComparison = Boolean.valueOf(isSetTotal_weight()).compareTo(isSetTotal_weight());
|
|
|
1985 |
if (lastComparison != 0) {
|
|
|
1986 |
return lastComparison;
|
|
|
1987 |
}
|
|
|
1988 |
lastComparison = TBaseHelper.compareTo(total_weight, typedOther.total_weight);
|
|
|
1989 |
if (lastComparison != 0) {
|
|
|
1990 |
return lastComparison;
|
|
|
1991 |
}
|
|
|
1992 |
lastComparison = Boolean.valueOf(isSetInvoice_number()).compareTo(isSetInvoice_number());
|
|
|
1993 |
if (lastComparison != 0) {
|
|
|
1994 |
return lastComparison;
|
|
|
1995 |
}
|
|
|
1996 |
lastComparison = TBaseHelper.compareTo(invoice_number, typedOther.invoice_number);
|
|
|
1997 |
if (lastComparison != 0) {
|
|
|
1998 |
return lastComparison;
|
|
|
1999 |
}
|
|
|
2000 |
lastComparison = Boolean.valueOf(isSetBilled_by()).compareTo(isSetBilled_by());
|
|
|
2001 |
if (lastComparison != 0) {
|
|
|
2002 |
return lastComparison;
|
|
|
2003 |
}
|
|
|
2004 |
lastComparison = TBaseHelper.compareTo(billed_by, typedOther.billed_by);
|
|
|
2005 |
if (lastComparison != 0) {
|
|
|
2006 |
return lastComparison;
|
|
|
2007 |
}
|
|
|
2008 |
lastComparison = Boolean.valueOf(isSetCreated_timestamp()).compareTo(isSetCreated_timestamp());
|
|
|
2009 |
if (lastComparison != 0) {
|
|
|
2010 |
return lastComparison;
|
|
|
2011 |
}
|
|
|
2012 |
lastComparison = TBaseHelper.compareTo(created_timestamp, typedOther.created_timestamp);
|
|
|
2013 |
if (lastComparison != 0) {
|
|
|
2014 |
return lastComparison;
|
|
|
2015 |
}
|
|
|
2016 |
lastComparison = Boolean.valueOf(isSetAccepted_timestamp()).compareTo(isSetAccepted_timestamp());
|
|
|
2017 |
if (lastComparison != 0) {
|
|
|
2018 |
return lastComparison;
|
|
|
2019 |
}
|
|
|
2020 |
lastComparison = TBaseHelper.compareTo(accepted_timestamp, typedOther.accepted_timestamp);
|
|
|
2021 |
if (lastComparison != 0) {
|
|
|
2022 |
return lastComparison;
|
|
|
2023 |
}
|
|
|
2024 |
lastComparison = Boolean.valueOf(isSetBilling_timestamp()).compareTo(isSetBilling_timestamp());
|
|
|
2025 |
if (lastComparison != 0) {
|
|
|
2026 |
return lastComparison;
|
|
|
2027 |
}
|
|
|
2028 |
lastComparison = TBaseHelper.compareTo(billing_timestamp, typedOther.billing_timestamp);
|
|
|
2029 |
if (lastComparison != 0) {
|
|
|
2030 |
return lastComparison;
|
|
|
2031 |
}
|
|
|
2032 |
lastComparison = Boolean.valueOf(isSetShipping_timestamp()).compareTo(isSetShipping_timestamp());
|
|
|
2033 |
if (lastComparison != 0) {
|
|
|
2034 |
return lastComparison;
|
|
|
2035 |
}
|
|
|
2036 |
lastComparison = TBaseHelper.compareTo(shipping_timestamp, typedOther.shipping_timestamp);
|
|
|
2037 |
if (lastComparison != 0) {
|
|
|
2038 |
return lastComparison;
|
|
|
2039 |
}
|
|
|
2040 |
lastComparison = Boolean.valueOf(isSetDelivery_timestamp()).compareTo(isSetDelivery_timestamp());
|
|
|
2041 |
if (lastComparison != 0) {
|
|
|
2042 |
return lastComparison;
|
|
|
2043 |
}
|
|
|
2044 |
lastComparison = TBaseHelper.compareTo(delivery_timestamp, typedOther.delivery_timestamp);
|
|
|
2045 |
if (lastComparison != 0) {
|
|
|
2046 |
return lastComparison;
|
|
|
2047 |
}
|
| 640 |
chandransh |
2048 |
lastComparison = Boolean.valueOf(isSetJacket_number()).compareTo(isSetJacket_number());
|
|
|
2049 |
if (lastComparison != 0) {
|
|
|
2050 |
return lastComparison;
|
|
|
2051 |
}
|
|
|
2052 |
lastComparison = TBaseHelper.compareTo(jacket_number, typedOther.jacket_number);
|
|
|
2053 |
if (lastComparison != 0) {
|
|
|
2054 |
return lastComparison;
|
|
|
2055 |
}
|
| 483 |
rajveer |
2056 |
return 0;
|
|
|
2057 |
}
|
|
|
2058 |
|
|
|
2059 |
public void read(TProtocol iprot) throws TException {
|
|
|
2060 |
TField field;
|
|
|
2061 |
iprot.readStructBegin();
|
|
|
2062 |
while (true)
|
|
|
2063 |
{
|
|
|
2064 |
field = iprot.readFieldBegin();
|
|
|
2065 |
if (field.type == TType.STOP) {
|
|
|
2066 |
break;
|
|
|
2067 |
}
|
|
|
2068 |
_Fields fieldId = _Fields.findByThriftId(field.id);
|
|
|
2069 |
if (fieldId == null) {
|
|
|
2070 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2071 |
} else {
|
|
|
2072 |
switch (fieldId) {
|
|
|
2073 |
case ID:
|
|
|
2074 |
if (field.type == TType.I64) {
|
|
|
2075 |
this.id = iprot.readI64();
|
|
|
2076 |
setIdIsSet(true);
|
|
|
2077 |
} else {
|
|
|
2078 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2079 |
}
|
|
|
2080 |
break;
|
|
|
2081 |
case WAREHOUSE_ID:
|
|
|
2082 |
if (field.type == TType.I64) {
|
|
|
2083 |
this.warehouse_id = iprot.readI64();
|
|
|
2084 |
setWarehouse_idIsSet(true);
|
|
|
2085 |
} else {
|
|
|
2086 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2087 |
}
|
|
|
2088 |
break;
|
|
|
2089 |
case LINEITEMS:
|
|
|
2090 |
if (field.type == TType.LIST) {
|
|
|
2091 |
{
|
| 684 |
chandransh |
2092 |
TList _list0 = iprot.readListBegin();
|
|
|
2093 |
this.lineitems = new ArrayList<LineItem>(_list0.size);
|
|
|
2094 |
for (int _i1 = 0; _i1 < _list0.size; ++_i1)
|
| 483 |
rajveer |
2095 |
{
|
| 684 |
chandransh |
2096 |
LineItem _elem2;
|
|
|
2097 |
_elem2 = new LineItem();
|
|
|
2098 |
_elem2.read(iprot);
|
|
|
2099 |
this.lineitems.add(_elem2);
|
| 483 |
rajveer |
2100 |
}
|
|
|
2101 |
iprot.readListEnd();
|
|
|
2102 |
}
|
|
|
2103 |
} else {
|
|
|
2104 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2105 |
}
|
|
|
2106 |
break;
|
|
|
2107 |
case LOGISTICS_PROVIDER_ID:
|
|
|
2108 |
if (field.type == TType.I64) {
|
|
|
2109 |
this.logistics_provider_id = iprot.readI64();
|
|
|
2110 |
setLogistics_provider_idIsSet(true);
|
|
|
2111 |
} else {
|
|
|
2112 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2113 |
}
|
|
|
2114 |
break;
|
|
|
2115 |
case AIRWAYBILL_NO:
|
|
|
2116 |
if (field.type == TType.STRING) {
|
|
|
2117 |
this.airwaybill_no = iprot.readString();
|
|
|
2118 |
} else {
|
|
|
2119 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2120 |
}
|
|
|
2121 |
break;
|
|
|
2122 |
case TRACKING_ID:
|
|
|
2123 |
if (field.type == TType.STRING) {
|
|
|
2124 |
this.tracking_id = iprot.readString();
|
|
|
2125 |
} else {
|
|
|
2126 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2127 |
}
|
|
|
2128 |
break;
|
|
|
2129 |
case EXPECTED_DELIVERY_TIME:
|
|
|
2130 |
if (field.type == TType.I64) {
|
|
|
2131 |
this.expected_delivery_time = iprot.readI64();
|
|
|
2132 |
setExpected_delivery_timeIsSet(true);
|
|
|
2133 |
} else {
|
|
|
2134 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2135 |
}
|
|
|
2136 |
break;
|
|
|
2137 |
case CUSTOMER_ID:
|
|
|
2138 |
if (field.type == TType.I64) {
|
|
|
2139 |
this.customer_id = iprot.readI64();
|
|
|
2140 |
setCustomer_idIsSet(true);
|
|
|
2141 |
} else {
|
|
|
2142 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2143 |
}
|
|
|
2144 |
break;
|
|
|
2145 |
case CUSTOMER_NAME:
|
|
|
2146 |
if (field.type == TType.STRING) {
|
|
|
2147 |
this.customer_name = iprot.readString();
|
|
|
2148 |
} else {
|
|
|
2149 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2150 |
}
|
|
|
2151 |
break;
|
|
|
2152 |
case CUSTOMER_MOBILENUMBER:
|
|
|
2153 |
if (field.type == TType.STRING) {
|
|
|
2154 |
this.customer_mobilenumber = iprot.readString();
|
|
|
2155 |
} else {
|
|
|
2156 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2157 |
}
|
|
|
2158 |
break;
|
|
|
2159 |
case CUSTOMER_PINCODE:
|
|
|
2160 |
if (field.type == TType.STRING) {
|
|
|
2161 |
this.customer_pincode = iprot.readString();
|
|
|
2162 |
} else {
|
|
|
2163 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2164 |
}
|
|
|
2165 |
break;
|
| 736 |
chandransh |
2166 |
case CUSTOMER_ADDRESS1:
|
| 483 |
rajveer |
2167 |
if (field.type == TType.STRING) {
|
| 736 |
chandransh |
2168 |
this.customer_address1 = iprot.readString();
|
| 483 |
rajveer |
2169 |
} else {
|
|
|
2170 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2171 |
}
|
|
|
2172 |
break;
|
| 736 |
chandransh |
2173 |
case CUSTOMER_ADDRESS2:
|
|
|
2174 |
if (field.type == TType.STRING) {
|
|
|
2175 |
this.customer_address2 = iprot.readString();
|
|
|
2176 |
} else {
|
|
|
2177 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2178 |
}
|
|
|
2179 |
break;
|
| 483 |
rajveer |
2180 |
case CUSTOMER_EMAIL:
|
|
|
2181 |
if (field.type == TType.STRING) {
|
|
|
2182 |
this.customer_email = iprot.readString();
|
|
|
2183 |
} else {
|
|
|
2184 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2185 |
}
|
|
|
2186 |
break;
|
| 736 |
chandransh |
2187 |
case CUSTOMER_CITY:
|
|
|
2188 |
if (field.type == TType.STRING) {
|
|
|
2189 |
this.customer_city = iprot.readString();
|
|
|
2190 |
} else {
|
|
|
2191 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2192 |
}
|
|
|
2193 |
break;
|
|
|
2194 |
case CUSTOMER_STATE:
|
|
|
2195 |
if (field.type == TType.STRING) {
|
|
|
2196 |
this.customer_state = iprot.readString();
|
|
|
2197 |
} else {
|
|
|
2198 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2199 |
}
|
|
|
2200 |
break;
|
| 483 |
rajveer |
2201 |
case STATUS:
|
|
|
2202 |
if (field.type == TType.I32) {
|
|
|
2203 |
this.status = OrderStatus.findByValue(iprot.readI32());
|
|
|
2204 |
} else {
|
|
|
2205 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2206 |
}
|
|
|
2207 |
break;
|
|
|
2208 |
case STATUS_DESCRIPTION:
|
|
|
2209 |
if (field.type == TType.STRING) {
|
|
|
2210 |
this.statusDescription = iprot.readString();
|
|
|
2211 |
} else {
|
|
|
2212 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2213 |
}
|
|
|
2214 |
break;
|
|
|
2215 |
case TOTAL_AMOUNT:
|
|
|
2216 |
if (field.type == TType.DOUBLE) {
|
|
|
2217 |
this.total_amount = iprot.readDouble();
|
|
|
2218 |
setTotal_amountIsSet(true);
|
|
|
2219 |
} else {
|
|
|
2220 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2221 |
}
|
|
|
2222 |
break;
|
|
|
2223 |
case TOTAL_WEIGHT:
|
|
|
2224 |
if (field.type == TType.DOUBLE) {
|
|
|
2225 |
this.total_weight = iprot.readDouble();
|
|
|
2226 |
setTotal_weightIsSet(true);
|
|
|
2227 |
} else {
|
|
|
2228 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2229 |
}
|
|
|
2230 |
break;
|
|
|
2231 |
case INVOICE_NUMBER:
|
|
|
2232 |
if (field.type == TType.STRING) {
|
|
|
2233 |
this.invoice_number = iprot.readString();
|
|
|
2234 |
} else {
|
|
|
2235 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2236 |
}
|
|
|
2237 |
break;
|
|
|
2238 |
case BILLED_BY:
|
|
|
2239 |
if (field.type == TType.STRING) {
|
|
|
2240 |
this.billed_by = iprot.readString();
|
|
|
2241 |
} else {
|
|
|
2242 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2243 |
}
|
|
|
2244 |
break;
|
|
|
2245 |
case CREATED_TIMESTAMP:
|
|
|
2246 |
if (field.type == TType.I64) {
|
|
|
2247 |
this.created_timestamp = iprot.readI64();
|
|
|
2248 |
setCreated_timestampIsSet(true);
|
|
|
2249 |
} else {
|
|
|
2250 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2251 |
}
|
|
|
2252 |
break;
|
|
|
2253 |
case ACCEPTED_TIMESTAMP:
|
|
|
2254 |
if (field.type == TType.I64) {
|
|
|
2255 |
this.accepted_timestamp = iprot.readI64();
|
|
|
2256 |
setAccepted_timestampIsSet(true);
|
|
|
2257 |
} else {
|
|
|
2258 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2259 |
}
|
|
|
2260 |
break;
|
|
|
2261 |
case BILLING_TIMESTAMP:
|
|
|
2262 |
if (field.type == TType.I64) {
|
|
|
2263 |
this.billing_timestamp = iprot.readI64();
|
|
|
2264 |
setBilling_timestampIsSet(true);
|
|
|
2265 |
} else {
|
|
|
2266 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2267 |
}
|
|
|
2268 |
break;
|
|
|
2269 |
case SHIPPING_TIMESTAMP:
|
|
|
2270 |
if (field.type == TType.I64) {
|
|
|
2271 |
this.shipping_timestamp = iprot.readI64();
|
|
|
2272 |
setShipping_timestampIsSet(true);
|
|
|
2273 |
} else {
|
|
|
2274 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2275 |
}
|
|
|
2276 |
break;
|
|
|
2277 |
case DELIVERY_TIMESTAMP:
|
|
|
2278 |
if (field.type == TType.I64) {
|
|
|
2279 |
this.delivery_timestamp = iprot.readI64();
|
|
|
2280 |
setDelivery_timestampIsSet(true);
|
|
|
2281 |
} else {
|
|
|
2282 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2283 |
}
|
|
|
2284 |
break;
|
| 640 |
chandransh |
2285 |
case JACKET_NUMBER:
|
|
|
2286 |
if (field.type == TType.I64) {
|
|
|
2287 |
this.jacket_number = iprot.readI64();
|
|
|
2288 |
setJacket_numberIsSet(true);
|
|
|
2289 |
} else {
|
|
|
2290 |
TProtocolUtil.skip(iprot, field.type);
|
|
|
2291 |
}
|
|
|
2292 |
break;
|
| 483 |
rajveer |
2293 |
}
|
|
|
2294 |
iprot.readFieldEnd();
|
|
|
2295 |
}
|
|
|
2296 |
}
|
|
|
2297 |
iprot.readStructEnd();
|
|
|
2298 |
validate();
|
|
|
2299 |
}
|
|
|
2300 |
|
|
|
2301 |
public void write(TProtocol oprot) throws TException {
|
|
|
2302 |
validate();
|
|
|
2303 |
|
|
|
2304 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
2305 |
oprot.writeFieldBegin(ID_FIELD_DESC);
|
|
|
2306 |
oprot.writeI64(this.id);
|
|
|
2307 |
oprot.writeFieldEnd();
|
|
|
2308 |
oprot.writeFieldBegin(WAREHOUSE_ID_FIELD_DESC);
|
|
|
2309 |
oprot.writeI64(this.warehouse_id);
|
|
|
2310 |
oprot.writeFieldEnd();
|
|
|
2311 |
if (this.lineitems != null) {
|
|
|
2312 |
oprot.writeFieldBegin(LINEITEMS_FIELD_DESC);
|
|
|
2313 |
{
|
|
|
2314 |
oprot.writeListBegin(new TList(TType.STRUCT, this.lineitems.size()));
|
| 684 |
chandransh |
2315 |
for (LineItem _iter3 : this.lineitems)
|
| 483 |
rajveer |
2316 |
{
|
| 684 |
chandransh |
2317 |
_iter3.write(oprot);
|
| 483 |
rajveer |
2318 |
}
|
|
|
2319 |
oprot.writeListEnd();
|
|
|
2320 |
}
|
|
|
2321 |
oprot.writeFieldEnd();
|
|
|
2322 |
}
|
|
|
2323 |
oprot.writeFieldBegin(LOGISTICS_PROVIDER_ID_FIELD_DESC);
|
|
|
2324 |
oprot.writeI64(this.logistics_provider_id);
|
|
|
2325 |
oprot.writeFieldEnd();
|
|
|
2326 |
if (this.airwaybill_no != null) {
|
|
|
2327 |
oprot.writeFieldBegin(AIRWAYBILL_NO_FIELD_DESC);
|
|
|
2328 |
oprot.writeString(this.airwaybill_no);
|
|
|
2329 |
oprot.writeFieldEnd();
|
|
|
2330 |
}
|
|
|
2331 |
if (this.tracking_id != null) {
|
|
|
2332 |
oprot.writeFieldBegin(TRACKING_ID_FIELD_DESC);
|
|
|
2333 |
oprot.writeString(this.tracking_id);
|
|
|
2334 |
oprot.writeFieldEnd();
|
|
|
2335 |
}
|
|
|
2336 |
oprot.writeFieldBegin(EXPECTED_DELIVERY_TIME_FIELD_DESC);
|
|
|
2337 |
oprot.writeI64(this.expected_delivery_time);
|
|
|
2338 |
oprot.writeFieldEnd();
|
|
|
2339 |
oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
|
|
|
2340 |
oprot.writeI64(this.customer_id);
|
|
|
2341 |
oprot.writeFieldEnd();
|
|
|
2342 |
if (this.customer_name != null) {
|
|
|
2343 |
oprot.writeFieldBegin(CUSTOMER_NAME_FIELD_DESC);
|
|
|
2344 |
oprot.writeString(this.customer_name);
|
|
|
2345 |
oprot.writeFieldEnd();
|
|
|
2346 |
}
|
|
|
2347 |
if (this.customer_mobilenumber != null) {
|
|
|
2348 |
oprot.writeFieldBegin(CUSTOMER_MOBILENUMBER_FIELD_DESC);
|
|
|
2349 |
oprot.writeString(this.customer_mobilenumber);
|
|
|
2350 |
oprot.writeFieldEnd();
|
|
|
2351 |
}
|
|
|
2352 |
if (this.customer_pincode != null) {
|
|
|
2353 |
oprot.writeFieldBegin(CUSTOMER_PINCODE_FIELD_DESC);
|
|
|
2354 |
oprot.writeString(this.customer_pincode);
|
|
|
2355 |
oprot.writeFieldEnd();
|
|
|
2356 |
}
|
| 736 |
chandransh |
2357 |
if (this.customer_address1 != null) {
|
|
|
2358 |
oprot.writeFieldBegin(CUSTOMER_ADDRESS1_FIELD_DESC);
|
|
|
2359 |
oprot.writeString(this.customer_address1);
|
| 483 |
rajveer |
2360 |
oprot.writeFieldEnd();
|
|
|
2361 |
}
|
| 736 |
chandransh |
2362 |
if (this.customer_address2 != null) {
|
|
|
2363 |
oprot.writeFieldBegin(CUSTOMER_ADDRESS2_FIELD_DESC);
|
|
|
2364 |
oprot.writeString(this.customer_address2);
|
|
|
2365 |
oprot.writeFieldEnd();
|
|
|
2366 |
}
|
| 483 |
rajveer |
2367 |
if (this.customer_email != null) {
|
|
|
2368 |
oprot.writeFieldBegin(CUSTOMER_EMAIL_FIELD_DESC);
|
|
|
2369 |
oprot.writeString(this.customer_email);
|
|
|
2370 |
oprot.writeFieldEnd();
|
|
|
2371 |
}
|
| 736 |
chandransh |
2372 |
if (this.customer_city != null) {
|
|
|
2373 |
oprot.writeFieldBegin(CUSTOMER_CITY_FIELD_DESC);
|
|
|
2374 |
oprot.writeString(this.customer_city);
|
|
|
2375 |
oprot.writeFieldEnd();
|
|
|
2376 |
}
|
|
|
2377 |
if (this.customer_state != null) {
|
|
|
2378 |
oprot.writeFieldBegin(CUSTOMER_STATE_FIELD_DESC);
|
|
|
2379 |
oprot.writeString(this.customer_state);
|
|
|
2380 |
oprot.writeFieldEnd();
|
|
|
2381 |
}
|
| 483 |
rajveer |
2382 |
if (this.status != null) {
|
|
|
2383 |
oprot.writeFieldBegin(STATUS_FIELD_DESC);
|
|
|
2384 |
oprot.writeI32(this.status.getValue());
|
|
|
2385 |
oprot.writeFieldEnd();
|
|
|
2386 |
}
|
|
|
2387 |
if (this.statusDescription != null) {
|
|
|
2388 |
oprot.writeFieldBegin(STATUS_DESCRIPTION_FIELD_DESC);
|
|
|
2389 |
oprot.writeString(this.statusDescription);
|
|
|
2390 |
oprot.writeFieldEnd();
|
|
|
2391 |
}
|
|
|
2392 |
oprot.writeFieldBegin(TOTAL_AMOUNT_FIELD_DESC);
|
|
|
2393 |
oprot.writeDouble(this.total_amount);
|
|
|
2394 |
oprot.writeFieldEnd();
|
|
|
2395 |
oprot.writeFieldBegin(TOTAL_WEIGHT_FIELD_DESC);
|
|
|
2396 |
oprot.writeDouble(this.total_weight);
|
|
|
2397 |
oprot.writeFieldEnd();
|
|
|
2398 |
if (this.invoice_number != null) {
|
|
|
2399 |
oprot.writeFieldBegin(INVOICE_NUMBER_FIELD_DESC);
|
|
|
2400 |
oprot.writeString(this.invoice_number);
|
|
|
2401 |
oprot.writeFieldEnd();
|
|
|
2402 |
}
|
|
|
2403 |
if (this.billed_by != null) {
|
|
|
2404 |
oprot.writeFieldBegin(BILLED_BY_FIELD_DESC);
|
|
|
2405 |
oprot.writeString(this.billed_by);
|
|
|
2406 |
oprot.writeFieldEnd();
|
|
|
2407 |
}
|
|
|
2408 |
oprot.writeFieldBegin(CREATED_TIMESTAMP_FIELD_DESC);
|
|
|
2409 |
oprot.writeI64(this.created_timestamp);
|
|
|
2410 |
oprot.writeFieldEnd();
|
|
|
2411 |
oprot.writeFieldBegin(ACCEPTED_TIMESTAMP_FIELD_DESC);
|
|
|
2412 |
oprot.writeI64(this.accepted_timestamp);
|
|
|
2413 |
oprot.writeFieldEnd();
|
|
|
2414 |
oprot.writeFieldBegin(BILLING_TIMESTAMP_FIELD_DESC);
|
|
|
2415 |
oprot.writeI64(this.billing_timestamp);
|
|
|
2416 |
oprot.writeFieldEnd();
|
|
|
2417 |
oprot.writeFieldBegin(SHIPPING_TIMESTAMP_FIELD_DESC);
|
|
|
2418 |
oprot.writeI64(this.shipping_timestamp);
|
|
|
2419 |
oprot.writeFieldEnd();
|
|
|
2420 |
oprot.writeFieldBegin(DELIVERY_TIMESTAMP_FIELD_DESC);
|
|
|
2421 |
oprot.writeI64(this.delivery_timestamp);
|
|
|
2422 |
oprot.writeFieldEnd();
|
| 640 |
chandransh |
2423 |
oprot.writeFieldBegin(JACKET_NUMBER_FIELD_DESC);
|
|
|
2424 |
oprot.writeI64(this.jacket_number);
|
|
|
2425 |
oprot.writeFieldEnd();
|
| 483 |
rajveer |
2426 |
oprot.writeFieldStop();
|
|
|
2427 |
oprot.writeStructEnd();
|
|
|
2428 |
}
|
|
|
2429 |
|
|
|
2430 |
@Override
|
|
|
2431 |
public String toString() {
|
|
|
2432 |
StringBuilder sb = new StringBuilder("Order(");
|
|
|
2433 |
boolean first = true;
|
|
|
2434 |
|
|
|
2435 |
sb.append("id:");
|
|
|
2436 |
sb.append(this.id);
|
|
|
2437 |
first = false;
|
|
|
2438 |
if (!first) sb.append(", ");
|
|
|
2439 |
sb.append("warehouse_id:");
|
|
|
2440 |
sb.append(this.warehouse_id);
|
|
|
2441 |
first = false;
|
|
|
2442 |
if (!first) sb.append(", ");
|
|
|
2443 |
sb.append("lineitems:");
|
|
|
2444 |
if (this.lineitems == null) {
|
|
|
2445 |
sb.append("null");
|
|
|
2446 |
} else {
|
|
|
2447 |
sb.append(this.lineitems);
|
|
|
2448 |
}
|
|
|
2449 |
first = false;
|
|
|
2450 |
if (!first) sb.append(", ");
|
|
|
2451 |
sb.append("logistics_provider_id:");
|
|
|
2452 |
sb.append(this.logistics_provider_id);
|
|
|
2453 |
first = false;
|
|
|
2454 |
if (!first) sb.append(", ");
|
|
|
2455 |
sb.append("airwaybill_no:");
|
|
|
2456 |
if (this.airwaybill_no == null) {
|
|
|
2457 |
sb.append("null");
|
|
|
2458 |
} else {
|
|
|
2459 |
sb.append(this.airwaybill_no);
|
|
|
2460 |
}
|
|
|
2461 |
first = false;
|
|
|
2462 |
if (!first) sb.append(", ");
|
|
|
2463 |
sb.append("tracking_id:");
|
|
|
2464 |
if (this.tracking_id == null) {
|
|
|
2465 |
sb.append("null");
|
|
|
2466 |
} else {
|
|
|
2467 |
sb.append(this.tracking_id);
|
|
|
2468 |
}
|
|
|
2469 |
first = false;
|
|
|
2470 |
if (!first) sb.append(", ");
|
|
|
2471 |
sb.append("expected_delivery_time:");
|
|
|
2472 |
sb.append(this.expected_delivery_time);
|
|
|
2473 |
first = false;
|
|
|
2474 |
if (!first) sb.append(", ");
|
|
|
2475 |
sb.append("customer_id:");
|
|
|
2476 |
sb.append(this.customer_id);
|
|
|
2477 |
first = false;
|
|
|
2478 |
if (!first) sb.append(", ");
|
|
|
2479 |
sb.append("customer_name:");
|
|
|
2480 |
if (this.customer_name == null) {
|
|
|
2481 |
sb.append("null");
|
|
|
2482 |
} else {
|
|
|
2483 |
sb.append(this.customer_name);
|
|
|
2484 |
}
|
|
|
2485 |
first = false;
|
|
|
2486 |
if (!first) sb.append(", ");
|
|
|
2487 |
sb.append("customer_mobilenumber:");
|
|
|
2488 |
if (this.customer_mobilenumber == null) {
|
|
|
2489 |
sb.append("null");
|
|
|
2490 |
} else {
|
|
|
2491 |
sb.append(this.customer_mobilenumber);
|
|
|
2492 |
}
|
|
|
2493 |
first = false;
|
|
|
2494 |
if (!first) sb.append(", ");
|
|
|
2495 |
sb.append("customer_pincode:");
|
|
|
2496 |
if (this.customer_pincode == null) {
|
|
|
2497 |
sb.append("null");
|
|
|
2498 |
} else {
|
|
|
2499 |
sb.append(this.customer_pincode);
|
|
|
2500 |
}
|
|
|
2501 |
first = false;
|
|
|
2502 |
if (!first) sb.append(", ");
|
| 736 |
chandransh |
2503 |
sb.append("customer_address1:");
|
|
|
2504 |
if (this.customer_address1 == null) {
|
| 483 |
rajveer |
2505 |
sb.append("null");
|
|
|
2506 |
} else {
|
| 736 |
chandransh |
2507 |
sb.append(this.customer_address1);
|
| 483 |
rajveer |
2508 |
}
|
|
|
2509 |
first = false;
|
|
|
2510 |
if (!first) sb.append(", ");
|
| 736 |
chandransh |
2511 |
sb.append("customer_address2:");
|
|
|
2512 |
if (this.customer_address2 == null) {
|
|
|
2513 |
sb.append("null");
|
|
|
2514 |
} else {
|
|
|
2515 |
sb.append(this.customer_address2);
|
|
|
2516 |
}
|
|
|
2517 |
first = false;
|
|
|
2518 |
if (!first) sb.append(", ");
|
| 483 |
rajveer |
2519 |
sb.append("customer_email:");
|
|
|
2520 |
if (this.customer_email == null) {
|
|
|
2521 |
sb.append("null");
|
|
|
2522 |
} else {
|
|
|
2523 |
sb.append(this.customer_email);
|
|
|
2524 |
}
|
|
|
2525 |
first = false;
|
|
|
2526 |
if (!first) sb.append(", ");
|
| 736 |
chandransh |
2527 |
sb.append("customer_city:");
|
|
|
2528 |
if (this.customer_city == null) {
|
|
|
2529 |
sb.append("null");
|
|
|
2530 |
} else {
|
|
|
2531 |
sb.append(this.customer_city);
|
|
|
2532 |
}
|
|
|
2533 |
first = false;
|
|
|
2534 |
if (!first) sb.append(", ");
|
|
|
2535 |
sb.append("customer_state:");
|
|
|
2536 |
if (this.customer_state == null) {
|
|
|
2537 |
sb.append("null");
|
|
|
2538 |
} else {
|
|
|
2539 |
sb.append(this.customer_state);
|
|
|
2540 |
}
|
|
|
2541 |
first = false;
|
|
|
2542 |
if (!first) sb.append(", ");
|
| 483 |
rajveer |
2543 |
sb.append("status:");
|
|
|
2544 |
if (this.status == null) {
|
|
|
2545 |
sb.append("null");
|
|
|
2546 |
} else {
|
|
|
2547 |
String status_name = status.name();
|
|
|
2548 |
if (status_name != null) {
|
|
|
2549 |
sb.append(status_name);
|
|
|
2550 |
sb.append(" (");
|
|
|
2551 |
}
|
|
|
2552 |
sb.append(this.status);
|
|
|
2553 |
if (status_name != null) {
|
|
|
2554 |
sb.append(")");
|
|
|
2555 |
}
|
|
|
2556 |
}
|
|
|
2557 |
first = false;
|
|
|
2558 |
if (!first) sb.append(", ");
|
|
|
2559 |
sb.append("statusDescription:");
|
|
|
2560 |
if (this.statusDescription == null) {
|
|
|
2561 |
sb.append("null");
|
|
|
2562 |
} else {
|
|
|
2563 |
sb.append(this.statusDescription);
|
|
|
2564 |
}
|
|
|
2565 |
first = false;
|
|
|
2566 |
if (!first) sb.append(", ");
|
|
|
2567 |
sb.append("total_amount:");
|
|
|
2568 |
sb.append(this.total_amount);
|
|
|
2569 |
first = false;
|
|
|
2570 |
if (!first) sb.append(", ");
|
|
|
2571 |
sb.append("total_weight:");
|
|
|
2572 |
sb.append(this.total_weight);
|
|
|
2573 |
first = false;
|
|
|
2574 |
if (!first) sb.append(", ");
|
|
|
2575 |
sb.append("invoice_number:");
|
|
|
2576 |
if (this.invoice_number == null) {
|
|
|
2577 |
sb.append("null");
|
|
|
2578 |
} else {
|
|
|
2579 |
sb.append(this.invoice_number);
|
|
|
2580 |
}
|
|
|
2581 |
first = false;
|
|
|
2582 |
if (!first) sb.append(", ");
|
|
|
2583 |
sb.append("billed_by:");
|
|
|
2584 |
if (this.billed_by == null) {
|
|
|
2585 |
sb.append("null");
|
|
|
2586 |
} else {
|
|
|
2587 |
sb.append(this.billed_by);
|
|
|
2588 |
}
|
|
|
2589 |
first = false;
|
|
|
2590 |
if (!first) sb.append(", ");
|
|
|
2591 |
sb.append("created_timestamp:");
|
|
|
2592 |
sb.append(this.created_timestamp);
|
|
|
2593 |
first = false;
|
|
|
2594 |
if (!first) sb.append(", ");
|
|
|
2595 |
sb.append("accepted_timestamp:");
|
|
|
2596 |
sb.append(this.accepted_timestamp);
|
|
|
2597 |
first = false;
|
|
|
2598 |
if (!first) sb.append(", ");
|
|
|
2599 |
sb.append("billing_timestamp:");
|
|
|
2600 |
sb.append(this.billing_timestamp);
|
|
|
2601 |
first = false;
|
|
|
2602 |
if (!first) sb.append(", ");
|
|
|
2603 |
sb.append("shipping_timestamp:");
|
|
|
2604 |
sb.append(this.shipping_timestamp);
|
|
|
2605 |
first = false;
|
|
|
2606 |
if (!first) sb.append(", ");
|
|
|
2607 |
sb.append("delivery_timestamp:");
|
|
|
2608 |
sb.append(this.delivery_timestamp);
|
|
|
2609 |
first = false;
|
| 640 |
chandransh |
2610 |
if (!first) sb.append(", ");
|
|
|
2611 |
sb.append("jacket_number:");
|
|
|
2612 |
sb.append(this.jacket_number);
|
|
|
2613 |
first = false;
|
| 483 |
rajveer |
2614 |
sb.append(")");
|
|
|
2615 |
return sb.toString();
|
|
|
2616 |
}
|
|
|
2617 |
|
|
|
2618 |
public void validate() throws TException {
|
|
|
2619 |
// check for required fields
|
|
|
2620 |
}
|
|
|
2621 |
|
|
|
2622 |
}
|
|
|
2623 |
|