Subversion Repositories SmartDukaan

Rev

Rev 3168 | Rev 4793 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3028 mandeep.dh 1
/**
3430 rajveer 2
 * Autogenerated by Thrift Compiler (0.7.0)
3028 mandeep.dh 3
 *
4
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
 */
6
package in.shop2020.crm;
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;
3430 rajveer 18
import java.nio.ByteBuffer;
3028 mandeep.dh 19
import java.util.Arrays;
20
import org.slf4j.Logger;
21
import org.slf4j.LoggerFactory;
22
 
3430 rajveer 23
public class Agent implements org.apache.thrift.TBase<Agent, Agent._Fields>, java.io.Serializable, Cloneable {
24
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Agent");
3028 mandeep.dh 25
 
3430 rajveer 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 NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)2);
28
  private static final org.apache.thrift.protocol.TField EMAIL_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("emailId", org.apache.thrift.protocol.TType.STRING, (short)3);
29
  private static final org.apache.thrift.protocol.TField MANAGER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("managerId", org.apache.thrift.protocol.TType.I64, (short)4);
30
  private static final org.apache.thrift.protocol.TField PASSWORD_FIELD_DESC = new org.apache.thrift.protocol.TField("password", org.apache.thrift.protocol.TType.STRING, (short)5);
3028 mandeep.dh 31
 
3430 rajveer 32
  private long id; // required
33
  private String name; // required
34
  private String emailId; // required
35
  private long managerId; // required
36
  private String password; // required
3028 mandeep.dh 37
 
38
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
3430 rajveer 39
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
3028 mandeep.dh 40
    ID((short)1, "id"),
41
    NAME((short)2, "name"),
42
    EMAIL_ID((short)3, "emailId"),
43
    MANAGER_ID((short)4, "managerId"),
44
    PASSWORD((short)5, "password");
45
 
46
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
47
 
48
    static {
49
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
50
        byName.put(field.getFieldName(), field);
51
      }
52
    }
53
 
54
    /**
55
     * Find the _Fields constant that matches fieldId, or null if its not found.
56
     */
57
    public static _Fields findByThriftId(int fieldId) {
3430 rajveer 58
      switch(fieldId) {
59
        case 1: // ID
60
          return ID;
61
        case 2: // NAME
62
          return NAME;
63
        case 3: // EMAIL_ID
64
          return EMAIL_ID;
65
        case 4: // MANAGER_ID
66
          return MANAGER_ID;
67
        case 5: // PASSWORD
68
          return PASSWORD;
69
        default:
70
          return null;
71
      }
3028 mandeep.dh 72
    }
73
 
74
    /**
75
     * Find the _Fields constant that matches fieldId, throwing an exception
76
     * if it is not found.
77
     */
78
    public static _Fields findByThriftIdOrThrow(int fieldId) {
79
      _Fields fields = findByThriftId(fieldId);
80
      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
81
      return fields;
82
    }
83
 
84
    /**
85
     * Find the _Fields constant that matches name, or null if its not found.
86
     */
87
    public static _Fields findByName(String name) {
88
      return byName.get(name);
89
    }
90
 
91
    private final short _thriftId;
92
    private final String _fieldName;
93
 
94
    _Fields(short thriftId, String fieldName) {
95
      _thriftId = thriftId;
96
      _fieldName = fieldName;
97
    }
98
 
99
    public short getThriftFieldId() {
100
      return _thriftId;
101
    }
102
 
103
    public String getFieldName() {
104
      return _fieldName;
105
    }
106
  }
107
 
108
  // isset id assignments
109
  private static final int __ID_ISSET_ID = 0;
110
  private static final int __MANAGERID_ISSET_ID = 1;
111
  private BitSet __isset_bit_vector = new BitSet(2);
112
 
