| 7096 |
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 HotspotStore implements org.apache.thrift.TBase<HotspotStore, HotspotStore._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("HotspotStore");
|
|
|
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 HOTSPOT_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("hotspotId", org.apache.thrift.protocol.TType.STRING, (short)2);
|
|
|
28 |
private static final org.apache.thrift.protocol.TField COMPANY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("companyId", org.apache.thrift.protocol.TType.I64, (short)3);
|
|
|
29 |
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)4);
|
|
|
30 |
private static final org.apache.thrift.protocol.TField CITY_FIELD_DESC = new org.apache.thrift.protocol.TField("city", org.apache.thrift.protocol.TType.STRING, (short)5);
|
|
|
31 |
private static final org.apache.thrift.protocol.TField COLLECTED_AMOUNT_FIELD_DESC = new org.apache.thrift.protocol.TField("collectedAmount", org.apache.thrift.protocol.TType.I64, (short)6);
|
|
|
32 |
private static final org.apache.thrift.protocol.TField AVAILABLE_LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("availableLimit", org.apache.thrift.protocol.TType.I64, (short)7);
|
|
|
33 |
private static final org.apache.thrift.protocol.TField CREDIT_LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("creditLimit", org.apache.thrift.protocol.TType.I64, (short)8);
|
|
|
34 |
private static final org.apache.thrift.protocol.TField SALT_FIELD_DESC = new org.apache.thrift.protocol.TField("salt", org.apache.thrift.protocol.TType.STRING, (short)9);
|
|
|
35 |
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)10);
|
|
|
36 |
private static final org.apache.thrift.protocol.TField IS_ACTIVE_FIELD_DESC = new org.apache.thrift.protocol.TField("isActive", org.apache.thrift.protocol.TType.BOOL, (short)11);
|
|
|
37 |
private static final org.apache.thrift.protocol.TField CIRCLE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("circleId", org.apache.thrift.protocol.TType.I64, (short)12);
|
| 7169 |
anupam.sin |
38 |
private static final org.apache.thrift.protocol.TField EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("email", org.apache.thrift.protocol.TType.STRING, (short)13);
|
| 7308 |
rajveer |
39 |
private static final org.apache.thrift.protocol.TField LINE1_FIELD_DESC = new org.apache.thrift.protocol.TField("line1", org.apache.thrift.protocol.TType.STRING, (short)14);
|
|
|
40 |
private static final org.apache.thrift.protocol.TField LINE2_FIELD_DESC = new org.apache.thrift.protocol.TField("line2", org.apache.thrift.protocol.TType.STRING, (short)15);
|
|
|
41 |
private static final org.apache.thrift.protocol.TField STATE_FIELD_DESC = new org.apache.thrift.protocol.TField("state", org.apache.thrift.protocol.TType.STRING, (short)16);
|
|
|
42 |
private static final org.apache.thrift.protocol.TField PIN_FIELD_DESC = new org.apache.thrift.protocol.TField("pin", org.apache.thrift.protocol.TType.STRING, (short)17);
|
|
|
43 |
private static final org.apache.thrift.protocol.TField PHONE_FIELD_DESC = new org.apache.thrift.protocol.TField("phone", org.apache.thrift.protocol.TType.STRING, (short)18);
|
|
|
44 |
private static final org.apache.thrift.protocol.TField APPROVAL_EMAIL_FIELD_DESC = new org.apache.thrift.protocol.TField("approvalEmail", org.apache.thrift.protocol.TType.STRING, (short)19);
|
| 7096 |
anupam.sin |
45 |
|
|
|
46 |
private long id; // required
|
|
|
47 |
private String hotspotId; // required
|
|
|
48 |
private long companyId; // required
|
|
|
49 |
private String name; // required
|
|
|
50 |
private String city; // required
|
|
|
51 |
private long collectedAmount; // required
|
|
|
52 |
private long availableLimit; // required
|
|
|
53 |
private long creditLimit; // required
|
|
|
54 |
private String salt; // required
|
|
|
55 |
private String password; // required
|
|
|
56 |
private boolean isActive; // required
|
|
|
57 |
private long circleId; // required
|
| 7169 |
anupam.sin |
58 |
private String email; // required
|
| 7308 |
rajveer |
59 |
private String line1; // required
|
|
|
60 |
private String line2; // required
|
|
|
61 |
private String state; // required
|
|
|
62 |
private String pin; // required
|
|
|
63 |
private String phone; // required
|
|
|
64 |
private String approvalEmail; // required
|
| 7096 |
anupam.sin |
65 |
|
|
|
66 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
|
|
67 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
|
|
68 |
ID((short)1, "id"),
|
|
|
69 |
HOTSPOT_ID((short)2, "hotspotId"),
|
|
|
70 |
COMPANY_ID((short)3, "companyId"),
|
|
|
71 |
NAME((short)4, "name"),
|
|
|
72 |
CITY((short)5, "city"),
|
|
|
73 |
COLLECTED_AMOUNT((short)6, "collectedAmount"),
|
|
|
74 |
AVAILABLE_LIMIT((short)7, "availableLimit"),
|
|
|
75 |
CREDIT_LIMIT((short)8, "creditLimit"),
|
|
|
76 |
SALT((short)9, "salt"),
|
|
|
77 |
PASSWORD((short)10, "password"),
|
|
|
78 |
IS_ACTIVE((short)11, "isActive"),
|
| 7169 |
anupam.sin |
79 |
CIRCLE_ID((short)12, "circleId"),
|
| 7308 |
rajveer |
80 |
EMAIL((short)13, "email"),
|
|
|
81 |
LINE1((short)14, "line1"),
|
|
|
82 |
LINE2((short)15, "line2"),
|
|
|
83 |
STATE((short)16, "state"),
|
|
|
84 |
PIN((short)17, "pin"),
|
|
|
85 |
PHONE((short)18, "phone"),
|
|
|
86 |
APPROVAL_EMAIL((short)19, "approvalEmail");
|
| 7096 |
anupam.sin |
87 |
|
|
|
88 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
89 |
|
|
|
90 |
static {
|
|
|
91 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
92 |
byName.put(field.getFieldName(), field);
|
|
|
93 |
}
|
|
|
94 |
}
|
|
|
95 |
|
|
|
96 |
/**
|
|
|
97 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
98 |
*/
|
|
|
99 |
public static _Fields findByThriftId(int fieldId) {
|
|
|
100 |
switch(fieldId) {
|
|
|
101 |
case 1: // ID
|
|
|
102 |
return ID;
|
|
|
103 |
case 2: // HOTSPOT_ID
|
|
|
104 |
return HOTSPOT_ID;
|
|
|
105 |
case 3: // COMPANY_ID
|
|
|
106 |
return COMPANY_ID;
|
|
|
107 |
case 4: // NAME
|
|
|
108 |
return NAME;
|
|
|
109 |
case 5: // CITY
|
|
|
110 |
return CITY;
|
|
|
111 |
case 6: // COLLECTED_AMOUNT
|
|
|
112 |
return COLLECTED_AMOUNT;
|
|
|
113 |
case 7: // AVAILABLE_LIMIT
|
|
|
114 |
return AVAILABLE_LIMIT;
|
|
|
115 |
case 8: // CREDIT_LIMIT
|
|
|
116 |
return CREDIT_LIMIT;
|
|
|
117 |
case 9: // SALT
|
|
|
118 |
return SALT;
|
|
|
119 |
case 10: // PASSWORD
|
|
|
120 |
return PASSWORD;
|
|
|
121 |
case 11: // IS_ACTIVE
|
|
|
122 |
return IS_ACTIVE;
|
|
|
123 |
case 12: // CIRCLE_ID
|
|
|
124 |
return CIRCLE_ID;
|
| 7169 |
anupam.sin |
125 |
case 13: // EMAIL
|
|
|
126 |
return EMAIL;
|
| 7308 |
rajveer |
127 |
case 14: // LINE1
|
|
|
128 |
return LINE1;
|
|
|
129 |
case 15: // LINE2
|
|
|
130 |
return LINE2;
|
|
|
131 |
case 16: // STATE
|
|
|
132 |
return STATE;
|
|
|
133 |
case 17: // PIN
|
|
|
134 |
return PIN;
|
|
|
135 |
case 18: // PHONE
|
|
|
136 |
return PHONE;
|
|
|
137 |
case 19: // APPROVAL_EMAIL
|
|
|
138 |
return APPROVAL_EMAIL;
|
| 7096 |
anupam.sin |
139 |
default:
|
|
|
140 |
return null;
|
|
|
141 |
}
|
|
|
142 |
}
|
|
|
143 |
|
|
|
144 |
/**
|
|
|
145 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
146 |
* if it is not found.
|
|
|
147 |
*/
|
|
|
148 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
149 |
_Fields fields = findByThriftId(fieldId);
|
|
|
150 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
151 |
return fields;
|
|
|
152 |
}
|
|
|
153 |
|
|
|
154 |
/**
|
|
|
155 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
156 |
*/
|
|
|
157 |
public static _Fields findByName(String name) {
|
|
|
158 |
return byName.get(name);
|
|
|
159 |
}
|
|
|
160 |
|
|
|
161 |
private final short _thriftId;
|
|
|
162 |
private final String _fieldName;
|
|
|
163 |
|
|
|
164 |
_Fields(short thriftId, String fieldName) {
|
|
|
165 |
_thriftId = thriftId;
|
|
|
166 |
_fieldName = fieldName;
|
|
|
167 |
}
|
|
|
168 |
|
|
|
169 |
public short getThriftFieldId() {
|
|
|
170 |
return _thriftId;
|
|
|
171 |
}
|
|
|
172 |
|
|
|
173 |
public String getFieldName() {
|
|
|
174 |
return _fieldName;
|
|
|
175 |
}
|
|
|
176 |
}
|
|
|
177 |
|
|
|
178 |
// isset id assignments
|
|
|
179 |
private static final int __ID_ISSET_ID = 0;
|
|
|
180 |
private static final int __COMPANYID_ISSET_ID = 1;
|
|
|
181 |
private static final int __COLLECTEDAMOUNT_ISSET_ID = 2;
|
|
|
182 |
private static final int __AVAILABLELIMIT_ISSET_ID = 3;
|
|
|
183 |
private static final int __CREDITLIMIT_ISSET_ID = 4;
|
|
|
184 |
private static final int __ISACTIVE_ISSET_ID = 5;
|
|
|
185 |
private static final int __CIRCLEID_ISSET_ID = 6;
|
|
|
186 |
private BitSet __isset_bit_vector = new BitSet(7);
|
|
|
187 |
|
|
|
188 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
|
|
189 |
static {
|
|
|
190 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
191 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
192 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
193 |
tmpMap.put(_Fields.HOTSPOT_ID, new org.apache.thrift.meta_data.FieldMetaData("hotspotId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
194 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
195 |
tmpMap.put(_Fields.COMPANY_ID, new org.apache.thrift.meta_data.FieldMetaData("companyId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
196 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
197 |
tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
198 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
199 |
tmpMap.put(_Fields.CITY, new org.apache.thrift.meta_data.FieldMetaData("city", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
200 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
201 |
tmpMap.put(_Fields.COLLECTED_AMOUNT, new org.apache.thrift.meta_data.FieldMetaData("collectedAmount", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
202 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
203 |
tmpMap.put(_Fields.AVAILABLE_LIMIT, new org.apache.thrift.meta_data.FieldMetaData("availableLimit", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
204 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
205 |
tmpMap.put(_Fields.CREDIT_LIMIT, new org.apache.thrift.meta_data.FieldMetaData("creditLimit", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
206 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
207 |
tmpMap.put(_Fields.SALT, new org.apache.thrift.meta_data.FieldMetaData("salt", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
208 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
209 |
tmpMap.put(_Fields.PASSWORD, new org.apache.thrift.meta_data.FieldMetaData("password", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
210 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
211 |
tmpMap.put(_Fields.IS_ACTIVE, new org.apache.thrift.meta_data.FieldMetaData("isActive", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
212 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
|
|
213 |
tmpMap.put(_Fields.CIRCLE_ID, new org.apache.thrift.meta_data.FieldMetaData("circleId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
214 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 7169 |
anupam.sin |
215 |
tmpMap.put(_Fields.EMAIL, new org.apache.thrift.meta_data.FieldMetaData("email", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
216 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 7308 |
rajveer |
217 |
tmpMap.put(_Fields.LINE1, new org.apache.thrift.meta_data.FieldMetaData("line1", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
218 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
219 |
tmpMap.put(_Fields.LINE2, new org.apache.thrift.meta_data.FieldMetaData("line2", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
220 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
221 |
tmpMap.put(_Fields.STATE, new org.apache.thrift.meta_data.FieldMetaData("state", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
222 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
223 |
tmpMap.put(_Fields.PIN, new org.apache.thrift.meta_data.FieldMetaData("pin", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
224 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
225 |
tmpMap.put(_Fields.PHONE, new org.apache.thrift.meta_data.FieldMetaData("phone", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
226 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
227 |
tmpMap.put(_Fields.APPROVAL_EMAIL, new org.apache.thrift.meta_data.FieldMetaData("approvalEmail", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
228 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 7096 |
anupam.sin |
229 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
230 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(HotspotStore.class, metaDataMap);
|
|
|
231 |
}
|
|
|
232 |
|
|
|
233 |
public HotspotStore() {
|
|
|
234 |
}
|
|
|
235 |
|
|
|
236 |
public HotspotStore(
|
|
|
237 |
long id,
|
|
|
238 |
String hotspotId,
|
|
|
239 |
long companyId,
|
|
|
240 |
String name,
|
|
|
241 |
String city,
|
|
|
242 |
long collectedAmount,
|
|
|
243 |
long availableLimit,
|
|
|
244 |
long creditLimit,
|
|
|
245 |
String salt,
|
|
|
246 |
String password,
|
|
|
247 |
boolean isActive,
|
| 7169 |
anupam.sin |
248 |
long circleId,
|
| 7308 |
rajveer |
249 |
String email,
|
|
|
250 |
String line1,
|
|
|
251 |
String line2,
|
|
|
252 |
String state,
|
|
|
253 |
String pin,
|
|
|
254 |
String phone,
|
|
|
255 |
String approvalEmail)
|
| 7096 |
anupam.sin |
256 |
{
|
|
|
257 |
this();
|
|
|
258 |
this.id = id;
|
|
|
259 |
setIdIsSet(true);
|
|
|
260 |
this.hotspotId = hotspotId;
|
|
|
261 |
this.companyId = companyId;
|
|
|
262 |
setCompanyIdIsSet(true);
|
|
|
263 |
this.name = name;
|
|
|
264 |
this.city = city;
|
|
|
265 |
this.collectedAmount = collectedAmount;
|
|
|
266 |
setCollectedAmountIsSet(true);
|
|
|
267 |
this.availableLimit = availableLimit;
|
|
|
268 |
setAvailableLimitIsSet(true);
|
|
|
269 |
this.creditLimit = creditLimit;
|
|
|
270 |
setCreditLimitIsSet(true);
|
|
|
271 |
this.salt = salt;
|
|
|
272 |
this.password = password;
|
|
|
273 |
this.isActive = isActive;
|
|
|
274 |
setIsActiveIsSet(true);
|
|
|
275 |
this.circleId = circleId;
|
|
|
276 |
setCircleIdIsSet(true);
|
| 7169 |
anupam.sin |
277 |
this.email = email;
|
| 7308 |
rajveer |
278 |
this.line1 = line1;
|
|
|
279 |
this.line2 = line2;
|
|
|
280 |
this.state = state;
|
|
|
281 |
this.pin = pin;
|
|
|
282 |
this.phone = phone;
|
|
|
283 |
this.approvalEmail = approvalEmail;
|
| 7096 |
anupam.sin |
284 |
}
|
|
|
285 |
|
|
|
286 |
/**
|
|
|
287 |
* Performs a deep copy on <i>other</i>.
|
|
|
288 |
*/
|
|
|
289 |
public HotspotStore(HotspotStore other) {
|
|
|
290 |
__isset_bit_vector.clear();
|
|
|
291 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
|
|
292 |
this.id = other.id;
|
|
|
293 |
if (other.isSetHotspotId()) {
|
|
|
294 |
this.hotspotId = other.hotspotId;
|
|
|
295 |
}
|
|
|
296 |
this.companyId = other.companyId;
|
|
|
297 |
if (other.isSetName()) {
|
|
|
298 |
this.name = other.name;
|
|
|
299 |
}
|
|
|
300 |
if (other.isSetCity()) {
|
|
|
301 |
this.city = other.city;
|
|
|
302 |
}
|
|
|
303 |
this.collectedAmount = other.collectedAmount;
|
|
|
304 |
this.availableLimit = other.availableLimit;
|
|
|
305 |
this.creditLimit = other.creditLimit;
|
|
|
306 |
if (other.isSetSalt()) {
|
|
|
307 |
this.salt = other.salt;
|
|
|
308 |
}
|
|
|
309 |
if (other.isSetPassword()) {
|
|
|
310 |
this.password = other.password;
|
|
|
311 |
}
|
|
|
312 |
this.isActive = other.isActive;
|
|
|
313 |
this.circleId = other.circleId;
|
| 7169 |
anupam.sin |
314 |
if (other.isSetEmail()) {
|
|
|
315 |
this.email = other.email;
|
|
|
316 |
}
|
| 7308 |
rajveer |
317 |
if (other.isSetLine1()) {
|
|
|
318 |
this.line1 = other.line1;
|
|
|
319 |
}
|
|
|
320 |
if (other.isSetLine2()) {
|
|
|
321 |
this.line2 = other.line2;
|
|
|
322 |
}
|
|
|
323 |
if (other.isSetState()) {
|
|
|
324 |
this.state = other.state;
|
|
|
325 |
}
|
|
|
326 |
if (other.isSetPin()) {
|
|
|
327 |
this.pin = other.pin;
|
|
|
328 |
}
|
|
|
329 |
if (other.isSetPhone()) {
|
|
|
330 |
this.phone = other.phone;
|
|
|
331 |
}
|
|
|
332 |
if (other.isSetApprovalEmail()) {
|
|
|
333 |
this.approvalEmail = other.approvalEmail;
|
|
|
334 |
}
|
| 7096 |
anupam.sin |
335 |
}
|
|
|
336 |
|
|
|
337 |
public HotspotStore deepCopy() {
|
|
|
338 |
return new HotspotStore(this);
|
|
|
339 |
}
|
|
|
340 |
|
|
|
341 |
@Override
|
|
|
342 |
public void clear() {
|
|
|
343 |
setIdIsSet(false);
|
|
|
344 |
this.id = 0;
|
|
|
345 |
this.hotspotId = null;
|
|
|
346 |
setCompanyIdIsSet(false);
|
|
|
347 |
this.companyId = 0;
|
|
|
348 |
this.name = null;
|
|
|
349 |
this.city = null;
|
|
|
350 |
setCollectedAmountIsSet(false);
|
|
|
351 |
this.collectedAmount = 0;
|
|
|
352 |
setAvailableLimitIsSet(false);
|
|
|
353 |
this.availableLimit = 0;
|
|
|
354 |
setCreditLimitIsSet(false);
|
|
|
355 |
this.creditLimit = 0;
|
|
|
356 |
this.salt = null;
|
|
|
357 |
this.password = null;
|
|
|
358 |
setIsActiveIsSet(false);
|
|
|
359 |
this.isActive = false;
|
|
|
360 |
setCircleIdIsSet(false);
|
|
|
361 |
this.circleId = 0;
|
| 7169 |
anupam.sin |
362 |
this.email = null;
|
| 7308 |
rajveer |
363 |
this.line1 = null;
|
|
|
364 |
this.line2 = null;
|
|
|
365 |
this.state = null;
|
|
|
366 |
this.pin = null;
|
|
|
367 |
this.phone = null;
|
|
|
368 |
this.approvalEmail = null;
|
| 7096 |
anupam.sin |
369 |
}
|
|
|
370 |
|
|
|
371 |
public long getId() {
|
|
|
372 |
return this.id;
|
|
|
373 |
}
|
|
|
374 |
|
|
|
375 |
public void setId(long id) {
|
|
|
376 |
this.id = id;
|
|
|
377 |
setIdIsSet(true);
|
|
|
378 |
}
|
|
|
379 |
|
|
|
380 |
public void unsetId() {
|
|
|
381 |
__isset_bit_vector.clear(__ID_ISSET_ID);
|
|
|
382 |
}
|
|
|
383 |
|
|
|
384 |
/** Returns true if field id is set (has been assigned a value) and false otherwise */
|
|
|
385 |
public boolean isSetId() {
|
|
|
386 |
return __isset_bit_vector.get(__ID_ISSET_ID);
|
|
|
387 |
}
|
|
|
388 |
|
|
|
389 |
public void setIdIsSet(boolean value) {
|
|
|
390 |
__isset_bit_vector.set(__ID_ISSET_ID, value);
|
|
|
391 |
}
|
|
|
392 |
|
|
|
393 |
public String getHotspotId() {
|
|
|
394 |
return this.hotspotId;
|
|
|
395 |
}
|
|
|
396 |
|
|
|
397 |
public void setHotspotId(String hotspotId) {
|
|
|
398 |
this.hotspotId = hotspotId;
|
|
|
399 |
}
|
|
|
400 |
|
|
|
401 |
public void unsetHotspotId() {
|
|
|
402 |
this.hotspotId = null;
|
|
|
403 |
}
|
|
|
404 |
|
|
|
405 |
/** Returns true if field hotspotId is set (has been assigned a value) and false otherwise */
|
|
|
406 |
public boolean isSetHotspotId() {
|
|
|
407 |
return this.hotspotId != null;
|
|
|
408 |
}
|
|
|
409 |
|
|
|
410 |
public void setHotspotIdIsSet(boolean value) {
|
|
|
411 |
if (!value) {
|
|
|
412 |
this.hotspotId = null;
|
|
|
413 |
}
|
|
|
414 |
}
|
|
|
415 |
|
|
|
416 |
public long getCompanyId() {
|
|
|
417 |
return this.companyId;
|
|
|
418 |
}
|
|
|
419 |
|
|
|
420 |
public void setCompanyId(long companyId) {
|
|
|
421 |
this.companyId = companyId;
|
|
|
422 |
setCompanyIdIsSet(true);
|
|
|
423 |
}
|
|
|
424 |
|
|
|
425 |
public void unsetCompanyId() {
|
|
|
426 |
__isset_bit_vector.clear(__COMPANYID_ISSET_ID);
|
|
|
427 |
}
|
|
|
428 |
|
|
|
429 |
/** Returns true if field companyId is set (has been assigned a value) and false otherwise */
|
|
|
430 |
public boolean isSetCompanyId() {
|
|
|
431 |
return __isset_bit_vector.get(__COMPANYID_ISSET_ID);
|
|
|
432 |
}
|
|
|
433 |
|
|
|
434 |
public void setCompanyIdIsSet(boolean value) {
|
|
|
435 |
__isset_bit_vector.set(__COMPANYID_ISSET_ID, value);
|
|
|
436 |
}
|
|
|
437 |
|
|
|
438 |
public String getName() {
|
|
|
439 |
return this.name;
|
|
|
440 |
}
|
|
|
441 |
|
|
|
442 |
public void setName(String name) {
|
|
|
443 |
this.name = name;
|
|
|
444 |
}
|
|
|
445 |
|
|
|
446 |
public void unsetName() {
|
|
|
447 |
this.name = null;
|
|
|
448 |
}
|
|
|
449 |
|
|
|
450 |
/** Returns true if field name is set (has been assigned a value) and false otherwise */
|
|
|
451 |
public boolean isSetName() {
|
|
|
452 |
return this.name != null;
|
|
|
453 |
}
|
|
|
454 |
|
|
|
455 |
public void setNameIsSet(boolean value) {
|
|
|
456 |
if (!value) {
|
|
|
457 |
this.name = null;
|
|
|
458 |
}
|
|
|
459 |
}
|
|
|
460 |
|
|
|
461 |
public String getCity() {
|
|
|
462 |
return this.city;
|
|
|
463 |
}
|
|
|
464 |
|
|
|
465 |
public void setCity(String city) {
|
|
|
466 |
this.city = city;
|
|
|
467 |
}
|
|
|
468 |
|
|
|
469 |
public void unsetCity() {
|
|
|
470 |
this.city = null;
|
|
|
471 |
}
|
|
|
472 |
|
|
|
473 |
/** Returns true if field city is set (has been assigned a value) and false otherwise */
|
|
|
474 |
public boolean isSetCity() {
|
|
|
475 |
return this.city != null;
|
|
|
476 |
}
|
|
|
477 |
|
|
|
478 |
public void setCityIsSet(boolean value) {
|
|
|
479 |
if (!value) {
|
|
|
480 |
this.city = null;
|
|
|
481 |
}
|
|
|
482 |
}
|
|
|
483 |
|
|
|
484 |
public long getCollectedAmount() {
|
|
|
485 |
return this.collectedAmount;
|
|
|
486 |
}
|
|
|
487 |
|
|
|
488 |
public void setCollectedAmount(long collectedAmount) {
|
|
|
489 |
this.collectedAmount = collectedAmount;
|
|
|
490 |
setCollectedAmountIsSet(true);
|
|
|
491 |
}
|
|
|
492 |
|
|
|
493 |
public void unsetCollectedAmount() {
|
|
|
494 |
__isset_bit_vector.clear(__COLLECTEDAMOUNT_ISSET_ID);
|
|
|
495 |
}
|
|
|
496 |
|
|
|
497 |
/** Returns true if field collectedAmount is set (has been assigned a value) and false otherwise */
|
|
|
498 |
public boolean isSetCollectedAmount() {
|
|
|
499 |
return __isset_bit_vector.get(__COLLECTEDAMOUNT_ISSET_ID);
|
|
|
500 |
}
|
|
|
501 |
|
|
|
502 |
public void setCollectedAmountIsSet(boolean value) {
|
|
|
503 |
__isset_bit_vector.set(__COLLECTEDAMOUNT_ISSET_ID, value);
|
|
|
504 |
}
|
|
|
505 |
|
|
|
506 |
public long getAvailableLimit() {
|
|
|
507 |
return this.availableLimit;
|
|
|
508 |
}
|
|
|
509 |
|
|
|
510 |
public void setAvailableLimit(long availableLimit) {
|
|
|
511 |
this.availableLimit = availableLimit;
|
|
|
512 |
setAvailableLimitIsSet(true);
|
|
|
513 |
}
|
|
|
514 |
|
|
|
515 |
public void unsetAvailableLimit() {
|
|
|
516 |
__isset_bit_vector.clear(__AVAILABLELIMIT_ISSET_ID);
|
|
|
517 |
}
|
|
|
518 |
|
|
|
519 |
/** Returns true if field availableLimit is set (has been assigned a value) and false otherwise */
|
|
|
520 |
public boolean isSetAvailableLimit() {
|
|
|
521 |
return __isset_bit_vector.get(__AVAILABLELIMIT_ISSET_ID);
|
|
|
522 |
}
|
|
|
523 |
|
|
|
524 |
public void setAvailableLimitIsSet(boolean value) {
|
|
|
525 |
__isset_bit_vector.set(__AVAILABLELIMIT_ISSET_ID, value);
|
|
|
526 |
}
|
|
|
527 |
|
|
|
528 |
public long getCreditLimit() {
|
|
|
529 |
return this.creditLimit;
|
|
|
530 |
}
|
|
|
531 |
|
|
|
532 |
public void setCreditLimit(long creditLimit) {
|
|
|
533 |
this.creditLimit = creditLimit;
|
|
|
534 |
setCreditLimitIsSet(true);
|
|
|
535 |
}
|
|
|
536 |
|
|
|
537 |
public void unsetCreditLimit() {
|
|
|
538 |
__isset_bit_vector.clear(__CREDITLIMIT_ISSET_ID);
|
|
|
539 |
}
|
|
|
540 |
|
|
|
541 |
/** Returns true if field creditLimit is set (has been assigned a value) and false otherwise */
|
|
|
542 |
public boolean isSetCreditLimit() {
|
|
|
543 |
return __isset_bit_vector.get(__CREDITLIMIT_ISSET_ID);
|
|
|
544 |
}
|
|
|
545 |
|
|
|
546 |
public void setCreditLimitIsSet(boolean value) {
|
|
|
547 |
__isset_bit_vector.set(__CREDITLIMIT_ISSET_ID, value);
|
|
|
548 |
}
|
|
|
549 |
|
|
|
550 |
public String getSalt() {
|
|
|
551 |
return this.salt;
|
|
|
552 |
}
|
|
|
553 |
|
|
|
554 |
public void setSalt(String salt) {
|
|
|
555 |
this.salt = salt;
|
|
|
556 |
}
|
|
|
557 |
|
|
|
558 |
public void unsetSalt() {
|
|
|
559 |
this.salt = null;
|
|
|
560 |
}
|
|
|
561 |
|
|
|
562 |
/** Returns true if field salt is set (has been assigned a value) and false otherwise */
|
|
|
563 |
public boolean isSetSalt() {
|
|
|
564 |
return this.salt != null;
|
|
|
565 |
}
|
|
|
566 |
|
|
|
567 |
public void setSaltIsSet(boolean value) {
|
|
|
568 |
if (!value) {
|
|
|
569 |
this.salt = null;
|
|
|
570 |
}
|
|
|
571 |
}
|
|
|
572 |
|
|
|
573 |
public String getPassword() {
|
|
|
574 |
return this.password;
|
|
|
575 |
}
|
|
|
576 |
|
|
|
577 |
public void setPassword(String password) {
|
|
|
578 |
this.password = password;
|
|
|
579 |
}
|
|
|
580 |
|
|
|
581 |
public void unsetPassword() {
|
|
|
582 |
this.password = null;
|
|
|
583 |
}
|
|
|
584 |
|
|
|
585 |
/** Returns true if field password is set (has been assigned a value) and false otherwise */
|
|
|
586 |
public boolean isSetPassword() {
|
|
|
587 |
return this.password != null;
|
|
|
588 |
}
|
|
|
589 |
|
|
|
590 |
public void setPasswordIsSet(boolean value) {
|
|
|
591 |
if (!value) {
|
|
|
592 |
this.password = null;
|
|
|
593 |
}
|
|
|
594 |
}
|
|
|
595 |
|
|
|
596 |
public boolean isIsActive() {
|
|
|
597 |
return this.isActive;
|
|
|
598 |
}
|
|
|
599 |
|
|
|
600 |
public void setIsActive(boolean isActive) {
|
|
|
601 |
this.isActive = isActive;
|
|
|
602 |
setIsActiveIsSet(true);
|
|
|
603 |
}
|
|
|
604 |
|
|
|
605 |
public void unsetIsActive() {
|
|
|
606 |
__isset_bit_vector.clear(__ISACTIVE_ISSET_ID);
|
|
|
607 |
}
|
|
|
608 |
|
|
|
609 |
/** Returns true if field isActive is set (has been assigned a value) and false otherwise */
|
|
|
610 |
public boolean isSetIsActive() {
|
|
|
611 |
return __isset_bit_vector.get(__ISACTIVE_ISSET_ID);
|
|
|
612 |
}
|
|
|
613 |
|
|
|
614 |
public void setIsActiveIsSet(boolean value) {
|
|
|
615 |
__isset_bit_vector.set(__ISACTIVE_ISSET_ID, value);
|
|
|
616 |
}
|
|
|
617 |
|
|
|
618 |
public long getCircleId() {
|
|
|
619 |
return this.circleId;
|
|
|
620 |
}
|
|
|
621 |
|
|
|
622 |
public void setCircleId(long circleId) {
|
|
|
623 |
this.circleId = circleId;
|
|
|
624 |
setCircleIdIsSet(true);
|
|
|
625 |
}
|
|
|
626 |
|
|
|
627 |
public void unsetCircleId() {
|
|
|
628 |
__isset_bit_vector.clear(__CIRCLEID_ISSET_ID);
|
|
|
629 |
}
|
|
|
630 |
|
|
|
631 |
/** Returns true if field circleId is set (has been assigned a value) and false otherwise */
|
|
|
632 |
public boolean isSetCircleId() {
|
|
|
633 |
return __isset_bit_vector.get(__CIRCLEID_ISSET_ID);
|
|
|
634 |
}
|
|
|
635 |
|
|
|
636 |
public void setCircleIdIsSet(boolean value) {
|
|
|
637 |
__isset_bit_vector.set(__CIRCLEID_ISSET_ID, value);
|
|
|
638 |
}
|
|
|
639 |
|
| 7169 |
anupam.sin |
640 |
public String getEmail() {
|
|
|
641 |
return this.email;
|
|
|
642 |
}
|
|
|
643 |
|
|
|
644 |
public void setEmail(String email) {
|
|
|
645 |
this.email = email;
|
|
|
646 |
}
|
|
|
647 |
|
|
|
648 |
public void unsetEmail() {
|
|
|
649 |
this.email = null;
|
|
|
650 |
}
|
|
|
651 |
|
|
|
652 |
/** Returns true if field email is set (has been assigned a value) and false otherwise */
|
|
|
653 |
public boolean isSetEmail() {
|
|
|
654 |
return this.email != null;
|
|
|
655 |
}
|
|
|
656 |
|
|
|
657 |
public void setEmailIsSet(boolean value) {
|
|
|
658 |
if (!value) {
|
|
|
659 |
this.email = null;
|
|
|
660 |
}
|
|
|
661 |
}
|
|
|
662 |
|
| 7308 |
rajveer |
663 |
public String getLine1() {
|
|
|
664 |
return this.line1;
|
|
|
665 |
}
|
|
|
666 |
|
|
|
667 |
public void setLine1(String line1) {
|
|
|
668 |
this.line1 = line1;
|
|
|
669 |
}
|
|
|
670 |
|
|
|
671 |
public void unsetLine1() {
|
|
|
672 |
this.line1 = null;
|
|
|
673 |
}
|
|
|
674 |
|
|
|
675 |
/** Returns true if field line1 is set (has been assigned a value) and false otherwise */
|
|
|
676 |
public boolean isSetLine1() {
|
|
|
677 |
return this.line1 != null;
|
|
|
678 |
}
|
|
|
679 |
|
|
|
680 |
public void setLine1IsSet(boolean value) {
|
|
|
681 |
if (!value) {
|
|
|
682 |
this.line1 = null;
|
|
|
683 |
}
|
|
|
684 |
}
|
|
|
685 |
|
|
|
686 |
public String getLine2() {
|
|
|
687 |
return this.line2;
|
|
|
688 |
}
|
|
|
689 |
|
|
|
690 |
public void setLine2(String line2) {
|
|
|
691 |
this.line2 = line2;
|
|
|
692 |
}
|
|
|
693 |
|
|
|
694 |
public void unsetLine2() {
|
|
|
695 |
this.line2 = null;
|
|
|
696 |
}
|
|
|
697 |
|
|
|
698 |
/** Returns true if field line2 is set (has been assigned a value) and false otherwise */
|
|
|
699 |
public boolean isSetLine2() {
|
|
|
700 |
return this.line2 != null;
|
|
|
701 |
}
|
|
|
702 |
|
|
|
703 |
public void setLine2IsSet(boolean value) {
|
|
|
704 |
if (!value) {
|
|
|
705 |
this.line2 = null;
|
|
|
706 |
}
|
|
|
707 |
}
|
|
|
708 |
|
|
|
709 |
public String getState() {
|
|
|
710 |
return this.state;
|
|
|
711 |
}
|
|
|
712 |
|
|
|
713 |
public void setState(String state) {
|
|
|
714 |
this.state = state;
|
|
|
715 |
}
|
|
|
716 |
|
|
|
717 |
public void unsetState() {
|
|
|
718 |
this.state = null;
|
|
|
719 |
}
|
|
|
720 |
|
|
|
721 |
/** Returns true if field state is set (has been assigned a value) and false otherwise */
|
|
|
722 |
public boolean isSetState() {
|
|
|
723 |
return this.state != null;
|
|
|
724 |
}
|
|
|
725 |
|
|
|
726 |
public void setStateIsSet(boolean value) {
|
|
|
727 |
if (!value) {
|
|
|
728 |
this.state = null;
|
|
|
729 |
}
|
|
|
730 |
}
|
|
|
731 |
|
|
|
732 |
public String getPin() {
|
|
|
733 |
return this.pin;
|
|
|
734 |
}
|
|
|
735 |
|
|
|
736 |
public void setPin(String pin) {
|
|
|
737 |
this.pin = pin;
|
|
|
738 |
}
|
|
|
739 |
|
|
|
740 |
public void unsetPin() {
|
|
|
741 |
this.pin = null;
|
|
|
742 |
}
|
|
|
743 |
|
|
|
744 |
/** Returns true if field pin is set (has been assigned a value) and false otherwise */
|
|
|
745 |
public boolean isSetPin() {
|
|
|
746 |
return this.pin != null;
|
|
|
747 |
}
|
|
|
748 |
|
|
|
749 |
public void setPinIsSet(boolean value) {
|
|
|
750 |
if (!value) {
|
|
|
751 |
this.pin = null;
|
|
|
752 |
}
|
|
|
753 |
}
|
|
|
754 |
|
|
|
755 |
public String getPhone() {
|
|
|
756 |
return this.phone;
|
|
|
757 |
}
|
|
|
758 |
|
|
|
759 |
public void setPhone(String phone) {
|
|
|
760 |
this.phone = phone;
|
|
|
761 |
}
|
|
|
762 |
|
|
|
763 |
public void unsetPhone() {
|
|
|
764 |
this.phone = null;
|
|
|
765 |
}
|
|
|
766 |
|
|
|
767 |
/** Returns true if field phone is set (has been assigned a value) and false otherwise */
|
|
|
768 |
public boolean isSetPhone() {
|
|
|
769 |
return this.phone != null;
|
|
|
770 |
}
|
|
|
771 |
|
|
|
772 |
public void setPhoneIsSet(boolean value) {
|
|
|
773 |
if (!value) {
|
|
|
774 |
this.phone = null;
|
|
|
775 |
}
|
|
|
776 |
}
|
|
|
777 |
|
|
|
778 |
public String getApprovalEmail() {
|
|
|
779 |
return this.approvalEmail;
|
|
|
780 |
}
|
|
|
781 |
|
|
|
782 |
public void setApprovalEmail(String approvalEmail) {
|
|
|
783 |
this.approvalEmail = approvalEmail;
|
|
|
784 |
}
|
|
|
785 |
|
|
|
786 |
public void unsetApprovalEmail() {
|
|
|
787 |
this.approvalEmail = null;
|
|
|
788 |
}
|
|
|
789 |
|
|
|
790 |
/** Returns true if field approvalEmail is set (has been assigned a value) and false otherwise */
|
|
|
791 |
public boolean isSetApprovalEmail() {
|
|
|
792 |
return this.approvalEmail != null;
|
|
|
793 |
}
|
|
|
794 |
|
|
|
795 |
public void setApprovalEmailIsSet(boolean value) {
|
|
|
796 |
if (!value) {
|
|
|
797 |
this.approvalEmail = null;
|
|
|
798 |
}
|
|
|
799 |
}
|
|
|
800 |
|
| 7096 |
anupam.sin |
801 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
802 |
switch (field) {
|
|
|
803 |
case ID:
|
|
|
804 |
if (value == null) {
|
|
|
805 |
unsetId();
|
|
|
806 |
} else {
|
|
|
807 |
setId((Long)value);
|
|
|
808 |
}
|
|
|
809 |
break;
|
|
|
810 |
|
|
|
811 |
case HOTSPOT_ID:
|
|
|
812 |
if (value == null) {
|
|
|
813 |
unsetHotspotId();
|
|
|
814 |
} else {
|
|
|
815 |
setHotspotId((String)value);
|
|
|
816 |
}
|
|
|
817 |
break;
|
|
|
818 |
|
|
|
819 |
case COMPANY_ID:
|
|
|
820 |
if (value == null) {
|
|
|
821 |
unsetCompanyId();
|
|
|
822 |
} else {
|
|
|
823 |
setCompanyId((Long)value);
|
|
|
824 |
}
|
|
|
825 |
break;
|
|
|
826 |
|
|
|
827 |
case NAME:
|
|
|
828 |
if (value == null) {
|
|
|
829 |
unsetName();
|
|
|
830 |
} else {
|
|
|
831 |
setName((String)value);
|
|
|
832 |
}
|
|
|
833 |
break;
|
|
|
834 |
|
|
|
835 |
case CITY:
|
|
|
836 |
if (value == null) {
|
|
|
837 |
unsetCity();
|
|
|
838 |
} else {
|
|
|
839 |
setCity((String)value);
|
|
|
840 |
}
|
|
|
841 |
break;
|
|
|
842 |
|
|
|
843 |
case COLLECTED_AMOUNT:
|
|
|
844 |
if (value == null) {
|
|
|
845 |
unsetCollectedAmount();
|
|
|
846 |
} else {
|
|
|
847 |
setCollectedAmount((Long)value);
|
|
|
848 |
}
|
|
|
849 |
break;
|
|
|
850 |
|
|
|
851 |
case AVAILABLE_LIMIT:
|
|
|
852 |
if (value == null) {
|
|
|
853 |
unsetAvailableLimit();
|
|
|
854 |
} else {
|
|
|
855 |
setAvailableLimit((Long)value);
|
|
|
856 |
}
|
|
|
857 |
break;
|
|
|
858 |
|
|
|
859 |
case CREDIT_LIMIT:
|
|
|
860 |
if (value == null) {
|
|
|
861 |
unsetCreditLimit();
|
|
|
862 |
} else {
|
|
|
863 |
setCreditLimit((Long)value);
|
|
|
864 |
}
|
|
|
865 |
break;
|
|
|
866 |
|
|
|
867 |
case SALT:
|
|
|
868 |
if (value == null) {
|
|
|
869 |
unsetSalt();
|
|
|
870 |
} else {
|
|
|
871 |
setSalt((String)value);
|
|
|
872 |
}
|
|
|
873 |
break;
|
|
|
874 |
|
|
|
875 |
case PASSWORD:
|
|
|
876 |
if (value == null) {
|
|
|
877 |
unsetPassword();
|
|
|
878 |
} else {
|
|
|
879 |
setPassword((String)value);
|
|
|
880 |
}
|
|
|
881 |
break;
|
|
|
882 |
|
|
|
883 |
case IS_ACTIVE:
|
|
|
884 |
if (value == null) {
|
|
|
885 |
unsetIsActive();
|
|
|
886 |
} else {
|
|
|
887 |
setIsActive((Boolean)value);
|
|
|
888 |
}
|
|
|
889 |
break;
|
|
|
890 |
|
|
|
891 |
case CIRCLE_ID:
|
|
|
892 |
if (value == null) {
|
|
|
893 |
unsetCircleId();
|
|
|
894 |
} else {
|
|
|
895 |
setCircleId((Long)value);
|
|
|
896 |
}
|
|
|
897 |
break;
|
|
|
898 |
|
| 7169 |
anupam.sin |
899 |
case EMAIL:
|
|
|
900 |
if (value == null) {
|
|
|
901 |
unsetEmail();
|
|
|
902 |
} else {
|
|
|
903 |
setEmail((String)value);
|
|
|
904 |
}
|
|
|
905 |
break;
|
|
|
906 |
|
| 7308 |
rajveer |
907 |
case LINE1:
|
|
|
908 |
if (value == null) {
|
|
|
909 |
unsetLine1();
|
|
|
910 |
} else {
|
|
|
911 |
setLine1((String)value);
|
|
|
912 |
}
|
|
|
913 |
break;
|
|
|
914 |
|
|
|
915 |
case LINE2:
|
|
|
916 |
if (value == null) {
|
|
|
917 |
unsetLine2();
|
|
|
918 |
} else {
|
|
|
919 |
setLine2((String)value);
|
|
|
920 |
}
|
|
|
921 |
break;
|
|
|
922 |
|
|
|
923 |
case STATE:
|
|
|
924 |
if (value == null) {
|
|
|
925 |
unsetState();
|
|
|
926 |
} else {
|
|
|
927 |
setState((String)value);
|
|
|
928 |
}
|
|
|
929 |
break;
|
|
|
930 |
|
|
|
931 |
case PIN:
|
|
|
932 |
if (value == null) {
|
|
|
933 |
unsetPin();
|
|
|
934 |
} else {
|
|
|
935 |
setPin((String)value);
|
|
|
936 |
}
|
|
|
937 |
break;
|
|
|
938 |
|
|
|
939 |
case PHONE:
|
|
|
940 |
if (value == null) {
|
|
|
941 |
unsetPhone();
|
|
|
942 |
} else {
|
|
|
943 |
setPhone((String)value);
|
|
|
944 |
}
|
|
|
945 |
break;
|
|
|
946 |
|
|
|
947 |
case APPROVAL_EMAIL:
|
|
|
948 |
if (value == null) {
|
|
|
949 |
unsetApprovalEmail();
|
|
|
950 |
} else {
|
|
|
951 |
setApprovalEmail((String)value);
|
|
|
952 |
}
|
|
|
953 |
break;
|
|
|
954 |
|
| 7096 |
anupam.sin |
955 |
}
|
|
|
956 |
}
|
|
|
957 |
|
|
|
958 |
public Object getFieldValue(_Fields field) {
|
|
|
959 |
switch (field) {
|
|
|
960 |
case ID:
|
|
|
961 |
return Long.valueOf(getId());
|
|
|
962 |
|
|
|
963 |
case HOTSPOT_ID:
|
|
|
964 |
return getHotspotId();
|
|
|
965 |
|
|
|
966 |
case COMPANY_ID:
|
|
|
967 |
return Long.valueOf(getCompanyId());
|
|
|
968 |
|
|
|
969 |
case NAME:
|
|
|
970 |
return getName();
|
|
|
971 |
|
|
|
972 |
case CITY:
|
|
|
973 |
return getCity();
|
|
|
974 |
|
|
|
975 |
case COLLECTED_AMOUNT:
|
|
|
976 |
return Long.valueOf(getCollectedAmount());
|
|
|
977 |
|
|
|
978 |
case AVAILABLE_LIMIT:
|
|
|
979 |
return Long.valueOf(getAvailableLimit());
|
|
|
980 |
|
|
|
981 |
case CREDIT_LIMIT:
|
|
|
982 |
return Long.valueOf(getCreditLimit());
|
|
|
983 |
|
|
|
984 |
case SALT:
|
|
|
985 |
return getSalt();
|
|
|
986 |
|
|
|
987 |
case PASSWORD:
|
|
|
988 |
return getPassword();
|
|
|
989 |
|
|
|
990 |
case IS_ACTIVE:
|
|
|
991 |
return Boolean.valueOf(isIsActive());
|
|
|
992 |
|
|
|
993 |
case CIRCLE_ID:
|
|
|
994 |
return Long.valueOf(getCircleId());
|
|
|
995 |
|
| 7169 |
anupam.sin |
996 |
case EMAIL:
|
|
|
997 |
return getEmail();
|
|
|
998 |
|
| 7308 |
rajveer |
999 |
case LINE1:
|
|
|
1000 |
return getLine1();
|
|
|
1001 |
|
|
|
1002 |
case LINE2:
|
|
|
1003 |
return getLine2();
|
|
|
1004 |
|
|
|
1005 |
case STATE:
|
|
|
1006 |
return getState();
|
|
|
1007 |
|
|
|
1008 |
case PIN:
|
|
|
1009 |
return getPin();
|
|
|
1010 |
|
|
|
1011 |
case PHONE:
|
|
|
1012 |
return getPhone();
|
|
|
1013 |
|
|
|
1014 |
case APPROVAL_EMAIL:
|
|
|
1015 |
return getApprovalEmail();
|
|
|
1016 |
|
| 7096 |
anupam.sin |
1017 |
}
|
|
|
1018 |
throw new IllegalStateException();
|
|
|
1019 |
}
|
|
|
1020 |
|
|
|
1021 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
1022 |
public boolean isSet(_Fields field) {
|
|
|
1023 |
if (field == null) {
|
|
|
1024 |
throw new IllegalArgumentException();
|
|
|
1025 |
}
|
|
|
1026 |
|
|
|
1027 |
switch (field) {
|
|
|
1028 |
case ID:
|
|
|
1029 |
return isSetId();
|
|
|
1030 |
case HOTSPOT_ID:
|
|
|
1031 |
return isSetHotspotId();
|
|
|
1032 |
case COMPANY_ID:
|
|
|
1033 |
return isSetCompanyId();
|
|
|
1034 |
case NAME:
|
|
|
1035 |
return isSetName();
|
|
|
1036 |
case CITY:
|
|
|
1037 |
return isSetCity();
|
|
|
1038 |
case COLLECTED_AMOUNT:
|
|
|
1039 |
return isSetCollectedAmount();
|
|
|
1040 |
case AVAILABLE_LIMIT:
|
|
|
1041 |
return isSetAvailableLimit();
|
|
|
1042 |
case CREDIT_LIMIT:
|
|
|
1043 |
return isSetCreditLimit();
|
|
|
1044 |
case SALT:
|
|
|
1045 |
return isSetSalt();
|
|
|
1046 |
case PASSWORD:
|
|
|
1047 |
return isSetPassword();
|
|
|
1048 |
case IS_ACTIVE:
|
|
|
1049 |
return isSetIsActive();
|
|
|
1050 |
case CIRCLE_ID:
|
|
|
1051 |
return isSetCircleId();
|
| 7169 |
anupam.sin |
1052 |
case EMAIL:
|
|
|
1053 |
return isSetEmail();
|
| 7308 |
rajveer |
1054 |
case LINE1:
|
|
|
1055 |
return isSetLine1();
|
|
|
1056 |
case LINE2:
|
|
|
1057 |
return isSetLine2();
|
|
|
1058 |
case STATE:
|
|
|
1059 |
return isSetState();
|
|
|
1060 |
case PIN:
|
|
|
1061 |
return isSetPin();
|
|
|
1062 |
case PHONE:
|
|
|
1063 |
return isSetPhone();
|
|
|
1064 |
case APPROVAL_EMAIL:
|
|
|
1065 |
return isSetApprovalEmail();
|
| 7096 |
anupam.sin |
1066 |
}
|
|
|
1067 |
throw new IllegalStateException();
|
|
|
1068 |
}
|
|
|
1069 |
|
|
|
1070 |
@Override
|
|
|
1071 |
public boolean equals(Object that) {
|
|
|
1072 |
if (that == null)
|
|
|
1073 |
return false;
|
|
|
1074 |
if (that instanceof HotspotStore)
|
|
|
1075 |
return this.equals((HotspotStore)that);
|
|
|
1076 |
return false;
|
|
|
1077 |
}
|
|
|
1078 |
|
|
|
1079 |
public boolean equals(HotspotStore that) {
|
|
|
1080 |
if (that == null)
|
|
|
1081 |
return false;
|
|
|
1082 |
|
|
|
1083 |
boolean this_present_id = true;
|
|
|
1084 |
boolean that_present_id = true;
|
|
|
1085 |
if (this_present_id || that_present_id) {
|
|
|
1086 |
if (!(this_present_id && that_present_id))
|
|
|
1087 |
return false;
|
|
|
1088 |
if (this.id != that.id)
|
|
|
1089 |
return false;
|
|
|
1090 |
}
|
|
|
1091 |
|
|
|
1092 |
boolean this_present_hotspotId = true && this.isSetHotspotId();
|
|
|
1093 |
boolean that_present_hotspotId = true && that.isSetHotspotId();
|
|
|
1094 |
if (this_present_hotspotId || that_present_hotspotId) {
|
|
|
1095 |
if (!(this_present_hotspotId && that_present_hotspotId))
|
|
|
1096 |
return false;
|
|
|
1097 |
if (!this.hotspotId.equals(that.hotspotId))
|
|
|
1098 |
return false;
|
|
|
1099 |
}
|
|
|
1100 |
|
|
|
1101 |
boolean this_present_companyId = true;
|
|
|
1102 |
boolean that_present_companyId = true;
|
|
|
1103 |
if (this_present_companyId || that_present_companyId) {
|
|
|
1104 |
if (!(this_present_companyId && that_present_companyId))
|
|
|
1105 |
return false;
|
|
|
1106 |
if (this.companyId != that.companyId)
|
|
|
1107 |
return false;
|
|
|
1108 |
}
|
|
|
1109 |
|
|
|
1110 |
boolean this_present_name = true && this.isSetName();
|
|
|
1111 |
boolean that_present_name = true && that.isSetName();
|
|
|
1112 |
if (this_present_name || that_present_name) {
|
|
|
1113 |
if (!(this_present_name && that_present_name))
|
|
|
1114 |
return false;
|
|
|
1115 |
if (!this.name.equals(that.name))
|
|
|
1116 |
return false;
|
|
|
1117 |
}
|
|
|
1118 |
|
|
|
1119 |
boolean this_present_city = true && this.isSetCity();
|
|
|
1120 |
boolean that_present_city = true && that.isSetCity();
|
|
|
1121 |
if (this_present_city || that_present_city) {
|
|
|
1122 |
if (!(this_present_city && that_present_city))
|
|
|
1123 |
return false;
|
|
|
1124 |
if (!this.city.equals(that.city))
|
|
|
1125 |
return false;
|
|
|
1126 |
}
|
|
|
1127 |
|
|
|
1128 |
boolean this_present_collectedAmount = true;
|
|
|
1129 |
boolean that_present_collectedAmount = true;
|
|
|
1130 |
if (this_present_collectedAmount || that_present_collectedAmount) {
|
|
|
1131 |
if (!(this_present_collectedAmount && that_present_collectedAmount))
|
|
|
1132 |
return false;
|
|
|
1133 |
if (this.collectedAmount != that.collectedAmount)
|
|
|
1134 |
return false;
|
|
|
1135 |
}
|
|
|
1136 |
|
|
|
1137 |
boolean this_present_availableLimit = true;
|
|
|
1138 |
boolean that_present_availableLimit = true;
|
|
|
1139 |
if (this_present_availableLimit || that_present_availableLimit) {
|
|
|
1140 |
if (!(this_present_availableLimit && that_present_availableLimit))
|
|
|
1141 |
return false;
|
|
|
1142 |
if (this.availableLimit != that.availableLimit)
|
|
|
1143 |
return false;
|
|
|
1144 |
}
|
|
|
1145 |
|
|
|
1146 |
boolean this_present_creditLimit = true;
|
|
|
1147 |
boolean that_present_creditLimit = true;
|
|
|
1148 |
if (this_present_creditLimit || that_present_creditLimit) {
|
|
|
1149 |
if (!(this_present_creditLimit && that_present_creditLimit))
|
|
|
1150 |
return false;
|
|
|
1151 |
if (this.creditLimit != that.creditLimit)
|
|
|
1152 |
return false;
|
|
|
1153 |
}
|
|
|
1154 |
|
|
|
1155 |
boolean this_present_salt = true && this.isSetSalt();
|
|
|
1156 |
boolean that_present_salt = true && that.isSetSalt();
|
|
|
1157 |
if (this_present_salt || that_present_salt) {
|
|
|
1158 |
if (!(this_present_salt && that_present_salt))
|
|
|
1159 |
return false;
|
|
|
1160 |
if (!this.salt.equals(that.salt))
|
|
|
1161 |
return false;
|
|
|
1162 |
}
|
|
|
1163 |
|
|
|
1164 |
boolean this_present_password = true && this.isSetPassword();
|
|
|
1165 |
boolean that_present_password = true && that.isSetPassword();
|
|
|
1166 |
if (this_present_password || that_present_password) {
|
|
|
1167 |
if (!(this_present_password && that_present_password))
|
|
|
1168 |
return false;
|
|
|
1169 |
if (!this.password.equals(that.password))
|
|
|
1170 |
return false;
|
|
|
1171 |
}
|
|
|
1172 |
|
|
|
1173 |
boolean this_present_isActive = true;
|
|
|
1174 |
boolean that_present_isActive = true;
|
|
|
1175 |
if (this_present_isActive || that_present_isActive) {
|
|
|
1176 |
if (!(this_present_isActive && that_present_isActive))
|
|
|
1177 |
return false;
|
|
|
1178 |
if (this.isActive != that.isActive)
|
|
|
1179 |
return false;
|
|
|
1180 |
}
|
|
|
1181 |
|
|
|
1182 |
boolean this_present_circleId = true;
|
|
|
1183 |
boolean that_present_circleId = true;
|
|
|
1184 |
if (this_present_circleId || that_present_circleId) {
|
|
|
1185 |
if (!(this_present_circleId && that_present_circleId))
|
|
|
1186 |
return false;
|
|
|
1187 |
if (this.circleId != that.circleId)
|
|
|
1188 |
return false;
|
|
|
1189 |
}
|
|
|
1190 |
|
| 7169 |
anupam.sin |
1191 |
boolean this_present_email = true && this.isSetEmail();
|
|
|
1192 |
boolean that_present_email = true && that.isSetEmail();
|
|
|
1193 |
if (this_present_email || that_present_email) {
|
|
|
1194 |
if (!(this_present_email && that_present_email))
|
|
|
1195 |
return false;
|
|
|
1196 |
if (!this.email.equals(that.email))
|
|
|
1197 |
return false;
|
|
|
1198 |
}
|
|
|
1199 |
|
| 7308 |
rajveer |
1200 |
boolean this_present_line1 = true && this.isSetLine1();
|
|
|
1201 |
boolean that_present_line1 = true && that.isSetLine1();
|
|
|
1202 |
if (this_present_line1 || that_present_line1) {
|
|
|
1203 |
if (!(this_present_line1 && that_present_line1))
|
|
|
1204 |
return false;
|
|
|
1205 |
if (!this.line1.equals(that.line1))
|
|
|
1206 |
return false;
|
|
|
1207 |
}
|
|
|
1208 |
|
|
|
1209 |
boolean this_present_line2 = true && this.isSetLine2();
|
|
|
1210 |
boolean that_present_line2 = true && that.isSetLine2();
|
|
|
1211 |
if (this_present_line2 || that_present_line2) {
|
|
|
1212 |
if (!(this_present_line2 && that_present_line2))
|
|
|
1213 |
return false;
|
|
|
1214 |
if (!this.line2.equals(that.line2))
|
|
|
1215 |
return false;
|
|
|
1216 |
}
|
|
|
1217 |
|
|
|
1218 |
boolean this_present_state = true && this.isSetState();
|
|
|
1219 |
boolean that_present_state = true && that.isSetState();
|
|
|
1220 |
if (this_present_state || that_present_state) {
|
|
|
1221 |
if (!(this_present_state && that_present_state))
|
|
|
1222 |
return false;
|
|
|
1223 |
if (!this.state.equals(that.state))
|
|
|
1224 |
return false;
|
|
|
1225 |
}
|
|
|
1226 |
|
|
|
1227 |
boolean this_present_pin = true && this.isSetPin();
|
|
|
1228 |
boolean that_present_pin = true && that.isSetPin();
|
|
|
1229 |
if (this_present_pin || that_present_pin) {
|
|
|
1230 |
if (!(this_present_pin && that_present_pin))
|
|
|
1231 |
return false;
|
|
|
1232 |
if (!this.pin.equals(that.pin))
|
|
|
1233 |
return false;
|
|
|
1234 |
}
|
|
|
1235 |
|
|
|
1236 |
boolean this_present_phone = true && this.isSetPhone();
|
|
|
1237 |
boolean that_present_phone = true && that.isSetPhone();
|
|
|
1238 |
if (this_present_phone || that_present_phone) {
|
|
|
1239 |
if (!(this_present_phone && that_present_phone))
|
|
|
1240 |
return false;
|
|
|
1241 |
if (!this.phone.equals(that.phone))
|
|
|
1242 |
return false;
|
|
|
1243 |
}
|
|
|
1244 |
|
|
|
1245 |
boolean this_present_approvalEmail = true && this.isSetApprovalEmail();
|
|
|
1246 |
boolean that_present_approvalEmail = true && that.isSetApprovalEmail();
|
|
|
1247 |
if (this_present_approvalEmail || that_present_approvalEmail) {
|
|
|
1248 |
if (!(this_present_approvalEmail && that_present_approvalEmail))
|
|
|
1249 |
return false;
|
|
|
1250 |
if (!this.approvalEmail.equals(that.approvalEmail))
|
|
|
1251 |
return false;
|
|
|
1252 |
}
|
|
|
1253 |
|
| 7096 |
anupam.sin |
1254 |
return true;
|
|
|
1255 |
}
|
|
|
1256 |
|
|
|
1257 |
@Override
|
|
|
1258 |
public int hashCode() {
|
|
|
1259 |
return 0;
|
|
|
1260 |
}
|
|
|
1261 |
|
|
|
1262 |
public int compareTo(HotspotStore other) {
|
|
|
1263 |
if (!getClass().equals(other.getClass())) {
|
|
|
1264 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
1265 |
}
|
|
|
1266 |
|
|
|
1267 |
int lastComparison = 0;
|
|
|
1268 |
HotspotStore typedOther = (HotspotStore)other;
|
|
|
1269 |
|
|
|
1270 |
lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
|
|
|
1271 |
if (lastComparison != 0) {
|
|
|
1272 |
return lastComparison;
|
|
|
1273 |
}
|
|
|
1274 |
if (isSetId()) {
|
|
|
1275 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
|
|
|
1276 |
if (lastComparison != 0) {
|
|
|
1277 |
return lastComparison;
|
|
|
1278 |
}
|
|
|
1279 |
}
|
|
|
1280 |
lastComparison = Boolean.valueOf(isSetHotspotId()).compareTo(typedOther.isSetHotspotId());
|
|
|
1281 |
if (lastComparison != 0) {
|
|
|
1282 |
return lastComparison;
|
|
|
1283 |
}
|
|
|
1284 |
if (isSetHotspotId()) {
|
|
|
1285 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hotspotId, typedOther.hotspotId);
|
|
|
1286 |
if (lastComparison != 0) {
|
|
|
1287 |
return lastComparison;
|
|
|
1288 |
}
|
|
|
1289 |
}
|
|
|
1290 |
lastComparison = Boolean.valueOf(isSetCompanyId()).compareTo(typedOther.isSetCompanyId());
|
|
|
1291 |
if (lastComparison != 0) {
|
|
|
1292 |
return lastComparison;
|
|
|
1293 |
}
|
|
|
1294 |
if (isSetCompanyId()) {
|
|
|
1295 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.companyId, typedOther.companyId);
|
|
|
1296 |
if (lastComparison != 0) {
|
|
|
1297 |
return lastComparison;
|
|
|
1298 |
}
|
|
|
1299 |
}
|
|
|
1300 |
lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName());
|
|
|
1301 |
if (lastComparison != 0) {
|
|
|
1302 |
return lastComparison;
|
|
|
1303 |
}
|
|
|
1304 |
if (isSetName()) {
|
|
|
1305 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name);
|
|
|
1306 |
if (lastComparison != 0) {
|
|
|
1307 |
return lastComparison;
|
|
|
1308 |
}
|
|
|
1309 |
}
|
|
|
1310 |
lastComparison = Boolean.valueOf(isSetCity()).compareTo(typedOther.isSetCity());
|
|
|
1311 |
if (lastComparison != 0) {
|
|
|
1312 |
return lastComparison;
|
|
|
1313 |
}
|
|
|
1314 |
if (isSetCity()) {
|
|
|
1315 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.city, typedOther.city);
|
|
|
1316 |
if (lastComparison != 0) {
|
|
|
1317 |
return lastComparison;
|
|
|
1318 |
}
|
|
|
1319 |
}
|
|
|
1320 |
lastComparison = Boolean.valueOf(isSetCollectedAmount()).compareTo(typedOther.isSetCollectedAmount());
|
|
|
1321 |
if (lastComparison != 0) {
|
|
|
1322 |
return lastComparison;
|
|
|
1323 |
}
|
|
|
1324 |
if (isSetCollectedAmount()) {
|
|
|
1325 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.collectedAmount, typedOther.collectedAmount);
|
|
|
1326 |
if (lastComparison != 0) {
|
|
|
1327 |
return lastComparison;
|
|
|
1328 |
}
|
|
|
1329 |
}
|
|
|
1330 |
lastComparison = Boolean.valueOf(isSetAvailableLimit()).compareTo(typedOther.isSetAvailableLimit());
|
|
|
1331 |
if (lastComparison != 0) {
|
|
|
1332 |
return lastComparison;
|
|
|
1333 |
}
|
|
|
1334 |
if (isSetAvailableLimit()) {
|
|
|
1335 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.availableLimit, typedOther.availableLimit);
|
|
|
1336 |
if (lastComparison != 0) {
|
|
|
1337 |
return lastComparison;
|
|
|
1338 |
}
|
|
|
1339 |
}
|
|
|
1340 |
lastComparison = Boolean.valueOf(isSetCreditLimit()).compareTo(typedOther.isSetCreditLimit());
|
|
|
1341 |
if (lastComparison != 0) {
|
|
|
1342 |
return lastComparison;
|
|
|
1343 |
}
|
|
|
1344 |
if (isSetCreditLimit()) {
|
|
|
1345 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creditLimit, typedOther.creditLimit);
|
|
|
1346 |
if (lastComparison != 0) {
|
|
|
1347 |
return lastComparison;
|
|
|
1348 |
}
|
|
|
1349 |
}
|
|
|
1350 |
lastComparison = Boolean.valueOf(isSetSalt()).compareTo(typedOther.isSetSalt());
|
|
|
1351 |
if (lastComparison != 0) {
|
|
|
1352 |
return lastComparison;
|
|
|
1353 |
}
|
|
|
1354 |
if (isSetSalt()) {
|
|
|
1355 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.salt, typedOther.salt);
|
|
|
1356 |
if (lastComparison != 0) {
|
|
|
1357 |
return lastComparison;
|
|
|
1358 |
}
|
|
|
1359 |
}
|
|
|
1360 |
lastComparison = Boolean.valueOf(isSetPassword()).compareTo(typedOther.isSetPassword());
|
|
|
1361 |
if (lastComparison != 0) {
|
|
|
1362 |
return lastComparison;
|
|
|
1363 |
}
|
|
|
1364 |
if (isSetPassword()) {
|
|
|
1365 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.password, typedOther.password);
|
|
|
1366 |
if (lastComparison != 0) {
|
|
|
1367 |
return lastComparison;
|
|
|
1368 |
}
|
|
|
1369 |
}
|
|
|
1370 |
lastComparison = Boolean.valueOf(isSetIsActive()).compareTo(typedOther.isSetIsActive());
|
|
|
1371 |
if (lastComparison != 0) {
|
|
|
1372 |
return lastComparison;
|
|
|
1373 |
}
|
|
|
1374 |
if (isSetIsActive()) {
|
|
|
1375 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isActive, typedOther.isActive);
|
|
|
1376 |
if (lastComparison != 0) {
|
|
|
1377 |
return lastComparison;
|
|
|
1378 |
}
|
|
|
1379 |
}
|
|
|
1380 |
lastComparison = Boolean.valueOf(isSetCircleId()).compareTo(typedOther.isSetCircleId());
|
|
|
1381 |
if (lastComparison != 0) {
|
|
|
1382 |
return lastComparison;
|
|
|
1383 |
}
|
|
|
1384 |
if (isSetCircleId()) {
|
|
|
1385 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.circleId, typedOther.circleId);
|
|
|
1386 |
if (lastComparison != 0) {
|
|
|
1387 |
return lastComparison;
|
|
|
1388 |
}
|
|
|
1389 |
}
|
| 7169 |
anupam.sin |
1390 |
lastComparison = Boolean.valueOf(isSetEmail()).compareTo(typedOther.isSetEmail());
|
|
|
1391 |
if (lastComparison != 0) {
|
|
|
1392 |
return lastComparison;
|
|
|
1393 |
}
|
|
|
1394 |
if (isSetEmail()) {
|
|
|
1395 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.email, typedOther.email);
|
|
|
1396 |
if (lastComparison != 0) {
|
|
|
1397 |
return lastComparison;
|
|
|
1398 |
}
|
|
|
1399 |
}
|
| 7308 |
rajveer |
1400 |
lastComparison = Boolean.valueOf(isSetLine1()).compareTo(typedOther.isSetLine1());
|
|
|
1401 |
if (lastComparison != 0) {
|
|
|
1402 |
return lastComparison;
|
|
|
1403 |
}
|
|
|
1404 |
if (isSetLine1()) {
|
|
|
1405 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.line1, typedOther.line1);
|
|
|
1406 |
if (lastComparison != 0) {
|
|
|
1407 |
return lastComparison;
|
|
|
1408 |
}
|
|
|
1409 |
}
|
|
|
1410 |
lastComparison = Boolean.valueOf(isSetLine2()).compareTo(typedOther.isSetLine2());
|
|
|
1411 |
if (lastComparison != 0) {
|
|
|
1412 |
return lastComparison;
|
|
|
1413 |
}
|
|
|
1414 |
if (isSetLine2()) {
|
|
|
1415 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.line2, typedOther.line2);
|
|
|
1416 |
if (lastComparison != 0) {
|
|
|
1417 |
return lastComparison;
|
|
|
1418 |
}
|
|
|
1419 |
}
|
|
|
1420 |
lastComparison = Boolean.valueOf(isSetState()).compareTo(typedOther.isSetState());
|
|
|
1421 |
if (lastComparison != 0) {
|
|
|
1422 |
return lastComparison;
|
|
|
1423 |
}
|
|
|
1424 |
if (isSetState()) {
|
|
|
1425 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.state, typedOther.state);
|
|
|
1426 |
if (lastComparison != 0) {
|
|
|
1427 |
return lastComparison;
|
|
|
1428 |
}
|
|
|
1429 |
}
|
|
|
1430 |
lastComparison = Boolean.valueOf(isSetPin()).compareTo(typedOther.isSetPin());
|
|
|
1431 |
if (lastComparison != 0) {
|
|
|
1432 |
return lastComparison;
|
|
|
1433 |
}
|
|
|
1434 |
if (isSetPin()) {
|
|
|
1435 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.pin, typedOther.pin);
|
|
|
1436 |
if (lastComparison != 0) {
|
|
|
1437 |
return lastComparison;
|
|
|
1438 |
}
|
|
|
1439 |
}
|
|
|
1440 |
lastComparison = Boolean.valueOf(isSetPhone()).compareTo(typedOther.isSetPhone());
|
|
|
1441 |
if (lastComparison != 0) {
|
|
|
1442 |
return lastComparison;
|
|
|
1443 |
}
|
|
|
1444 |
if (isSetPhone()) {
|
|
|
1445 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.phone, typedOther.phone);
|
|
|
1446 |
if (lastComparison != 0) {
|
|
|
1447 |
return lastComparison;
|
|
|
1448 |
}
|
|
|
1449 |
}
|
|
|
1450 |
lastComparison = Boolean.valueOf(isSetApprovalEmail()).compareTo(typedOther.isSetApprovalEmail());
|
|
|
1451 |
if (lastComparison != 0) {
|
|
|
1452 |
return lastComparison;
|
|
|
1453 |
}
|
|
|
1454 |
if (isSetApprovalEmail()) {
|
|
|
1455 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.approvalEmail, typedOther.approvalEmail);
|
|
|
1456 |
if (lastComparison != 0) {
|
|
|
1457 |
return lastComparison;
|
|
|
1458 |
}
|
|
|
1459 |
}
|
| 7096 |
anupam.sin |
1460 |
return 0;
|
|
|
1461 |
}
|
|
|
1462 |
|
|
|
1463 |
public _Fields fieldForId(int fieldId) {
|
|
|
1464 |
return _Fields.findByThriftId(fieldId);
|
|
|
1465 |
}
|
|
|
1466 |
|
|
|
1467 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
1468 |
org.apache.thrift.protocol.TField field;
|
|
|
1469 |
iprot.readStructBegin();
|
|
|
1470 |
while (true)
|
|
|
1471 |
{
|
|
|
1472 |
field = iprot.readFieldBegin();
|
|
|
1473 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
|
|
1474 |
break;
|
|
|
1475 |
}
|
|
|
1476 |
switch (field.id) {
|
|
|
1477 |
case 1: // ID
|
|
|
1478 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1479 |
this.id = iprot.readI64();
|
|
|
1480 |
setIdIsSet(true);
|
|
|
1481 |
} else {
|
|
|
1482 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1483 |
}
|
|
|
1484 |
break;
|
|
|
1485 |
case 2: // HOTSPOT_ID
|
|
|
1486 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1487 |
this.hotspotId = iprot.readString();
|
|
|
1488 |
} else {
|
|
|
1489 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1490 |
}
|
|
|
1491 |
break;
|
|
|
1492 |
case 3: // COMPANY_ID
|
|
|
1493 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1494 |
this.companyId = iprot.readI64();
|
|
|
1495 |
setCompanyIdIsSet(true);
|
|
|
1496 |
} else {
|
|
|
1497 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1498 |
}
|
|
|
1499 |
break;
|
|
|
1500 |
case 4: // NAME
|
|
|
1501 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1502 |
this.name = iprot.readString();
|
|
|
1503 |
} else {
|
|
|
1504 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1505 |
}
|
|
|
1506 |
break;
|
|
|
1507 |
case 5: // CITY
|
|
|
1508 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1509 |
this.city = iprot.readString();
|
|
|
1510 |
} else {
|
|
|
1511 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1512 |
}
|
|
|
1513 |
break;
|
|
|
1514 |
case 6: // COLLECTED_AMOUNT
|
|
|
1515 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1516 |
this.collectedAmount = iprot.readI64();
|
|
|
1517 |
setCollectedAmountIsSet(true);
|
|
|
1518 |
} else {
|
|
|
1519 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1520 |
}
|
|
|
1521 |
break;
|
|
|
1522 |
case 7: // AVAILABLE_LIMIT
|
|
|
1523 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1524 |
this.availableLimit = iprot.readI64();
|
|
|
1525 |
setAvailableLimitIsSet(true);
|
|
|
1526 |
} else {
|
|
|
1527 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1528 |
}
|
|
|
1529 |
break;
|
|
|
1530 |
case 8: // CREDIT_LIMIT
|
|
|
1531 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1532 |
this.creditLimit = iprot.readI64();
|
|
|
1533 |
setCreditLimitIsSet(true);
|
|
|
1534 |
} else {
|
|
|
1535 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1536 |
}
|
|
|
1537 |
break;
|
|
|
1538 |
case 9: // SALT
|
|
|
1539 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1540 |
this.salt = iprot.readString();
|
|
|
1541 |
} else {
|
|
|
1542 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1543 |
}
|
|
|
1544 |
break;
|
|
|
1545 |
case 10: // PASSWORD
|
|
|
1546 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1547 |
this.password = iprot.readString();
|
|
|
1548 |
} else {
|
|
|
1549 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1550 |
}
|
|
|
1551 |
break;
|
|
|
1552 |
case 11: // IS_ACTIVE
|
|
|
1553 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
|
|
1554 |
this.isActive = iprot.readBool();
|
|
|
1555 |
setIsActiveIsSet(true);
|
|
|
1556 |
} else {
|
|
|
1557 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1558 |
}
|
|
|
1559 |
break;
|
|
|
1560 |
case 12: // CIRCLE_ID
|
|
|
1561 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1562 |
this.circleId = iprot.readI64();
|
|
|
1563 |
setCircleIdIsSet(true);
|
|
|
1564 |
} else {
|
|
|
1565 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1566 |
}
|
|
|
1567 |
break;
|
| 7169 |
anupam.sin |
1568 |
case 13: // EMAIL
|
|
|
1569 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1570 |
this.email = iprot.readString();
|
|
|
1571 |
} else {
|
|
|
1572 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1573 |
}
|
|
|
1574 |
break;
|
| 7308 |
rajveer |
1575 |
case 14: // LINE1
|
|
|
1576 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1577 |
this.line1 = iprot.readString();
|
|
|
1578 |
} else {
|
|
|
1579 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1580 |
}
|
|
|
1581 |
break;
|
|
|
1582 |
case 15: // LINE2
|
|
|
1583 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1584 |
this.line2 = iprot.readString();
|
|
|
1585 |
} else {
|
|
|
1586 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1587 |
}
|
|
|
1588 |
break;
|
|
|
1589 |
case 16: // STATE
|
|
|
1590 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1591 |
this.state = iprot.readString();
|
|
|
1592 |
} else {
|
|
|
1593 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1594 |
}
|
|
|
1595 |
break;
|
|
|
1596 |
case 17: // PIN
|
|
|
1597 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1598 |
this.pin = iprot.readString();
|
|
|
1599 |
} else {
|
|
|
1600 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1601 |
}
|
|
|
1602 |
break;
|
|
|
1603 |
case 18: // PHONE
|
|
|
1604 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1605 |
this.phone = iprot.readString();
|
|
|
1606 |
} else {
|
|
|
1607 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1608 |
}
|
|
|
1609 |
break;
|
|
|
1610 |
case 19: // APPROVAL_EMAIL
|
|
|
1611 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1612 |
this.approvalEmail = iprot.readString();
|
|
|
1613 |
} else {
|
|
|
1614 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1615 |
}
|
|
|
1616 |
break;
|
| 7096 |
anupam.sin |
1617 |
default:
|
|
|
1618 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1619 |
}
|
|
|
1620 |
iprot.readFieldEnd();
|
|
|
1621 |
}
|
|
|
1622 |
iprot.readStructEnd();
|
|
|
1623 |
validate();
|
|
|
1624 |
}
|
|
|
1625 |
|
|
|
1626 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
|
|
1627 |
validate();
|
|
|
1628 |
|
|
|
1629 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
1630 |
oprot.writeFieldBegin(ID_FIELD_DESC);
|
|
|
1631 |
oprot.writeI64(this.id);
|
|
|
1632 |
oprot.writeFieldEnd();
|
|
|
1633 |
if (this.hotspotId != null) {
|
|
|
1634 |
oprot.writeFieldBegin(HOTSPOT_ID_FIELD_DESC);
|
|
|
1635 |
oprot.writeString(this.hotspotId);
|
|
|
1636 |
oprot.writeFieldEnd();
|
|
|
1637 |
}
|
|
|
1638 |
oprot.writeFieldBegin(COMPANY_ID_FIELD_DESC);
|
|
|
1639 |
oprot.writeI64(this.companyId);
|
|
|
1640 |
oprot.writeFieldEnd();
|
|
|
1641 |
if (this.name != null) {
|
|
|
1642 |
oprot.writeFieldBegin(NAME_FIELD_DESC);
|
|
|
1643 |
oprot.writeString(this.name);
|
|
|
1644 |
oprot.writeFieldEnd();
|
|
|
1645 |
}
|
|
|
1646 |
if (this.city != null) {
|
|
|
1647 |
oprot.writeFieldBegin(CITY_FIELD_DESC);
|
|
|
1648 |
oprot.writeString(this.city);
|
|
|
1649 |
oprot.writeFieldEnd();
|
|
|
1650 |
}
|
|
|
1651 |
oprot.writeFieldBegin(COLLECTED_AMOUNT_FIELD_DESC);
|
|
|
1652 |
oprot.writeI64(this.collectedAmount);
|
|
|
1653 |
oprot.writeFieldEnd();
|
|
|
1654 |
oprot.writeFieldBegin(AVAILABLE_LIMIT_FIELD_DESC);
|
|
|
1655 |
oprot.writeI64(this.availableLimit);
|
|
|
1656 |
oprot.writeFieldEnd();
|
|
|
1657 |
oprot.writeFieldBegin(CREDIT_LIMIT_FIELD_DESC);
|
|
|
1658 |
oprot.writeI64(this.creditLimit);
|
|
|
1659 |
oprot.writeFieldEnd();
|
|
|
1660 |
if (this.salt != null) {
|
|
|
1661 |
oprot.writeFieldBegin(SALT_FIELD_DESC);
|
|
|
1662 |
oprot.writeString(this.salt);
|
|
|
1663 |
oprot.writeFieldEnd();
|
|
|
1664 |
}
|
|
|
1665 |
if (this.password != null) {
|
|
|
1666 |
oprot.writeFieldBegin(PASSWORD_FIELD_DESC);
|
|
|
1667 |
oprot.writeString(this.password);
|
|
|
1668 |
oprot.writeFieldEnd();
|
|
|
1669 |
}
|
|
|
1670 |
oprot.writeFieldBegin(IS_ACTIVE_FIELD_DESC);
|
|
|
1671 |
oprot.writeBool(this.isActive);
|
|
|
1672 |
oprot.writeFieldEnd();
|
|
|
1673 |
oprot.writeFieldBegin(CIRCLE_ID_FIELD_DESC);
|
|
|
1674 |
oprot.writeI64(this.circleId);
|
|
|
1675 |
oprot.writeFieldEnd();
|
| 7169 |
anupam.sin |
1676 |
if (this.email != null) {
|
|
|
1677 |
oprot.writeFieldBegin(EMAIL_FIELD_DESC);
|
|
|
1678 |
oprot.writeString(this.email);
|
|
|
1679 |
oprot.writeFieldEnd();
|
|
|
1680 |
}
|
| 7308 |
rajveer |
1681 |
if (this.line1 != null) {
|
|
|
1682 |
oprot.writeFieldBegin(LINE1_FIELD_DESC);
|
|
|
1683 |
oprot.writeString(this.line1);
|
|
|
1684 |
oprot.writeFieldEnd();
|
|
|
1685 |
}
|
|
|
1686 |
if (this.line2 != null) {
|
|
|
1687 |
oprot.writeFieldBegin(LINE2_FIELD_DESC);
|
|
|
1688 |
oprot.writeString(this.line2);
|
|
|
1689 |
oprot.writeFieldEnd();
|
|
|
1690 |
}
|
|
|
1691 |
if (this.state != null) {
|
|
|
1692 |
oprot.writeFieldBegin(STATE_FIELD_DESC);
|
|
|
1693 |
oprot.writeString(this.state);
|
|
|
1694 |
oprot.writeFieldEnd();
|
|
|
1695 |
}
|
|
|
1696 |
if (this.pin != null) {
|
|
|
1697 |
oprot.writeFieldBegin(PIN_FIELD_DESC);
|
|
|
1698 |
oprot.writeString(this.pin);
|
|
|
1699 |
oprot.writeFieldEnd();
|
|
|
1700 |
}
|
|
|
1701 |
if (this.phone != null) {
|
|
|
1702 |
oprot.writeFieldBegin(PHONE_FIELD_DESC);
|
|
|
1703 |
oprot.writeString(this.phone);
|
|
|
1704 |
oprot.writeFieldEnd();
|
|
|
1705 |
}
|
|
|
1706 |
if (this.approvalEmail != null) {
|
|
|
1707 |
oprot.writeFieldBegin(APPROVAL_EMAIL_FIELD_DESC);
|
|
|
1708 |
oprot.writeString(this.approvalEmail);
|
|
|
1709 |
oprot.writeFieldEnd();
|
|
|
1710 |
}
|
| 7096 |
anupam.sin |
1711 |
oprot.writeFieldStop();
|
|
|
1712 |
oprot.writeStructEnd();
|
|
|
1713 |
}
|
|
|
1714 |
|
|
|
1715 |
@Override
|
|
|
1716 |
public String toString() {
|
|
|
1717 |
StringBuilder sb = new StringBuilder("HotspotStore(");
|
|
|
1718 |
boolean first = true;
|
|
|
1719 |
|
|
|
1720 |
sb.append("id:");
|
|
|
1721 |
sb.append(this.id);
|
|
|
1722 |
first = false;
|
|
|
1723 |
if (!first) sb.append(", ");
|
|
|
1724 |
sb.append("hotspotId:");
|
|
|
1725 |
if (this.hotspotId == null) {
|
|
|
1726 |
sb.append("null");
|
|
|
1727 |
} else {
|
|
|
1728 |
sb.append(this.hotspotId);
|
|
|
1729 |
}
|
|
|
1730 |
first = false;
|
|
|
1731 |
if (!first) sb.append(", ");
|
|
|
1732 |
sb.append("companyId:");
|
|
|
1733 |
sb.append(this.companyId);
|
|
|
1734 |
first = false;
|
|
|
1735 |
if (!first) sb.append(", ");
|
|
|
1736 |
sb.append("name:");
|
|
|
1737 |
if (this.name == null) {
|
|
|
1738 |
sb.append("null");
|
|
|
1739 |
} else {
|
|
|
1740 |
sb.append(this.name);
|
|
|
1741 |
}
|
|
|
1742 |
first = false;
|
|
|
1743 |
if (!first) sb.append(", ");
|
|
|
1744 |
sb.append("city:");
|
|
|
1745 |
if (this.city == null) {
|
|
|
1746 |
sb.append("null");
|
|
|
1747 |
} else {
|
|
|
1748 |
sb.append(this.city);
|
|
|
1749 |
}
|
|
|
1750 |
first = false;
|
|
|
1751 |
if (!first) sb.append(", ");
|
|
|
1752 |
sb.append("collectedAmount:");
|
|
|
1753 |
sb.append(this.collectedAmount);
|
|
|
1754 |
first = false;
|
|
|
1755 |
if (!first) sb.append(", ");
|
|
|
1756 |
sb.append("availableLimit:");
|
|
|
1757 |
sb.append(this.availableLimit);
|
|
|
1758 |
first = false;
|
|
|
1759 |
if (!first) sb.append(", ");
|
|
|
1760 |
sb.append("creditLimit:");
|
|
|
1761 |
sb.append(this.creditLimit);
|
|
|
1762 |
first = false;
|
|
|
1763 |
if (!first) sb.append(", ");
|
|
|
1764 |
sb.append("salt:");
|
|
|
1765 |
if (this.salt == null) {
|
|
|
1766 |
sb.append("null");
|
|
|
1767 |
} else {
|
|
|
1768 |
sb.append(this.salt);
|
|
|
1769 |
}
|
|
|
1770 |
first = false;
|
|
|
1771 |
if (!first) sb.append(", ");
|
|
|
1772 |
sb.append("password:");
|
|
|
1773 |
if (this.password == null) {
|
|
|
1774 |
sb.append("null");
|
|
|
1775 |
} else {
|
|
|
1776 |
sb.append(this.password);
|
|
|
1777 |
}
|
|
|
1778 |
first = false;
|
|
|
1779 |
if (!first) sb.append(", ");
|
|
|
1780 |
sb.append("isActive:");
|
|
|
1781 |
sb.append(this.isActive);
|
|
|
1782 |
first = false;
|
|
|
1783 |
if (!first) sb.append(", ");
|
|
|
1784 |
sb.append("circleId:");
|
|
|
1785 |
sb.append(this.circleId);
|
|
|
1786 |
first = false;
|
| 7169 |
anupam.sin |
1787 |
if (!first) sb.append(", ");
|
|
|
1788 |
sb.append("email:");
|
|
|
1789 |
if (this.email == null) {
|
|
|
1790 |
sb.append("null");
|
|
|
1791 |
} else {
|
|
|
1792 |
sb.append(this.email);
|
|
|
1793 |
}
|
|
|
1794 |
first = false;
|
| 7308 |
rajveer |
1795 |
if (!first) sb.append(", ");
|
|
|
1796 |
sb.append("line1:");
|
|
|
1797 |
if (this.line1 == null) {
|
|
|
1798 |
sb.append("null");
|
|
|
1799 |
} else {
|
|
|
1800 |
sb.append(this.line1);
|
|
|
1801 |
}
|
|
|
1802 |
first = false;
|
|
|
1803 |
if (!first) sb.append(", ");
|
|
|
1804 |
sb.append("line2:");
|
|
|
1805 |
if (this.line2 == null) {
|
|
|
1806 |
sb.append("null");
|
|
|
1807 |
} else {
|
|
|
1808 |
sb.append(this.line2);
|
|
|
1809 |
}
|
|
|
1810 |
first = false;
|
|
|
1811 |
if (!first) sb.append(", ");
|
|
|
1812 |
sb.append("state:");
|
|
|
1813 |
if (this.state == null) {
|
|
|
1814 |
sb.append("null");
|
|
|
1815 |
} else {
|
|
|
1816 |
sb.append(this.state);
|
|
|
1817 |
}
|
|
|
1818 |
first = false;
|
|
|
1819 |
if (!first) sb.append(", ");
|
|
|
1820 |
sb.append("pin:");
|
|
|
1821 |
if (this.pin == null) {
|
|
|
1822 |
sb.append("null");
|
|
|
1823 |
} else {
|
|
|
1824 |
sb.append(this.pin);
|
|
|
1825 |
}
|
|
|
1826 |
first = false;
|
|
|
1827 |
if (!first) sb.append(", ");
|
|
|
1828 |
sb.append("phone:");
|
|
|
1829 |
if (this.phone == null) {
|
|
|
1830 |
sb.append("null");
|
|
|
1831 |
} else {
|
|
|
1832 |
sb.append(this.phone);
|
|
|
1833 |
}
|
|
|
1834 |
first = false;
|
|
|
1835 |
if (!first) sb.append(", ");
|
|
|
1836 |
sb.append("approvalEmail:");
|
|
|
1837 |
if (this.approvalEmail == null) {
|
|
|
1838 |
sb.append("null");
|
|
|
1839 |
} else {
|
|
|
1840 |
sb.append(this.approvalEmail);
|
|
|
1841 |
}
|
|
|
1842 |
first = false;
|
| 7096 |
anupam.sin |
1843 |
sb.append(")");
|
|
|
1844 |
return sb.toString();
|
|
|
1845 |
}
|
|
|
1846 |
|
|
|
1847 |
public void validate() throws org.apache.thrift.TException {
|
|
|
1848 |
// check for required fields
|
|
|
1849 |
}
|
|
|
1850 |
|
|
|
1851 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
1852 |
try {
|
|
|
1853 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
1854 |
} catch (org.apache.thrift.TException te) {
|
|
|
1855 |
throw new java.io.IOException(te);
|
|
|
1856 |
}
|
|
|
1857 |
}
|
|
|
1858 |
|
|
|
1859 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
1860 |
try {
|
|
|
1861 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
|
|
1862 |
__isset_bit_vector = new BitSet(1);
|
|
|
1863 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
1864 |
} catch (org.apache.thrift.TException te) {
|
|
|
1865 |
throw new java.io.IOException(te);
|
|
|
1866 |
}
|
|
|
1867 |
}
|
|
|
1868 |
|
|
|
1869 |
}
|
|
|
1870 |
|