Subversion Repositories SmartDukaan

Rev

Rev 12722 | Rev 21908 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12722 Rev 18530
Line 35... Line 35...
35
  private static final org.apache.thrift.protocol.TField SP_COUNTER_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("spCounterSize", org.apache.thrift.protocol.TType.I64, (short)10);
35
  private static final org.apache.thrift.protocol.TField SP_COUNTER_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("spCounterSize", org.apache.thrift.protocol.TType.I64, (short)10);
36
  private static final org.apache.thrift.protocol.TField FP_COUNTER_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("fpCounterSize", org.apache.thrift.protocol.TType.I64, (short)11);
36
  private static final org.apache.thrift.protocol.TField FP_COUNTER_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("fpCounterSize", org.apache.thrift.protocol.TType.I64, (short)11);
37
  private static final org.apache.thrift.protocol.TField DOB_FIELD_DESC = new org.apache.thrift.protocol.TField("dob", org.apache.thrift.protocol.TType.STRING, (short)12);
37
  private static final org.apache.thrift.protocol.TField DOB_FIELD_DESC = new org.apache.thrift.protocol.TField("dob", org.apache.thrift.protocol.TType.STRING, (short)12);
38
  private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)13);
38
  private static final org.apache.thrift.protocol.TField ADDED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("addedOn", org.apache.thrift.protocol.TType.I64, (short)13);
39
  private static final org.apache.thrift.protocol.TField ADDRESS_FIELD_DESC = new org.apache.thrift.protocol.TField("address", org.apache.thrift.protocol.TType.I64, (short)14);
39
  private static final org.apache.thrift.protocol.TField ADDRESS_FIELD_DESC = new org.apache.thrift.protocol.TField("address", org.apache.thrift.protocol.TType.I64, (short)14);
-
 
40
  private static final org.apache.thrift.protocol.TField DOCUMENT_VERIFIED_FIELD_DESC = new org.apache.thrift.protocol.TField("documentVerified", org.apache.thrift.protocol.TType.BOOL, (short)15);
-
 
41
  private static final org.apache.thrift.protocol.TField VERIFICATION_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("verificationType", org.apache.thrift.protocol.TType.I32, (short)16);
-
 
42
  private static final org.apache.thrift.protocol.TField VERIFIED_ON_FIELD_DESC = new org.apache.thrift.protocol.TField("verifiedOn", org.apache.thrift.protocol.TType.I64, (short)17);
40
 
43
 
41
  private long id; // required
44
  private long id; // required
42
  private String code; // required
45
  private String code; // required
43
  private String name; // required
46
  private String name; // required
44
  private String ownerName; // required
47
  private String ownerName; // required
Line 50... Line 53...
50
  private long spCounterSize; // required
53
  private long spCounterSize; // required
51
  private long fpCounterSize; // required
54
  private long fpCounterSize; // required
52
  private String dob; // required
55
  private String dob; // required
53
  private long addedOn; // required
56
  private long addedOn; // required
54
  private long address; // required
57
  private long address; // required
-
 
58
  private boolean documentVerified; // required
-
 
59
  private CounterVerificationType verificationType; // required
-
 
60
  private long verifiedOn; // required
55
 
61
 
56
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
62
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
57
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
63
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
58
    ID((short)1, "id"),
64
    ID((short)1, "id"),
59
    CODE((short)2, "code"),
65
    CODE((short)2, "code"),
Line 66... Line 72...
66
    TIN((short)9, "tin"),
72
    TIN((short)9, "tin"),
67
    SP_COUNTER_SIZE((short)10, "spCounterSize"),
73
    SP_COUNTER_SIZE((short)10, "spCounterSize"),
68
    FP_COUNTER_SIZE((short)11, "fpCounterSize"),
74
    FP_COUNTER_SIZE((short)11, "fpCounterSize"),
69
    DOB((short)12, "dob"),
75
    DOB((short)12, "dob"),
70
    ADDED_ON((short)13, "addedOn"),
76
    ADDED_ON((short)13, "addedOn"),
71
    ADDRESS((short)14, "address");
77
    ADDRESS((short)14, "address"),
-
 
78
    DOCUMENT_VERIFIED((short)15, "documentVerified"),
-
 
79
    /**
-
 
80
     * 
-
 
81
     * @see CounterVerificationType
-
 
82
     */
-
 
83
    VERIFICATION_TYPE((short)16, "verificationType"),
-
 
84
    VERIFIED_ON((short)17, "verifiedOn");
72
 
85
 