3430 rajveer 113
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
3028 mandeep.dh 114
  static {
3430 rajveer 115
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
116
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
117
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
118
    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
119
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
120
    tmpMap.put(_Fields.EMAIL_ID, new org.apache.thrift.meta_data.FieldMetaData("emailId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
121
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
122
    tmpMap.put(_Fields.MANAGER_ID, new org.apache.thrift.meta_data.FieldMetaData("managerId", org.apache.thrift.TFieldRequirementType.OPTIONAL, 
123
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
124
    tmpMap.put(_Fields.PASSWORD, new org.apache.thrift.meta_data.FieldMetaData("password", org.apache.thrift.TFieldRequirementType.DEFAULT, 
125
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
126
    metaDataMap = Collections.unmodifiableMap(tmpMap);
127
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Agent.class, metaDataMap);
3028 mandeep.dh 128
  }
129
 
130
  public Agent() {
131
  }
132
 
133
  public Agent(
134
    long id,
135
    String name,
136
    String emailId,
137
    String password)
138
  {
139
    this();
140
    this.id = id;
141
    setIdIsSet(true);
142
    this.name = name;
143
    this.emailId = emailId;
144
    this.password = password;
145
  }
146
 
147
  /**
148
   * Performs a deep copy on <i>other</i>.
149
   */
150
  public Agent(Agent other) {
151
    __isset_bit_vector.clear();
152
    __isset_bit_vector.or(other.__isset_bit_vector);
153
    this.id = other.id;
154
    if (other.isSetName()) {
155
      this.name = other.name;
156
    }
157
    if (other.isSetEmailId()) {
158
      this.emailId = other.emailId;
159
    }
160
    this.managerId = other.managerId;
161
    if (other.isSetPassword()) {
162
      this.password = other.password;
163
    }
164
  }
165
 
166
  public Agent deepCopy() {
167
    return new Agent(this);
168
  }
169
 
3430 rajveer 170
  @Override
171
  public void clear() {
172
    setIdIsSet(false);
173
    this.id = 0;
174
    this.name = null;
175
    this.emailId = null;
176
    setManagerIdIsSet(false);
177
    this.managerId = 0;
178
    this.password = null;
3028 mandeep.dh 179
  }
180
 
181
  public long getId() {
182
    return this.id;
183
  }
184
 
3430 rajveer 185
  public void setId(long id) {
3028 mandeep.dh 186
    this.id = id;
187
    setIdIsSet(true);
188
  }
189
 
190
  public void unsetId() {
191
    __isset_bit_vector.clear(__ID_ISSET_ID);
192
  }
193
 
3430 rajveer 194
  /** Returns true if field id is set (has been assigned a value) and false otherwise */
3028 mandeep.dh 195
  public boolean isSetId() {
196
    return __isset_bit_vector.get(__ID_ISSET_ID);
197
  }
198
 
199
  public void setIdIsSet(boolean value) {
200
    __isset_bit_vector.set(__ID_ISSET_ID, value);
201
  }
202
 
203
  public String getName() {
204
    return this.name;
205
  }
206
 
3430 rajveer 207
  public void setName(String name) {
3028 mandeep.dh 208
    this.name = name;
209
  }
210
 
211
  public void unsetName() {
212
    this.name = null;
213
  }
214
 
3430 rajveer 215
  /** Returns true if field name is set (has been assigned a value) and false otherwise */
3028 mandeep.dh 216
  public boolean isSetName() {
217
    return this.name != null;
218
  }
219
 
220
  public void setNameIsSet(boolean value) {
221
    if (!value) {
222
      this.name = null;
223
    }
224
  }
225
 
226
  public String getEmailId() {
227
    return this.emailId;
228
  }
229
 
3430 rajveer 230
  public void setEmailId(String emailId) {
3028 mandeep.dh 231
    this.emailId = emailId;
232
  }
233
 
234
  public void unsetEmailId() {
235
    this.emailId = null;
236
  }
237
 
3430 rajveer 238
  /** Returns true if field emailId is set (has been assigned a value) and false otherwise */
3028 mandeep.dh 239
  public boolean isSetEmailId() {
240
    return this.emailId != null;
241
  }
242
 
243
  public void setEmailIdIsSet(boolean value) {
244
    if (!value) {
245
      this.emailId = null;
246
    }
247
  }
248
 
249
  public long getManagerId() {
250
    return this.managerId;
251
  }
252
 
3430 rajveer 253
  public void setManagerId(long managerId) {
3028 mandeep.dh 254
    this.managerId = managerId;
255
    setManagerIdIsSet(true);
256
  }
257
 
258
  public void unsetManagerId() {
259
    __isset_bit_vector.clear(__MANAGERID_ISSET_ID);
260
  }
261
 
3430 rajveer 262
  /** Returns true if field managerId is set (has been assigned a value) and false otherwise */
3028 mandeep.dh 263
  public boolean isSetManagerId() {
264
    return __isset_bit_vector.get(__MANAGERID_ISSET_ID);
265
  }
266
 
267
  public void setManagerIdIsSet(boolean value) {
268
    __isset_bit_vector.set(__MANAGERID_ISSET_ID, value);
269
  }
270
 
271
  public String getPassword() {
272
    return this.password;
273
  }
274
 
3430 rajveer 275
  public void setPassword(String password) {
3028 mandeep.dh 276
    this.password = password;
277
  }
278
 
279
  public void unsetPassword() {
280
    this.password = null;
281
  }
282
 
3430 rajveer 283
  /** Returns true if field password is set (has been assigned a value) and false otherwise */
3028 mandeep.dh 284
  public boolean isSetPassword() {
285
    return this.password != null;
286
  }
287
 
288
  public void setPasswordIsSet(boolean value) {
289
    if (!value) {
290
      this.password = null;
291
    }
292
  }
293
 
294
  public void setFieldValue(_Fields field, Object value) {
295
    switch (field) {
296
    case ID:
297
      if (value == null) {
298
        unsetId();
299
      } else {
300
        setId((Long)value);
301
      }
302
      break;
303
 
304
    case NAME:
305
      if (value == null) {
306
        unsetName();
307
      } else {
308
        setName((String)value);
309
      }
310
      break;
311
 
312
    case EMAIL_ID:
313
      if (value == null) {
314
        unsetEmailId();
315
      } else {
316
        setEmailId((String)value);
317
      }
318
      break;
319
 
320
    case MANAGER_ID:
321
      if (value == null) {
322
        unsetManagerId();
323
      } else {
324
        setManagerId((Long)value);
325
      }
326
      break;
327
 
328
    case PASSWORD:
329
      if (value == null) {
330
        unsetPassword();
331
      } else {
332
        setPassword((String)value);
333
      }
334
      break;
335
 
336
    }
337
  }
338
 
339
  public Object getFieldValue(_Fields field) {
340
    switch (field) {
341
    case ID:
3430 rajveer 342
      return Long.valueOf(getId());
3028 mandeep.dh 343
 
344
    case NAME:
345
      return getName();
346
 
347
    case EMAIL_ID:
348
      return getEmailId();
349
 
350
    case MANAGER_ID:
3430 rajveer 351
      return Long.valueOf(getManagerId());
3028 mandeep.dh 352
 
353
    case PASSWORD:
354
      return getPassword();
355
 
356
    }
357
    throw new IllegalStateException();
358
  }
359
 
3430 rajveer 360
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
361
  public boolean isSet(_Fields field) {
362
    if (field == null) {
363
      throw new IllegalArgumentException();
364
    }
3028 mandeep.dh 365
 
366
    switch (field) {
367
    case ID:
368
      return isSetId();
369
    case NAME:
370
      return isSetName();
371
    case EMAIL_ID:
372
      return isSetEmailId();
373
    case MANAGER_ID:
374
      return isSetManagerId();
375
    case PASSWORD:
376
      return isSetPassword();
377
    }
378
    throw new IllegalStateException();
379
  }
380
 
381
  @Override
382
  public boolean equals(Object that) {
383
    if (that == null)
384
      return false;
385
    if (that instanceof Agent)
386
      return this.equals((Agent)that);
387
    return false;
388
  }
389
 
390
  public boolean equals(Agent that) {
391
    if (that == null)
392
      return false;
393
 
394
    boolean this_present_id = true;
395
    boolean that_present_id = true;
396
    if (this_present_id || that_present_id) {
397
      if (!(this_present_id && that_present_id))
398
        return false;
399
      if (this.id != that.id)
400
        return false;
401
    }
402
 
403
    boolean this_present_name = true && this.isSetName();
404
    boolean that_present_name = true && that.isSetName();
405
    if (this_present_name || that_present_name) {
406
      if (!(this_present_name && that_present_name))
407
        return false;
408
      if (!this.name.equals(that.name))
409
        return false;
410
    }
411
 
412
    boolean this_present_emailId = true && this.isSetEmailId();
413
    boolean that_present_emailId = true && that.isSetEmailId();
414
    if (this_present_emailId || that_present_emailId) {
415
      if (!(this_present_emailId && that_present_emailId))
416
        return false;
417
      if (!this.emailId.equals(that.emailId))
418
        return false;
419
    }
420
 
3168 mandeep.dh 421
    boolean this_present_managerId = true && this.isSetManagerId();
422
    boolean that_present_managerId = true && that.isSetManagerId();
3028 mandeep.dh 423
    if (this_present_managerId || that_present_managerId) {
424
      if (!(this_present_managerId && that_present_managerId))
425
        return false;
426
      if (this.managerId != that.managerId)
427
        return false;
428
    }
429
 
430
    boolean this_present_password = true && this.isSetPassword();
431
    boolean that_present_password = true && that.isSetPassword();
432
    if (this_present_password || that_present_password) {
433
      if (!(this_present_password && that_present_password))
434
        return false;
435
      if (!this.password.equals(that.password))
436
        return false;
437
    }
438
 
439
    return true;
440
  }
441
 
442
  @Override
443
  public int hashCode() {
444
    return 0;
445
  }
446
 
447
  public int compareTo(Agent other) {
448
    if (!getClass().equals(other.getClass())) {
449
      return getClass().getName().compareTo(other.getClass().getName());
450
    }
451
 
452
    int lastComparison = 0;
453
    Agent typedOther = (Agent)other;
454
 
3430 rajveer 455
    lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
3028 mandeep.dh 456
    if (lastComparison != 0) {
457
      return lastComparison;
458
    }
3430 rajveer 459
    if (isSetId()) {
460
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
461
      if (lastComparison != 0) {
462
        return lastComparison;
463
      }
3028 mandeep.dh 464
    }
3430 rajveer 465
    lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName());
3028 mandeep.dh 466
    if (lastComparison != 0) {
467
      return lastComparison;
468
    }
3430 rajveer 469
    if (isSetName()) {
470
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name);
471
      if (lastComparison != 0) {
472
        return lastComparison;
473
      }
3028 mandeep.dh 474
    }
3430 rajveer 475
    lastComparison = Boolean.valueOf(isSetEmailId()).compareTo(typedOther.isSetEmailId());
3028 mandeep.dh 476
    if (lastComparison != 0) {
477
      return lastComparison;
478
    }
3430 rajveer 479
    if (isSetEmailId()) {
480
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.emailId, typedOther.emailId);
481
      if (lastComparison != 0) {
482
        return lastComparison;
483
      }
3028 mandeep.dh 484
    }
3430 rajveer 485
    lastComparison = Boolean.valueOf(isSetManagerId()).compareTo(typedOther.isSetManagerId());
3028 mandeep.dh 486
    if (lastComparison != 0) {
487
      return lastComparison;
488
    }
3430 rajveer 489
    if (isSetManagerId()) {
490
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.managerId, typedOther.managerId);
491
      if (lastComparison != 0) {
492
        return lastComparison;
493
      }
3028 mandeep.dh 494
    }
3430 rajveer 495
    lastComparison = Boolean.valueOf(isSetPassword()).compareTo(typedOther.isSetPassword());
3028 mandeep.dh 496
    if (lastComparison != 0) {
497
      return lastComparison;
498
    }
3430 rajveer 499
    if (isSetPassword()) {
500
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.password, typedOther.password);
501
      if (lastComparison != 0) {
502
        return lastComparison;
503
      }
3028 mandeep.dh 504
    }
505
    return 0;
506
  }
