| 7073 |
anupam.sin |
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 WalletHistoryForCompany implements org.apache.thrift.TBase<WalletHistoryForCompany, WalletHistoryForCompany._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("WalletHistoryForCompany");
|
|
|
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 WALLET_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("walletId", org.apache.thrift.protocol.TType.I64, (short)2);
|
|
|
28 |
private static final org.apache.thrift.protocol.TField AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("amount", org.apache.thrift.protocol.TType.DOUBLE, (short)3);
|
|
|
29 |
private static final org.apache.thrift.protocol.TField TRANSACTION_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionTime", org.apache.thrift.protocol.TType.I64, (short)4);
|
|
|
30 |
private static final org.apache.thrift.protocol.TField OPENING_BAL_FIELD_DESC = new org.apache.thrift.protocol.TField("openingBal", org.apache.thrift.protocol.TType.DOUBLE, (short)5);
|
|
|
31 |
private static final org.apache.thrift.protocol.TField CLOSING_BAL_FIELD_DESC = new org.apache.thrift.protocol.TField("closingBal", org.apache.thrift.protocol.TType.DOUBLE, (short)6);
|
|
|
32 |
private static final org.apache.thrift.protocol.TField REFERENCE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("referenceNumber", org.apache.thrift.protocol.TType.I64, (short)7);
|
|
|
33 |
private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)8);
|
|
|
34 |
|
|
|
35 |
private long id; // required
|
|
|
36 |
private long walletId; // required
|
|
|
37 |
private double amount; // required
|
|
|
38 |
private long transactionTime; // required
|
|
|
39 |
private double openingBal; // required
|
|
|
40 |
private double closingBal; // required
|
|
|
41 |
private long referenceNumber; // required
|
|
|
42 |
private String description; // required
|
|
|
43 |
|
|
|
44 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
|
|
45 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
|
|
46 |
ID((short)1, "id"),
|
|
|
47 |
WALLET_ID((short)2, "walletId"),
|
|
|
48 |
AMOUNT((short)3, "amount"),
|
|
|
49 |
TRANSACTION_TIME((short)4, "transactionTime"),
|
|
|
50 |
OPENING_BAL((short)5, "openingBal"),
|
|
|
51 |
CLOSING_BAL((short)6, "closingBal"),
|
|
|
52 |
REFERENCE_NUMBER((short)7, "referenceNumber"),
|
|
|
53 |
DESCRIPTION((short)8, "description");
|
|
|
54 |
|
|
|
55 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
56 |
|
|
|
57 |
static {
|
|
|
58 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
59 |
byName.put(field.getFieldName(), field);
|
|
|
60 |
}
|
|
|
61 |
}
|
|
|
62 |
|
|
|
63 |
/**
|
|
|
64 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
65 |
*/
|
|
|
66 |
public static _Fields findByThriftId(int fieldId) {
|
|
|
67 |
switch(fieldId) {
|
|
|
68 |
case 1: // ID
|
|
|
69 |
return ID;
|
|
|
70 |
case 2: // WALLET_ID
|
|
|
71 |
return WALLET_ID;
|
|
|
72 |
case 3: // AMOUNT
|
|
|
73 |
return AMOUNT;
|
|
|
74 |
case 4: // TRANSACTION_TIME
|
|
|
75 |
return TRANSACTION_TIME;
|
|
|
76 |
case 5: // OPENING_BAL
|
|
|
77 |
return OPENING_BAL;
|
|
|
78 |
case 6: // CLOSING_BAL
|
|
|
79 |
return CLOSING_BAL;
|
|
|
80 |
case 7: // REFERENCE_NUMBER
|
|
|
81 |
return REFERENCE_NUMBER;
|
|
|
82 |
case 8: // DESCRIPTION
|
|
|
83 |
return DESCRIPTION;
|
|
|
84 |
default:
|
|
|
85 |
return null;
|
|
|
86 |
}
|
|
|
87 |
}
|
|
|
88 |
|
|
|
89 |
/**
|
|
|
90 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
91 |
* if it is not found.
|
|
|
92 |
*/
|
|
|
93 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
94 |
_Fields fields = findByThriftId(fieldId);
|
|
|
95 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
96 |
return fields;
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
/**
|
|
|
100 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
101 |
*/
|
|
|
102 |
public static _Fields findByName(String name) {
|
|
|
103 |
return byName.get(name);
|
|
|
104 |
}
|
|
|
105 |
|
|
|
106 |
private final short _thriftId;
|
|
|
107 |
private final String _fieldName;
|
|
|
108 |
|
|
|
109 |
_Fields(short thriftId, String fieldName) {
|
|
|
110 |
_thriftId = thriftId;
|
|
|
111 |
_fieldName = fieldName;
|
|
|
112 |
}
|
|
|
113 |
|
|
|
114 |
public short getThriftFieldId() {
|
|
|
115 |
return _thriftId;
|
|
|
116 |
}
|
|
|
117 |
|
|
|
118 |
public String getFieldName() {
|
|
|
119 |
return _fieldName;
|
|
|
120 |
}
|
|
|
121 |
}
|
|
|
122 |
|
|
|
123 |
// isset id assignments
|
|
|
124 |
private static final int __ID_ISSET_ID = 0;
|
|
|
125 |
private static final int __WALLETID_ISSET_ID = 1;
|
|
|
126 |
private static final int __AMOUNT_ISSET_ID = 2;
|
|
|
127 |
private static final int __TRANSACTIONTIME_ISSET_ID = 3;
|
|
|
128 |
private static final int __OPENINGBAL_ISSET_ID = 4;
|
|
|
129 |
private static final int __CLOSINGBAL_ISSET_ID = 5;
|
|
|
130 |
private static final int __REFERENCENUMBER_ISSET_ID = 6;
|
|
|
131 |
private BitSet __isset_bit_vector = new BitSet(7);
|
|
|
132 |
|
|
|
133 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
|
|
134 |
static {
|
|
|
135 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
136 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
137 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
138 |
tmpMap.put(_Fields.WALLET_ID, new org.apache.thrift.meta_data.FieldMetaData("walletId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
139 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
140 |
tmpMap.put(_Fields.AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("amount", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
141 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
142 |
tmpMap.put(_Fields.TRANSACTION_TIME, new org.apache.thrift.meta_data.FieldMetaData("transactionTime", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
143 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
144 |
tmpMap.put(_Fields.OPENING_BAL, new org.apache.thrift.meta_data.FieldMetaData("openingBal", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
145 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
146 |
tmpMap.put(_Fields.CLOSING_BAL, new org.apache.thrift.meta_data.FieldMetaData("closingBal", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
147 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
|
|
148 |
tmpMap.put(_Fields.REFERENCE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("referenceNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
149 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
150 |
tmpMap.put(_Fields.DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("description", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
151 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
152 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
153 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(WalletHistoryForCompany.class, metaDataMap);
|
|
|
154 |
}
|
|
|
155 |
|
|
|
156 |
public WalletHistoryForCompany() {
|
|
|
157 |
}
|
|
|
158 |
|
|
|
159 |
public WalletHistoryForCompany(
|
|
|
160 |
long id,
|
|
|
161 |
long walletId,
|
|
|
162 |
double amount,
|
|
|
163 |
long transactionTime,
|
|
|
164 |
double openingBal,
|
|
|
165 |
double closingBal,
|
|
|
166 |
long referenceNumber,
|
|
|
167 |
String description)
|
|
|
168 |
{
|
|
|
169 |
this();
|
|
|
170 |
this.id = id;
|
|
|
171 |
setIdIsSet(true);
|
|
|
172 |
this.walletId = walletId;
|
|
|
173 |
setWalletIdIsSet(true);
|
|
|
174 |
this.amount = amount;
|
|
|
175 |
setAmountIsSet(true);
|
|
|
176 |
this.transactionTime = transactionTime;
|
|
|
177 |
setTransactionTimeIsSet(true);
|
|
|
178 |
this.openingBal = openingBal;
|
|
|
179 |
setOpeningBalIsSet(true);
|
|
|
180 |
this.closingBal = closingBal;
|
|
|
181 |
setClosingBalIsSet(true);
|
|
|
182 |
this.referenceNumber = referenceNumber;
|
|
|
183 |
setReferenceNumberIsSet(true);
|
|
|
184 |
this.description = description;
|
|
|
185 |
}
|
|
|
186 |
|
|
|
187 |
/**
|
|
|
188 |
* Performs a deep copy on <i>other</i>.
|
|
|
189 |
*/
|
|
|
190 |
public WalletHistoryForCompany(WalletHistoryForCompany other) {
|
|
|
191 |
__isset_bit_vector.clear();
|
|
|
192 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
|
|
193 |
this.id = other.id;
|
|
|
194 |
this.walletId = other.walletId;
|
|
|
195 |
this.amount = other.amount;
|
|
|
196 |
this.transactionTime = other.transactionTime;
|
|
|
197 |
this.openingBal = other.openingBal;
|
|
|
198 |
this.closingBal = other.closingBal;
|
|
|
199 |
this.referenceNumber = other.referenceNumber;
|
|
|
200 |
if (other.isSetDescription()) {
|
|
|
201 |
this.description = other.description;
|
|
|
202 |
}
|
|
|
203 |
}
|
|
|
204 |
|
|
|
205 |
public WalletHistoryForCompany deepCopy() {
|
|
|
206 |
return new WalletHistoryForCompany(this);
|
|
|
207 |
}
|
|
|
208 |
|
|
|
209 |
@Override
|
|
|
210 |
public void clear() {
|
|
|
211 |
setIdIsSet(false);
|
|
|
212 |
this.id = 0;
|
|
|
213 |
setWalletIdIsSet(false);
|
|
|
214 |
this.walletId = 0;
|
|
|
215 |
setAmountIsSet(false);
|
|
|
216 |
this.amount = 0.0;
|
|
|
217 |
setTransactionTimeIsSet(false);
|
|
|
218 |
this.transactionTime = 0;
|
|
|
219 |
setOpeningBalIsSet(false);
|
|
|
220 |
this.openingBal = 0.0;
|
|
|
221 |
setClosingBalIsSet(false);
|
|
|
222 |
this.closingBal = 0.0;
|
|
|
223 |
setReferenceNumberIsSet(false);
|
|
|
224 |
this.referenceNumber = 0;
|
|
|
225 |
this.description = null;
|
|
|
226 |
}
|
|
|
227 |
|
|
|
228 |
public long getId() {
|
|
|
229 |
return this.id;
|
|
|
230 |
}
|
|
|
231 |
|
|
|
232 |
public void setId(long id) {
|
|
|
233 |
this.id = id;
|
|
|
234 |
setIdIsSet(true);
|
|
|
235 |
}
|
|
|
236 |
|
|
|
237 |
public void unsetId() {
|
|
|
238 |
__isset_bit_vector.clear(__ID_ISSET_ID);
|
|
|
239 |
}
|
|
|
240 |
|
|
|
241 |
/** Returns true if field id is set (has been assigned a value) and false otherwise */
|
|
|
242 |
public boolean isSetId() {
|
|
|
243 |
return __isset_bit_vector.get(__ID_ISSET_ID);
|
|
|
244 |
}
|
|
|
245 |
|
|
|
246 |
public void setIdIsSet(boolean value) {
|
|
|
247 |
__isset_bit_vector.set(__ID_ISSET_ID, value);
|
|
|
248 |
}
|
|
|
249 |
|
|
|
250 |
public long getWalletId() {
|
|
|
251 |
return this.walletId;
|
|
|
252 |
}
|
|
|
253 |
|
|
|
254 |
public void setWalletId(long walletId) {
|
|
|
255 |
this.walletId = walletId;
|
|
|
256 |
setWalletIdIsSet(true);
|
|
|
257 |
}
|
|
|
258 |
|
|
|
259 |
public void unsetWalletId() {
|
|
|
260 |
__isset_bit_vector.clear(__WALLETID_ISSET_ID);
|
|
|
261 |
}
|
|
|
262 |
|
|
|
263 |
/** Returns true if field walletId is set (has been assigned a value) and false otherwise */
|
|
|
264 |
public boolean isSetWalletId() {
|
|
|
265 |
return __isset_bit_vector.get(__WALLETID_ISSET_ID);
|
|
|
266 |
}
|
|
|
267 |
|
|
|
268 |
public void setWalletIdIsSet(boolean value) {
|
|
|
269 |
__isset_bit_vector.set(__WALLETID_ISSET_ID, value);
|
|
|
270 |
}
|
|
|
271 |
|
|
|
272 |
public double getAmount() {
|
|
|
273 |
return this.amount;
|
|
|
274 |
}
|
|
|
275 |
|
|
|
276 |
public void setAmount(double amount) {
|
|
|
277 |
this.amount = amount;
|
|
|
278 |
setAmountIsSet(true);
|
|
|
279 |
}
|
|
|
280 |
|
|
|
281 |
public void unsetAmount() {
|
|
|
282 |
__isset_bit_vector.clear(__AMOUNT_ISSET_ID);
|
|
|
283 |
}
|
|
|
284 |
|
|
|
285 |
/** Returns true if field amount is set (has been assigned a value) and false otherwise */
|
|
|
286 |
public boolean isSetAmount() {
|
|
|
287 |
return __isset_bit_vector.get(__AMOUNT_ISSET_ID);
|
|
|
288 |
}
|
|
|
289 |
|
|
|
290 |
public void setAmountIsSet(boolean value) {
|
|
|
291 |
__isset_bit_vector.set(__AMOUNT_ISSET_ID, value);
|
|
|
292 |
}
|
|
|
293 |
|
|
|
294 |
public long getTransactionTime() {
|
|
|
295 |
return this.transactionTime;
|
|
|
296 |
}
|
|
|
297 |
|
|
|
298 |
public void setTransactionTime(long transactionTime) {
|
|
|
299 |
this.transactionTime = transactionTime;
|
|
|
300 |
setTransactionTimeIsSet(true);
|
|
|
301 |
}
|
|
|
302 |
|
|
|
303 |
public void unsetTransactionTime() {
|
|
|
304 |
__isset_bit_vector.clear(__TRANSACTIONTIME_ISSET_ID);
|
|
|
305 |
}
|
|
|
306 |
|
|
|
307 |
/** Returns true if field transactionTime is set (has been assigned a value) and false otherwise */
|
|
|
308 |
public boolean isSetTransactionTime() {
|
|
|
309 |
return __isset_bit_vector.get(__TRANSACTIONTIME_ISSET_ID);
|
|
|
310 |
}
|
|
|
311 |
|
|
|
312 |
public void setTransactionTimeIsSet(boolean value) {
|
|
|
313 |
__isset_bit_vector.set(__TRANSACTIONTIME_ISSET_ID, value);
|
|
|
314 |
}
|
|
|
315 |
|
|
|
316 |
public double getOpeningBal() {
|
|
|
317 |
return this.openingBal;
|
|
|
318 |
}
|
|
|
319 |
|
|
|
320 |
public void setOpeningBal(double openingBal) {
|
|
|
321 |
this.openingBal = openingBal;
|
|
|
322 |
setOpeningBalIsSet(true);
|
|
|
323 |
}
|
|
|
324 |
|
|
|
325 |
public void unsetOpeningBal() {
|
|
|
326 |
__isset_bit_vector.clear(__OPENINGBAL_ISSET_ID);
|
|
|
327 |
}
|
|
|
328 |
|
|
|
329 |
/** Returns true if field openingBal is set (has been assigned a value) and false otherwise */
|
|
|
330 |
public boolean isSetOpeningBal() {
|
|
|
331 |
return __isset_bit_vector.get(__OPENINGBAL_ISSET_ID);
|
|
|
332 |
}
|
|
|
333 |
|
|
|
334 |
public void setOpeningBalIsSet(boolean value) {
|
|
|
335 |
__isset_bit_vector.set(__OPENINGBAL_ISSET_ID, value);
|
|
|
336 |
}
|
|
|
337 |
|
|
|
338 |
public double getClosingBal() {
|
|
|
339 |
return this.closingBal;
|
|
|
340 |
}
|
|
|
341 |
|
|
|
342 |
public void setClosingBal(double closingBal) {
|
|
|
343 |
this.closingBal = closingBal;
|
|
|
344 |
setClosingBalIsSet(true);
|
|
|
345 |
}
|
|
|
346 |
|
|
|
347 |
public void unsetClosingBal() {
|
|
|
348 |
__isset_bit_vector.clear(__CLOSINGBAL_ISSET_ID);
|
|
|
349 |
}
|
|
|
350 |
|
|
|
351 |
/** Returns true if field closingBal is set (has been assigned a value) and false otherwise */
|
|
|
352 |
public boolean isSetClosingBal() {
|
|
|
353 |
return __isset_bit_vector.get(__CLOSINGBAL_ISSET_ID);
|
|
|
354 |
}
|
|
|
355 |
|
|
|
356 |
public void setClosingBalIsSet(boolean value) {
|
|
|
357 |
__isset_bit_vector.set(__CLOSINGBAL_ISSET_ID, value);
|
|
|
358 |
}
|
|
|
359 |
|
|
|
360 |
public long getReferenceNumber() {
|
|
|
361 |
return this.referenceNumber;
|
|
|
362 |
}
|
|
|
363 |
|
|
|
364 |
public void setReferenceNumber(long referenceNumber) {
|
|
|
365 |
this.referenceNumber = referenceNumber;
|
|
|
366 |
setReferenceNumberIsSet(true);
|
|
|
367 |
}
|
|
|
368 |
|
|
|
369 |
public void unsetReferenceNumber() {
|
|
|
370 |
__isset_bit_vector.clear(__REFERENCENUMBER_ISSET_ID);
|
|
|
371 |
}
|
|
|
372 |
|
|
|
373 |
/** Returns true if field referenceNumber is set (has been assigned a value) and false otherwise */
|
|
|
374 |
public boolean isSetReferenceNumber() {
|
|
|
375 |
return __isset_bit_vector.get(__REFERENCENUMBER_ISSET_ID);
|
|
|
376 |
}
|
|
|
377 |
|
|
|
378 |
public void setReferenceNumberIsSet(boolean value) {
|
|
|
379 |
__isset_bit_vector.set(__REFERENCENUMBER_ISSET_ID, value);
|
|
|
380 |
}
|
|
|
381 |
|
|
|
382 |
public String getDescription() {
|
|
|
383 |
return this.description;
|
|
|
384 |
}
|
|
|
385 |
|
|
|
386 |
public void setDescription(String description) {
|
|
|
387 |
this.description = description;
|
|
|
388 |
}
|
|
|
389 |
|
|
|
390 |
public void unsetDescription() {
|
|
|
391 |
this.description = null;
|
|
|
392 |
}
|
|
|
393 |
|
|
|
394 |
/** Returns true if field description is set (has been assigned a value) and false otherwise */
|
|
|
395 |
public boolean isSetDescription() {
|
|
|
396 |
return this.description != null;
|
|
|
397 |
}
|
|
|
398 |
|
|
|
399 |
public void setDescriptionIsSet(boolean value) {
|
|
|
400 |
if (!value) {
|
|
|
401 |
this.description = null;
|
|
|
402 |
}
|
|
|
403 |
}
|
|
|
404 |
|
|
|
405 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
406 |
switch (field) {
|
|
|
407 |
case ID:
|
|
|
408 |
if (value == null) {
|
|
|
409 |
unsetId();
|
|
|
410 |
} else {
|
|
|
411 |
setId((Long)value);
|
|
|
412 |
}
|
|
|
413 |
break;
|
|
|
414 |
|
|
|
415 |
case WALLET_ID:
|
|
|
416 |
if (value == null) {
|
|
|
417 |
unsetWalletId();
|
|
|
418 |
} else {
|
|
|
419 |
setWalletId((Long)value);
|
|
|
420 |
}
|
|
|
421 |
break;
|
|
|
422 |
|
|
|
423 |
case AMOUNT:
|
|
|
424 |
if (value == null) {
|
|
|
425 |
unsetAmount();
|
|
|
426 |
} else {
|
|
|
427 |
setAmount((Double)value);
|
|
|
428 |
}
|
|
|
429 |
break;
|
|
|
430 |
|
|
|
431 |
case TRANSACTION_TIME:
|
|
|
432 |
if (value == null) {
|
|
|
433 |
unsetTransactionTime();
|
|
|
434 |
} else {
|
|
|
435 |
setTransactionTime((Long)value);
|
|
|
436 |
}
|
|
|
437 |
break;
|
|
|
438 |
|
|
|
439 |
case OPENING_BAL:
|
|
|
440 |
if (value == null) {
|
|
|
441 |
unsetOpeningBal();
|
|
|
442 |
} else {
|
|
|
443 |
setOpeningBal((Double)value);
|
|
|
444 |
}
|
|
|
445 |
break;
|
|
|
446 |
|
|
|
447 |
case CLOSING_BAL:
|
|
|
448 |
if (value == null) {
|
|
|
449 |
unsetClosingBal();
|
|
|
450 |
} else {
|
|
|
451 |
setClosingBal((Double)value);
|
|
|
452 |
}
|
|
|
453 |
break;
|
|
|
454 |
|
|
|
455 |
case REFERENCE_NUMBER:
|
|
|
456 |
if (value == null) {
|
|
|
457 |
unsetReferenceNumber();
|
|
|
458 |
} else {
|
|
|
459 |
setReferenceNumber((Long)value);
|
|
|
460 |
}
|
|
|
461 |
break;
|
|
|
462 |
|
|
|
463 |
case DESCRIPTION:
|
|
|
464 |
if (value == null) {
|
|
|
465 |
unsetDescription();
|
|
|
466 |
} else {
|
|
|
467 |
setDescription((String)value);
|
|
|
468 |
}
|
|
|
469 |
break;
|
|
|
470 |
|
|
|
471 |
}
|
|
|
472 |
}
|
|
|
473 |
|
|
|
474 |
public Object getFieldValue(_Fields field) {
|
|
|
475 |
switch (field) {
|
|
|
476 |
case ID:
|
|
|
477 |
return Long.valueOf(getId());
|
|
|
478 |
|
|
|
479 |
case WALLET_ID:
|
|
|
480 |
return Long.valueOf(getWalletId());
|
|
|
481 |
|
|
|
482 |
case AMOUNT:
|
|
|
483 |
return Double.valueOf(getAmount());
|
|
|
484 |
|
|
|
485 |
case TRANSACTION_TIME:
|
|
|
486 |
return Long.valueOf(getTransactionTime());
|
|
|
487 |
|
|
|
488 |
case OPENING_BAL:
|
|
|
489 |
return Double.valueOf(getOpeningBal());
|
|
|
490 |
|
|
|
491 |
case CLOSING_BAL:
|
|
|
492 |
return Double.valueOf(getClosingBal());
|
|
|
493 |
|
|
|
494 |
case REFERENCE_NUMBER:
|
|
|
495 |
return Long.valueOf(getReferenceNumber());
|
|
|
496 |
|
|
|
497 |
case DESCRIPTION:
|
|
|
498 |
return getDescription();
|
|
|
499 |
|
|
|
500 |
}
|
|
|
501 |
throw new IllegalStateException();
|
|
|
502 |
}
|
|
|
503 |
|
|
|
504 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
505 |
public boolean isSet(_Fields field) {
|
|
|
506 |
if (field == null) {
|
|
|
507 |
throw new IllegalArgumentException();
|
|
|
508 |
}
|
|
|
509 |
|
|
|
510 |
switch (field) {
|
|
|
511 |
case ID:
|
|
|
512 |
return isSetId();
|
|
|
513 |
case WALLET_ID:
|
|
|
514 |
return isSetWalletId();
|
|
|
515 |
case AMOUNT:
|
|
|
516 |
return isSetAmount();
|
|
|
517 |
case TRANSACTION_TIME:
|
|
|
518 |
return isSetTransactionTime();
|
|
|
519 |
case OPENING_BAL:
|
|
|
520 |
return isSetOpeningBal();
|
|
|
521 |
case CLOSING_BAL:
|
|
|
522 |
return isSetClosingBal();
|
|
|
523 |
case REFERENCE_NUMBER:
|
|
|
524 |
return isSetReferenceNumber();
|
|
|
525 |
case DESCRIPTION:
|
|
|
526 |
return isSetDescription();
|
|
|
527 |
}
|
|
|
528 |
throw new IllegalStateException();
|
|
|
529 |
}
|
|
|
530 |
|
|
|
531 |
@Override
|
|
|
532 |
public boolean equals(Object that) {
|
|
|
533 |
if (that == null)
|
|
|
534 |
return false;
|
|
|
535 |
if (that instanceof WalletHistoryForCompany)
|
|
|
536 |
return this.equals((WalletHistoryForCompany)that);
|
|
|
537 |
return false;
|
|
|
538 |
}
|
|
|
539 |
|
|
|
540 |
public boolean equals(WalletHistoryForCompany that) {
|
|
|
541 |
if (that == null)
|
|
|
542 |
return false;
|
|
|
543 |
|
|
|
544 |
boolean this_present_id = true;
|
|
|
545 |
boolean that_present_id = true;
|
|
|
546 |
if (this_present_id || that_present_id) {
|
|
|
547 |
if (!(this_present_id && that_present_id))
|
|
|
548 |
return false;
|
|
|
549 |
if (this.id != that.id)
|
|
|
550 |
return false;
|
|
|
551 |
}
|
|
|
552 |
|
|
|
553 |
boolean this_present_walletId = true;
|
|
|
554 |
boolean that_present_walletId = true;
|
|
|
555 |
if (this_present_walletId || that_present_walletId) {
|
|
|
556 |
if (!(this_present_walletId && that_present_walletId))
|
|
|
557 |
return false;
|
|
|
558 |
if (this.walletId != that.walletId)
|
|
|
559 |
return false;
|
|
|
560 |
}
|
|
|
561 |
|
|
|
562 |
boolean this_present_amount = true;
|
|
|
563 |
boolean that_present_amount = true;
|
|
|
564 |
if (this_present_amount || that_present_amount) {
|
|
|
565 |
if (!(this_present_amount && that_present_amount))
|
|
|
566 |
return false;
|
|
|
567 |
if (this.amount != that.amount)
|
|
|
568 |
return false;
|
|
|
569 |
}
|
|
|
570 |
|
|
|
571 |
boolean this_present_transactionTime = true;
|
|
|
572 |
boolean that_present_transactionTime = true;
|
|
|
573 |
if (this_present_transactionTime || that_present_transactionTime) {
|
|
|
574 |
if (!(this_present_transactionTime && that_present_transactionTime))
|
|
|
575 |
return false;
|
|
|
576 |
if (this.transactionTime != that.transactionTime)
|
|
|
577 |
return false;
|
|
|
578 |
}
|
|
|
579 |
|
|
|
580 |
boolean this_present_openingBal = true;
|
|
|
581 |
boolean that_present_openingBal = true;
|
|
|
582 |
if (this_present_openingBal || that_present_openingBal) {
|
|
|
583 |
if (!(this_present_openingBal && that_present_openingBal))
|
|
|
584 |
return false;
|
|
|
585 |
if (this.openingBal != that.openingBal)
|
|
|
586 |
return false;
|
|
|
587 |
}
|
|
|
588 |
|
|
|
589 |
boolean this_present_closingBal = true;
|
|
|
590 |
boolean that_present_closingBal = true;
|
|
|
591 |
if (this_present_closingBal || that_present_closingBal) {
|
|
|
592 |
if (!(this_present_closingBal && that_present_closingBal))
|
|
|
593 |
return false;
|
|
|
594 |
if (this.closingBal != that.closingBal)
|
|
|
595 |
return false;
|
|
|
596 |
}
|
|
|
597 |
|
|
|
598 |
boolean this_present_referenceNumber = true;
|
|
|
599 |
boolean that_present_referenceNumber = true;
|
|
|
600 |
if (this_present_referenceNumber || that_present_referenceNumber) {
|
|
|
601 |
if (!(this_present_referenceNumber && that_present_referenceNumber))
|
|
|
602 |
return false;
|
|
|
603 |
if (this.referenceNumber != that.referenceNumber)
|
|
|
604 |
return false;
|
|
|
605 |
}
|
|
|
606 |
|
|
|
607 |
boolean this_present_description = true && this.isSetDescription();
|
|
|
608 |
boolean that_present_description = true && that.isSetDescription();
|
|
|
609 |
if (this_present_description || that_present_description) {
|
|
|
610 |
if (!(this_present_description && that_present_description))
|
|
|
611 |
return false;
|
|
|
612 |
if (!this.description.equals(that.description))
|
|
|
613 |
return false;
|
|
|
614 |
}
|
|
|
615 |
|
|
|
616 |
return true;
|
|
|
617 |
}
|
|
|
618 |
|
|
|
619 |
@Override
|
|
|
620 |
public int hashCode() {
|
|
|
621 |
return 0;
|
|
|
622 |
}
|
|
|
623 |
|
|
|
624 |
public int compareTo(WalletHistoryForCompany other) {
|
|
|
625 |
if (!getClass().equals(other.getClass())) {
|
|
|
626 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
627 |
}
|
|
|
628 |
|
|
|
629 |
int lastComparison = 0;
|
|
|
630 |
WalletHistoryForCompany typedOther = (WalletHistoryForCompany)other;
|
|
|
631 |
|
|
|
632 |
lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
|
|
|
633 |
if (lastComparison != 0) {
|
|
|
634 |
return lastComparison;
|
|
|
635 |
}
|
|
|
636 |
if (isSetId()) {
|
|
|
637 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
|
|
|
638 |
if (lastComparison != 0) {
|
|
|
639 |
return lastComparison;
|
|
|
640 |
}
|
|
|
641 |
}
|
|
|
642 |
lastComparison = Boolean.valueOf(isSetWalletId()).compareTo(typedOther.isSetWalletId());
|
|
|
643 |
if (lastComparison != 0) {
|
|
|
644 |
return lastComparison;
|
|
|
645 |
}
|
|
|
646 |
if (isSetWalletId()) {
|
|
|
647 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.walletId, typedOther.walletId);
|
|
|
648 |
if (lastComparison != 0) {
|
|
|
649 |
return lastComparison;
|
|
|
650 |
}
|
|
|
651 |
}
|
|
|
652 |
lastComparison = Boolean.valueOf(isSetAmount()).compareTo(typedOther.isSetAmount());
|
|
|
653 |
if (lastComparison != 0) {
|
|
|
654 |
return lastComparison;
|
|
|
655 |
}
|
|
|
656 |
if (isSetAmount()) {
|
|
|
657 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.amount, typedOther.amount);
|
|
|
658 |
if (lastComparison != 0) {
|
|
|
659 |
return lastComparison;
|
|
|
660 |
}
|
|
|
661 |
}
|
|
|
662 |
lastComparison = Boolean.valueOf(isSetTransactionTime()).compareTo(typedOther.isSetTransactionTime());
|
|
|
663 |
if (lastComparison != 0) {
|
|
|
664 |
return lastComparison;
|
|
|
665 |
}
|
|
|
666 |
if (isSetTransactionTime()) {
|
|
|
667 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.transactionTime, typedOther.transactionTime);
|
|
|
668 |
if (lastComparison != 0) {
|
|
|
669 |
return lastComparison;
|
|
|
670 |
}
|
|
|
671 |
}
|
|
|
672 |
lastComparison = Boolean.valueOf(isSetOpeningBal()).compareTo(typedOther.isSetOpeningBal());
|
|
|
673 |
if (lastComparison != 0) {
|
|
|
674 |
return lastComparison;
|
|
|
675 |
}
|
|
|
676 |
if (isSetOpeningBal()) {
|
|
|
677 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.openingBal, typedOther.openingBal);
|
|
|
678 |
if (lastComparison != 0) {
|
|
|
679 |
return lastComparison;
|
|
|
680 |
}
|
|
|
681 |
}
|
|
|
682 |
lastComparison = Boolean.valueOf(isSetClosingBal()).compareTo(typedOther.isSetClosingBal());
|
|
|
683 |
if (lastComparison != 0) {
|
|
|
684 |
return lastComparison;
|
|
|
685 |
}
|
|
|
686 |
if (isSetClosingBal()) {
|
|
|
687 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.closingBal, typedOther.closingBal);
|
|
|
688 |
if (lastComparison != 0) {
|
|
|
689 |
return lastComparison;
|
|
|
690 |
}
|
|
|
691 |
}
|
|
|
692 |
lastComparison = Boolean.valueOf(isSetReferenceNumber()).compareTo(typedOther.isSetReferenceNumber());
|
|
|
693 |
if (lastComparison != 0) {
|
|
|
694 |
return lastComparison;
|
|
|
695 |
}
|
|
|
696 |
if (isSetReferenceNumber()) {
|
|
|
697 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.referenceNumber, typedOther.referenceNumber);
|
|
|
698 |
if (lastComparison != 0) {
|
|
|
699 |
return lastComparison;
|
|
|
700 |
}
|
|
|
701 |
}
|
|
|
702 |
lastComparison = Boolean.valueOf(isSetDescription()).compareTo(typedOther.isSetDescription());
|
|
|
703 |
if (lastComparison != 0) {
|
|
|
704 |
return lastComparison;
|
|
|
705 |
}
|
|
|
706 |
if (isSetDescription()) {
|
|
|
707 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, typedOther.description);
|
|
|
708 |
if (lastComparison != 0) {
|
|
|
709 |
return lastComparison;
|
|
|
710 |
}
|
|
|
711 |
}
|
|
|
712 |
return 0;
|
|
|
713 |
}
|
|
|
714 |
|
|
|
715 |
public _Fields fieldForId(int fieldId) {
|
|
|
716 |
return _Fields.findByThriftId(fieldId);
|
|
|
717 |
}
|
|
|
718 |
|
|
|
719 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
720 |
org.apache.thrift.protocol.TField field;
|
|
|
721 |
iprot.readStructBegin();
|
|
|
722 |
while (true)
|
|
|
723 |
{
|
|
|
724 |
field = iprot.readFieldBegin();
|
|
|
725 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
|
|
726 |
break;
|
|
|
727 |
}
|
|
|
728 |
switch (field.id) {
|
|
|
729 |
case 1: // ID
|
|
|
730 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
731 |
this.id = iprot.readI64();
|
|
|
732 |
setIdIsSet(true);
|
|
|
733 |
} else {
|
|
|
734 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
735 |
}
|
|
|
736 |
break;
|
|
|
737 |
case 2: // WALLET_ID
|
|
|
738 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
739 |
this.walletId = iprot.readI64();
|
|
|
740 |
setWalletIdIsSet(true);
|
|
|
741 |
} else {
|
|
|
742 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
743 |
}
|
|
|
744 |
break;
|
|
|
745 |
case 3: // AMOUNT
|
|
|
746 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
747 |
this.amount = iprot.readDouble();
|
|
|
748 |
setAmountIsSet(true);
|
|
|
749 |
} else {
|
|
|
750 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
751 |
}
|
|
|
752 |
break;
|
|
|
753 |
case 4: // TRANSACTION_TIME
|
|
|
754 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
755 |
this.transactionTime = iprot.readI64();
|
|
|
756 |
setTransactionTimeIsSet(true);
|
|
|
757 |
} else {
|
|
|
758 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
759 |
}
|
|
|
760 |
break;
|
|
|
761 |
case 5: // OPENING_BAL
|
|
|
762 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
763 |
this.openingBal = iprot.readDouble();
|
|
|
764 |
setOpeningBalIsSet(true);
|
|
|
765 |
} else {
|
|
|
766 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
767 |
}
|
|
|
768 |
break;
|
|
|
769 |
case 6: // CLOSING_BAL
|
|
|
770 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
|
|
771 |
this.closingBal = iprot.readDouble();
|
|
|
772 |
setClosingBalIsSet(true);
|
|
|
773 |
} else {
|
|
|
774 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
775 |
}
|
|
|
776 |
break;
|
|
|
777 |
case 7: // REFERENCE_NUMBER
|
|
|
778 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
779 |
this.referenceNumber = iprot.readI64();
|
|
|
780 |
setReferenceNumberIsSet(true);
|
|
|
781 |
} else {
|
|
|
782 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
783 |
}
|
|
|
784 |
break;
|
|
|
785 |
case 8: // DESCRIPTION
|
|
|
786 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
787 |
this.description = iprot.readString();
|
|
|
788 |
} else {
|
|
|
789 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
790 |
}
|
|
|
791 |
break;
|
|
|
792 |
default:
|
|
|
793 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
794 |
}
|
|
|
795 |
iprot.readFieldEnd();
|
|
|
796 |
}
|
|
|
797 |
iprot.readStructEnd();
|
|
|
798 |
validate();
|
|
|
799 |
}
|
|
|
800 |
|
|
|
801 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
|
|
802 |
validate();
|
|
|
803 |
|
|
|
804 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
805 |
oprot.writeFieldBegin(ID_FIELD_DESC);
|
|
|
806 |
oprot.writeI64(this.id);
|
|
|
807 |
oprot.writeFieldEnd();
|
|
|
808 |
oprot.writeFieldBegin(WALLET_ID_FIELD_DESC);
|
|
|
809 |
oprot.writeI64(this.walletId);
|
|
|
810 |
oprot.writeFieldEnd();
|
|
|
811 |
oprot.writeFieldBegin(AMOUNT_FIELD_DESC);
|
|
|
812 |
oprot.writeDouble(this.amount);
|
|
|
813 |
oprot.writeFieldEnd();
|
|
|
814 |
oprot.writeFieldBegin(TRANSACTION_TIME_FIELD_DESC);
|
|
|
815 |
oprot.writeI64(this.transactionTime);
|
|
|
816 |
oprot.writeFieldEnd();
|
|
|
817 |
oprot.writeFieldBegin(OPENING_BAL_FIELD_DESC);
|
|
|
818 |
oprot.writeDouble(this.openingBal);
|
|
|
819 |
oprot.writeFieldEnd();
|
|
|
820 |
oprot.writeFieldBegin(CLOSING_BAL_FIELD_DESC);
|
|
|
821 |
oprot.writeDouble(this.closingBal);
|
|
|
822 |
oprot.writeFieldEnd();
|
|
|
823 |
oprot.writeFieldBegin(REFERENCE_NUMBER_FIELD_DESC);
|
|
|
824 |
oprot.writeI64(this.referenceNumber);
|
|
|
825 |
oprot.writeFieldEnd();
|
|
|
826 |
if (this.description != null) {
|
|
|
827 |
oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
|
|
|
828 |
oprot.writeString(this.description);
|
|
|
829 |
oprot.writeFieldEnd();
|
|
|
830 |
}
|
|
|
831 |
oprot.writeFieldStop();
|
|
|
832 |
oprot.writeStructEnd();
|
|
|
833 |
}
|
|
|
834 |
|
|
|
835 |
@Override
|
|
|
836 |
public String toString() {
|
|
|
837 |
StringBuilder sb = new StringBuilder("WalletHistoryForCompany(");
|
|
|
838 |
boolean first = true;
|
|
|
839 |
|
|
|
840 |
sb.append("id:");
|
|
|
841 |
sb.append(this.id);
|
|
|
842 |
first = false;
|
|
|
843 |
if (!first) sb.append(", ");
|
|
|
844 |
sb.append("walletId:");
|
|
|
845 |
sb.append(this.walletId);
|
|
|
846 |
first = false;
|
|
|
847 |
if (!first) sb.append(", ");
|
|
|
848 |
sb.append("amount:");
|
|
|
849 |
sb.append(this.amount);
|
|
|
850 |
first = false;
|
|
|
851 |
if (!first) sb.append(", ");
|
|
|
852 |
sb.append("transactionTime:");
|
|
|
853 |
sb.append(this.transactionTime);
|
|
|
854 |
first = false;
|
|
|
855 |
if (!first) sb.append(", ");
|
|
|
856 |
sb.append("openingBal:");
|
|
|
857 |
sb.append(this.openingBal);
|
|
|
858 |
first = false;
|
|
|
859 |
if (!first) sb.append(", ");
|
|
|
860 |
sb.append("closingBal:");
|
|
|
861 |
sb.append(this.closingBal);
|
|
|
862 |
first = false;
|
|
|
863 |
if (!first) sb.append(", ");
|
|
|
864 |
sb.append("referenceNumber:");
|
|
|
865 |
sb.append(this.referenceNumber);
|
|
|
866 |
first = false;
|
|
|
867 |
if (!first) sb.append(", ");
|
|
|
868 |
sb.append("description:");
|
|
|
869 |
if (this.description == null) {
|
|
|
870 |
sb.append("null");
|
|
|
871 |
} else {
|
|
|
872 |
sb.append(this.description);
|
|
|
873 |
}
|
|
|
874 |
first = false;
|
|
|
875 |
sb.append(")");
|
|
|
876 |
return sb.toString();
|
|
|
877 |
}
|
|
|
878 |
|
|
|
879 |
public void validate() throws org.apache.thrift.TException {
|
|
|
880 |
// check for required fields
|
|
|
881 |
}
|
|
|
882 |
|
|
|
883 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
884 |
try {
|
|
|
885 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
886 |
} catch (org.apache.thrift.TException te) {
|
|
|
887 |
throw new java.io.IOException(te);
|
|
|
888 |
}
|
|
|
889 |
}
|
|
|
890 |
|
|
|
891 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
892 |
try {
|
|
|
893 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
|
|
894 |
__isset_bit_vector = new BitSet(1);
|
|
|
895 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
896 |
} catch (org.apache.thrift.TException te) {
|
|
|
897 |
throw new java.io.IOException(te);
|
|
|
898 |
}
|
|
|
899 |
}
|
|
|
900 |
|
|
|
901 |
}
|
|
|
902 |
|