| Line 32... |
Line 32... |
| 32 |
private static final org.apache.thrift.protocol.TField ALTERNATE_MOBILE_FIELD_DESC = new org.apache.thrift.protocol.TField("alternateMobile", org.apache.thrift.protocol.TType.STRING, (short)7);
|
32 |
private static final org.apache.thrift.protocol.TField ALTERNATE_MOBILE_FIELD_DESC = new org.apache.thrift.protocol.TField("alternateMobile", org.apache.thrift.protocol.TType.STRING, (short)7);
|
| 33 |
private static final org.apache.thrift.protocol.TField STRIKER_FIELD_DESC = new org.apache.thrift.protocol.TField("striker", org.apache.thrift.protocol.TType.BOOL, (short)8);
|
33 |
private static final org.apache.thrift.protocol.TField STRIKER_FIELD_DESC = new org.apache.thrift.protocol.TField("striker", org.apache.thrift.protocol.TType.BOOL, (short)8);
|
| 34 |
private static final org.apache.thrift.protocol.TField TIN_FIELD_DESC = new org.apache.thrift.protocol.TField("tin", org.apache.thrift.protocol.TType.STRING, (short)9);
|
34 |
private static final org.apache.thrift.protocol.TField TIN_FIELD_DESC = new org.apache.thrift.protocol.TField("tin", org.apache.thrift.protocol.TType.STRING, (short)9);
|
| 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.I64, (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 |
|
40 |
|
| 41 |
private long id; // required
|
41 |
private long id; // required
|
| 42 |
private String code; // required
|
42 |
private String code; // required
|
| Line 47... |
Line 47... |
| 47 |
private String alternateMobile; // required
|
47 |
private String alternateMobile; // required
|
| 48 |
private boolean striker; // required
|
48 |
private boolean striker; // required
|
| 49 |
private String tin; // required
|
49 |
private String tin; // required
|
| 50 |
private long spCounterSize; // required
|
50 |
private long spCounterSize; // required
|
| 51 |
private long fpCounterSize; // required
|
51 |
private long fpCounterSize; // required
|
| 52 |
private long dob; // required
|
52 |
private String dob; // required
|
| 53 |
private long addedOn; // required
|
53 |
private long addedOn; // required
|
| 54 |
private long address; // required
|
54 |
private long address; // required
|
| 55 |
|
55 |
|
| 56 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
56 |
/** 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 {
|
57 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| Line 153... |
Line 153... |
| 153 |
// isset id assignments
|
153 |
// isset id assignments
|
| 154 |
private static final int __ID_ISSET_ID = 0;
|
154 |
private static final int __ID_ISSET_ID = 0;
|
| 155 |
private static final int __STRIKER_ISSET_ID = 1;
|
155 |
private static final int __STRIKER_ISSET_ID = 1;
|
| 156 |
private static final int __SPCOUNTERSIZE_ISSET_ID = 2;
|
156 |
private static final int __SPCOUNTERSIZE_ISSET_ID = 2;
|
| 157 |
private static final int __FPCOUNTERSIZE_ISSET_ID = 3;
|
157 |
private static final int __FPCOUNTERSIZE_ISSET_ID = 3;
|
| 158 |
private static final int __DOB_ISSET_ID = 4;
|
- |
|
| 159 |
private static final int __ADDEDON_ISSET_ID = 5;
|
158 |
private static final int __ADDEDON_ISSET_ID = 4;
|
| 160 |
private static final int __ADDRESS_ISSET_ID = 6;
|
159 |
private static final int __ADDRESS_ISSET_ID = 5;
|
| 161 |
private BitSet __isset_bit_vector = new BitSet(7);
|
160 |
private BitSet __isset_bit_vector = new BitSet(6);
|
| 162 |
|
161 |
|
| 163 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
162 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 164 |
static {
|
163 |
static {
|
| 165 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
164 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 166 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
165 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 184... |
Line 183... |
| 184 |
tmpMap.put(_Fields.SP_COUNTER_SIZE, new org.apache.thrift.meta_data.FieldMetaData("spCounterSize", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
183 |
tmpMap.put(_Fields.SP_COUNTER_SIZE, new org.apache.thrift.meta_data.FieldMetaData("spCounterSize", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 185 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
184 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 186 |
tmpMap.put(_Fields.FP_COUNTER_SIZE, new org.apache.thrift.meta_data.FieldMetaData("fpCounterSize", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
185 |
tmpMap.put(_Fields.FP_COUNTER_SIZE, new org.apache.thrift.meta_data.FieldMetaData("fpCounterSize", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 187 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
186 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 188 |
tmpMap.put(_Fields.DOB, new org.apache.thrift.meta_data.FieldMetaData("dob", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
187 |
tmpMap.put(_Fields.DOB, new org.apache.thrift.meta_data.FieldMetaData("dob", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 189 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
188 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 190 |
tmpMap.put(_Fields.ADDED_ON, new org.apache.thrift.meta_data.FieldMetaData("addedOn", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
189 |
tmpMap.put(_Fields.ADDED_ON, new org.apache.thrift.meta_data.FieldMetaData("addedOn", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 191 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
190 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 192 |
tmpMap.put(_Fields.ADDRESS, new org.apache.thrift.meta_data.FieldMetaData("address", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
191 |
tmpMap.put(_Fields.ADDRESS, new org.apache.thrift.meta_data.FieldMetaData("address", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 193 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
192 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 194 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
193 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| Line 208... |
Line 207... |
| 208 |
String alternateMobile,
|
207 |
String alternateMobile,
|
| 209 |
boolean striker,
|
208 |
boolean striker,
|
| 210 |
String tin,
|
209 |
String tin,
|
| 211 |
long spCounterSize,
|
210 |
long spCounterSize,
|
| 212 |
long fpCounterSize,
|
211 |
long fpCounterSize,
|
| 213 |
long dob,
|
212 |
String dob,
|
| 214 |
long addedOn,
|
213 |
long addedOn,
|
| 215 |
long address)
|
214 |
long address)
|
| 216 |
{
|
215 |
{
|
| 217 |
this();
|
216 |
this();
|
| 218 |
this.id = id;
|
217 |
this.id = id;
|
| Line 229... |
Line 228... |
| 229 |
this.spCounterSize = spCounterSize;
|
228 |
this.spCounterSize = spCounterSize;
|
| 230 |
setSpCounterSizeIsSet(true);
|
229 |
setSpCounterSizeIsSet(true);
|
| 231 |
this.fpCounterSize = fpCounterSize;
|
230 |
this.fpCounterSize = fpCounterSize;
|
| 232 |
setFpCounterSizeIsSet(true);
|
231 |
setFpCounterSizeIsSet(true);
|
| 233 |
this.dob = dob;
|
232 |
this.dob = dob;
|
| 234 |
setDobIsSet(true);
|
- |
|
| 235 |
this.addedOn = addedOn;
|
233 |
this.addedOn = addedOn;
|
| 236 |
setAddedOnIsSet(true);
|
234 |
setAddedOnIsSet(true);
|
| 237 |
this.address = address;
|
235 |
this.address = address;
|
| 238 |
setAddressIsSet(true);
|
236 |
setAddressIsSet(true);
|
| 239 |
}
|
237 |
}
|
| Line 267... |
Line 265... |
| 267 |
if (other.isSetTin()) {
|
265 |
if (other.isSetTin()) {
|
| 268 |
this.tin = other.tin;
|
266 |
this.tin = other.tin;
|
| 269 |
}
|
267 |
}
|
| 270 |
this.spCounterSize = other.spCounterSize;
|
268 |
this.spCounterSize = other.spCounterSize;
|
| 271 |
this.fpCounterSize = other.fpCounterSize;
|
269 |
this.fpCounterSize = other.fpCounterSize;
|
| - |
|
270 |
if (other.isSetDob()) {
|
| 272 |
this.dob = other.dob;
|
271 |
this.dob = other.dob;
|
| - |
|
272 |
}
|
| 273 |
this.addedOn = other.addedOn;
|
273 |
this.addedOn = other.addedOn;
|
| 274 |
this.address = other.address;
|
274 |
this.address = other.address;
|
| 275 |
}
|
275 |
}
|
| 276 |
|
276 |
|
| 277 |
public Counter deepCopy() {
|
277 |
public Counter deepCopy() {
|
| Line 293... |
Line 293... |
| 293 |
this.tin = null;
|
293 |
this.tin = null;
|
| 294 |
setSpCounterSizeIsSet(false);
|
294 |
setSpCounterSizeIsSet(false);
|
| 295 |
this.spCounterSize = 0;
|
295 |
this.spCounterSize = 0;
|
| 296 |
setFpCounterSizeIsSet(false);
|
296 |
setFpCounterSizeIsSet(false);
|
| 297 |
this.fpCounterSize = 0;
|
297 |
this.fpCounterSize = 0;
|
| 298 |
setDobIsSet(false);
|
- |
|
| 299 |
this.dob = 0;
|
298 |
this.dob = null;
|
| 300 |
setAddedOnIsSet(false);
|
299 |
setAddedOnIsSet(false);
|
| 301 |
this.addedOn = 0;
|
300 |
this.addedOn = 0;
|
| 302 |
setAddressIsSet(false);
|
301 |
setAddressIsSet(false);
|
| 303 |
this.address = 0;
|
302 |
this.address = 0;
|
| 304 |
}
|
303 |
}
|
| Line 550... |
Line 549... |
| 550 |
|
549 |
|
| 551 |
public void setFpCounterSizeIsSet(boolean value) {
|
550 |
public void setFpCounterSizeIsSet(boolean value) {
|
| 552 |
__isset_bit_vector.set(__FPCOUNTERSIZE_ISSET_ID, value);
|
551 |
__isset_bit_vector.set(__FPCOUNTERSIZE_ISSET_ID, value);
|
| 553 |
}
|
552 |
}
|
| 554 |
|
553 |
|
| 555 |
public long getDob() {
|
554 |
public String getDob() {
|
| 556 |
return this.dob;
|
555 |
return this.dob;
|
| 557 |
}
|
556 |
}
|
| 558 |
|
557 |
|
| 559 |
public void setDob(long dob) {
|
558 |
public void setDob(String dob) {
|
| 560 |
this.dob = dob;
|
559 |
this.dob = dob;
|
| 561 |
setDobIsSet(true);
|
- |
|
| 562 |
}
|
560 |
}
|
| 563 |
|
561 |
|
| 564 |
public void unsetDob() {
|
562 |
public void unsetDob() {
|
| 565 |
__isset_bit_vector.clear(__DOB_ISSET_ID);
|
563 |
this.dob = null;
|
| 566 |
}
|
564 |
}
|
| 567 |
|
565 |
|
| 568 |
/** Returns true if field dob is set (has been assigned a value) and false otherwise */
|
566 |
/** Returns true if field dob is set (has been assigned a value) and false otherwise */
|
| 569 |
public boolean isSetDob() {
|
567 |
public boolean isSetDob() {
|
| 570 |
return __isset_bit_vector.get(__DOB_ISSET_ID);
|
568 |
return this.dob != null;
|
| 571 |
}
|
569 |
}
|
| 572 |
|
570 |
|
| 573 |
public void setDobIsSet(boolean value) {
|
571 |
public void setDobIsSet(boolean value) {
|
| - |
|
572 |
if (!value) {
|
| 574 |
__isset_bit_vector.set(__DOB_ISSET_ID, value);
|
573 |
this.dob = null;
|
| - |
|
574 |
}
|
| 575 |
}
|
575 |
}
|
| 576 |
|
576 |
|
| 577 |
public long getAddedOn() {
|
577 |
public long getAddedOn() {
|
| 578 |
return this.addedOn;
|
578 |
return this.addedOn;
|
| 579 |
}
|
579 |
}
|
| Line 710... |
Line 710... |
| 710 |
|
710 |
|
| 711 |
case DOB:
|
711 |
case DOB:
|
| 712 |
if (value == null) {
|
712 |
if (value == null) {
|
| 713 |
unsetDob();
|
713 |
unsetDob();
|
| 714 |
} else {
|
714 |
} else {
|
| 715 |
setDob((Long)value);
|
715 |
setDob((String)value);
|
| 716 |
}
|
716 |
}
|
| 717 |
break;
|
717 |
break;
|
| 718 |
|
718 |
|
| 719 |
case ADDED_ON:
|
719 |
case ADDED_ON:
|
| 720 |
if (value == null) {
|
720 |
if (value == null) {
|
| Line 769... |
Line 769... |
| 769 |
|
769 |
|
| 770 |
case FP_COUNTER_SIZE:
|
770 |
case FP_COUNTER_SIZE:
|
| 771 |
return Long.valueOf(getFpCounterSize());
|
771 |
return Long.valueOf(getFpCounterSize());
|
| 772 |
|
772 |
|
| 773 |
case DOB:
|
773 |
case DOB:
|
| 774 |
return Long.valueOf(getDob());
|
774 |
return getDob();
|
| 775 |
|
775 |
|
| 776 |
case ADDED_ON:
|
776 |
case ADDED_ON:
|
| 777 |
return Long.valueOf(getAddedOn());
|
777 |
return Long.valueOf(getAddedOn());
|
| 778 |
|
778 |
|
| 779 |
case ADDRESS:
|
779 |
case ADDRESS:
|
| Line 932... |
Line 932... |
| 932 |
return false;
|
932 |
return false;
|
| 933 |
if (this.fpCounterSize != that.fpCounterSize)
|
933 |
if (this.fpCounterSize != that.fpCounterSize)
|
| 934 |
return false;
|
934 |
return false;
|
| 935 |
}
|
935 |
}
|
| 936 |
|
936 |
|
| 937 |
boolean this_present_dob = true;
|
937 |
boolean this_present_dob = true && this.isSetDob();
|
| 938 |
boolean that_present_dob = true;
|
938 |
boolean that_present_dob = true && that.isSetDob();
|
| 939 |
if (this_present_dob || that_present_dob) {
|
939 |
if (this_present_dob || that_present_dob) {
|
| 940 |
if (!(this_present_dob && that_present_dob))
|
940 |
if (!(this_present_dob && that_present_dob))
|
| 941 |
return false;
|
941 |
return false;
|
| 942 |
if (this.dob != that.dob)
|
942 |
if (!this.dob.equals(that.dob))
|
| 943 |
return false;
|
943 |
return false;
|
| 944 |
}
|
944 |
}
|
| 945 |
|
945 |
|
| 946 |
boolean this_present_addedOn = true;
|
946 |
boolean this_present_addedOn = true;
|
| 947 |
boolean that_present_addedOn = true;
|
947 |
boolean that_present_addedOn = true;
|
| Line 1214... |
Line 1214... |
| 1214 |
} else {
|
1214 |
} else {
|
| 1215 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1215 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1216 |
}
|
1216 |
}
|
| 1217 |
break;
|
1217 |
break;
|
| 1218 |
case 12: // DOB
|
1218 |
case 12: // DOB
|
| 1219 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
1219 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| 1220 |
this.dob = iprot.readI64();
|
1220 |
this.dob = iprot.readString();
|
| 1221 |
setDobIsSet(true);
|
- |
|
| 1222 |
} else {
|
1221 |
} else {
|
| 1223 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1222 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 1224 |
}
|
1223 |
}
|
| 1225 |
break;
|
1224 |
break;
|
| 1226 |
case 13: // ADDED_ON
|
1225 |
case 13: // ADDED_ON
|
| Line 1297... |
Line 1296... |
| 1297 |
oprot.writeI64(this.spCounterSize);
|
1296 |
oprot.writeI64(this.spCounterSize);
|
| 1298 |
oprot.writeFieldEnd();
|
1297 |
oprot.writeFieldEnd();
|
| 1299 |
oprot.writeFieldBegin(FP_COUNTER_SIZE_FIELD_DESC);
|
1298 |
oprot.writeFieldBegin(FP_COUNTER_SIZE_FIELD_DESC);
|
| 1300 |
oprot.writeI64(this.fpCounterSize);
|
1299 |
oprot.writeI64(this.fpCounterSize);
|
| 1301 |
oprot.writeFieldEnd();
|
1300 |
oprot.writeFieldEnd();
|
| - |
|
1301 |
if (this.dob != null) {
|
| 1302 |
oprot.writeFieldBegin(DOB_FIELD_DESC);
|
1302 |
oprot.writeFieldBegin(DOB_FIELD_DESC);
|
| 1303 |
oprot.writeI64(this.dob);
|
1303 |
oprot.writeString(this.dob);
|
| 1304 |
oprot.writeFieldEnd();
|
1304 |
oprot.writeFieldEnd();
|
| - |
|
1305 |
}
|
| 1305 |
oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
|
1306 |
oprot.writeFieldBegin(ADDED_ON_FIELD_DESC);
|
| 1306 |
oprot.writeI64(this.addedOn);
|
1307 |
oprot.writeI64(this.addedOn);
|
| 1307 |
oprot.writeFieldEnd();
|
1308 |
oprot.writeFieldEnd();
|
| 1308 |
oprot.writeFieldBegin(ADDRESS_FIELD_DESC);
|
1309 |
oprot.writeFieldBegin(ADDRESS_FIELD_DESC);
|
| 1309 |
oprot.writeI64(this.address);
|
1310 |
oprot.writeI64(this.address);
|
| Line 1388... |
Line 1389... |
| 1388 |
sb.append("fpCounterSize:");
|
1389 |
sb.append("fpCounterSize:");
|
| 1389 |
sb.append(this.fpCounterSize);
|
1390 |
sb.append(this.fpCounterSize);
|
| 1390 |
first = false;
|
1391 |
first = false;
|
| 1391 |
if (!first) sb.append(", ");
|
1392 |
if (!first) sb.append(", ");
|
| 1392 |
sb.append("dob:");
|
1393 |
sb.append("dob:");
|
| - |
|
1394 |
if (this.dob == null) {
|
| - |
|
1395 |
sb.append("null");
|
| - |
|
1396 |
} else {
|
| 1393 |
sb.append(this.dob);
|
1397 |
sb.append(this.dob);
|
| - |
|
1398 |
}
|
| 1394 |
first = false;
|
1399 |
first = false;
|
| 1395 |
if (!first) sb.append(", ");
|
1400 |
if (!first) sb.append(", ");
|
| 1396 |
sb.append("addedOn:");
|
1401 |
sb.append("addedOn:");
|
| 1397 |
sb.append(this.addedOn);
|
1402 |
sb.append(this.addedOn);
|
| 1398 |
first = false;
|
1403 |
first = false;
|