507
 
3430 rajveer 508
  public _Fields fieldForId(int fieldId) {
509
    return _Fields.findByThriftId(fieldId);
510
  }
511
 
512
  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
513
    org.apache.thrift.protocol.TField field;
3028 mandeep.dh 514
    iprot.readStructBegin();
515
    while (true)
516
    {
517
      field = iprot.readFieldBegin();
3430 rajveer 518
      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
3028 mandeep.dh 519
        break;
520
      }
3430 rajveer 521
      switch (field.id) {
522
        case 1: // ID
523
          if (field.type == org.apache.thrift.protocol.TType.I64) {
524
            this.id = iprot.readI64();
525
            setIdIsSet(true);
526
          } else { 
527
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
528
          }
529
          break;
530
        case 2: // NAME
531
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
532
            this.name = iprot.readString();
533
          } else { 
534
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
535
          }
536
          break;
537
        case 3: // EMAIL_ID
538
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
539
            this.emailId = iprot.readString();
540
          } else { 
541
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
542
          }
543
          break;
544
        case 4: // MANAGER_ID
545
          if (field.type == org.apache.thrift.protocol.TType.I64) {
546
            this.managerId = iprot.readI64();
547
            setManagerIdIsSet(true);
548
          } else { 
549
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
550
          }
551
          break;