73
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
86
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
74
 
87
 
75
    static {
88
    static {
76
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
89
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 109... Line 122...
109
          return DOB;
122
          return DOB;
110
        case 13: // ADDED_ON
123
        case 13: // ADDED_ON
111
          return ADDED_ON;
124
          return ADDED_ON;
112
        case 14: // ADDRESS
125
        case 14: // ADDRESS
113
          return ADDRESS;
126
          return ADDRESS;
-
 
127
        case 15: // DOCUMENT_VERIFIED
-
 
128
          return DOCUMENT_VERIFIED;
-
 
129
        case 16: // VERIFICATION_TYPE
-
 
130
          return VERIFICATION_TYPE;
-
 
131
        case 17: // VERIFIED_ON
-
 
132
          return VERIFIED_ON;
114
        default:
133
        default:
115
          return null;
134
          return null;
116
      }
135
      }
117
    }
136
    }
118
 
137
 
Line 155... Line 174...
155
  private static final int __STRIKER_ISSET_ID = 1;
174
  private static final int __STRIKER_ISSET_ID = 1;
156
  private static final int __SPCOUNTERSIZE_ISSET_ID = 2;
175
  private static final int __SPCOUNTERSIZE_ISSET_ID = 2;
157
  private static final int __FPCOUNTERSIZE_ISSET_ID = 3;
176
  private static final int __FPCOUNTERSIZE_ISSET_ID = 3;
158
  private static final int __ADDEDON_ISSET_ID = 4;
177
  private static final int __ADDEDON_ISSET_ID = 4;
159
  private static final int __ADDRESS_ISSET_ID = 5;
178
  private static final int __ADDRESS_ISSET_ID = 5;
-
 
179
  private static final int __DOCUMENTVERIFIED_ISSET_ID = 6;
-
 
180
  private static final int __VERIFIEDON_ISSET_ID = 7;
160
  private BitSet __isset_bit_vector = new BitSet(6);
181
  private BitSet __isset_bit_vector = new BitSet(8);
161
 
182
 
