| 18578 |
manish.sha |
1 |
/**
|
|
|
2 |
* Autogenerated by Thrift Compiler (0.7.0)
|
|
|
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.nio.ByteBuffer;
|
|
|
19 |
import java.util.Arrays;
|
|
|
20 |
import org.slf4j.Logger;
|
|
|
21 |
import org.slf4j.LoggerFactory;
|
|
|
22 |
|
|
|
23 |
public class ReturnTransaction implements org.apache.thrift.TBase<ReturnTransaction, ReturnTransaction._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("ReturnTransaction");
|
|
|
25 |
|
|
|
26 |
private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
|
|
|
27 |
private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.I32, (short)2);
|
|
|
28 |
private static final org.apache.thrift.protocol.TField CUSTOMER_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_email", org.apache.thrift.protocol.TType.STRING, (short)3);
|
|
|
29 |
private static final org.apache.thrift.protocol.TField CUSTOMER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_name", org.apache.thrift.protocol.TType.STRING, (short)4);
|
|
|
30 |
private static final org.apache.thrift.protocol.TField CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_id", org.apache.thrift.protocol.TType.I64, (short)5);
|
|
|
31 |
private static final org.apache.thrift.protocol.TField ADDRESS_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("address_id", org.apache.thrift.protocol.TType.I64, (short)6);
|
|
|
32 |
private static final org.apache.thrift.protocol.TField TICKET_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("ticketId", org.apache.thrift.protocol.TType.I64, (short)7);
|
|
|
33 |
private static final org.apache.thrift.protocol.TField CREATED_AT_FIELD_DESC = new org.apache.thrift.protocol.TField("createdAt", org.apache.thrift.protocol.TType.I64, (short)8);
|
|
|
34 |
private static final org.apache.thrift.protocol.TField PROCESSED_AT_FIELD_DESC = new org.apache.thrift.protocol.TField("processedAt", org.apache.thrift.protocol.TType.I64, (short)9);
|
|
|
35 |
private static final org.apache.thrift.protocol.TField AUTHORIZED_AT_FIELD_DESC = new org.apache.thrift.protocol.TField("authorizedAt", org.apache.thrift.protocol.TType.I64, (short)10);
|
|
|
36 |
private static final org.apache.thrift.protocol.TField CLOSED_AT_FIELD_DESC = new org.apache.thrift.protocol.TField("closedAt", org.apache.thrift.protocol.TType.I64, (short)11);
|
|
|
37 |
private static final org.apache.thrift.protocol.TField CUSTOMER_ADDRESS_FIELD_DESC = new org.apache.thrift.protocol.TField("customerAddress", org.apache.thrift.protocol.TType.STRING, (short)12);
|
|
|
38 |
private static final org.apache.thrift.protocol.TField PINCODE_FIELD_DESC = new org.apache.thrift.protocol.TField("pincode", org.apache.thrift.protocol.TType.STRING, (short)13);
|
|
|
39 |
private static final org.apache.thrift.protocol.TField CUSTOMER_CITY_FIELD_DESC = new org.apache.thrift.protocol.TField("customerCity", org.apache.thrift.protocol.TType.STRING, (short)14);
|
|
|
40 |
private static final org.apache.thrift.protocol.TField CUSTOMER_STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("customerState", org.apache.thrift.protocol.TType.STRING, (short)15);
|
|
|
41 |
private static final org.apache.thrift.protocol.TField CUSTOMER_PHONE_FIELD_DESC = new org.apache.thrift.protocol.TField("customerPhone", org.apache.thrift.protocol.TType.STRING, (short)16);
|
|
|
42 |
private static final org.apache.thrift.protocol.TField RETURN_ORDERS_FIELD_DESC = new org.apache.thrift.protocol.TField("returnOrders", org.apache.thrift.protocol.TType.LIST, (short)17);
|
|
|
43 |
|
|
|
44 |
private long id; // required
|
|
|
45 |
private ReturnTransactionStatus status; // required
|
|
|
46 |
private String customer_email; // required
|
|
|
47 |
private String customer_name; // required
|
|
|
48 |
private long customer_id; // required
|
|
|
49 |
private long address_id; // required
|
|
|
50 |
private long ticketId; // required
|
|
|
51 |
private long createdAt; // required
|
|
|
52 |
private long processedAt; // required
|
|
|
53 |
private long authorizedAt; // required
|
|
|
54 |
private long closedAt; // required
|
|
|
55 |
private String customerAddress; // required
|
|
|
56 |
private String pincode; // required
|
|
|
57 |
private String customerCity; // required
|
|
|
58 |
private String customerState; // required
|
|
|
59 |
private String customerPhone; // required
|
|
|
60 |
private List<ReturnOrderInfo> returnOrders; // required
|
|
|
61 |
|
|
|
62 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
|
|
63 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
|
|
64 |
ID((short)1, "id"),
|
|
|
65 |
/**
|
|
|
66 |
*
|
|
|
67 |
* @see ReturnTransactionStatus
|
|
|
68 |
*/
|
|
|
69 |
STATUS((short)2, "status"),
|
|
|
70 |
CUSTOMER_EMAIL((short)3, "customer_email"),
|
|
|
71 |
CUSTOMER_NAME((short)4, "customer_name"),
|
|
|
72 |
CUSTOMER_ID((short)5, "customer_id"),
|
|
|
73 |
ADDRESS_ID((short)6, "address_id"),
|
|
|
74 |
TICKET_ID((short)7, "ticketId"),
|
|
|
75 |
CREATED_AT((short)8, "createdAt"),
|
|
|
76 |
PROCESSED_AT((short)9, "processedAt"),
|
|
|
77 |
AUTHORIZED_AT((short)10, "authorizedAt"),
|
|
|
78 |
CLOSED_AT((short)11, "closedAt"),
|
|
|
79 |
CUSTOMER_ADDRESS((short)12, "customerAddress"),
|
|
|
80 |
PINCODE((short)13, "pincode"),
|
|
|
81 |
CUSTOMER_CITY((short)14, "customerCity"),
|
|
|
82 |
CUSTOMER_STATE((short)15, "customerState"),
|
|
|
83 |
CUSTOMER_PHONE((short)16, "customerPhone"),
|
|
|
84 |
RETURN_ORDERS((short)17, "returnOrders");
|
|
|
85 |
|
|
|
86 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
87 |
|
|
|
88 |
static {
|
|
|
89 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
90 |
byName.put(field.getFieldName(), field);
|
|
|
91 |
}
|
|
|
92 |
}
|
|
|
93 |
|
|
|
94 |
/**
|
|
|
95 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
96 |
*/
|
|
|
97 |
public static _Fields findByThriftId(int fieldId) {
|
|
|
98 |
switch(fieldId) {
|
|
|
99 |
case 1: // ID
|
|
|
100 |
return ID;
|
|
|
101 |
case 2: // STATUS
|
|
|
102 |
return STATUS;
|
|
|
103 |
case 3: // CUSTOMER_EMAIL
|
|
|
104 |
return CUSTOMER_EMAIL;
|
|
|
105 |
case 4: // CUSTOMER_NAME
|
|
|
106 |
return CUSTOMER_NAME;
|
|
|
107 |
case 5: // CUSTOMER_ID
|
|
|
108 |
return CUSTOMER_ID;
|
|
|
109 |
case 6: // ADDRESS_ID
|
|
|
110 |
return ADDRESS_ID;
|
|
|
111 |
case 7: // TICKET_ID
|
|
|
112 |
return TICKET_ID;
|
|
|
113 |
case 8: // CREATED_AT
|
|
|
114 |
return CREATED_AT;
|
|
|
115 |
case 9: // PROCESSED_AT
|
|
|
116 |
return PROCESSED_AT;
|
|
|
117 |
case 10: // AUTHORIZED_AT
|
|
|
118 |
return AUTHORIZED_AT;
|
|
|
119 |
case 11: // CLOSED_AT
|
|
|
120 |
return CLOSED_AT;
|
|
|
121 |
case 12: // CUSTOMER_ADDRESS
|
|
|
122 |
return CUSTOMER_ADDRESS;
|
|
|
123 |
case 13: // PINCODE
|
|
|
124 |
return PINCODE;
|
|
|
125 |
case 14: // CUSTOMER_CITY
|
|
|
126 |
return CUSTOMER_CITY;
|
|
|
127 |
case 15: // CUSTOMER_STATE
|
|
|
128 |
return CUSTOMER_STATE;
|
|
|
129 |
case 16: // CUSTOMER_PHONE
|
|
|
130 |
return CUSTOMER_PHONE;
|
|
|
131 |
case 17: // RETURN_ORDERS
|
|
|
132 |
return RETURN_ORDERS;
|
|
|
133 |
default:
|
|
|
134 |
return null;
|
|
|
135 |
}
|
|
|
136 |
}
|
|
|
137 |
|
|
|
138 |
/**
|
|
|
139 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
140 |
* if it is not found.
|
|
|
141 |
*/
|
|
|
142 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
143 |
_Fields fields = findByThriftId(fieldId);
|
|
|
144 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
145 |
return fields;
|
|
|
146 |
}
|
|
|
147 |
|
|
|
148 |
/**
|
|
|
149 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
150 |
*/
|
|
|
151 |
public static _Fields findByName(String name) {
|
|
|
152 |
return byName.get(name);
|
|
|
153 |
}
|
|
|
154 |
|
|
|
155 |
private final short _thriftId;
|
|
|
156 |
private final String _fieldName;
|
|
|
157 |
|
|
|
158 |
_Fields(short thriftId, String fieldName) {
|
|
|
159 |
_thriftId = thriftId;
|
|
|
160 |
_fieldName = fieldName;
|
|
|
161 |
}
|
|
|
162 |
|
|
|
163 |
public short getThriftFieldId() {
|
|
|
164 |
return _thriftId;
|
|
|
165 |
}
|
|
|
166 |
|
|
|
167 |
public String getFieldName() {
|
|
|
168 |
return _fieldName;
|
|
|
169 |
}
|
|
|
170 |
}
|
|
|
171 |
|
|
|
172 |
// isset id assignments
|
|
|
173 |
private static final int __ID_ISSET_ID = 0;
|
|
|
174 |
private static final int __CUSTOMER_ID_ISSET_ID = 1;
|
|
|
175 |
private static final int __ADDRESS_ID_ISSET_ID = 2;
|
|
|
176 |
private static final int __TICKETID_ISSET_ID = 3;
|
|
|
177 |
private static final int __CREATEDAT_ISSET_ID = 4;
|
|
|
178 |
private static final int __PROCESSEDAT_ISSET_ID = 5;
|
|
|
179 |
private static final int __AUTHORIZEDAT_ISSET_ID = 6;
|
|
|
180 |
private static final int __CLOSEDAT_ISSET_ID = 7;
|
|
|
181 |
private BitSet __isset_bit_vector = new BitSet(8);
|
|
|
182 |
|
|
|
183 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
|
|
184 |
static {
|
|
|
185 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
186 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
187 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
188 |
tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
189 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, ReturnTransactionStatus.class)));
|
|
|
190 |
tmpMap.put(_Fields.CUSTOMER_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("customer_email", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
191 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
192 |
tmpMap.put(_Fields.CUSTOMER_NAME, new org.apache.thrift.meta_data.FieldMetaData("customer_name", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
193 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
194 |
tmpMap.put(_Fields.CUSTOMER_ID, new org.apache.thrift.meta_data.FieldMetaData("customer_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
195 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
196 |
tmpMap.put(_Fields.ADDRESS_ID, new org.apache.thrift.meta_data.FieldMetaData("address_id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
197 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
198 |
tmpMap.put(_Fields.TICKET_ID, new org.apache.thrift.meta_data.FieldMetaData("ticketId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
199 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
200 |
tmpMap.put(_Fields.CREATED_AT, new org.apache.thrift.meta_data.FieldMetaData("createdAt", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
201 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
202 |
tmpMap.put(_Fields.PROCESSED_AT, new org.apache.thrift.meta_data.FieldMetaData("processedAt", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
203 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
204 |
tmpMap.put(_Fields.AUTHORIZED_AT, new org.apache.thrift.meta_data.FieldMetaData("authorizedAt", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
205 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
206 |
tmpMap.put(_Fields.CLOSED_AT, new org.apache.thrift.meta_data.FieldMetaData("closedAt", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
207 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
208 |
tmpMap.put(_Fields.CUSTOMER_ADDRESS, new org.apache.thrift.meta_data.FieldMetaData("customerAddress", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
209 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
210 |
tmpMap.put(_Fields.PINCODE, new org.apache.thrift.meta_data.FieldMetaData("pincode", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
211 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
212 |
tmpMap.put(_Fields.CUSTOMER_CITY, new org.apache.thrift.meta_data.FieldMetaData("customerCity", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
213 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
214 |
tmpMap.put(_Fields.CUSTOMER_STATE, new org.apache.thrift.meta_data.FieldMetaData("customerState", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
215 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
216 |
tmpMap.put(_Fields.CUSTOMER_PHONE, new org.apache.thrift.meta_data.FieldMetaData("customerPhone", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
217 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
218 |
tmpMap.put(_Fields.RETURN_ORDERS, new org.apache.thrift.meta_data.FieldMetaData("returnOrders", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
219 |
new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST,
|
|
|
220 |
new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReturnOrderInfo.class))));
|
|
|
221 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
222 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ReturnTransaction.class, metaDataMap);
|
|
|
223 |
}
|
|
|
224 |
|
|
|
225 |
public ReturnTransaction() {
|
|
|
226 |
}
|
|
|
227 |
|
|
|
228 |
public ReturnTransaction(
|
|
|
229 |
long id,
|
|
|
230 |
ReturnTransactionStatus status,
|
|
|
231 |
String customer_email,
|
|
|
232 |
String customer_name,
|
|
|
233 |
long customer_id,
|
|
|
234 |
long address_id,
|
|
|
235 |
long ticketId,
|
|
|
236 |
long createdAt,
|
|
|
237 |
long processedAt,
|
|
|
238 |
long authorizedAt,
|
|
|
239 |
long closedAt,
|
|
|
240 |
String customerAddress,
|
|
|
241 |
String pincode,
|
|
|
242 |
String customerCity,
|
|
|
243 |
String customerState,
|
|
|
244 |
String customerPhone,
|
|
|
245 |
List<ReturnOrderInfo> returnOrders)
|
|
|
246 |
{
|
|
|
247 |
this();
|
|
|
248 |
this.id = id;
|
|
|
249 |
setIdIsSet(true);
|
|
|
250 |
this.status = status;
|
|
|
251 |
this.customer_email = customer_email;
|
|
|
252 |
this.customer_name = customer_name;
|
|
|
253 |
this.customer_id = customer_id;
|
|
|
254 |
setCustomer_idIsSet(true);
|
|
|
255 |
this.address_id = address_id;
|
|
|
256 |
setAddress_idIsSet(true);
|
|
|
257 |
this.ticketId = ticketId;
|
|
|
258 |
setTicketIdIsSet(true);
|
|
|
259 |
this.createdAt = createdAt;
|
|
|
260 |
setCreatedAtIsSet(true);
|
|
|
261 |
this.processedAt = processedAt;
|
|
|
262 |
setProcessedAtIsSet(true);
|
|
|
263 |
this.authorizedAt = authorizedAt;
|
|
|
264 |
setAuthorizedAtIsSet(true);
|
|
|
265 |
this.closedAt = closedAt;
|
|
|
266 |
setClosedAtIsSet(true);
|
|
|
267 |
this.customerAddress = customerAddress;
|
|
|
268 |
this.pincode = pincode;
|
|
|
269 |
this.customerCity = customerCity;
|
|
|
270 |
this.customerState = customerState;
|
|
|
271 |
this.customerPhone = customerPhone;
|
|
|
272 |
this.returnOrders = returnOrders;
|
|
|
273 |
}
|
|
|
274 |
|
|
|
275 |
/**
|
|
|
276 |
* Performs a deep copy on <i>other</i>.
|
|
|
277 |
*/
|
|
|
278 |
public ReturnTransaction(ReturnTransaction other) {
|
|
|
279 |
__isset_bit_vector.clear();
|
|
|
280 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
|
|
281 |
this.id = other.id;
|
|
|
282 |
if (other.isSetStatus()) {
|
|
|
283 |
this.status = other.status;
|
|
|
284 |
}
|
|
|
285 |
if (other.isSetCustomer_email()) {
|
|
|
286 |
this.customer_email = other.customer_email;
|
|
|
287 |
}
|
|
|
288 |
if (other.isSetCustomer_name()) {
|
|
|
289 |
this.customer_name = other.customer_name;
|
|
|
290 |
}
|
|
|
291 |
this.customer_id = other.customer_id;
|
|
|
292 |
this.address_id = other.address_id;
|
|
|
293 |
this.ticketId = other.ticketId;
|
|
|
294 |
this.createdAt = other.createdAt;
|
|
|
295 |
this.processedAt = other.processedAt;
|
|
|
296 |
this.authorizedAt = other.authorizedAt;
|
|
|
297 |
this.closedAt = other.closedAt;
|
|
|
298 |
if (other.isSetCustomerAddress()) {
|
|
|
299 |
this.customerAddress = other.customerAddress;
|
|
|
300 |
}
|
|
|
301 |
if (other.isSetPincode()) {
|
|
|
302 |
this.pincode = other.pincode;
|
|
|
303 |
}
|
|
|
304 |
if (other.isSetCustomerCity()) {
|
|
|
305 |
this.customerCity = other.customerCity;
|
|
|
306 |
}
|
|
|
307 |
if (other.isSetCustomerState()) {
|
|
|
308 |
this.customerState = other.customerState;
|
|
|
309 |
}
|
|
|
310 |
if (other.isSetCustomerPhone()) {
|
|
|
311 |
this.customerPhone = other.customerPhone;
|
|
|
312 |
}
|
|
|
313 |
if (other.isSetReturnOrders()) {
|
|
|
314 |
List<ReturnOrderInfo> __this__returnOrders = new ArrayList<ReturnOrderInfo>();
|
|
|
315 |
for (ReturnOrderInfo other_element : other.returnOrders) {
|
|
|
316 |
__this__returnOrders.add(new ReturnOrderInfo(other_element));
|
|
|
317 |
}
|
|
|
318 |
this.returnOrders = __this__returnOrders;
|
|
|
319 |
}
|
|
|
320 |
}
|
|
|
321 |
|
|
|
322 |
public ReturnTransaction deepCopy() {
|
|
|
323 |
return new ReturnTransaction(this);
|
|
|
324 |
}
|
|
|
325 |
|
|
|
326 |
@Override
|
|
|
327 |
public void clear() {
|
|
|
328 |
setIdIsSet(false);
|
|
|
329 |
this.id = 0;
|
|
|
330 |
this.status = null;
|
|
|
331 |
this.customer_email = null;
|
|
|
332 |
this.customer_name = null;
|
|
|
333 |
setCustomer_idIsSet(false);
|
|
|
334 |
this.customer_id = 0;
|
|
|
335 |
setAddress_idIsSet(false);
|
|
|
336 |
this.address_id = 0;
|
|
|
337 |
setTicketIdIsSet(false);
|
|
|
338 |
this.ticketId = 0;
|
|
|
339 |
setCreatedAtIsSet(false);
|
|
|
340 |
this.createdAt = 0;
|
|
|
341 |
setProcessedAtIsSet(false);
|
|
|
342 |
this.processedAt = 0;
|
|
|
343 |
setAuthorizedAtIsSet(false);
|
|
|
344 |
this.authorizedAt = 0;
|
|
|
345 |
setClosedAtIsSet(false);
|
|
|
346 |
this.closedAt = 0;
|
|
|
347 |
this.customerAddress = null;
|
|
|
348 |
this.pincode = null;
|
|
|
349 |
this.customerCity = null;
|
|
|
350 |
this.customerState = null;
|
|
|
351 |
this.customerPhone = null;
|
|
|
352 |
this.returnOrders = null;
|
|
|
353 |
}
|
|
|
354 |
|
|
|
355 |
public long getId() {
|
|
|
356 |
return this.id;
|
|
|
357 |
}
|
|
|
358 |
|
|
|
359 |
public void setId(long id) {
|
|
|
360 |
this.id = id;
|
|
|
361 |
setIdIsSet(true);
|
|
|
362 |
}
|
|
|
363 |
|
|
|
364 |
public void unsetId() {
|
|
|
365 |
__isset_bit_vector.clear(__ID_ISSET_ID);
|
|
|
366 |
}
|
|
|
367 |
|
|
|
368 |
/** Returns true if field id is set (has been assigned a value) and false otherwise */
|
|
|
369 |
public boolean isSetId() {
|
|
|
370 |
return __isset_bit_vector.get(__ID_ISSET_ID);
|
|
|
371 |
}
|
|
|
372 |
|
|
|
373 |
public void setIdIsSet(boolean value) {
|
|
|
374 |
__isset_bit_vector.set(__ID_ISSET_ID, value);
|
|
|
375 |
}
|
|
|
376 |
|
|
|
377 |
/**
|
|
|
378 |
*
|
|
|
379 |
* @see ReturnTransactionStatus
|
|
|
380 |
*/
|
|
|
381 |
public ReturnTransactionStatus getStatus() {
|
|
|
382 |
return this.status;
|
|
|
383 |
}
|
|
|
384 |
|
|
|
385 |
/**
|
|
|
386 |
*
|
|
|
387 |
* @see ReturnTransactionStatus
|
|
|
388 |
*/
|
|
|
389 |
public void setStatus(ReturnTransactionStatus status) {
|
|
|
390 |
this.status = status;
|
|
|
391 |
}
|
|
|
392 |
|
|
|
393 |
public void unsetStatus() {
|
|
|
394 |
this.status = null;
|
|
|
395 |
}
|
|
|
396 |
|
|
|
397 |
/** Returns true if field status is set (has been assigned a value) and false otherwise */
|
|
|
398 |
public boolean isSetStatus() {
|
|
|
399 |
return this.status != null;
|
|
|
400 |
}
|
|
|
401 |
|
|
|
402 |
public void setStatusIsSet(boolean value) {
|
|
|
403 |
if (!value) {
|
|
|
404 |
this.status = null;
|
|
|
405 |
}
|
|
|
406 |
}
|
|
|
407 |
|
|
|
408 |
public String getCustomer_email() {
|
|
|
409 |
return this.customer_email;
|
|
|
410 |
}
|
|
|
411 |
|
|
|
412 |
public void setCustomer_email(String customer_email) {
|
|
|
413 |
this.customer_email = customer_email;
|
|
|
414 |
}
|
|
|
415 |
|
|
|
416 |
public void unsetCustomer_email() {
|
|
|
417 |
this.customer_email = null;
|
|
|
418 |
}
|
|
|
419 |
|
|
|
420 |
/** Returns true if field customer_email is set (has been assigned a value) and false otherwise */
|
|
|
421 |
public boolean isSetCustomer_email() {
|
|
|
422 |
return this.customer_email != null;
|
|
|
423 |
}
|
|
|
424 |
|
|
|
425 |
public void setCustomer_emailIsSet(boolean value) {
|
|
|
426 |
if (!value) {
|
|
|
427 |
this.customer_email = null;
|
|
|
428 |
}
|
|
|
429 |
}
|
|
|
430 |
|
|
|
431 |
public String getCustomer_name() {
|
|
|
432 |
return this.customer_name;
|
|
|
433 |
}
|
|
|
434 |
|
|
|
435 |
public void setCustomer_name(String customer_name) {
|
|
|
436 |
this.customer_name = customer_name;
|
|
|
437 |
}
|
|
|
438 |
|
|
|
439 |
public void unsetCustomer_name() {
|
|
|
440 |
this.customer_name = null;
|
|
|
441 |
}
|
|
|
442 |
|
|
|
443 |
/** Returns true if field customer_name is set (has been assigned a value) and false otherwise */
|
|
|
444 |
public boolean isSetCustomer_name() {
|
|
|
445 |
return this.customer_name != null;
|
|
|
446 |
}
|
|
|
447 |
|
|
|
448 |
public void setCustomer_nameIsSet(boolean value) {
|
|
|
449 |
if (!value) {
|
|
|
450 |
this.customer_name = null;
|
|
|
451 |
}
|
|
|
452 |
}
|
|
|
453 |
|
|
|
454 |
public long getCustomer_id() {
|
|
|
455 |
return this.customer_id;
|
|
|
456 |
}
|
|
|
457 |
|
|
|
458 |
public void setCustomer_id(long customer_id) {
|
|
|
459 |
this.customer_id = customer_id;
|
|
|
460 |
setCustomer_idIsSet(true);
|
|
|
461 |
}
|
|
|
462 |
|
|
|
463 |
public void unsetCustomer_id() {
|
|
|
464 |
__isset_bit_vector.clear(__CUSTOMER_ID_ISSET_ID);
|
|
|
465 |
}
|
|
|
466 |
|
|
|
467 |
/** Returns true if field customer_id is set (has been assigned a value) and false otherwise */
|
|
|
468 |
public boolean isSetCustomer_id() {
|
|
|
469 |
return __isset_bit_vector.get(__CUSTOMER_ID_ISSET_ID);
|
|
|
470 |
}
|
|
|
471 |
|
|
|
472 |
public void setCustomer_idIsSet(boolean value) {
|
|
|
473 |
__isset_bit_vector.set(__CUSTOMER_ID_ISSET_ID, value);
|
|
|
474 |
}
|
|
|
475 |
|
|
|
476 |
public long getAddress_id() {
|
|
|
477 |
return this.address_id;
|
|
|
478 |
}
|
|
|
479 |
|
|
|
480 |
public void setAddress_id(long address_id) {
|
|
|
481 |
this.address_id = address_id;
|
|
|
482 |
setAddress_idIsSet(true);
|
|
|
483 |
}
|
|
|
484 |
|
|
|
485 |
public void unsetAddress_id() {
|
|
|
486 |
__isset_bit_vector.clear(__ADDRESS_ID_ISSET_ID);
|
|
|
487 |
}
|
|
|
488 |
|
|
|
489 |
/** Returns true if field address_id is set (has been assigned a value) and false otherwise */
|
|
|
490 |
public boolean isSetAddress_id() {
|
|
|
491 |
return __isset_bit_vector.get(__ADDRESS_ID_ISSET_ID);
|
|
|
492 |
}
|
|
|
493 |
|
|
|
494 |
public void setAddress_idIsSet(boolean value) {
|
|
|
495 |
__isset_bit_vector.set(__ADDRESS_ID_ISSET_ID, value);
|
|
|
496 |
}
|
|
|
497 |
|
|
|
498 |
public long getTicketId() {
|
|
|
499 |
return this.ticketId;
|
|
|
500 |
}
|
|
|
501 |
|
|
|
502 |
public void setTicketId(long ticketId) {
|
|
|
503 |
this.ticketId = ticketId;
|
|
|
504 |
setTicketIdIsSet(true);
|
|
|
505 |
}
|
|
|
506 |
|
|
|
507 |
public void unsetTicketId() {
|
|
|
508 |
__isset_bit_vector.clear(__TICKETID_ISSET_ID);
|
|
|
509 |
}
|
|
|
510 |
|
|
|
511 |
/** Returns true if field ticketId is set (has been assigned a value) and false otherwise */
|
|
|
512 |
public boolean isSetTicketId() {
|
|
|
513 |
return __isset_bit_vector.get(__TICKETID_ISSET_ID);
|
|
|
514 |
}
|
|
|
515 |
|
|
|
516 |
public void setTicketIdIsSet(boolean value) {
|
|
|
517 |
__isset_bit_vector.set(__TICKETID_ISSET_ID, value);
|
|
|
518 |
}
|
|
|
519 |
|
|
|
520 |
public long getCreatedAt() {
|
|
|
521 |
return this.createdAt;
|
|
|
522 |
}
|
|
|
523 |
|
|
|
524 |
public void setCreatedAt(long createdAt) {
|
|
|
525 |
this.createdAt = createdAt;
|
|
|
526 |
setCreatedAtIsSet(true);
|
|
|
527 |
}
|
|
|
528 |
|
|
|
529 |
public void unsetCreatedAt() {
|
|
|
530 |
__isset_bit_vector.clear(__CREATEDAT_ISSET_ID);
|
|
|
531 |
}
|
|
|
532 |
|
|
|
533 |
/** Returns true if field createdAt is set (has been assigned a value) and false otherwise */
|
|
|
534 |
public boolean isSetCreatedAt() {
|
|
|
535 |
return __isset_bit_vector.get(__CREATEDAT_ISSET_ID);
|
|
|
536 |
}
|
|
|
537 |
|
|
|
538 |
public void setCreatedAtIsSet(boolean value) {
|
|
|
539 |
__isset_bit_vector.set(__CREATEDAT_ISSET_ID, value);
|
|
|
540 |
}
|
|
|
541 |
|
|
|
542 |
public long getProcessedAt() {
|
|
|
543 |
return this.processedAt;
|
|
|
544 |
}
|
|
|
545 |
|
|
|
546 |
public void setProcessedAt(long processedAt) {
|
|
|
547 |
this.processedAt = processedAt;
|
|
|
548 |
setProcessedAtIsSet(true);
|
|
|
549 |
}
|
|
|
550 |
|
|
|
551 |
public void unsetProcessedAt() {
|
|
|
552 |
__isset_bit_vector.clear(__PROCESSEDAT_ISSET_ID);
|
|
|
553 |
}
|
|
|
554 |
|
|
|
555 |
/** Returns true if field processedAt is set (has been assigned a value) and false otherwise */
|
|
|
556 |
public boolean isSetProcessedAt() {
|
|
|
557 |
return __isset_bit_vector.get(__PROCESSEDAT_ISSET_ID);
|
|
|
558 |
}
|
|
|
559 |
|
|
|
560 |
public void setProcessedAtIsSet(boolean value) {
|
|
|
561 |
__isset_bit_vector.set(__PROCESSEDAT_ISSET_ID, value);
|
|
|
562 |
}
|
|
|
563 |
|
|
|
564 |
public long getAuthorizedAt() {
|
|
|
565 |
return this.authorizedAt;
|
|
|
566 |
}
|
|
|
567 |
|
|
|
568 |
public void setAuthorizedAt(long authorizedAt) {
|
|
|
569 |
this.authorizedAt = authorizedAt;
|
|
|
570 |
setAuthorizedAtIsSet(true);
|
|
|
571 |
}
|
|
|
572 |
|
|
|
573 |
public void unsetAuthorizedAt() {
|
|
|
574 |
__isset_bit_vector.clear(__AUTHORIZEDAT_ISSET_ID);
|
|
|
575 |
}
|
|
|
576 |
|
|
|
577 |
/** Returns true if field authorizedAt is set (has been assigned a value) and false otherwise */
|
|
|
578 |
public boolean isSetAuthorizedAt() {
|
|
|
579 |
return __isset_bit_vector.get(__AUTHORIZEDAT_ISSET_ID);
|
|
|
580 |
}
|
|
|
581 |
|
|
|
582 |
public void setAuthorizedAtIsSet(boolean value) {
|
|
|
583 |
__isset_bit_vector.set(__AUTHORIZEDAT_ISSET_ID, value);
|
|
|
584 |
}
|
|
|
585 |
|
|
|
586 |
public long getClosedAt() {
|
|
|
587 |
return this.closedAt;
|
|
|
588 |
}
|
|
|
589 |
|
|
|
590 |
public void setClosedAt(long closedAt) {
|
|
|
591 |
this.closedAt = closedAt;
|
|
|
592 |
setClosedAtIsSet(true);
|
|
|
593 |
}
|
|
|
594 |
|
|
|
595 |
public void unsetClosedAt() {
|
|
|
596 |
__isset_bit_vector.clear(__CLOSEDAT_ISSET_ID);
|
|
|
597 |
}
|
|
|
598 |
|
|
|
599 |
/** Returns true if field closedAt is set (has been assigned a value) and false otherwise */
|
|
|
600 |
public boolean isSetClosedAt() {
|
|
|
601 |
return __isset_bit_vector.get(__CLOSEDAT_ISSET_ID);
|
|
|
602 |
}
|
|
|
603 |
|
|
|
604 |
public void setClosedAtIsSet(boolean value) {
|
|
|
605 |
__isset_bit_vector.set(__CLOSEDAT_ISSET_ID, value);
|
|
|
606 |
}
|
|
|
607 |
|
|
|
608 |
public String getCustomerAddress() {
|
|
|
609 |
return this.customerAddress;
|
|
|
610 |
}
|
|
|
611 |
|
|
|
612 |
public void setCustomerAddress(String customerAddress) {
|
|
|
613 |
this.customerAddress = customerAddress;
|
|
|
614 |
}
|
|
|
615 |
|
|
|
616 |
public void unsetCustomerAddress() {
|
|
|
617 |
this.customerAddress = null;
|
|
|
618 |
}
|
|
|
619 |
|
|
|
620 |
/** Returns true if field customerAddress is set (has been assigned a value) and false otherwise */
|
|
|
621 |
public boolean isSetCustomerAddress() {
|
|
|
622 |
return this.customerAddress != null;
|
|
|
623 |
}
|
|
|
624 |
|
|
|
625 |
public void setCustomerAddressIsSet(boolean value) {
|
|
|
626 |
if (!value) {
|
|
|
627 |
this.customerAddress = null;
|
|
|
628 |
}
|
|
|
629 |
}
|
|
|
630 |
|
|
|
631 |
public String getPincode() {
|
|
|
632 |
return this.pincode;
|
|
|
633 |
}
|
|
|
634 |
|
|
|
635 |
public void setPincode(String pincode) {
|
|
|
636 |
this.pincode = pincode;
|
|
|
637 |
}
|
|
|
638 |
|
|
|
639 |
public void unsetPincode() {
|
|
|
640 |
this.pincode = null;
|
|
|
641 |
}
|
|
|
642 |
|
|
|
643 |
/** Returns true if field pincode is set (has been assigned a value) and false otherwise */
|
|
|
644 |
public boolean isSetPincode() {
|
|
|
645 |
return this.pincode != null;
|
|
|
646 |
}
|
|
|
647 |
|
|
|
648 |
public void setPincodeIsSet(boolean value) {
|
|
|
649 |
if (!value) {
|
|
|
650 |
this.pincode = null;
|
|
|
651 |
}
|
|
|
652 |
}
|
|
|
653 |
|
|
|
654 |
public String getCustomerCity() {
|
|
|
655 |
return this.customerCity;
|
|
|
656 |
}
|
|
|
657 |
|
|
|
658 |
public void setCustomerCity(String customerCity) {
|
|
|
659 |
this.customerCity = customerCity;
|
|
|
660 |
}
|
|
|
661 |
|
|
|
662 |
public void unsetCustomerCity() {
|
|
|
663 |
this.customerCity = null;
|
|
|
664 |
}
|
|
|
665 |
|
|
|
666 |
/** Returns true if field customerCity is set (has been assigned a value) and false otherwise */
|
|
|
667 |
public boolean isSetCustomerCity() {
|
|
|
668 |
return this.customerCity != null;
|
|
|
669 |
}
|
|
|
670 |
|
|
|
671 |
public void setCustomerCityIsSet(boolean value) {
|
|
|
672 |
if (!value) {
|
|
|
673 |
this.customerCity = null;
|
|
|
674 |
}
|
|
|
675 |
}
|
|
|
676 |
|
|
|
677 |
public String getCustomerState() {
|
|
|
678 |
return this.customerState;
|
|
|
679 |
}
|
|
|
680 |
|
|
|
681 |
public void setCustomerState(String customerState) {
|
|
|
682 |
this.customerState = customerState;
|
|
|
683 |
}
|
|
|
684 |
|
|
|
685 |
public void unsetCustomerState() {
|
|
|
686 |
this.customerState = null;
|
|
|
687 |
}
|
|
|
688 |
|
|
|
689 |
/** Returns true if field customerState is set (has been assigned a value) and false otherwise */
|
|
|
690 |
public boolean isSetCustomerState() {
|
|
|
691 |
return this.customerState != null;
|
|
|
692 |
}
|
|
|
693 |
|
|
|
694 |
public void setCustomerStateIsSet(boolean value) {
|
|
|
695 |
if (!value) {
|
|
|
696 |
this.customerState = null;
|
|
|
697 |
}
|
|
|
698 |
}
|
|
|
699 |
|
|
|
700 |
public String getCustomerPhone() {
|
|
|
701 |
return this.customerPhone;
|
|
|
702 |
}
|
|
|
703 |
|
|
|
704 |
public void setCustomerPhone(String customerPhone) {
|
|
|
705 |
this.customerPhone = customerPhone;
|
|
|
706 |
}
|
|
|
707 |
|
|
|
708 |
public void unsetCustomerPhone() {
|
|
|
709 |
this.customerPhone = null;
|
|
|
710 |
}
|
|
|
711 |
|
|
|
712 |
/** Returns true if field customerPhone is set (has been assigned a value) and false otherwise */
|
|
|
713 |
public boolean isSetCustomerPhone() {
|
|
|
714 |
return this.customerPhone != null;
|
|
|
715 |
}
|
|
|
716 |
|
|
|
717 |
public void setCustomerPhoneIsSet(boolean value) {
|
|
|
718 |
if (!value) {
|
|
|
719 |
this.customerPhone = null;
|
|
|
720 |
}
|
|
|
721 |
}
|
|
|
722 |
|
|
|
723 |
public int getReturnOrdersSize() {
|
|
|
724 |
return (this.returnOrders == null) ? 0 : this.returnOrders.size();
|
|
|
725 |
}
|
|
|
726 |
|
|
|
727 |
public java.util.Iterator<ReturnOrderInfo> getReturnOrdersIterator() {
|
|
|
728 |
return (this.returnOrders == null) ? null : this.returnOrders.iterator();
|
|
|
729 |
}
|
|
|
730 |
|
|
|
731 |
public void addToReturnOrders(ReturnOrderInfo elem) {
|
|
|
732 |
if (this.returnOrders == null) {
|
|
|
733 |
this.returnOrders = new ArrayList<ReturnOrderInfo>();
|
|
|
734 |
}
|
|
|
735 |
this.returnOrders.add(elem);
|
|
|
736 |
}
|
|
|
737 |
|
|
|
738 |
public List<ReturnOrderInfo> getReturnOrders() {
|
|
|
739 |
return this.returnOrders;
|
|
|
740 |
}
|
|
|
741 |
|
|
|
742 |
public void setReturnOrders(List<ReturnOrderInfo> returnOrders) {
|
|
|
743 |
this.returnOrders = returnOrders;
|
|
|
744 |
}
|
|
|
745 |
|
|
|
746 |
public void unsetReturnOrders() {
|
|
|
747 |
this.returnOrders = null;
|
|
|
748 |
}
|
|
|
749 |
|
|
|
750 |
/** Returns true if field returnOrders is set (has been assigned a value) and false otherwise */
|
|
|
751 |
public boolean isSetReturnOrders() {
|
|
|
752 |
return this.returnOrders != null;
|
|
|
753 |
}
|
|
|
754 |
|
|
|
755 |
public void setReturnOrdersIsSet(boolean value) {
|
|
|
756 |
if (!value) {
|
|
|
757 |
this.returnOrders = null;
|
|
|
758 |
}
|
|
|
759 |
}
|
|
|
760 |
|
|
|
761 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
762 |
switch (field) {
|
|
|
763 |
case ID:
|
|
|
764 |
if (value == null) {
|
|
|
765 |
unsetId();
|
|
|
766 |
} else {
|
|
|
767 |
setId((Long)value);
|
|
|
768 |
}
|
|
|
769 |
break;
|
|
|
770 |
|
|
|
771 |
case STATUS:
|
|
|
772 |
if (value == null) {
|
|
|
773 |
unsetStatus();
|
|
|
774 |
} else {
|
|
|
775 |
setStatus((ReturnTransactionStatus)value);
|
|
|
776 |
}
|
|
|
777 |
break;
|
|
|
778 |
|
|
|
779 |
case CUSTOMER_EMAIL:
|
|
|
780 |
if (value == null) {
|
|
|
781 |
unsetCustomer_email();
|
|
|
782 |
} else {
|
|
|
783 |
setCustomer_email((String)value);
|
|
|
784 |
}
|
|
|
785 |
break;
|
|
|
786 |
|
|
|
787 |
case CUSTOMER_NAME:
|
|
|
788 |
if (value == null) {
|
|
|
789 |
unsetCustomer_name();
|
|
|
790 |
} else {
|
|
|
791 |
setCustomer_name((String)value);
|
|
|
792 |
}
|
|
|
793 |
break;
|
|
|
794 |
|
|
|
795 |
case CUSTOMER_ID:
|
|
|
796 |
if (value == null) {
|
|
|
797 |
unsetCustomer_id();
|
|
|
798 |
} else {
|
|
|
799 |
setCustomer_id((Long)value);
|
|
|
800 |
}
|
|
|
801 |
break;
|
|
|
802 |
|
|
|
803 |
case ADDRESS_ID:
|
|
|
804 |
if (value == null) {
|
|
|
805 |
unsetAddress_id();
|
|
|
806 |
} else {
|
|
|
807 |
setAddress_id((Long)value);
|
|
|
808 |
}
|
|
|
809 |
break;
|
|
|
810 |
|
|
|
811 |
case TICKET_ID:
|
|
|
812 |
if (value == null) {
|
|
|
813 |
unsetTicketId();
|
|
|
814 |
} else {
|
|
|
815 |
setTicketId((Long)value);
|
|
|
816 |
}
|
|
|
817 |
break;
|
|
|
818 |
|
|
|
819 |
case CREATED_AT:
|
|
|
820 |
if (value == null) {
|
|
|
821 |
unsetCreatedAt();
|
|
|
822 |
} else {
|
|
|
823 |
setCreatedAt((Long)value);
|
|
|
824 |
}
|
|
|
825 |
break;
|
|
|
826 |
|
|
|
827 |
case PROCESSED_AT:
|
|
|
828 |
if (value == null) {
|
|
|
829 |
unsetProcessedAt();
|
|
|
830 |
} else {
|
|
|
831 |
setProcessedAt((Long)value);
|
|
|
832 |
}
|
|
|
833 |
break;
|
|
|
834 |
|
|
|
835 |
case AUTHORIZED_AT:
|
|
|
836 |
if (value == null) {
|
|
|
837 |
unsetAuthorizedAt();
|
|
|
838 |
} else {
|
|
|
839 |
setAuthorizedAt((Long)value);
|
|
|
840 |
}
|
|
|
841 |
break;
|
|
|
842 |
|
|
|
843 |
case CLOSED_AT:
|
|
|
844 |
if (value == null) {
|
|
|
845 |
unsetClosedAt();
|
|
|
846 |
} else {
|
|
|
847 |
setClosedAt((Long)value);
|
|
|
848 |
}
|
|
|
849 |
break;
|
|
|
850 |
|
|
|
851 |
case CUSTOMER_ADDRESS:
|
|
|
852 |
if (value == null) {
|
|
|
853 |
unsetCustomerAddress();
|
|
|
854 |
} else {
|
|
|
855 |
setCustomerAddress((String)value);
|
|
|
856 |
}
|
|
|
857 |
break;
|
|
|
858 |
|
|
|
859 |
case PINCODE:
|
|
|
860 |
if (value == null) {
|
|
|
861 |
unsetPincode();
|
|
|
862 |
} else {
|
|
|
863 |
setPincode((String)value);
|
|
|
864 |
}
|
|
|
865 |
break;
|
|
|
866 |
|
|
|
867 |
case CUSTOMER_CITY:
|
|
|
868 |
if (value == null) {
|
|
|
869 |
unsetCustomerCity();
|
|
|
870 |
} else {
|
|
|
871 |
setCustomerCity((String)value);
|
|
|
872 |
}
|
|
|
873 |
break;
|
|
|
874 |
|
|
|
875 |
case CUSTOMER_STATE:
|
|
|
876 |
if (value == null) {
|
|
|
877 |
unsetCustomerState();
|
|
|
878 |
} else {
|
|
|
879 |
setCustomerState((String)value);
|
|
|
880 |
}
|
|
|
881 |
break;
|
|
|
882 |
|
|
|
883 |
case CUSTOMER_PHONE:
|
|
|
884 |
if (value == null) {
|
|
|
885 |
unsetCustomerPhone();
|
|
|
886 |
} else {
|
|
|
887 |
setCustomerPhone((String)value);
|
|
|
888 |
}
|
|
|
889 |
break;
|
|
|
890 |
|
|
|
891 |
case RETURN_ORDERS:
|
|
|
892 |
if (value == null) {
|
|
|
893 |
unsetReturnOrders();
|
|
|
894 |
} else {
|
|
|
895 |
setReturnOrders((List<ReturnOrderInfo>)value);
|
|
|
896 |
}
|
|
|
897 |
break;
|
|
|
898 |
|
|
|
899 |
}
|
|
|
900 |
}
|
|
|
901 |
|
|
|
902 |
public Object getFieldValue(_Fields field) {
|
|
|
903 |
switch (field) {
|
|
|
904 |
case ID:
|
|
|
905 |
return Long.valueOf(getId());
|
|
|
906 |
|
|
|
907 |
case STATUS:
|
|
|
908 |
return getStatus();
|
|
|
909 |
|
|
|
910 |
case CUSTOMER_EMAIL:
|
|
|
911 |
return getCustomer_email();
|
|
|
912 |
|
|
|
913 |
case CUSTOMER_NAME:
|
|
|
914 |
return getCustomer_name();
|
|
|
915 |
|
|
|
916 |
case CUSTOMER_ID:
|
|
|
917 |
return Long.valueOf(getCustomer_id());
|
|
|
918 |
|
|
|
919 |
case ADDRESS_ID:
|
|
|
920 |
return Long.valueOf(getAddress_id());
|
|
|
921 |
|
|
|
922 |
case TICKET_ID:
|
|
|
923 |
return Long.valueOf(getTicketId());
|
|
|
924 |
|
|
|
925 |
case CREATED_AT:
|
|
|
926 |
return Long.valueOf(getCreatedAt());
|
|
|
927 |
|
|
|
928 |
case PROCESSED_AT:
|
|
|
929 |
return Long.valueOf(getProcessedAt());
|
|
|
930 |
|
|
|
931 |
case AUTHORIZED_AT:
|
|
|
932 |
return Long.valueOf(getAuthorizedAt());
|
|
|
933 |
|
|
|
934 |
case CLOSED_AT:
|
|
|
935 |
return Long.valueOf(getClosedAt());
|
|
|
936 |
|
|
|
937 |
case CUSTOMER_ADDRESS:
|
|
|
938 |
return getCustomerAddress();
|
|
|
939 |
|
|
|
940 |
case PINCODE:
|
|
|
941 |
return getPincode();
|
|
|
942 |
|
|
|
943 |
case CUSTOMER_CITY:
|
|
|
944 |
return getCustomerCity();
|
|
|
945 |
|
|
|
946 |
case CUSTOMER_STATE:
|
|
|
947 |
return getCustomerState();
|
|
|
948 |
|
|
|
949 |
case CUSTOMER_PHONE:
|
|
|
950 |
return getCustomerPhone();
|
|
|
951 |
|
|
|
952 |
case RETURN_ORDERS:
|
|
|
953 |
return getReturnOrders();
|
|
|
954 |
|
|
|
955 |
}
|
|
|
956 |
throw new IllegalStateException();
|
|
|
957 |
}
|
|
|
958 |
|
|
|
959 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
960 |
public boolean isSet(_Fields field) {
|
|
|
961 |
if (field == null) {
|
|
|
962 |
throw new IllegalArgumentException();
|
|
|
963 |
}
|
|
|
964 |
|
|
|
965 |
switch (field) {
|
|
|
966 |
case ID:
|
|
|
967 |
return isSetId();
|
|
|
968 |
case STATUS:
|
|
|
969 |
return isSetStatus();
|
|
|
970 |
case CUSTOMER_EMAIL:
|
|
|
971 |
return isSetCustomer_email();
|
|
|
972 |
case CUSTOMER_NAME:
|
|
|
973 |
return isSetCustomer_name();
|
|
|
974 |
case CUSTOMER_ID:
|
|
|
975 |
return isSetCustomer_id();
|
|
|
976 |
case ADDRESS_ID:
|
|
|
977 |
return isSetAddress_id();
|
|
|
978 |
case TICKET_ID:
|
|
|
979 |
return isSetTicketId();
|
|
|
980 |
case CREATED_AT:
|
|
|
981 |
return isSetCreatedAt();
|
|
|
982 |
case PROCESSED_AT:
|
|
|
983 |
return isSetProcessedAt();
|
|
|
984 |
case AUTHORIZED_AT:
|
|
|
985 |
return isSetAuthorizedAt();
|
|
|
986 |
case CLOSED_AT:
|
|
|
987 |
return isSetClosedAt();
|
|
|
988 |
case CUSTOMER_ADDRESS:
|
|
|
989 |
return isSetCustomerAddress();
|
|
|
990 |
case PINCODE:
|
|
|
991 |
return isSetPincode();
|
|
|
992 |
case CUSTOMER_CITY:
|
|
|
993 |
return isSetCustomerCity();
|
|
|
994 |
case CUSTOMER_STATE:
|
|
|
995 |
return isSetCustomerState();
|
|
|
996 |
case CUSTOMER_PHONE:
|
|
|
997 |
return isSetCustomerPhone();
|
|
|
998 |
case RETURN_ORDERS:
|
|
|
999 |
return isSetReturnOrders();
|
|
|
1000 |
}
|
|
|
1001 |
throw new IllegalStateException();
|
|
|
1002 |
}
|
|
|
1003 |
|
|
|
1004 |
@Override
|
|
|
1005 |
public boolean equals(Object that) {
|
|
|
1006 |
if (that == null)
|
|
|
1007 |
return false;
|
|
|
1008 |
if (that instanceof ReturnTransaction)
|
|
|
1009 |
return this.equals((ReturnTransaction)that);
|
|
|
1010 |
return false;
|
|
|
1011 |
}
|
|
|
1012 |
|
|
|
1013 |
public boolean equals(ReturnTransaction that) {
|
|
|
1014 |
if (that == null)
|
|
|
1015 |
return false;
|
|
|
1016 |
|
|
|
1017 |
boolean this_present_id = true;
|
|
|
1018 |
boolean that_present_id = true;
|
|
|
1019 |
if (this_present_id || that_present_id) {
|
|
|
1020 |
if (!(this_present_id && that_present_id))
|
|
|
1021 |
return false;
|
|
|
1022 |
if (this.id != that.id)
|
|
|
1023 |
return false;
|
|
|
1024 |
}
|
|
|
1025 |
|
|
|
1026 |
boolean this_present_status = true && this.isSetStatus();
|
|
|
1027 |
boolean that_present_status = true && that.isSetStatus();
|
|
|
1028 |
if (this_present_status || that_present_status) {
|
|
|
1029 |
if (!(this_present_status && that_present_status))
|
|
|
1030 |
return false;
|
|
|
1031 |
if (!this.status.equals(that.status))
|
|
|
1032 |
return false;
|
|
|
1033 |
}
|
|
|
1034 |
|
|
|
1035 |
boolean this_present_customer_email = true && this.isSetCustomer_email();
|
|
|
1036 |
boolean that_present_customer_email = true && that.isSetCustomer_email();
|
|
|
1037 |
if (this_present_customer_email || that_present_customer_email) {
|
|
|
1038 |
if (!(this_present_customer_email && that_present_customer_email))
|
|
|
1039 |
return false;
|
|
|
1040 |
if (!this.customer_email.equals(that.customer_email))
|
|
|
1041 |
return false;
|
|
|
1042 |
}
|
|
|
1043 |
|
|
|
1044 |
boolean this_present_customer_name = true && this.isSetCustomer_name();
|
|
|
1045 |
boolean that_present_customer_name = true && that.isSetCustomer_name();
|
|
|
1046 |
if (this_present_customer_name || that_present_customer_name) {
|
|
|
1047 |
if (!(this_present_customer_name && that_present_customer_name))
|
|
|
1048 |
return false;
|
|
|
1049 |
if (!this.customer_name.equals(that.customer_name))
|
|
|
1050 |
return false;
|
|
|
1051 |
}
|
|
|
1052 |
|
|
|
1053 |
boolean this_present_customer_id = true;
|
|
|
1054 |
boolean that_present_customer_id = true;
|
|
|
1055 |
if (this_present_customer_id || that_present_customer_id) {
|
|
|
1056 |
if (!(this_present_customer_id && that_present_customer_id))
|
|
|
1057 |
return false;
|
|
|
1058 |
if (this.customer_id != that.customer_id)
|
|
|
1059 |
return false;
|
|
|
1060 |
}
|
|
|
1061 |
|
|
|
1062 |
boolean this_present_address_id = true;
|
|
|
1063 |
boolean that_present_address_id = true;
|
|
|
1064 |
if (this_present_address_id || that_present_address_id) {
|
|
|
1065 |
if (!(this_present_address_id && that_present_address_id))
|
|
|
1066 |
return false;
|
|
|
1067 |
if (this.address_id != that.address_id)
|
|
|
1068 |
return false;
|
|
|
1069 |
}
|
|
|
1070 |
|
|
|
1071 |
boolean this_present_ticketId = true;
|
|
|
1072 |
boolean that_present_ticketId = true;
|
|
|
1073 |
if (this_present_ticketId || that_present_ticketId) {
|
|
|
1074 |
if (!(this_present_ticketId && that_present_ticketId))
|
|
|
1075 |
return false;
|
|
|
1076 |
if (this.ticketId != that.ticketId)
|
|
|
1077 |
return false;
|
|
|
1078 |
}
|
|
|
1079 |
|
|
|
1080 |
boolean this_present_createdAt = true;
|
|
|
1081 |
boolean that_present_createdAt = true;
|
|
|
1082 |
if (this_present_createdAt || that_present_createdAt) {
|
|
|
1083 |
if (!(this_present_createdAt && that_present_createdAt))
|
|
|
1084 |
return false;
|
|
|
1085 |
if (this.createdAt != that.createdAt)
|
|
|
1086 |
return false;
|
|
|
1087 |
}
|
|
|
1088 |
|
|
|
1089 |
boolean this_present_processedAt = true;
|
|
|
1090 |
boolean that_present_processedAt = true;
|
|
|
1091 |
if (this_present_processedAt || that_present_processedAt) {
|
|
|
1092 |
if (!(this_present_processedAt && that_present_processedAt))
|
|
|
1093 |
return false;
|
|
|
1094 |
if (this.processedAt != that.processedAt)
|
|
|
1095 |
return false;
|
|
|
1096 |
}
|
|
|
1097 |
|
|
|
1098 |
boolean this_present_authorizedAt = true;
|
|
|
1099 |
boolean that_present_authorizedAt = true;
|
|
|
1100 |
if (this_present_authorizedAt || that_present_authorizedAt) {
|
|
|
1101 |
if (!(this_present_authorizedAt && that_present_authorizedAt))
|
|
|
1102 |
return false;
|
|
|
1103 |
if (this.authorizedAt != that.authorizedAt)
|
|
|
1104 |
return false;
|
|
|
1105 |
}
|
|
|
1106 |
|
|
|
1107 |
boolean this_present_closedAt = true;
|
|
|
1108 |
boolean that_present_closedAt = true;
|
|
|
1109 |
if (this_present_closedAt || that_present_closedAt) {
|
|
|
1110 |
if (!(this_present_closedAt && that_present_closedAt))
|
|
|
1111 |
return false;
|
|
|
1112 |
if (this.closedAt != that.closedAt)
|
|
|
1113 |
return false;
|
|
|
1114 |
}
|
|
|
1115 |
|
|
|
1116 |
boolean this_present_customerAddress = true && this.isSetCustomerAddress();
|
|
|
1117 |
boolean that_present_customerAddress = true && that.isSetCustomerAddress();
|
|
|
1118 |
if (this_present_customerAddress || that_present_customerAddress) {
|
|
|
1119 |
if (!(this_present_customerAddress && that_present_customerAddress))
|
|
|
1120 |
return false;
|
|
|
1121 |
if (!this.customerAddress.equals(that.customerAddress))
|
|
|
1122 |
return false;
|
|
|
1123 |
}
|
|
|
1124 |
|
|
|
1125 |
boolean this_present_pincode = true && this.isSetPincode();
|
|
|
1126 |
boolean that_present_pincode = true && that.isSetPincode();
|
|
|
1127 |
if (this_present_pincode || that_present_pincode) {
|
|
|
1128 |
if (!(this_present_pincode && that_present_pincode))
|
|
|
1129 |
return false;
|
|
|
1130 |
if (!this.pincode.equals(that.pincode))
|
|
|
1131 |
return false;
|
|
|
1132 |
}
|
|
|
1133 |
|
|
|
1134 |
boolean this_present_customerCity = true && this.isSetCustomerCity();
|
|
|
1135 |
boolean that_present_customerCity = true && that.isSetCustomerCity();
|
|
|
1136 |
if (this_present_customerCity || that_present_customerCity) {
|
|
|
1137 |
if (!(this_present_customerCity && that_present_customerCity))
|
|
|
1138 |
return false;
|
|
|
1139 |
if (!this.customerCity.equals(that.customerCity))
|
|
|
1140 |
return false;
|
|
|
1141 |
}
|
|
|
1142 |
|
|
|
1143 |
boolean this_present_customerState = true && this.isSetCustomerState();
|
|
|
1144 |
boolean that_present_customerState = true && that.isSetCustomerState();
|
|
|
1145 |
if (this_present_customerState || that_present_customerState) {
|
|
|
1146 |
if (!(this_present_customerState && that_present_customerState))
|
|
|
1147 |
return false;
|
|
|
1148 |
if (!this.customerState.equals(that.customerState))
|
|
|
1149 |
return false;
|
|
|
1150 |
}
|
|
|
1151 |
|
|
|
1152 |
boolean this_present_customerPhone = true && this.isSetCustomerPhone();
|
|
|
1153 |
boolean that_present_customerPhone = true && that.isSetCustomerPhone();
|
|
|
1154 |
if (this_present_customerPhone || that_present_customerPhone) {
|
|
|
1155 |
if (!(this_present_customerPhone && that_present_customerPhone))
|
|
|
1156 |
return false;
|
|
|
1157 |
if (!this.customerPhone.equals(that.customerPhone))
|
|
|
1158 |
return false;
|
|
|
1159 |
}
|
|
|
1160 |
|
|
|
1161 |
boolean this_present_returnOrders = true && this.isSetReturnOrders();
|
|
|
1162 |
boolean that_present_returnOrders = true && that.isSetReturnOrders();
|
|
|
1163 |
if (this_present_returnOrders || that_present_returnOrders) {
|
|
|
1164 |
if (!(this_present_returnOrders && that_present_returnOrders))
|
|
|
1165 |
return false;
|
|
|
1166 |
if (!this.returnOrders.equals(that.returnOrders))
|
|
|
1167 |
return false;
|
|
|
1168 |
}
|
|
|
1169 |
|
|
|
1170 |
return true;
|
|
|
1171 |
}
|
|
|
1172 |
|
|
|
1173 |
@Override
|
|
|
1174 |
public int hashCode() {
|
|
|
1175 |
return 0;
|
|
|
1176 |
}
|
|
|
1177 |
|
|
|
1178 |
public int compareTo(ReturnTransaction other) {
|
|
|
1179 |
if (!getClass().equals(other.getClass())) {
|
|
|
1180 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
1181 |
}
|
|
|
1182 |
|
|
|
1183 |
int lastComparison = 0;
|
|
|
1184 |
ReturnTransaction typedOther = (ReturnTransaction)other;
|
|
|
1185 |
|
|
|
1186 |
lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
|
|
|
1187 |
if (lastComparison != 0) {
|
|
|
1188 |
return lastComparison;
|
|
|
1189 |
}
|
|
|
1190 |
if (isSetId()) {
|
|
|
1191 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
|
|
|
1192 |
if (lastComparison != 0) {
|
|
|
1193 |
return lastComparison;
|
|
|
1194 |
}
|
|
|
1195 |
}
|
|
|
1196 |
lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
|
|
|
1197 |
if (lastComparison != 0) {
|
|
|
1198 |
return lastComparison;
|
|
|
1199 |
}
|
|
|
1200 |
if (isSetStatus()) {
|
|
|
1201 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
|
|
|
1202 |
if (lastComparison != 0) {
|
|
|
1203 |
return lastComparison;
|
|
|
1204 |
}
|
|
|
1205 |
}
|
|
|
1206 |
lastComparison = Boolean.valueOf(isSetCustomer_email()).compareTo(typedOther.isSetCustomer_email());
|
|
|
1207 |
if (lastComparison != 0) {
|
|
|
1208 |
return lastComparison;
|
|
|
1209 |
}
|
|
|
1210 |
if (isSetCustomer_email()) {
|
|
|
1211 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_email, typedOther.customer_email);
|
|
|
1212 |
if (lastComparison != 0) {
|
|
|
1213 |
return lastComparison;
|
|
|
1214 |
}
|
|
|
1215 |
}
|
|
|
1216 |
lastComparison = Boolean.valueOf(isSetCustomer_name()).compareTo(typedOther.isSetCustomer_name());
|
|
|
1217 |
if (lastComparison != 0) {
|
|
|
1218 |
return lastComparison;
|
|
|
1219 |
}
|
|
|
1220 |
if (isSetCustomer_name()) {
|
|
|
1221 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_name, typedOther.customer_name);
|
|
|
1222 |
if (lastComparison != 0) {
|
|
|
1223 |
return lastComparison;
|
|
|
1224 |
}
|
|
|
1225 |
}
|
|
|
1226 |
lastComparison = Boolean.valueOf(isSetCustomer_id()).compareTo(typedOther.isSetCustomer_id());
|
|
|
1227 |
if (lastComparison != 0) {
|
|
|
1228 |
return lastComparison;
|
|
|
1229 |
}
|
|
|
1230 |
if (isSetCustomer_id()) {
|
|
|
1231 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customer_id, typedOther.customer_id);
|
|
|
1232 |
if (lastComparison != 0) {
|
|
|
1233 |
return lastComparison;
|
|
|
1234 |
}
|
|
|
1235 |
}
|
|
|
1236 |
lastComparison = Boolean.valueOf(isSetAddress_id()).compareTo(typedOther.isSetAddress_id());
|
|
|
1237 |
if (lastComparison != 0) {
|
|
|
1238 |
return lastComparison;
|
|
|
1239 |
}
|
|
|
1240 |
if (isSetAddress_id()) {
|
|
|
1241 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.address_id, typedOther.address_id);
|
|
|
1242 |
if (lastComparison != 0) {
|
|
|
1243 |
return lastComparison;
|
|
|
1244 |
}
|
|
|
1245 |
}
|
|
|
1246 |
lastComparison = Boolean.valueOf(isSetTicketId()).compareTo(typedOther.isSetTicketId());
|
|
|
1247 |
if (lastComparison != 0) {
|
|
|
1248 |
return lastComparison;
|
|
|
1249 |
}
|
|
|
1250 |
if (isSetTicketId()) {
|
|
|
1251 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticketId, typedOther.ticketId);
|
|
|
1252 |
if (lastComparison != 0) {
|
|
|
1253 |
return lastComparison;
|
|
|
1254 |
}
|
|
|
1255 |
}
|
|
|
1256 |
lastComparison = Boolean.valueOf(isSetCreatedAt()).compareTo(typedOther.isSetCreatedAt());
|
|
|
1257 |
if (lastComparison != 0) {
|
|
|
1258 |
return lastComparison;
|
|
|
1259 |
}
|
|
|
1260 |
if (isSetCreatedAt()) {
|
|
|
1261 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.createdAt, typedOther.createdAt);
|
|
|
1262 |
if (lastComparison != 0) {
|
|
|
1263 |
return lastComparison;
|
|
|
1264 |
}
|
|
|
1265 |
}
|
|
|
1266 |
lastComparison = Boolean.valueOf(isSetProcessedAt()).compareTo(typedOther.isSetProcessedAt());
|
|
|
1267 |
if (lastComparison != 0) {
|
|
|
1268 |
return lastComparison;
|
|
|
1269 |
}
|
|
|
1270 |
if (isSetProcessedAt()) {
|
|
|
1271 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.processedAt, typedOther.processedAt);
|
|
|
1272 |
if (lastComparison != 0) {
|
|
|
1273 |
return lastComparison;
|
|
|
1274 |
}
|
|
|
1275 |
}
|
|
|
1276 |
lastComparison = Boolean.valueOf(isSetAuthorizedAt()).compareTo(typedOther.isSetAuthorizedAt());
|
|
|
1277 |
if (lastComparison != 0) {
|
|
|
1278 |
return lastComparison;
|
|
|
1279 |
}
|
|
|
1280 |
if (isSetAuthorizedAt()) {
|
|
|
1281 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.authorizedAt, typedOther.authorizedAt);
|
|
|
1282 |
if (lastComparison != 0) {
|
|
|
1283 |
return lastComparison;
|
|
|
1284 |
}
|
|
|
1285 |
}
|
|
|
1286 |
lastComparison = Boolean.valueOf(isSetClosedAt()).compareTo(typedOther.isSetClosedAt());
|
|
|
1287 |
if (lastComparison != 0) {
|
|
|
1288 |
return lastComparison;
|
|
|
1289 |
}
|
|
|
1290 |
if (isSetClosedAt()) {
|
|
|
1291 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.closedAt, typedOther.closedAt);
|
|
|
1292 |
if (lastComparison != 0) {
|
|
|
1293 |
return lastComparison;
|
|
|
1294 |
}
|
|
|
1295 |
}
|
|
|
1296 |
lastComparison = Boolean.valueOf(isSetCustomerAddress()).compareTo(typedOther.isSetCustomerAddress());
|
|
|
1297 |
if (lastComparison != 0) {
|
|
|
1298 |
return lastComparison;
|
|
|
1299 |
}
|
|
|
1300 |
if (isSetCustomerAddress()) {
|
|
|
1301 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerAddress, typedOther.customerAddress);
|
|
|
1302 |
if (lastComparison != 0) {
|
|
|
1303 |
return lastComparison;
|
|
|
1304 |
}
|
|
|
1305 |
}
|
|
|
1306 |
lastComparison = Boolean.valueOf(isSetPincode()).compareTo(typedOther.isSetPincode());
|
|
|
1307 |
if (lastComparison != 0) {
|
|
|
1308 |
return lastComparison;
|
|
|
1309 |
}
|
|
|
1310 |
if (isSetPincode()) {
|
|
|
1311 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pincode, typedOther.pincode);
|
|
|
1312 |
if (lastComparison != 0) {
|
|
|
1313 |
return lastComparison;
|
|
|
1314 |
}
|
|
|
1315 |
}
|
|
|
1316 |
lastComparison = Boolean.valueOf(isSetCustomerCity()).compareTo(typedOther.isSetCustomerCity());
|
|
|
1317 |
if (lastComparison != 0) {
|
|
|
1318 |
return lastComparison;
|
|
|
1319 |
}
|
|
|
1320 |
if (isSetCustomerCity()) {
|
|
|
1321 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerCity, typedOther.customerCity);
|
|
|
1322 |
if (lastComparison != 0) {
|
|
|
1323 |
return lastComparison;
|
|
|
1324 |
}
|
|
|
1325 |
}
|
|
|
1326 |
lastComparison = Boolean.valueOf(isSetCustomerState()).compareTo(typedOther.isSetCustomerState());
|
|
|
1327 |
if (lastComparison != 0) {
|
|
|
1328 |
return lastComparison;
|
|
|
1329 |
}
|
|
|
1330 |
if (isSetCustomerState()) {
|
|
|
1331 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerState, typedOther.customerState);
|
|
|
1332 |
if (lastComparison != 0) {
|
|
|
1333 |
return lastComparison;
|
|
|
1334 |
}
|
|
|
1335 |
}
|
|
|
1336 |
lastComparison = Boolean.valueOf(isSetCustomerPhone()).compareTo(typedOther.isSetCustomerPhone());
|
|
|
1337 |
if (lastComparison != 0) {
|
|
|
1338 |
return lastComparison;
|
|
|
1339 |
}
|
|
|
1340 |
if (isSetCustomerPhone()) {
|
|
|
1341 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerPhone, typedOther.customerPhone);
|
|
|
1342 |
if (lastComparison != 0) {
|
|
|
1343 |
return lastComparison;
|
|
|
1344 |
}
|
|
|
1345 |
}
|
|
|
1346 |
lastComparison = Boolean.valueOf(isSetReturnOrders()).compareTo(typedOther.isSetReturnOrders());
|
|
|
1347 |
if (lastComparison != 0) {
|
|
|
1348 |
return lastComparison;
|
|
|
1349 |
}
|
|
|
1350 |
if (isSetReturnOrders()) {
|
|
|
1351 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.returnOrders, typedOther.returnOrders);
|
|
|
1352 |
if (lastComparison != 0) {
|
|
|
1353 |
return lastComparison;
|
|
|
1354 |
}
|
|
|
1355 |
}
|
|
|
1356 |
return 0;
|
|
|
1357 |
}
|
|
|
1358 |
|
|
|
1359 |
public _Fields fieldForId(int fieldId) {
|
|
|
1360 |
return _Fields.findByThriftId(fieldId);
|
|
|
1361 |
}
|
|
|
1362 |
|
|
|
1363 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
1364 |
org.apache.thrift.protocol.TField field;
|
|
|
1365 |
iprot.readStructBegin();
|
|
|
1366 |
while (true)
|
|
|
1367 |
{
|
|
|
1368 |
field = iprot.readFieldBegin();
|
|
|
1369 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
|
|
1370 |
break;
|
|
|
1371 |
}
|
|
|
1372 |
switch (field.id) {
|
|
|
1373 |
case 1: // ID
|
|
|
1374 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1375 |
this.id = iprot.readI64();
|
|
|
1376 |
setIdIsSet(true);
|
|
|
1377 |
} else {
|
|
|
1378 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1379 |
}
|
|
|
1380 |
break;
|
|
|
1381 |
case 2: // STATUS
|
|
|
1382 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1383 |
this.status = ReturnTransactionStatus.findByValue(iprot.readI32());
|
|
|
1384 |
} else {
|
|
|
1385 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1386 |
}
|
|
|
1387 |
break;
|
|
|
1388 |
case 3: // CUSTOMER_EMAIL
|
|
|
1389 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1390 |
this.customer_email = iprot.readString();
|
|
|
1391 |
} else {
|
|
|
1392 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1393 |
}
|
|
|
1394 |
break;
|
|
|
1395 |
case 4: // CUSTOMER_NAME
|
|
|
1396 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1397 |
this.customer_name = iprot.readString();
|
|
|
1398 |
} else {
|
|
|
1399 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1400 |
}
|
|
|
1401 |
break;
|
|
|
1402 |
case 5: // CUSTOMER_ID
|
|
|
1403 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1404 |
this.customer_id = iprot.readI64();
|
|
|
1405 |
setCustomer_idIsSet(true);
|
|
|
1406 |
} else {
|
|
|
1407 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1408 |
}
|
|
|
1409 |
break;
|
|
|
1410 |
case 6: // ADDRESS_ID
|
|
|
1411 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1412 |
this.address_id = iprot.readI64();
|
|
|
1413 |
setAddress_idIsSet(true);
|
|
|
1414 |
} else {
|
|
|
1415 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1416 |
}
|
|
|
1417 |
break;
|
|
|
1418 |
case 7: // TICKET_ID
|
|
|
1419 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1420 |
this.ticketId = iprot.readI64();
|
|
|
1421 |
setTicketIdIsSet(true);
|
|
|
1422 |
} else {
|
|
|
1423 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1424 |
}
|
|
|
1425 |
break;
|
|
|
1426 |
case 8: // CREATED_AT
|
|
|
1427 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1428 |
this.createdAt = iprot.readI64();
|
|
|
1429 |
setCreatedAtIsSet(true);
|
|
|
1430 |
} else {
|
|
|
1431 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1432 |
}
|
|
|
1433 |
break;
|
|
|
1434 |
case 9: // PROCESSED_AT
|
|
|
1435 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1436 |
this.processedAt = iprot.readI64();
|
|
|
1437 |
setProcessedAtIsSet(true);
|
|
|
1438 |
} else {
|
|
|
1439 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1440 |
}
|
|
|
1441 |
break;
|
|
|
1442 |
case 10: // AUTHORIZED_AT
|
|
|
1443 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1444 |
this.authorizedAt = iprot.readI64();
|
|
|
1445 |
setAuthorizedAtIsSet(true);
|
|
|
1446 |
} else {
|
|
|
1447 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1448 |
}
|
|
|
1449 |
break;
|
|
|
1450 |
case 11: // CLOSED_AT
|
|
|
1451 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1452 |
this.closedAt = iprot.readI64();
|
|
|
1453 |
setClosedAtIsSet(true);
|
|
|
1454 |
} else {
|
|
|
1455 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1456 |
}
|
|
|
1457 |
break;
|
|
|
1458 |
case 12: // CUSTOMER_ADDRESS
|
|
|
1459 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1460 |
this.customerAddress = iprot.readString();
|
|
|
1461 |
} else {
|
|
|
1462 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1463 |
}
|
|
|
1464 |
break;
|
|
|
1465 |
case 13: // PINCODE
|
|
|
1466 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1467 |
this.pincode = iprot.readString();
|
|
|
1468 |
} else {
|
|
|
1469 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1470 |
}
|
|
|
1471 |
break;
|
|
|
1472 |
case 14: // CUSTOMER_CITY
|
|
|
1473 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1474 |
this.customerCity = iprot.readString();
|
|
|
1475 |
} else {
|
|
|
1476 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1477 |
}
|
|
|
1478 |
break;
|
|
|
1479 |
case 15: // CUSTOMER_STATE
|
|
|
1480 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1481 |
this.customerState = iprot.readString();
|
|
|
1482 |
} else {
|
|
|
1483 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1484 |
}
|
|
|
1485 |
break;
|
|
|
1486 |
case 16: // CUSTOMER_PHONE
|
|
|
1487 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1488 |
this.customerPhone = iprot.readString();
|
|
|
1489 |
} else {
|
|
|
1490 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1491 |
}
|
|
|
1492 |
break;
|
|
|
1493 |
case 17: // RETURN_ORDERS
|
|
|
1494 |
if (field.type == org.apache.thrift.protocol.TType.LIST) {
|
|
|
1495 |
{
|
|
|
1496 |
org.apache.thrift.protocol.TList _list60 = iprot.readListBegin();
|
|
|
1497 |
this.returnOrders = new ArrayList<ReturnOrderInfo>(_list60.size);
|
|
|
1498 |
for (int _i61 = 0; _i61 < _list60.size; ++_i61)
|
|
|
1499 |
{
|
|
|
1500 |
ReturnOrderInfo _elem62; // required
|
|
|
1501 |
_elem62 = new ReturnOrderInfo();
|
|
|
1502 |
_elem62.read(iprot);
|
|
|
1503 |
this.returnOrders.add(_elem62);
|
|
|
1504 |
}
|
|
|
1505 |
iprot.readListEnd();
|
|
|
1506 |
}
|
|
|
1507 |
} else {
|
|
|
1508 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1509 |
}
|
|
|
1510 |
break;
|
|
|
1511 |
default:
|
|
|
1512 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1513 |
}
|
|
|
1514 |
iprot.readFieldEnd();
|
|
|
1515 |
}
|
|
|
1516 |
iprot.readStructEnd();
|
|
|
1517 |
validate();
|
|
|
1518 |
}
|
|
|
1519 |
|
|
|
1520 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
|
|
1521 |
validate();
|
|
|
1522 |
|
|
|
1523 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
1524 |
oprot.writeFieldBegin(ID_FIELD_DESC);
|
|
|
1525 |
oprot.writeI64(this.id);
|
|
|
1526 |
oprot.writeFieldEnd();
|
|
|
1527 |
if (this.status != null) {
|
|
|
1528 |
oprot.writeFieldBegin(STATUS_FIELD_DESC);
|
|
|
1529 |
oprot.writeI32(this.status.getValue());
|
|
|
1530 |
oprot.writeFieldEnd();
|
|
|
1531 |
}
|
|
|
1532 |
if (this.customer_email != null) {
|
|
|
1533 |
oprot.writeFieldBegin(CUSTOMER_EMAIL_FIELD_DESC);
|
|
|
1534 |
oprot.writeString(this.customer_email);
|
|
|
1535 |
oprot.writeFieldEnd();
|
|
|
1536 |
}
|
|
|
1537 |
if (this.customer_name != null) {
|
|
|
1538 |
oprot.writeFieldBegin(CUSTOMER_NAME_FIELD_DESC);
|
|
|
1539 |
oprot.writeString(this.customer_name);
|
|
|
1540 |
oprot.writeFieldEnd();
|
|
|
1541 |
}
|
|
|
1542 |
oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
|
|
|
1543 |
oprot.writeI64(this.customer_id);
|
|
|
1544 |
oprot.writeFieldEnd();
|
|
|
1545 |
oprot.writeFieldBegin(ADDRESS_ID_FIELD_DESC);
|
|
|
1546 |
oprot.writeI64(this.address_id);
|
|
|
1547 |
oprot.writeFieldEnd();
|
|
|
1548 |
oprot.writeFieldBegin(TICKET_ID_FIELD_DESC);
|
|
|
1549 |
oprot.writeI64(this.ticketId);
|
|
|
1550 |
oprot.writeFieldEnd();
|
|
|
1551 |
oprot.writeFieldBegin(CREATED_AT_FIELD_DESC);
|
|
|
1552 |
oprot.writeI64(this.createdAt);
|
|
|
1553 |
oprot.writeFieldEnd();
|
|
|
1554 |
oprot.writeFieldBegin(PROCESSED_AT_FIELD_DESC);
|
|
|
1555 |
oprot.writeI64(this.processedAt);
|
|
|
1556 |
oprot.writeFieldEnd();
|
|
|
1557 |
oprot.writeFieldBegin(AUTHORIZED_AT_FIELD_DESC);
|
|
|
1558 |
oprot.writeI64(this.authorizedAt);
|
|
|
1559 |
oprot.writeFieldEnd();
|
|
|
1560 |
oprot.writeFieldBegin(CLOSED_AT_FIELD_DESC);
|
|
|
1561 |
oprot.writeI64(this.closedAt);
|
|
|
1562 |
oprot.writeFieldEnd();
|
|
|
1563 |
if (this.customerAddress != null) {
|
|
|
1564 |
oprot.writeFieldBegin(CUSTOMER_ADDRESS_FIELD_DESC);
|
|
|
1565 |
oprot.writeString(this.customerAddress);
|
|
|
1566 |
oprot.writeFieldEnd();
|
|
|
1567 |
}
|
|
|
1568 |
if (this.pincode != null) {
|
|
|
1569 |
oprot.writeFieldBegin(PINCODE_FIELD_DESC);
|
|
|
1570 |
oprot.writeString(this.pincode);
|
|
|
1571 |
oprot.writeFieldEnd();
|
|
|
1572 |
}
|
|
|
1573 |
if (this.customerCity != null) {
|
|
|
1574 |
oprot.writeFieldBegin(CUSTOMER_CITY_FIELD_DESC);
|
|
|
1575 |
oprot.writeString(this.customerCity);
|
|
|
1576 |
oprot.writeFieldEnd();
|
|
|
1577 |
}
|
|
|
1578 |
if (this.customerState != null) {
|
|
|
1579 |
oprot.writeFieldBegin(CUSTOMER_STATE_FIELD_DESC);
|
|
|
1580 |
oprot.writeString(this.customerState);
|
|
|
1581 |
oprot.writeFieldEnd();
|
|
|
1582 |
}
|
|
|
1583 |
if (this.customerPhone != null) {
|
|
|
1584 |
oprot.writeFieldBegin(CUSTOMER_PHONE_FIELD_DESC);
|
|
|
1585 |
oprot.writeString(this.customerPhone);
|
|
|
1586 |
oprot.writeFieldEnd();
|
|
|
1587 |
}
|
|
|
1588 |
if (this.returnOrders != null) {
|
|
|
1589 |
oprot.writeFieldBegin(RETURN_ORDERS_FIELD_DESC);
|
|
|
1590 |
{
|
|
|
1591 |
oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.returnOrders.size()));
|
|
|
1592 |
for (ReturnOrderInfo _iter63 : this.returnOrders)
|
|
|
1593 |
{
|
|
|
1594 |
_iter63.write(oprot);
|
|
|
1595 |
}
|
|
|
1596 |
oprot.writeListEnd();
|
|
|
1597 |
}
|
|
|
1598 |
oprot.writeFieldEnd();
|
|
|
1599 |
}
|
|
|
1600 |
oprot.writeFieldStop();
|
|
|
1601 |
oprot.writeStructEnd();
|
|
|
1602 |
}
|
|
|
1603 |
|
|
|
1604 |
@Override
|
|
|
1605 |
public String toString() {
|
|
|
1606 |
StringBuilder sb = new StringBuilder("ReturnTransaction(");
|
|
|
1607 |
boolean first = true;
|
|
|
1608 |
|
|
|
1609 |
sb.append("id:");
|
|
|
1610 |
sb.append(this.id);
|
|
|
1611 |
first = false;
|
|
|
1612 |
if (!first) sb.append(", ");
|
|
|
1613 |
sb.append("status:");
|
|
|
1614 |
if (this.status == null) {
|
|
|
1615 |
sb.append("null");
|
|
|
1616 |
} else {
|
|
|
1617 |
sb.append(this.status);
|
|
|
1618 |
}
|
|
|
1619 |
first = false;
|
|
|
1620 |
if (!first) sb.append(", ");
|
|
|
1621 |
sb.append("customer_email:");
|
|
|
1622 |
if (this.customer_email == null) {
|
|
|
1623 |
sb.append("null");
|
|
|
1624 |
} else {
|
|
|
1625 |
sb.append(this.customer_email);
|
|
|
1626 |
}
|
|
|
1627 |
first = false;
|
|
|
1628 |
if (!first) sb.append(", ");
|
|
|
1629 |
sb.append("customer_name:");
|
|
|
1630 |
if (this.customer_name == null) {
|
|
|
1631 |
sb.append("null");
|
|
|
1632 |
} else {
|
|
|
1633 |
sb.append(this.customer_name);
|
|
|
1634 |
}
|
|
|
1635 |
first = false;
|
|
|
1636 |
if (!first) sb.append(", ");
|
|
|
1637 |
sb.append("customer_id:");
|
|
|
1638 |
sb.append(this.customer_id);
|
|
|
1639 |
first = false;
|
|
|
1640 |
if (!first) sb.append(", ");
|
|
|
1641 |
sb.append("address_id:");
|
|
|
1642 |
sb.append(this.address_id);
|
|
|
1643 |
first = false;
|
|
|
1644 |
if (!first) sb.append(", ");
|
|
|
1645 |
sb.append("ticketId:");
|
|
|
1646 |
sb.append(this.ticketId);
|
|
|
1647 |
first = false;
|
|
|
1648 |
if (!first) sb.append(", ");
|
|
|
1649 |
sb.append("createdAt:");
|
|
|
1650 |
sb.append(this.createdAt);
|
|
|
1651 |
first = false;
|
|
|
1652 |
if (!first) sb.append(", ");
|
|
|
1653 |
sb.append("processedAt:");
|
|
|
1654 |
sb.append(this.processedAt);
|
|
|
1655 |
first = false;
|
|
|
1656 |
if (!first) sb.append(", ");
|
|
|
1657 |
sb.append("authorizedAt:");
|
|
|
1658 |
sb.append(this.authorizedAt);
|
|
|
1659 |
first = false;
|
|
|
1660 |
if (!first) sb.append(", ");
|
|
|
1661 |
sb.append("closedAt:");
|
|
|
1662 |
sb.append(this.closedAt);
|
|
|
1663 |
first = false;
|
|
|
1664 |
if (!first) sb.append(", ");
|
|
|
1665 |
sb.append("customerAddress:");
|
|
|
1666 |
if (this.customerAddress == null) {
|
|
|
1667 |
sb.append("null");
|
|
|
1668 |
} else {
|
|
|
1669 |
sb.append(this.customerAddress);
|
|
|
1670 |
}
|
|
|
1671 |
first = false;
|
|
|
1672 |
if (!first) sb.append(", ");
|
|
|
1673 |
sb.append("pincode:");
|
|
|
1674 |
if (this.pincode == null) {
|
|
|
1675 |
sb.append("null");
|
|
|
1676 |
} else {
|
|
|
1677 |
sb.append(this.pincode);
|
|
|
1678 |
}
|
|
|
1679 |
first = false;
|
|
|
1680 |
if (!first) sb.append(", ");
|
|
|
1681 |
sb.append("customerCity:");
|
|
|
1682 |
if (this.customerCity == null) {
|
|
|
1683 |
sb.append("null");
|
|
|
1684 |
} else {
|
|
|
1685 |
sb.append(this.customerCity);
|
|
|
1686 |
}
|
|
|
1687 |
first = false;
|
|
|
1688 |
if (!first) sb.append(", ");
|
|
|
1689 |
sb.append("customerState:");
|
|
|
1690 |
if (this.customerState == null) {
|
|
|
1691 |
sb.append("null");
|
|
|
1692 |
} else {
|
|
|
1693 |
sb.append(this.customerState);
|
|
|
1694 |
}
|
|
|
1695 |
first = false;
|
|
|
1696 |
if (!first) sb.append(", ");
|
|
|
1697 |
sb.append("customerPhone:");
|
|
|
1698 |
if (this.customerPhone == null) {
|
|
|
1699 |
sb.append("null");
|
|
|
1700 |
} else {
|
|
|
1701 |
sb.append(this.customerPhone);
|
|
|
1702 |
}
|
|
|
1703 |
first = false;
|
|
|
1704 |
if (!first) sb.append(", ");
|
|
|
1705 |
sb.append("returnOrders:");
|
|
|
1706 |
if (this.returnOrders == null) {
|
|
|
1707 |
sb.append("null");
|
|
|
1708 |
} else {
|
|
|
1709 |
sb.append(this.returnOrders);
|
|
|
1710 |
}
|
|
|
1711 |
first = false;
|
|
|
1712 |
sb.append(")");
|
|
|
1713 |
return sb.toString();
|
|
|
1714 |
}
|
|
|
1715 |
|
|
|
1716 |
public void validate() throws org.apache.thrift.TException {
|
|
|
1717 |
// check for required fields
|
|
|
1718 |
}
|
|
|
1719 |
|
|
|
1720 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
1721 |
try {
|
|
|
1722 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
1723 |
} catch (org.apache.thrift.TException te) {
|
|
|
1724 |
throw new java.io.IOException(te);
|
|
|
1725 |
}
|
|
|
1726 |
}
|
|
|
1727 |
|
|
|
1728 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
1729 |
try {
|
|
|
1730 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
|
|
1731 |
__isset_bit_vector = new BitSet(1);
|
|
|
1732 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
1733 |
} catch (org.apache.thrift.TException te) {
|
|
|
1734 |
throw new java.io.IOException(te);
|
|
|
1735 |
}
|
|
|
1736 |
}
|
|
|
1737 |
|
|
|
1738 |
}
|
|
|
1739 |
|