552
        case 5: // PASSWORD
553
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
554
            this.password = iprot.readString();
555
          } else { 
556
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
557
          }
558
          break;
559
        default:
560
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
3028 mandeep.dh 561
      }
3430 rajveer 562
      iprot.readFieldEnd();
3028 mandeep.dh 563
    }
564
    iprot.readStructEnd();
565
    validate();
566
  }
567
 
3430 rajveer 568
  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
3028 mandeep.dh 569
    validate();
570
 
571
    oprot.writeStructBegin(STRUCT_DESC);
572
    oprot.writeFieldBegin(ID_FIELD_DESC);
573
    oprot.writeI64(this.id);
574
    oprot.writeFieldEnd();
575
    if (this.name != null) {
576
      oprot.writeFieldBegin(NAME_FIELD_DESC);
577
      oprot.writeString(this.name);
578
      oprot.writeFieldEnd();
579
    }
580
    if (this.emailId != null) {
581
      oprot.writeFieldBegin(EMAIL_ID_FIELD_DESC);
582
      oprot.writeString(this.emailId);
583
      oprot.writeFieldEnd();
584
    }
3168 mandeep.dh 585
    if (isSetManagerId()) {
586
      oprot.writeFieldBegin(MANAGER_ID_FIELD_DESC);
587
      oprot.writeI64(this.managerId);
588
      oprot.writeFieldEnd();
589
    }