162
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
183
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
163
  static {
184
  static {
164
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
185
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
165
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
186
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 188... Line 209...
188
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
209
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
189
    tmpMap.put(_Fields.ADDED_ON, new org.apache.thrift.meta_data.FieldMetaData("addedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
210
    tmpMap.put(_Fields.ADDED_ON, new org.apache.thrift.meta_data.FieldMetaData("addedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
190
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
211
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
191
    tmpMap.put(_Fields.ADDRESS, new org.apache.thrift.meta_data.FieldMetaData("address", org.apache.thrift.TFieldRequirementType.DEFAULT, 
212
    tmpMap.put(_Fields.ADDRESS, new org.apache.thrift.meta_data.FieldMetaData("address", org.apache.thrift.TFieldRequirementType.DEFAULT, 
192
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
213
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
214
    tmpMap.put(_Fields.DOCUMENT_VERIFIED, new org.apache.thrift.meta_data.FieldMetaData("documentVerified", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
215
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
216
    tmpMap.put(_Fields.VERIFICATION_TYPE, new org.apache.thrift.meta_data.FieldMetaData("verificationType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
217
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, CounterVerificationType.class)));
-
 
218
    tmpMap.put(_Fields.VERIFIED_ON, new org.apache.thrift.meta_data.FieldMetaData("verifiedOn", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
219
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
193
    metaDataMap = Collections.unmodifiableMap(tmpMap);
220
    metaDataMap = Collections.unmodifiableMap(tmpMap);
194
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Counter.class, metaDataMap);
221
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Counter.class, metaDataMap);
195
  }
222
  }
196
 
223
 
197
  public Counter() {
224
  public Counter() {
Line 209... Line 236...
209
    String tin,
236
    String tin,
210
    long spCounterSize,
237
    long spCounterSize,
211
    long fpCounterSize,
238
    long fpCounterSize,
212
    String dob,
239
    String dob,
213
    long addedOn,
240
    long addedOn,
214
    long address)
241
    long address,
-
 
242
    boolean documentVerified,
-
 
243
    CounterVerificationType verificationType,
-
 
244
    long verifiedOn)
215
  {
245
  {
216
    this();
246
    this();
217
    this.id = id;
247
    this.id = id;
218
    setIdIsSet(true);
248
    setIdIsSet(true);
219
    this.code = code;
249
    this.code = code;
Line 232... Line 262...
232
    this.dob = dob;
262
    this.dob = dob;
233
    this.addedOn = addedOn;
263
    this.addedOn = addedOn;
234
    setAddedOnIsSet(true);
264
    setAddedOnIsSet(true);
235
    this.address = address;
265
    this.address = address;
236
    setAddressIsSet(true);
266
    setAddressIsSet(true);
-
 
267
    this.documentVerified = documentVerified;
-
 
268
    setDocumentVerifiedIsSet(true);
-
 
269
    this.verificationType = verificationType;
-
 
270
    this.verifiedOn = verifiedOn;
-
 
271
    setVerifiedOnIsSet(true);
237
  }
272
  }
238
 
273
 
239
  /**
274
  /**
240
   * Performs a deep copy on <i>other</i>.
275
   * Performs a deep copy on <i>other</i>.
241
   */
276
   */
Line 270... Line 305...
270
    if (other.isSetDob()) {
305
    if (other.isSetDob()) {
271
      this.dob = other.dob;
306
      this.dob = other.dob;
272
    }
307
    }
273
    this.addedOn = other.addedOn;
308
    this.addedOn = other.addedOn;
274
    this.address = other.address;
309
    this.address = other.address;
-
 
310
    this.documentVerified = other.documentVerified;
-
 
311
    if (other.isSetVerificationType()) {
-
 
312
      this.verificationType = other.verificationType;
-
 
313
    }
-
 
314
    this.verifiedOn = other.verifiedOn;
275
  }
315
  }
276
 
316
 
277
  public Counter deepCopy() {
317
  public Counter deepCopy() {
278
    return new Counter(this);
318
    return new Counter(this);
279
  }
319
  }
Line 298... Line 338...
298
    this.dob = null;
338
    this.dob = null;
299
    setAddedOnIsSet(false);
339
    setAddedOnIsSet(false);
300
    this.addedOn = 0;
340
    this.addedOn = 0;
301
    setAddressIsSet(false);
341
    setAddressIsSet(false);
302
    this.address = 0;
342
    this.address = 0;
-
 
343
    setDocumentVerifiedIsSet(false);
-
 
344
    this.documentVerified = false;
-
 
345
    this.verificationType = null;
-
 
346
    setVerifiedOnIsSet(false);
-
 
347
    this.verifiedOn = 0;
303
  }
348
  }
304
 
349
 
305
  public long getId() {
350
  public long getId() {
306
    return this.id;
351
    return this.id;
307
  }
352
  }
Line 616... Line 661...
616
 
661
 
617
  public void setAddressIsSet(boolean value) {
662
  public void setAddressIsSet(boolean value) {
618
    __isset_bit_vector.set(__ADDRESS_ISSET_ID, value);
663
    __isset_bit_vector.set(__ADDRESS_ISSET_ID, value);
619
  }
664
  }
620
 
665
 
-
 
666
  public boolean isDocumentVerified() {
-
 
667
    return this.documentVerified;
-
 
668
  }
-
 
669
 
-
 
670
  public void setDocumentVerified(boolean documentVerified) {
-
 
671
    this.documentVerified = documentVerified;
-
 
672
    setDocumentVerifiedIsSet(true);
-
 
673
  }
-
 
674
 
-
 
675
  public void unsetDocumentVerified() {
-
 
676
    __isset_bit_vector.clear(__DOCUMENTVERIFIED_ISSET_ID);
-
 
677
  }
-
 
678
 
-
 
679
  /** Returns true if field documentVerified is set (has been assigned a value) and false otherwise */
-
 
680
  public boolean isSetDocumentVerified() {
-
 
681
    return __isset_bit_vector.get(__DOCUMENTVERIFIED_ISSET_ID);
-
 
682
  }
-
 
683
 
-
 
684
  public void setDocumentVerifiedIsSet(boolean value) {
-
 
685
    __isset_bit_vector.set(__DOCUMENTVERIFIED_ISSET_ID, value);
-
 
686
  }
-
 
687
 
-
 
688
  /**
-
 
689
   * 
-
 
690
   * @see CounterVerificationType
-
 
691
   */
-
 
692
  public CounterVerificationType getVerificationType() {
-
 
693
    return this.verificationType;
-
 
694
  }
-
 
695
 
-
 
696
  /**
-
 
697
   * 
-
 
698
   * @see CounterVerificationType
-
 
699
   */
-
 
700
  public void setVerificationType(CounterVerificationType verificationType) {
-
 
701
    this.verificationType = verificationType;
-
 
702
  }
-
 
703
 
-
 
704
  public void unsetVerificationType() {
-
 
705
    this.verificationType = null;
-
 
706
  }
-
 
707
 
-
 
708
  /** Returns true if field verificationType is set (has been assigned a value) and false otherwise */
-
 
709
  public boolean isSetVerificationType() {
-
 
710
    return this.verificationType != null;
-
 
711
  }
-
 
712
 
-
 
713
  public void setVerificationTypeIsSet(boolean value) {
-
 
714
    if (!value) {
-
 
715
      this.verificationType = null;
-
 
716
    }
-
 
717
  }
-
 
718
 
-
 
719
  public long getVerifiedOn() {
-
 
720
    return this.verifiedOn;
-
 
721
  }
-
 
722
 
-
 
723
  public void setVerifiedOn(long verifiedOn) {
-
 
724
    this.verifiedOn = verifiedOn;
-
 
725
    setVerifiedOnIsSet(true);
-
 
726
  }
-
 
727
 
-
 
728
  public void unsetVerifiedOn() {
-
 
729
    __isset_bit_vector.clear(__VERIFIEDON_ISSET_ID);
-
 
730
  }
-
 
731
 
-
 
732
  /** Returns true if field verifiedOn is set (has been assigned a value) and false otherwise */
-
 
733
  public boolean isSetVerifiedOn() {
-
 
734
    return __isset_bit_vector.get(__VERIFIEDON_ISSET_ID);
-
 
735
  }
-
 
736
 
-
 
737
  public void setVerifiedOnIsSet(boolean value) {
-
 
738
    __isset_bit_vector.set(__VERIFIEDON_ISSET_ID, value);
-
 
739
  }
-
 
740
 
621
  public void setFieldValue(_Fields field, Object value) {
741
  public void setFieldValue(_Fields field, Object value) {
622
    switch (field) {
742
    switch (field) {
623
    case ID:
743
    case ID:
624
      if (value == null) {
744
      if (value == null) {
625
        unsetId();
745
        unsetId();
Line 730... Line 850...
730
      } else {
850
      } else {
731
        setAddress((Long)value);
851
        setAddress((Long)value);
732
      }
852
      }
733
      break;
853
      break;
734
 
854
 
-
 
855
    case DOCUMENT_VERIFIED:
-
 
856
      if (value == null) {
-
 
857
        unsetDocumentVerified();
-
 
858
      } else {
-
 
859
        setDocumentVerified((Boolean)value);
-
 
860
      }
-
 
861
      break;
-
 
862
 
-
 
863
    case VERIFICATION_TYPE:
-
 
864
      if (value == null) {
-
 
865
        unsetVerificationType();
-
 
866
      } else {
-
 
867
        setVerificationType((CounterVerificationType)value);
-
 
868
      }
-
 
869
      break;
-
 
870
 
-
 
871
    case VERIFIED_ON:
-
 
872
      if (value == null) {
-
 
873
        unsetVerifiedOn();
-
 
874
      } else {
-
 
875
        setVerifiedOn((Long)value);
-
 
876
      }
-
 
877
      break;
-
 
878
 
735
    }
879
    }
736
  }
880
  }
737
 
881
 
738
  public Object getFieldValue(_Fields field) {
882
  public Object getFieldValue(_Fields field) {
739
    switch (field) {
883
    switch (field) {
Line 777... Line 921...
777
      return Long.valueOf(getAddedOn());
921
      return Long.valueOf(getAddedOn());
778
 
922
 
779
    case ADDRESS:
923
    case ADDRESS:
780
      return Long.valueOf(getAddress());
924
      return Long.valueOf(getAddress());
781
 
925
 
-
 
926
    case DOCUMENT_VERIFIED:
-
 
927
      return Boolean.valueOf(isDocumentVerified());
-
 
928
 
-
 
929
    case VERIFICATION_TYPE:
-
 
930
      return getVerificationType();
-
 
931
 
-
 
932
    case VERIFIED_ON:
-
 
933
      return Long.valueOf(getVerifiedOn());
-
 
934
 
782
    }
935
    }
783
    throw new IllegalStateException();
936
    throw new IllegalStateException();
784
  }
937
  }
785
 
938
 
786
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
939
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 816... Line 969...
816
      return isSetDob();
969
      return isSetDob();
817
    case ADDED_ON:
970
    case ADDED_ON:
818
      return isSetAddedOn();
971
      return isSetAddedOn();
819
    case ADDRESS:
972
    case ADDRESS:
820
      return isSetAddress();
973
      return isSetAddress();
-
 
974
    case DOCUMENT_VERIFIED:
-
 
975
      return isSetDocumentVerified();
-
 
976
    case VERIFICATION_TYPE:
-
 
977
      return isSetVerificationType();
-
 
978
    case VERIFIED_ON:
-
 
979
      return isSetVerifiedOn();
821
    }
980
    }
822
    throw new IllegalStateException();
981
    throw new IllegalStateException();
823
  }
982
  }
824
 
983
 
825
  @Override
984
  @Override
Line 959... Line 1118...
959
        return false;
1118
        return false;
960
      if (this.address != that.address)
1119
      if (this.address != that.address)
961
        return false;
1120
        return false;
962
    }
