| Line 24... |
Line 24... |
| 24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Creditor");
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Creditor");
|
| 25 |
|
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);
|
26 |
private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 27 |
private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)2);
|
27 |
private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)2);
|
| 28 |
private static final org.apache.thrift.protocol.TField ACTIVE_FIELD_DESC = new org.apache.thrift.protocol.TField("active", org.apache.thrift.protocol.TType.BOOL, (short)3);
|
28 |
private static final org.apache.thrift.protocol.TField ACTIVE_FIELD_DESC = new org.apache.thrift.protocol.TField("active", org.apache.thrift.protocol.TType.BOOL, (short)3);
|
| - |
|
29 |
private static final org.apache.thrift.protocol.TField TICKET_SIZE_FIELD_DESC = new org.apache.thrift.protocol.TField("ticket_size", org.apache.thrift.protocol.TType.DOUBLE, (short)4);
|
| - |
|
30 |
private static final org.apache.thrift.protocol.TField CREDIT_DUE_DAYS_FIELD_DESC = new org.apache.thrift.protocol.TField("credit_due_days", org.apache.thrift.protocol.TType.I64, (short)5);
|
| 29 |
private static final org.apache.thrift.protocol.TField CREATED_FIELD_DESC = new org.apache.thrift.protocol.TField("created", org.apache.thrift.protocol.TType.I64, (short)4);
|
31 |
private static final org.apache.thrift.protocol.TField CREATED_FIELD_DESC = new org.apache.thrift.protocol.TField("created", org.apache.thrift.protocol.TType.I64, (short)6);
|
| 30 |
private static final org.apache.thrift.protocol.TField UPDATED_FIELD_DESC = new org.apache.thrift.protocol.TField("updated", org.apache.thrift.protocol.TType.I64, (short)5);
|
32 |
private static final org.apache.thrift.protocol.TField UPDATED_FIELD_DESC = new org.apache.thrift.protocol.TField("updated", org.apache.thrift.protocol.TType.I64, (short)7);
|
| 31 |
|
33 |
|
| 32 |
private long id; // required
|
34 |
private long id; // required
|
| 33 |
private String name; // required
|
35 |
private String name; // required
|
| 34 |
private boolean active; // required
|
36 |
private boolean active; // required
|
| - |
|
37 |
private double ticket_size; // required
|
| - |
|
38 |
private long credit_due_days; // required
|
| 35 |
private long created; // required
|
39 |
private long created; // required
|
| 36 |
private long updated; // required
|
40 |
private long updated; // required
|
| 37 |
|
41 |
|
| 38 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
42 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 39 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
43 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 40 |
ID((short)1, "id"),
|
44 |
ID((short)1, "id"),
|
| 41 |
NAME((short)2, "name"),
|
45 |
NAME((short)2, "name"),
|
| 42 |
ACTIVE((short)3, "active"),
|
46 |
ACTIVE((short)3, "active"),
|
| - |
|
47 |
TICKET_SIZE((short)4, "ticket_size"),
|
| - |
|
48 |
CREDIT_DUE_DAYS((short)5, "credit_due_days"),
|
| 43 |
CREATED((short)4, "created"),
|
49 |
CREATED((short)6, "created"),
|
| 44 |
UPDATED((short)5, "updated");
|
50 |
UPDATED((short)7, "updated");
|
| 45 |
|
51 |
|
| 46 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
52 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 47 |
|
53 |
|
| 48 |
static {
|
54 |
static {
|
| 49 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
55 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 60... |
Line 66... |
| 60 |
return ID;
|
66 |
return ID;
|
| 61 |
case 2: // NAME
|
67 |
case 2: // NAME
|
| 62 |
return NAME;
|
68 |
return NAME;
|
| 63 |
case 3: // ACTIVE
|
69 |
case 3: // ACTIVE
|
| 64 |
return ACTIVE;
|
70 |
return ACTIVE;
|
| - |
|
71 |
case 4: // TICKET_SIZE
|
| - |
|
72 |
return TICKET_SIZE;
|
| - |
|
73 |
case 5: // CREDIT_DUE_DAYS
|
| - |
|
74 |
return CREDIT_DUE_DAYS;
|
| 65 |
case 4: // CREATED
|
75 |
case 6: // CREATED
|
| 66 |
return CREATED;
|
76 |
return CREATED;
|
| 67 |
case 5: // UPDATED
|
77 |
case 7: // UPDATED
|
| 68 |
return UPDATED;
|
78 |
return UPDATED;
|
| 69 |
default:
|
79 |
default:
|
| 70 |
return null;
|
80 |
return null;
|
| 71 |
}
|
81 |
}
|
| 72 |
}
|
82 |
}
|
| Line 106... |
Line 116... |
| 106 |
}
|
116 |
}
|
| 107 |
|
117 |
|
| 108 |
// isset id assignments
|
118 |
// isset id assignments
|
| 109 |
private static final int __ID_ISSET_ID = 0;
|
119 |
private static final int __ID_ISSET_ID = 0;
|
| 110 |
private static final int __ACTIVE_ISSET_ID = 1;
|
120 |
private static final int __ACTIVE_ISSET_ID = 1;
|
| - |
|
121 |
private static final int __TICKET_SIZE_ISSET_ID = 2;
|
| - |
|
122 |
private static final int __CREDIT_DUE_DAYS_ISSET_ID = 3;
|
| 111 |
private static final int __CREATED_ISSET_ID = 2;
|
123 |
private static final int __CREATED_ISSET_ID = 4;
|
| 112 |
private static final int __UPDATED_ISSET_ID = 3;
|
124 |
private static final int __UPDATED_ISSET_ID = 5;
|
| 113 |
private BitSet __isset_bit_vector = new BitSet(4);
|
125 |
private BitSet __isset_bit_vector = new BitSet(6);
|
| 114 |
|
126 |
|
| 115 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
127 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 116 |
static {
|
128 |
static {
|
| 117 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
129 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 118 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
130 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 119 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
131 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 120 |
tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
132 |
tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 121 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
133 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 122 |
tmpMap.put(_Fields.ACTIVE, new org.apache.thrift.meta_data.FieldMetaData("active", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
134 |
tmpMap.put(_Fields.ACTIVE, new org.apache.thrift.meta_data.FieldMetaData("active", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 123 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
135 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| - |
|
136 |
tmpMap.put(_Fields.TICKET_SIZE, new org.apache.thrift.meta_data.FieldMetaData("ticket_size", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
137 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
|
| - |
|
138 |
tmpMap.put(_Fields.CREDIT_DUE_DAYS, new org.apache.thrift.meta_data.FieldMetaData("credit_due_days", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
139 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 124 |
tmpMap.put(_Fields.CREATED, new org.apache.thrift.meta_data.FieldMetaData("created", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
140 |
tmpMap.put(_Fields.CREATED, new org.apache.thrift.meta_data.FieldMetaData("created", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 125 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
141 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 126 |
tmpMap.put(_Fields.UPDATED, new org.apache.thrift.meta_data.FieldMetaData("updated", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
142 |
tmpMap.put(_Fields.UPDATED, new org.apache.thrift.meta_data.FieldMetaData("updated", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 127 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
143 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 128 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
144 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| Line 134... |
Line 150... |
| 134 |
|
150 |
|
| 135 |
public Creditor(
|
151 |
public Creditor(
|
| 136 |
long id,
|
152 |
long id,
|
| 137 |
String name,
|
153 |
String name,
|
| 138 |
boolean active,
|
154 |
boolean active,
|
| - |
|
155 |
double ticket_size,
|
| - |
|
156 |
long credit_due_days,
|
| 139 |
long created,
|
157 |
long created,
|
| 140 |
long updated)
|
158 |
long updated)
|
| 141 |
{
|
159 |
{
|
| 142 |
this();
|
160 |
this();
|
| 143 |
this.id = id;
|
161 |
this.id = id;
|
| 144 |
setIdIsSet(true);
|
162 |
setIdIsSet(true);
|
| 145 |
this.name = name;
|
163 |
this.name = name;
|
| 146 |
this.active = active;
|
164 |
this.active = active;
|
| 147 |
setActiveIsSet(true);
|
165 |
setActiveIsSet(true);
|
| - |
|
166 |
this.ticket_size = ticket_size;
|
| - |
|
167 |
setTicket_sizeIsSet(true);
|
| - |
|
168 |
this.credit_due_days = credit_due_days;
|
| - |
|
169 |
setCredit_due_daysIsSet(true);
|
| 148 |
this.created = created;
|
170 |
this.created = created;
|
| 149 |
setCreatedIsSet(true);
|
171 |
setCreatedIsSet(true);
|
| 150 |
this.updated = updated;
|
172 |
this.updated = updated;
|
| 151 |
setUpdatedIsSet(true);
|
173 |
setUpdatedIsSet(true);
|
| 152 |
}
|
174 |
}
|
| Line 160... |
Line 182... |
| 160 |
this.id = other.id;
|
182 |
this.id = other.id;
|
| 161 |
if (other.isSetName()) {
|
183 |
if (other.isSetName()) {
|
| 162 |
this.name = other.name;
|
184 |
this.name = other.name;
|
| 163 |
}
|
185 |
}
|
| 164 |
this.active = other.active;
|
186 |
this.active = other.active;
|
| - |
|
187 |
this.ticket_size = other.ticket_size;
|
| - |
|
188 |
this.credit_due_days = other.credit_due_days;
|
| 165 |
this.created = other.created;
|
189 |
this.created = other.created;
|
| 166 |
this.updated = other.updated;
|
190 |
this.updated = other.updated;
|
| 167 |
}
|
191 |
}
|
| 168 |
|
192 |
|
| 169 |
public Creditor deepCopy() {
|
193 |
public Creditor deepCopy() {
|
| Line 175... |
Line 199... |
| 175 |
setIdIsSet(false);
|
199 |
setIdIsSet(false);
|
| 176 |
this.id = 0;
|
200 |
this.id = 0;
|
| 177 |
this.name = null;
|
201 |
this.name = null;
|
| 178 |
setActiveIsSet(false);
|
202 |
setActiveIsSet(false);
|
| 179 |
this.active = false;
|
203 |
this.active = false;
|
| - |
|
204 |
setTicket_sizeIsSet(false);
|
| - |
|
205 |
this.ticket_size = 0.0;
|
| - |
|
206 |
setCredit_due_daysIsSet(false);
|
| - |
|
207 |
this.credit_due_days = 0;
|
| 180 |
setCreatedIsSet(false);
|
208 |
setCreatedIsSet(false);
|
| 181 |
this.created = 0;
|
209 |
this.created = 0;
|
| 182 |
setUpdatedIsSet(false);
|
210 |
setUpdatedIsSet(false);
|
| 183 |
this.updated = 0;
|
211 |
this.updated = 0;
|
| 184 |
}
|
212 |
}
|
| Line 248... |
Line 276... |
| 248 |
|
276 |
|
| 249 |
public void setActiveIsSet(boolean value) {
|
277 |
public void setActiveIsSet(boolean value) {
|
| 250 |
__isset_bit_vector.set(__ACTIVE_ISSET_ID, value);
|
278 |
__isset_bit_vector.set(__ACTIVE_ISSET_ID, value);
|
| 251 |
}
|
279 |
}
|
| 252 |
|
280 |
|
| - |
|
281 |
public double getTicket_size() {
|
| - |
|
282 |
return this.ticket_size;
|
| - |
|
283 |
}
|
| - |
|
284 |
|
| - |
|
285 |
public void setTicket_size(double ticket_size) {
|
| - |
|
286 |
this.ticket_size = ticket_size;
|
| - |
|
287 |
setTicket_sizeIsSet(true);
|
| - |
|
288 |
}
|
| - |
|
289 |
|
| - |
|
290 |
public void unsetTicket_size() {
|
| - |
|
291 |
__isset_bit_vector.clear(__TICKET_SIZE_ISSET_ID);
|
| - |
|
292 |
}
|
| - |
|
293 |
|
| - |
|
294 |
/** Returns true if field ticket_size is set (has been assigned a value) and false otherwise */
|
| - |
|
295 |
public boolean isSetTicket_size() {
|
| - |
|
296 |
return __isset_bit_vector.get(__TICKET_SIZE_ISSET_ID);
|
| - |
|
297 |
}
|
| - |
|
298 |
|
| - |
|
299 |
public void setTicket_sizeIsSet(boolean value) {
|
| - |
|
300 |
__isset_bit_vector.set(__TICKET_SIZE_ISSET_ID, value);
|
| - |
|
301 |
}
|
| - |
|
302 |
|
| - |
|
303 |
public long getCredit_due_days() {
|
| - |
|
304 |
return this.credit_due_days;
|
| - |
|
305 |
}
|
| - |
|
306 |
|
| - |
|
307 |
public void setCredit_due_days(long credit_due_days) {
|
| - |
|
308 |
this.credit_due_days = credit_due_days;
|
| - |
|
309 |
setCredit_due_daysIsSet(true);
|
| - |
|
310 |
}
|
| - |
|
311 |
|
| - |
|
312 |
public void unsetCredit_due_days() {
|
| - |
|
313 |
__isset_bit_vector.clear(__CREDIT_DUE_DAYS_ISSET_ID);
|
| - |
|
314 |
}
|
| - |
|
315 |
|
| - |
|
316 |
/** Returns true if field credit_due_days is set (has been assigned a value) and false otherwise */
|
| - |
|
317 |
public boolean isSetCredit_due_days() {
|
| - |
|
318 |
return __isset_bit_vector.get(__CREDIT_DUE_DAYS_ISSET_ID);
|
| - |
|
319 |
}
|
| - |
|
320 |
|
| - |
|
321 |
public void setCredit_due_daysIsSet(boolean value) {
|
| - |
|
322 |
__isset_bit_vector.set(__CREDIT_DUE_DAYS_ISSET_ID, value);
|
| - |
|
323 |
}
|
| - |
|
324 |
|
| 253 |
public long getCreated() {
|
325 |
public long getCreated() {
|
| 254 |
return this.created;
|
326 |
return this.created;
|
| 255 |
}
|
327 |
}
|
| 256 |
|
328 |
|
| 257 |
public void setCreated(long created) {
|
329 |
public void setCreated(long created) {
|
| Line 318... |
Line 390... |
| 318 |
} else {
|
390 |
} else {
|
| 319 |
setActive((Boolean)value);
|
391 |
setActive((Boolean)value);
|
| 320 |
}
|
392 |
}
|
| 321 |
break;
|
393 |
break;
|
| 322 |
|
394 |
|
| - |
|
395 |
case TICKET_SIZE:
|
| - |
|
396 |
if (value == null) {
|
| - |
|
397 |
unsetTicket_size();
|
| - |
|
398 |
} else {
|
| - |
|
399 |
setTicket_size((Double)value);
|
| - |
|
400 |
}
|
| - |
|
401 |
break;
|
| - |
|
402 |
|
| - |
|
403 |
case CREDIT_DUE_DAYS:
|
| - |
|
404 |
if (value == null) {
|
| - |
|
405 |
unsetCredit_due_days();
|
| - |
|
406 |
} else {
|
| - |
|
407 |
setCredit_due_days((Long)value);
|
| - |
|
408 |
}
|
| - |
|
409 |
break;
|
| - |
|
410 |
|
| 323 |
case CREATED:
|
411 |
case CREATED:
|
| 324 |
if (value == null) {
|
412 |
if (value == null) {
|
| 325 |
unsetCreated();
|
413 |
unsetCreated();
|
| 326 |
} else {
|
414 |
} else {
|
| 327 |
setCreated((Long)value);
|
415 |
setCreated((Long)value);
|
| Line 348... |
Line 436... |
| 348 |
return getName();
|
436 |
return getName();
|
| 349 |
|
437 |
|
| 350 |
case ACTIVE:
|
438 |
case ACTIVE:
|
| 351 |
return Boolean.valueOf(isActive());
|
439 |
return Boolean.valueOf(isActive());
|
| 352 |
|
440 |
|
| - |
|
441 |
case TICKET_SIZE:
|
| - |
|
442 |
return Double.valueOf(getTicket_size());
|
| - |
|
443 |
|
| - |
|
444 |
case CREDIT_DUE_DAYS:
|
| - |
|
445 |
return Long.valueOf(getCredit_due_days());
|
| - |
|
446 |
|
| 353 |
case CREATED:
|
447 |
case CREATED:
|
| 354 |
return Long.valueOf(getCreated());
|
448 |
return Long.valueOf(getCreated());
|
| 355 |
|
449 |
|
| 356 |
case UPDATED:
|
450 |
case UPDATED:
|
| 357 |
return Long.valueOf(getUpdated());
|
451 |
return Long.valueOf(getUpdated());
|
| Line 371... |
Line 465... |
| 371 |
return isSetId();
|
465 |
return isSetId();
|
| 372 |
case NAME:
|
466 |
case NAME:
|
| 373 |
return isSetName();
|
467 |
return isSetName();
|
| 374 |
case ACTIVE:
|
468 |
case ACTIVE:
|
| 375 |
return isSetActive();
|
469 |
return isSetActive();
|
| - |
|
470 |
case TICKET_SIZE:
|
| - |
|
471 |
return isSetTicket_size();
|
| - |
|
472 |
case CREDIT_DUE_DAYS:
|
| - |
|
473 |
return isSetCredit_due_days();
|
| 376 |
case CREATED:
|
474 |
case CREATED:
|
| 377 |
return isSetCreated();
|
475 |
return isSetCreated();
|
| 378 |
case UPDATED:
|
476 |
case UPDATED:
|
| 379 |
return isSetUpdated();
|
477 |
return isSetUpdated();
|
| 380 |
}
|
478 |
}
|
| Line 419... |
Line 517... |
| 419 |
return false;
|
517 |
return false;
|
| 420 |
if (this.active != that.active)
|
518 |
if (this.active != that.active)
|
| 421 |
return false;
|
519 |
return false;
|
| 422 |
}
|
520 |
}
|
| 423 |
|
521 |
|
| - |
|
522 |
boolean this_present_ticket_size = true;
|
| - |
|
523 |
boolean that_present_ticket_size = true;
|
| - |
|
524 |
if (this_present_ticket_size || that_present_ticket_size) {
|
| - |
|
525 |
if (!(this_present_ticket_size && that_present_ticket_size))
|
| - |
|
526 |
return false;
|
| - |
|
527 |
if (this.ticket_size != that.ticket_size)
|
| - |
|
528 |
return false;
|
| - |
|
529 |
}
|
| - |
|
530 |
|
| - |
|
531 |
boolean this_present_credit_due_days = true;
|
| - |
|
532 |
boolean that_present_credit_due_days = true;
|
| - |
|
533 |
if (this_present_credit_due_days || that_present_credit_due_days) {
|
| - |
|
534 |
if (!(this_present_credit_due_days && that_present_credit_due_days))
|
| - |
|
535 |
return false;
|
| - |
|
536 |
if (this.credit_due_days != that.credit_due_days)
|
| - |
|
537 |
return false;
|
| - |
|
538 |
}
|
| - |
|
539 |
|
| 424 |
boolean this_present_created = true;
|
540 |
boolean this_present_created = true;
|
| 425 |
boolean that_present_created = true;
|
541 |
boolean that_present_created = true;
|
| 426 |
if (this_present_created || that_present_created) {
|
542 |
if (this_present_created || that_present_created) {
|
| 427 |
if (!(this_present_created && that_present_created))
|
543 |
if (!(this_present_created && that_present_created))
|
| 428 |
return false;
|
544 |
return false;
|
| Line 483... |
Line 599... |
| 483 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.active, typedOther.active);
|
599 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.active, typedOther.active);
|
| 484 |
if (lastComparison != 0) {
|
600 |
if (lastComparison != 0) {
|
| 485 |
return lastComparison;
|
601 |
return lastComparison;
|
| 486 |
}
|
602 |
}
|
| 487 |
}
|
603 |
}
|
| - |
|
604 |
lastComparison = Boolean.valueOf(isSetTicket_size()).compareTo(typedOther.isSetTicket_size());
|
| - |
|
605 |
if (lastComparison != 0) {
|
| - |
|
606 |
return lastComparison;
|
| - |
|
607 |
}
|
| - |
|
608 |
if (isSetTicket_size()) {
|
| - |
|
609 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ticket_size, typedOther.ticket_size);
|
| - |
|
610 |
if (lastComparison != 0) {
|
| - |
|
611 |
return lastComparison;
|
| - |
|
612 |
}
|
| - |
|
613 |
}
|
| - |
|
614 |
lastComparison = Boolean.valueOf(isSetCredit_due_days()).compareTo(typedOther.isSetCredit_due_days());
|
| - |
|
615 |
if (lastComparison != 0) {
|
| - |
|
616 |
return lastComparison;
|
| - |
|
617 |
}
|
| - |
|
618 |
if (isSetCredit_due_days()) {
|
| - |
|
619 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credit_due_days, typedOther.credit_due_days);
|
| - |
|
620 |
if (lastComparison != 0) {
|
| - |
|
621 |
return lastComparison;
|
| - |
|
622 |
}
|
| - |
|
623 |
}
|
| 488 |
lastComparison = Boolean.valueOf(isSetCreated()).compareTo(typedOther.isSetCreated());
|
624 |
lastComparison = Boolean.valueOf(isSetCreated()).compareTo(typedOther.isSetCreated());
|
| 489 |
if (lastComparison != 0) {
|
625 |
if (lastComparison != 0) {
|
| 490 |
return lastComparison;
|
626 |
return lastComparison;
|
| 491 |
}
|
627 |
}
|
| 492 |
if (isSetCreated()) {
|
628 |
if (isSetCreated()) {
|
| Line 543... |
Line 679... |
| 543 |
setActiveIsSet(true);
|
679 |
setActiveIsSet(true);
|
| 544 |
} else {
|
680 |
} else {
|
| 545 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
681 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 546 |
}
|
682 |
}
|
| 547 |
break;
|
683 |
break;
|
| - |
|
684 |
case 4: // TICKET_SIZE
|
| - |
|
685 |
if (field.type == org.apache.thrift.protocol.TType.DOUBLE) {
|
| - |
|
686 |
this.ticket_size = iprot.readDouble();
|
| - |
|
687 |
setTicket_sizeIsSet(true);
|
| - |
|
688 |
} else {
|
| - |
|
689 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
690 |
}
|
| - |
|
691 |
break;
|
| - |
|
692 |
case 5: // CREDIT_DUE_DAYS
|
| - |
|
693 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
694 |
this.credit_due_days = iprot.readI64();
|
| - |
|
695 |
setCredit_due_daysIsSet(true);
|
| - |
|
696 |
} else {
|
| - |
|
697 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
698 |
}
|
| - |
|
699 |
break;
|
| 548 |
case 4: // CREATED
|
700 |
case 6: // CREATED
|
| 549 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
701 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 550 |
this.created = iprot.readI64();
|
702 |
this.created = iprot.readI64();
|
| 551 |
setCreatedIsSet(true);
|
703 |
setCreatedIsSet(true);
|
| 552 |
} else {
|
704 |
} else {
|
| 553 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
705 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 554 |
}
|
706 |
}
|
| 555 |
break;
|
707 |
break;
|
| 556 |
case 5: // UPDATED
|
708 |
case 7: // UPDATED
|
| 557 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
709 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| 558 |
this.updated = iprot.readI64();
|
710 |
this.updated = iprot.readI64();
|
| 559 |
setUpdatedIsSet(true);
|
711 |
setUpdatedIsSet(true);
|
| 560 |
} else {
|
712 |
} else {
|
| 561 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
713 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| Line 583... |
Line 735... |
| 583 |
oprot.writeFieldEnd();
|
735 |
oprot.writeFieldEnd();
|
| 584 |
}
|
736 |
}
|
| 585 |
oprot.writeFieldBegin(ACTIVE_FIELD_DESC);
|
737 |
oprot.writeFieldBegin(ACTIVE_FIELD_DESC);
|
| 586 |
oprot.writeBool(this.active);
|
738 |
oprot.writeBool(this.active);
|
| 587 |
oprot.writeFieldEnd();
|
739 |
oprot.writeFieldEnd();
|
| - |
|
740 |
oprot.writeFieldBegin(TICKET_SIZE_FIELD_DESC);
|
| - |
|
741 |
oprot.writeDouble(this.ticket_size);
|
| - |
|
742 |
oprot.writeFieldEnd();
|
| - |
|
743 |
oprot.writeFieldBegin(CREDIT_DUE_DAYS_FIELD_DESC);
|
| - |
|
744 |
oprot.writeI64(this.credit_due_days);
|
| - |
|
745 |
oprot.writeFieldEnd();
|
| 588 |
oprot.writeFieldBegin(CREATED_FIELD_DESC);
|
746 |
oprot.writeFieldBegin(CREATED_FIELD_DESC);
|
| 589 |
oprot.writeI64(this.created);
|
747 |
oprot.writeI64(this.created);
|
| 590 |
oprot.writeFieldEnd();
|
748 |
oprot.writeFieldEnd();
|
| 591 |
oprot.writeFieldBegin(UPDATED_FIELD_DESC);
|
749 |
oprot.writeFieldBegin(UPDATED_FIELD_DESC);
|
| 592 |
oprot.writeI64(this.updated);
|
750 |
oprot.writeI64(this.updated);
|
| Line 614... |
Line 772... |
| 614 |
if (!first) sb.append(", ");
|
772 |
if (!first) sb.append(", ");
|
| 615 |
sb.append("active:");
|
773 |
sb.append("active:");
|
| 616 |
sb.append(this.active);
|
774 |
sb.append(this.active);
|
| 617 |
first = false;
|
775 |
first = false;
|
| 618 |
if (!first) sb.append(", ");
|
776 |
if (!first) sb.append(", ");
|
| - |
|
777 |
sb.append("ticket_size:");
|
| - |
|
778 |
sb.append(this.ticket_size);
|
| - |
|
779 |
first = false;
|
| - |
|
780 |
if (!first) sb.append(", ");
|
| - |
|
781 |
sb.append("credit_due_days:");
|
| - |
|
782 |
sb.append(this.credit_due_days);
|
| - |
|
783 |
first = false;
|
| - |
|
784 |
if (!first) sb.append(", ");
|
| 619 |
sb.append("created:");
|
785 |
sb.append("created:");
|
| 620 |
sb.append(this.created);
|
786 |
sb.append(this.created);
|
| 621 |
first = false;
|
787 |
first = false;
|
| 622 |
if (!first) sb.append(", ");
|
788 |
if (!first) sb.append(", ");
|
| 623 |
sb.append("updated:");
|
789 |
sb.append("updated:");
|