3028 mandeep.dh 590
    if (this.password != null) {
591
      oprot.writeFieldBegin(PASSWORD_FIELD_DESC);
592
      oprot.writeString(this.password);
593
      oprot.writeFieldEnd();
594
    }
595
    oprot.writeFieldStop();
596
    oprot.writeStructEnd();
597
  }
598
 
599
  @Override
600
  public String toString() {
601
    StringBuilder sb = new StringBuilder("Agent(");
602
    boolean first = true;
603
 
604
    sb.append("id:");
605
    sb.append(this.id);
606
    first = false;
607
    if (!first) sb.append(", ");
608
    sb.append("name:");
609
    if (this.name == null) {
610
      sb.append("null");
611
    } else {
612
      sb.append(this.name);
613
    }
614
    first = false;
615
    if (!first) sb.append(", ");
616
    sb.append("emailId:");
617
    if (this.emailId == null) {
618
      sb.append("null");
619
    } else {
620
      sb.append(this.emailId);
621
    }
622
    first = false;
3168 mandeep.dh 623
    if (isSetManagerId()) {
624
      if (!first) sb.append(", ");
625
      sb.append("managerId:");
626
      sb.append(this.managerId);
627
      first = false;
628
    }
3028 mandeep.dh 629
    if (!first) sb.append(", ");
630
    sb.append("password:");
631
    if (this.password == null) {
632
      sb.append("null");
633
    } else {
634
      sb.append(this.password);
635
    }
636
    first = false;
637
    sb.append(")");
638
    return sb.toString();
639
  }
640
 
3430 rajveer 641
  public void validate() throws org.apache.thrift.TException {
3028 mandeep.dh 642
    // check for required fields
643
  }
644
 
3430 rajveer 645
  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
646
    try {
647
      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
648
    } catch (org.apache.thrift.TException te) {
649
      throw new java.io.IOException(te);
650
    }
651
  }
652
 
653
  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
654
    try {
655
      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
656
      __isset_bit_vector = new BitSet(1);
657
      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
658
    } catch (org.apache.thrift.TException te) {
659
      throw new java.io.IOException(te);
660
    }
661
  }
662
 
3028 mandeep.dh 663
}
664