1121
    }
963
 
1122
 
-
 
1123
    boolean this_present_documentVerified = true;
-
 
1124
    boolean that_present_documentVerified = true;
-
 
1125
    if (this_present_documentVerified || that_present_documentVerified) {
-
 
1126
      if (!(this_present_documentVerified && that_present_documentVerified))
-
 
1127
        return false;
-
 
1128
      if (this.documentVerified != that.documentVerified)
-
 
1129
        return false;
-
 
1130
    }
-
 
1131
 
-
 
1132
    boolean this_present_verificationType = true && this.isSetVerificationType();
-
 
1133
    boolean that_present_verificationType = true && that.isSetVerificationType();
-
 
1134
    if (this_present_verificationType || that_present_verificationType) {
-
 
1135
      if (!(this_present_verificationType && that_present_verificationType))
-
 
1136
        return false;
-
 
1137
      if (!this.verificationType.equals(that.verificationType))
-
 
1138
        return false;
-
 
1139
    }
-
 
1140
 
-
 
1141
    boolean this_present_verifiedOn = true;
-
 
1142
    boolean that_present_verifiedOn = true;
-
 
1143
    if (this_present_verifiedOn || that_present_verifiedOn) {
-
 
1144
      if (!(this_present_verifiedOn && that_present_verifiedOn))
-
 
1145
        return false;
-
 
1146
      if (this.verifiedOn != that.verifiedOn)
-
 
1147
        return false;
-
 
1148
    }
-
 
1149
 
964
    return true;
1150
    return true;
965
  }
1151
  }
966
 
1152
 
967
  @Override
1153
  @Override
968
  public int hashCode() {
1154
  public int hashCode() {
Line 1115... Line 1301...
1115
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.address, typedOther.address);
1301
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.address, typedOther.address);
1116
      if (lastComparison != 0) {
1302
      if (lastComparison != 0) {
1117
        return lastComparison;
1303
        return lastComparison;
1118
      }
1304
      }
1119
    }
1305
    }
-
 
1306
    lastComparison = Boolean.valueOf(isSetDocumentVerified()).compareTo(typedOther.isSetDocumentVerified());
-
 
1307
    if (lastComparison != 0) {
-
 
1308
      return lastComparison;
-
 
1309
    }
-
 
1310
    if (isSetDocumentVerified()) {
-
 
1311
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.documentVerified, typedOther.documentVerified);
-
 
1312
      if (lastComparison != 0) {
-
 
1313
        return lastComparison;
-
 
1314
      }
-
 
1315
    }
-
 
1316
    lastComparison = Boolean.valueOf(isSetVerificationType()).compareTo(typedOther.isSetVerificationType());
-
 
1317
    if (lastComparison != 0) {
-
 
1318
      return lastComparison;
-
 
1319
    }
-
 
1320
    if (isSetVerificationType()) {
-
 
1321
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.verificationType, typedOther.verificationType);
-
 
1322
      if (lastComparison != 0) {
-
 
1323
        return lastComparison;
-
 
1324
      }
-
 
1325
    }
-
 
1326
    lastComparison = Boolean.valueOf(isSetVerifiedOn()).compareTo(typedOther.isSetVerifiedOn());
-
 
1327
    if (lastComparison != 0) {
-
 
1328
      return lastComparison;
-
 
1329
    }
-
 
1330
    if (isSetVerifiedOn()) {
-
 
1331
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.verifiedOn, typedOther.verifiedOn);
-
 
1332
      if (lastComparison != 0) {
-
 
1333
        return lastComparison;
-
 
1334
      }
-
 
1335
    }
1120
    return 0;
1336
    return 0;
1121
  }
1337
  }
1122
 
1338
 
1123
  public _Fields fieldForId(int fieldId) {
1339
  public _Fields fieldForId(int fieldId) {
1124
    return _Fields.findByThriftId(fieldId);
1340
    return _Fields.findByThriftId(fieldId);
Line 1236... Line 1452...
1236
            setAddressIsSet(true);
1452
            setAddressIsSet(true);
1237
          } else { 
1453
          } else { 
1238
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1454
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1239
          }
1455
          }
1240
          break;
1456
          break;
-
 
1457
        case 15: // DOCUMENT_VERIFIED
-
 
1458
          if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
1459
            this.documentVerified = iprot.readBool();
-
 
1460
            setDocumentVerifiedIsSet(true);
-
 
1461
          } else { 
-
 
1462
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1463
          }
-
 
1464
          break;
-
 
1465
        case 16: // VERIFICATION_TYPE
-
 
1466
          if (field.type == org.apache.thrift.protocol.TType.I32) {
-
 
1467
            this.verificationType = CounterVerificationType.findByValue(iprot.readI32());
-
 
1468
          } else { 
-
 
1469
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1470
          }
-
 
1471
          break;
-
 
1472
        case 17: // VERIFIED_ON
-
 
1473
          if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
1474
            this.verifiedOn = iprot.readI64();
-
 
1475
            setVerifiedOnIsSet(true);
-
 
1476
          } else { 
-
 
1477
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
1478
          }
-
 
1479
          break;
1241
        default:
1480
        default:
1242
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1481
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
1243
      }
1482
      }
1244
      iprot.readFieldEnd();
1483
      iprot.readFieldEnd();
1245
    }
1484
    }
Line 1307... Line 1546...
1307
    oprot.writeI64(this.addedOn);
1546
    oprot.writeI64(this.addedOn);
1308
    oprot.writeFieldEnd();
1547
    oprot.writeFieldEnd();
1309
    oprot.writeFieldBegin(ADDRESS_FIELD_DESC);
1548
    oprot.writeFieldBegin(ADDRESS_FIELD_DESC);
1310
    oprot.writeI64(this.address);
1549
    oprot.writeI64(this.address);
1311
    oprot.writeFieldEnd();
1550
    oprot.writeFieldEnd();
-
 
1551
    oprot.writeFieldBegin(DOCUMENT_VERIFIED_FIELD_DESC);
-
 
1552
    oprot.writeBool(this.documentVerified);
-
 
1553
    oprot.writeFieldEnd();
-
 
1554
    if (this.verificationType != null) {
-
 
1555
      oprot.writeFieldBegin(VERIFICATION_TYPE_FIELD_DESC);
-
 
1556
      oprot.writeI32(this.verificationType.getValue());
-
 
1557
      oprot.writeFieldEnd();
-
 
1558
    }
-
 
1559
    oprot.writeFieldBegin(VERIFIED_ON_FIELD_DESC);
-
 
1560
    oprot.writeI64(this.verifiedOn);
-
 
1561
    oprot.writeFieldEnd();
1312
    oprot.writeFieldStop();
1562
    oprot.writeFieldStop();
1313
    oprot.writeStructEnd();
1563
    oprot.writeStructEnd();
1314
  }
1564
  }
1315
 
1565
 
1316
  @Override
1566
  @Override
Line 1403... Line 1653...
1403
    first = false;
1653
    first = false;
1404
    if (!first) sb.append(", ");
1654
    if (!first) sb.append(", ");
1405
    sb.append("address:");
1655
    sb.append("address:");
1406
    sb.append(this.address);
1656
    sb.append(this.address);
1407
    first = false;
1657
    first = false;
-
 
1658
    if (!first) sb.append(", ");
-
 
1659
    sb.append("documentVerified:");
-
 
1660
    sb.append(this.documentVerified);
-
 
1661
    first = false;
-
 
1662
    if (!first) sb.append(", ");
-
 
1663
    sb.append("verificationType:");
-
 
1664
    if (this.verificationType == null) {
-
 
1665
      sb.append("null");
-
 
1666
    } else {
-
 
1667
      sb.append(this.verificationType);
-
 
1668
    }
-
 
1669
    first = false;
-
 
1670
    if (!first) sb.append(", ");
-
 
1671
    sb.append("verifiedOn:");
-
 
1672
    sb.append(this.verifiedOn);
-
 
1673
    first = false;
1408
    sb.append(")");
1674
    sb.append(")");
1409
    return sb.toString();
1675
    return sb.toString();
1410
  }
1676
  }
1411
 
1677
 
1412
  public void validate() throws org.apache.thrift.TException {
1678
  public void validate() throws org.apache.thrift.TException {