Subversion Repositories SmartDukaan

Rev

Rev 1302 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1302 Rev 3430
Line 1... Line 1...
1
/**
1
/**
2
 * Autogenerated by Thrift
2
 * Autogenerated by Thrift Compiler (0.7.0)
3
 *
3
 *
4
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
4
 * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
 */
5
 */
6
package in.shop2020.model.v1.user;
6
package in.shop2020.model.v1.user;
7
 
7
 
Line 13... Line 13...
13
import java.util.Set;
13
import java.util.Set;
14
import java.util.HashSet;
14
import java.util.HashSet;
15
import java.util.EnumSet;
15
import java.util.EnumSet;
16
import java.util.Collections;
16
import java.util.Collections;
17
import java.util.BitSet;
17
import java.util.BitSet;
-
 
18
import java.nio.ByteBuffer;
18
import java.util.Arrays;
19
import java.util.Arrays;
19
import org.slf4j.Logger;
20
import org.slf4j.Logger;
20
import org.slf4j.LoggerFactory;
21
import org.slf4j.LoggerFactory;
21
 
22
 
22
import org.apache.thrift.*;
-
 
23
import org.apache.thrift.meta_data.*;
-
 
24
import org.apache.thrift.protocol.*;
-
 
25
 
-
 
26
public class UserCommunication implements TBase<UserCommunication._Fields>, java.io.Serializable, Cloneable, Comparable<UserCommunication> {
23
public class UserCommunication implements org.apache.thrift.TBase<UserCommunication, UserCommunication._Fields>, java.io.Serializable, Cloneable {
27
  private static final TStruct STRUCT_DESC = new TStruct("UserCommunication");
24
  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("UserCommunication");
28
 
25
 
29
  private static final TField ID_FIELD_DESC = new TField("id", 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);
30
  private static final TField USER_ID_FIELD_DESC = new TField("userId", TType.I64, (short)2);
27
  private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)2);
31
  private static final TField COMMUNICATION_TYPE_FIELD_DESC = new TField("communicationType", TType.I32, (short)3);
28
  private static final org.apache.thrift.protocol.TField COMMUNICATION_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("communicationType", org.apache.thrift.protocol.TType.I32, (short)3);
32
  private static final TField ORDER_ID_FIELD_DESC = new TField("orderId", TType.I64, (short)4);
29
  private static final org.apache.thrift.protocol.TField ORDER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("orderId", org.apache.thrift.protocol.TType.I64, (short)4);
33
  private static final TField AIRWAYBILL_NO_FIELD_DESC = new TField("airwaybillNo", TType.STRING, (short)5);
30
  private static final org.apache.thrift.protocol.TField AIRWAYBILL_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("airwaybillNo", org.apache.thrift.protocol.TType.STRING, (short)5);
34
  private static final TField REPLY_TO_FIELD_DESC = new TField("replyTo", TType.STRING, (short)6);
31
  private static final org.apache.thrift.protocol.TField REPLY_TO_FIELD_DESC = new org.apache.thrift.protocol.TField("replyTo", org.apache.thrift.protocol.TType.STRING, (short)6);
35
  private static final TField PRODUCT_NAME_FIELD_DESC = new TField("productName", TType.STRING, (short)7);
32
  private static final org.apache.thrift.protocol.TField PRODUCT_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("productName", org.apache.thrift.protocol.TType.STRING, (short)7);
36
  private static final TField SUBJECT_FIELD_DESC = new TField("subject", TType.STRING, (short)8);
33
  private static final org.apache.thrift.protocol.TField SUBJECT_FIELD_DESC = new org.apache.thrift.protocol.TField("subject", org.apache.thrift.protocol.TType.STRING, (short)8);
37
  private static final TField MESSAGE_FIELD_DESC = new TField("message", TType.STRING, (short)9);
34
  private static final org.apache.thrift.protocol.TField MESSAGE_FIELD_DESC = new org.apache.thrift.protocol.TField("message", org.apache.thrift.protocol.TType.STRING, (short)9);
38
  private static final TField COMMUNICATION_TIMESTAMP_FIELD_DESC = new TField("communication_timestamp", TType.I64, (short)10);
35
  private static final org.apache.thrift.protocol.TField COMMUNICATION_TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("communication_timestamp", org.apache.thrift.protocol.TType.I64, (short)10);
39
 
36
 
40
  private long id;
37
  private long id; // required
41
  private long userId;
38
  private long userId; // required
42
  private UserCommunicationType communicationType;
39
  private UserCommunicationType communicationType; // required
43
  private long orderId;
40
  private long orderId; // required
44
  private String airwaybillNo;
41
  private String airwaybillNo; // required
45
  private String replyTo;
42
  private String replyTo; // required
46
  private String productName;
43
  private String productName; // required
47
  private String subject;
44
  private String subject; // required
48
  private String message;
45
  private String message; // required
49
  private long communication_timestamp;
46
  private long communication_timestamp; // required
50
 
47
 
51
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
48
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
52
  public enum _Fields implements TFieldIdEnum {
49
  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
53
    ID((short)1, "id"),
50
    ID((short)1, "id"),
54
    USER_ID((short)2, "userId"),
51
    USER_ID((short)2, "userId"),
55
    /**
52
    /**
56
     * 
53
     * 
57
     * @see UserCommunicationType
54
     * @see UserCommunicationType
Line 63... Line 60...
63
    PRODUCT_NAME((short)7, "productName"),
60
    PRODUCT_NAME((short)7, "productName"),
64
    SUBJECT((short)8, "subject"),
61
    SUBJECT((short)8, "subject"),
65
    MESSAGE((short)9, "message"),
62
    MESSAGE((short)9, "message"),
66
    COMMUNICATION_TIMESTAMP((short)10, "communication_timestamp");
63
    COMMUNICATION_TIMESTAMP((short)10, "communication_timestamp");
67
 
64
 
68
    private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
-
 
69
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
65
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
70
 
66
 
71
    static {
67
    static {
72
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
68
      for (_Fields field : EnumSet.allOf(_Fields.class)) {
73
        byId.put((int)field._thriftId, field);
-
 
74
        byName.put(field.getFieldName(), field);
69
        byName.put(field.getFieldName(), field);
75
      }
70
      }
76
    }
71
    }
77
 
72
 
78
    /**
73
    /**
79
     * Find the _Fields constant that matches fieldId, or null if its not found.
74
     * Find the _Fields constant that matches fieldId, or null if its not found.
80
     */
75
     */
81
    public static _Fields findByThriftId(int fieldId) {
76
    public static _Fields findByThriftId(int fieldId) {
82
      return byId.get(fieldId);
77
      switch(fieldId) {
-
 
78
        case 1: // ID
-
 
79
          return ID;
-
 
80
        case 2: // USER_ID
-
 
81
          return USER_ID;
-
 
82
        case 3: // COMMUNICATION_TYPE
-
 
83
          return COMMUNICATION_TYPE;
-
 
84
        case 4: // ORDER_ID
-
 
85
          return ORDER_ID;
-
 
86
        case 5: // AIRWAYBILL_NO
-
 
87
          return AIRWAYBILL_NO;
-
 
88
        case 6: // REPLY_TO
-
 
89
          return REPLY_TO;
-
 
90
        case 7: // PRODUCT_NAME
-
 
91
          return PRODUCT_NAME;
-
 
92
        case 8: // SUBJECT
-
 
93
          return SUBJECT;
-
 
94
        case 9: // MESSAGE
-
 
95
          return MESSAGE;
-
 
96
        case 10: // COMMUNICATION_TIMESTAMP
-
 
97
          return COMMUNICATION_TIMESTAMP;
-
 
98
        default:
-
 
99
          return null;
-
 
100
      }
83
    }
101
    }
84
 
102
 
85
    /**
103
    /**
86
     * Find the _Fields constant that matches fieldId, throwing an exception
104
     * Find the _Fields constant that matches fieldId, throwing an exception
87
     * if it is not found.
105
     * if it is not found.
Line 121... Line 139...
121
  private static final int __USERID_ISSET_ID = 1;
139
  private static final int __USERID_ISSET_ID = 1;
122
  private static final int __ORDERID_ISSET_ID = 2;
140
  private static final int __ORDERID_ISSET_ID = 2;
123
  private static final int __COMMUNICATION_TIMESTAMP_ISSET_ID = 3;
141
  private static final int __COMMUNICATION_TIMESTAMP_ISSET_ID = 3;
124
  private BitSet __isset_bit_vector = new BitSet(4);
142
  private BitSet __isset_bit_vector = new BitSet(4);
125
 
143
 
126
  public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
144
  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
127
    put(_Fields.ID, new FieldMetaData("id", TFieldRequirementType.DEFAULT, 
-
 
128
        new FieldValueMetaData(TType.I64)));
-
 
129
    put(_Fields.USER_ID, new FieldMetaData("userId", TFieldRequirementType.DEFAULT, 
-
 
130
        new FieldValueMetaData(TType.I64)));
-
 
131
    put(_Fields.COMMUNICATION_TYPE, new FieldMetaData("communicationType", TFieldRequirementType.DEFAULT, 
-
 
132
        new EnumMetaData(TType.ENUM, UserCommunicationType.class)));
-
 
133
    put(_Fields.ORDER_ID, new FieldMetaData("orderId", TFieldRequirementType.DEFAULT, 
-
 
134
        new FieldValueMetaData(TType.I64)));
-
 
135
    put(_Fields.AIRWAYBILL_NO, new FieldMetaData("airwaybillNo", TFieldRequirementType.DEFAULT, 
-
 
136
        new FieldValueMetaData(TType.STRING)));
-
 
137
    put(_Fields.REPLY_TO, new FieldMetaData("replyTo", TFieldRequirementType.DEFAULT, 
-
 
138
        new FieldValueMetaData(TType.STRING)));
-
 
139
    put(_Fields.PRODUCT_NAME, new FieldMetaData("productName", TFieldRequirementType.DEFAULT, 
-
 
140
        new FieldValueMetaData(TType.STRING)));
-
 
141
    put(_Fields.SUBJECT, new FieldMetaData("subject", TFieldRequirementType.DEFAULT, 
-
 
142
        new FieldValueMetaData(TType.STRING)));
-
 
143
    put(_Fields.MESSAGE, new FieldMetaData("message", TFieldRequirementType.DEFAULT, 
-
 
144
        new FieldValueMetaData(TType.STRING)));
-
 
145
    put(_Fields.COMMUNICATION_TIMESTAMP, new FieldMetaData("communication_timestamp", TFieldRequirementType.DEFAULT, 
-
 
146
        new FieldValueMetaData(TType.I64)));
-
 
147
  }});
-
 
148
 
-
 
149
  static {
145
  static {
-
 
146
    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
147
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
148
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
149
    tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
150
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
151
    tmpMap.put(_Fields.COMMUNICATION_TYPE, new org.apache.thrift.meta_data.FieldMetaData("communicationType", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
152
        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, UserCommunicationType.class)));
-
 
153
    tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
154
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
155
    tmpMap.put(_Fields.AIRWAYBILL_NO, new org.apache.thrift.meta_data.FieldMetaData("airwaybillNo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
156
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
157
    tmpMap.put(_Fields.REPLY_TO, new org.apache.thrift.meta_data.FieldMetaData("replyTo", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
158
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
159
    tmpMap.put(_Fields.PRODUCT_NAME, new org.apache.thrift.meta_data.FieldMetaData("productName", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
160
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
161
    tmpMap.put(_Fields.SUBJECT, new org.apache.thrift.meta_data.FieldMetaData("subject", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
162
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
163
    tmpMap.put(_Fields.MESSAGE, new org.apache.thrift.meta_data.FieldMetaData("message", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
164
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
165
    tmpMap.put(_Fields.COMMUNICATION_TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("communication_timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
166
        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
167
    metaDataMap = Collections.unmodifiableMap(tmpMap);
150
    FieldMetaData.addStructMetaDataMap(UserCommunication.class, metaDataMap);
168
    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(UserCommunication.class, metaDataMap);
151
  }
169
  }
152
 
170
 
153
  public UserCommunication() {
171
  public UserCommunication() {
154
  }
172
  }
155
 
173
 
Line 214... Line 232...
214
 
232
 
215
  public UserCommunication deepCopy() {
233
  public UserCommunication deepCopy() {
216
    return new UserCommunication(this);
234
    return new UserCommunication(this);
217
  }
235
  }
218
 
236
 
219
  @Deprecated
237
  @Override
220
  public UserCommunication clone() {
238
  public void clear() {
-
 
239
    setIdIsSet(false);
-
 
240
    this.id = 0;
-
 
241
    setUserIdIsSet(false);
-
 
242
    this.userId = 0;
221
    return new UserCommunication(this);
243
    this.communicationType = null;
-
 
244
    setOrderIdIsSet(false);
-
 
245
    this.orderId = 0;
-
 
246
    this.airwaybillNo = null;
-
 
247
    this.replyTo = null;
-
 
248
    this.productName = null;
-
 
249
    this.subject = null;
-
 
250
    this.message = null;
-
 
251
    setCommunication_timestampIsSet(false);
-
 
252
    this.communication_timestamp = 0;
222
  }
253
  }
223
 
254
 
224
  public long getId() {
255
  public long getId() {
225
    return this.id;
256
    return this.id;
226
  }
257
  }
227
 
258
 
228
  public UserCommunication setId(long id) {
259
  public void setId(long id) {
229
    this.id = id;
260
    this.id = id;
230
    setIdIsSet(true);
261
    setIdIsSet(true);
231
    return this;
-
 
232
  }
262
  }
233
 
263
 
234
  public void unsetId() {
264
  public void unsetId() {
235
    __isset_bit_vector.clear(__ID_ISSET_ID);
265
    __isset_bit_vector.clear(__ID_ISSET_ID);
236
  }
266
  }
237
 
267
 
238
  /** Returns true if field id is set (has been asigned a value) and false otherwise */
268
  /** Returns true if field id is set (has been assigned a value) and false otherwise */
239
  public boolean isSetId() {
269
  public boolean isSetId() {
240
    return __isset_bit_vector.get(__ID_ISSET_ID);
270
    return __isset_bit_vector.get(__ID_ISSET_ID);
241
  }
271
  }
242
 
272
 
243
  public void setIdIsSet(boolean value) {
273
  public void setIdIsSet(boolean value) {
Line 246... Line 276...
246
 
276
 
247
  public long getUserId() {
277
  public long getUserId() {
248
    return this.userId;
278
    return this.userId;
249
  }
279
  }
250
 
280
 
251
  public UserCommunication setUserId(long userId) {
281
  public void setUserId(long userId) {
252
    this.userId = userId;
282
    this.userId = userId;
253
    setUserIdIsSet(true);
283
    setUserIdIsSet(true);
254
    return this;
-
 
255
  }
284
  }
256
 
285
 
257
  public void unsetUserId() {
286
  public void unsetUserId() {
258
    __isset_bit_vector.clear(__USERID_ISSET_ID);
287
    __isset_bit_vector.clear(__USERID_ISSET_ID);
259
  }
288
  }
260
 
289
 
261
  /** Returns true if field userId is set (has been asigned a value) and false otherwise */
290
  /** Returns true if field userId is set (has been assigned a value) and false otherwise */
262
  public boolean isSetUserId() {
291
  public boolean isSetUserId() {
263
    return __isset_bit_vector.get(__USERID_ISSET_ID);
292
    return __isset_bit_vector.get(__USERID_ISSET_ID);
264
  }
293
  }
265
 
294
 
266
  public void setUserIdIsSet(boolean value) {
295
  public void setUserIdIsSet(boolean value) {
Line 277... Line 306...
277
 
306
 
278
  /**
307
  /**
279
   * 
308
   * 
280
   * @see UserCommunicationType
309
   * @see UserCommunicationType
281
   */
310
   */
282
  public UserCommunication setCommunicationType(UserCommunicationType communicationType) {
311
  public void setCommunicationType(UserCommunicationType communicationType) {
283
    this.communicationType = communicationType;
312
    this.communicationType = communicationType;
284
    return this;
-
 
285
  }
313
  }
286
 
314
 
287
  public void unsetCommunicationType() {
315
  public void unsetCommunicationType() {
288
    this.communicationType = null;
316
    this.communicationType = null;
289
  }
317
  }
290
 
318
 
291
  /** Returns true if field communicationType is set (has been asigned a value) and false otherwise */
319
  /** Returns true if field communicationType is set (has been assigned a value) and false otherwise */
292
  public boolean isSetCommunicationType() {
320
  public boolean isSetCommunicationType() {
293
    return this.communicationType != null;
321
    return this.communicationType != null;
294
  }
322
  }
295
 
323
 
296
  public void setCommunicationTypeIsSet(boolean value) {
324
  public void setCommunicationTypeIsSet(boolean value) {
Line 301... Line 329...
301
 
329
 
302
  public long getOrderId() {
330
  public long getOrderId() {
303
    return this.orderId;
331
    return this.orderId;
304
  }
332
  }
305
 
333
 
306
  public UserCommunication setOrderId(long orderId) {
334
  public void setOrderId(long orderId) {
307
    this.orderId = orderId;
335
    this.orderId = orderId;
308
    setOrderIdIsSet(true);
336
    setOrderIdIsSet(true);
309
    return this;
-
 
310
  }
337
  }
311
 
338
 
312
  public void unsetOrderId() {
339
  public void unsetOrderId() {
313
    __isset_bit_vector.clear(__ORDERID_ISSET_ID);
340
    __isset_bit_vector.clear(__ORDERID_ISSET_ID);
314
  }
341
  }
315
 
342
 
316
  /** Returns true if field orderId is set (has been asigned a value) and false otherwise */
343
  /** Returns true if field orderId is set (has been assigned a value) and false otherwise */
317
  public boolean isSetOrderId() {
344
  public boolean isSetOrderId() {
318
    return __isset_bit_vector.get(__ORDERID_ISSET_ID);
345
    return __isset_bit_vector.get(__ORDERID_ISSET_ID);
319
  }
346
  }
320
 
347
 
321
  public void setOrderIdIsSet(boolean value) {
348
  public void setOrderIdIsSet(boolean value) {
Line 324... Line 351...
324
 
351
 
325
  public String getAirwaybillNo() {
352
  public String getAirwaybillNo() {
326
    return this.airwaybillNo;
353
    return this.airwaybillNo;
327
  }
354
  }
328
 
355
 
329
  public UserCommunication setAirwaybillNo(String airwaybillNo) {
356
  public void setAirwaybillNo(String airwaybillNo) {
330
    this.airwaybillNo = airwaybillNo;
357
    this.airwaybillNo = airwaybillNo;
331
    return this;
-
 
332
  }
358
  }
333
 
359
 
334
  public void unsetAirwaybillNo() {
360
  public void unsetAirwaybillNo() {
335
    this.airwaybillNo = null;
361
    this.airwaybillNo = null;
336
  }
362
  }
337
 
363
 
338
  /** Returns true if field airwaybillNo is set (has been asigned a value) and false otherwise */
364
  /** Returns true if field airwaybillNo is set (has been assigned a value) and false otherwise */
339
  public boolean isSetAirwaybillNo() {
365
  public boolean isSetAirwaybillNo() {
340
    return this.airwaybillNo != null;
366
    return this.airwaybillNo != null;
341
  }
367
  }
342
 
368
 
343
  public void setAirwaybillNoIsSet(boolean value) {
369
  public void setAirwaybillNoIsSet(boolean value) {
Line 348... Line 374...
348
 
374
 
349
  public String getReplyTo() {
375
  public String getReplyTo() {
350
    return this.replyTo;
376
    return this.replyTo;
351
  }
377
  }
352
 
378
 
353
  public UserCommunication setReplyTo(String replyTo) {
379
  public void setReplyTo(String replyTo) {
354
    this.replyTo = replyTo;
380
    this.replyTo = replyTo;
355
    return this;
-
 
356
  }
381
  }
357
 
382
 
358
  public void unsetReplyTo() {
383
  public void unsetReplyTo() {
359
    this.replyTo = null;
384
    this.replyTo = null;
360
  }
385
  }
361
 
386
 
362
  /** Returns true if field replyTo is set (has been asigned a value) and false otherwise */
387
  /** Returns true if field replyTo is set (has been assigned a value) and false otherwise */
363
  public boolean isSetReplyTo() {
388
  public boolean isSetReplyTo() {
364
    return this.replyTo != null;
389
    return this.replyTo != null;
365
  }
390
  }
366
 
391
 
367
  public void setReplyToIsSet(boolean value) {
392
  public void setReplyToIsSet(boolean value) {
Line 372... Line 397...
372
 
397
 
373
  public String getProductName() {
398
  public String getProductName() {
374
    return this.productName;
399
    return this.productName;
375
  }
400
  }
376
 
401
 
377
  public UserCommunication setProductName(String productName) {
402
  public void setProductName(String productName) {
378
    this.productName = productName;
403
    this.productName = productName;
379
    return this;
-
 
380
  }
404
  }
381
 
405
 
382
  public void unsetProductName() {
406
  public void unsetProductName() {
383
    this.productName = null;
407
    this.productName = null;
384
  }
408
  }
385
 
409
 
386
  /** Returns true if field productName is set (has been asigned a value) and false otherwise */
410
  /** Returns true if field productName is set (has been assigned a value) and false otherwise */
387
  public boolean isSetProductName() {
411
  public boolean isSetProductName() {
388
    return this.productName != null;
412
    return this.productName != null;
389
  }
413
  }
390
 
414
 
391
  public void setProductNameIsSet(boolean value) {
415
  public void setProductNameIsSet(boolean value) {
Line 396... Line 420...
396
 
420
 
397
  public String getSubject() {
421
  public String getSubject() {
398
    return this.subject;
422
    return this.subject;
399
  }
423
  }
400
 
424
 
401
  public UserCommunication setSubject(String subject) {
425
  public void setSubject(String subject) {
402
    this.subject = subject;
426
    this.subject = subject;
403
    return this;
-
 
404
  }
427
  }
405
 
428
 
406
  public void unsetSubject() {
429
  public void unsetSubject() {
407
    this.subject = null;
430
    this.subject = null;
408
  }
431
  }
409
 
432
 
410
  /** Returns true if field subject is set (has been asigned a value) and false otherwise */
433
  /** Returns true if field subject is set (has been assigned a value) and false otherwise */
411
  public boolean isSetSubject() {
434
  public boolean isSetSubject() {
412
    return this.subject != null;
435
    return this.subject != null;
413
  }
436
  }
414
 
437
 
415
  public void setSubjectIsSet(boolean value) {
438
  public void setSubjectIsSet(boolean value) {
Line 420... Line 443...
420
 
443
 
421
  public String getMessage() {
444
  public String getMessage() {
422
    return this.message;
445
    return this.message;
423
  }
446
  }
424
 
447
 
425
  public UserCommunication setMessage(String message) {
448
  public void setMessage(String message) {
426
    this.message = message;
449
    this.message = message;
427
    return this;
-
 
428
  }
450
  }
429
 
451
 
430
  public void unsetMessage() {
452
  public void unsetMessage() {
431
    this.message = null;
453
    this.message = null;
432
  }
454
  }
433
 
455
 
434
  /** Returns true if field message is set (has been asigned a value) and false otherwise */
456
  /** Returns true if field message is set (has been assigned a value) and false otherwise */
435
  public boolean isSetMessage() {
457
  public boolean isSetMessage() {
436
    return this.message != null;
458
    return this.message != null;
437
  }
459
  }
438
 
460
 
439
  public void setMessageIsSet(boolean value) {
461
  public void setMessageIsSet(boolean value) {
Line 444... Line 466...
444
 
466
 
445
  public long getCommunication_timestamp() {
467
  public long getCommunication_timestamp() {
446
    return this.communication_timestamp;
468
    return this.communication_timestamp;
447
  }
469
  }
448
 
470
 
449
  public UserCommunication setCommunication_timestamp(long communication_timestamp) {
471
  public void setCommunication_timestamp(long communication_timestamp) {
450
    this.communication_timestamp = communication_timestamp;
472
    this.communication_timestamp = communication_timestamp;
451
    setCommunication_timestampIsSet(true);
473
    setCommunication_timestampIsSet(true);
452
    return this;
-
 
453
  }
474
  }
454
 
475
 
455
  public void unsetCommunication_timestamp() {
476
  public void unsetCommunication_timestamp() {
456
    __isset_bit_vector.clear(__COMMUNICATION_TIMESTAMP_ISSET_ID);
477
    __isset_bit_vector.clear(__COMMUNICATION_TIMESTAMP_ISSET_ID);
457
  }
478
  }
458
 
479
 
459
  /** Returns true if field communication_timestamp is set (has been asigned a value) and false otherwise */
480
  /** Returns true if field communication_timestamp is set (has been assigned a value) and false otherwise */
460
  public boolean isSetCommunication_timestamp() {
481
  public boolean isSetCommunication_timestamp() {
461
    return __isset_bit_vector.get(__COMMUNICATION_TIMESTAMP_ISSET_ID);
482
    return __isset_bit_vector.get(__COMMUNICATION_TIMESTAMP_ISSET_ID);
462
  }
483
  }
463
 
484
 
464
  public void setCommunication_timestampIsSet(boolean value) {
485
  public void setCommunication_timestampIsSet(boolean value) {
Line 548... Line 569...
548
      break;
569
      break;
549
 
570
 
550
    }
571
    }
551
  }
572
  }
552
 
573
 
553
  public void setFieldValue(int fieldID, Object value) {
-
 
554
    setFieldValue(_Fields.findByThriftIdOrThrow(fieldID), value);
-
 
555
  }
-
 
556
 
-
 
557
  public Object getFieldValue(_Fields field) {
574
  public Object getFieldValue(_Fields field) {
558
    switch (field) {
575
    switch (field) {
559
    case ID:
576
    case ID:
560
      return new Long(getId());
577
      return Long.valueOf(getId());
561
 
578
 
562
    case USER_ID:
579
    case USER_ID:
563
      return new Long(getUserId());
580
      return Long.valueOf(getUserId());
564
 
581
 
565
    case COMMUNICATION_TYPE:
582
    case COMMUNICATION_TYPE:
566
      return getCommunicationType();
583
      return getCommunicationType();
567
 
584
 
568
    case ORDER_ID:
585
    case ORDER_ID:
569
      return new Long(getOrderId());
586
      return Long.valueOf(getOrderId());
570
 
587
 
571
    case AIRWAYBILL_NO:
588
    case AIRWAYBILL_NO:
572
      return getAirwaybillNo();
589
      return getAirwaybillNo();
573
 
590
 
574
    case REPLY_TO:
591
    case REPLY_TO:
Line 582... Line 599...
582
 
599
 
583
    case MESSAGE:
600
    case MESSAGE:
584
      return getMessage();
601
      return getMessage();
585
 
602
 
586
    case COMMUNICATION_TIMESTAMP:
603
    case COMMUNICATION_TIMESTAMP:
587
      return new Long(getCommunication_timestamp());
604
      return Long.valueOf(getCommunication_timestamp());
588
 
605
 
589
    }
606
    }
590
    throw new IllegalStateException();
607
    throw new IllegalStateException();
591
  }
608
  }
592
 
609
 
593
  public Object getFieldValue(int fieldId) {
-
 
594
    return getFieldValue(_Fields.findByThriftIdOrThrow(fieldId));
-
 
595
  }
-
 
596
 
-
 
597
  /** Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise */
610
  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
598
  public boolean isSet(_Fields field) {
611
  public boolean isSet(_Fields field) {
-
 
612
    if (field == null) {
-
 
613
      throw new IllegalArgumentException();
-
 
614
    }
-
 
615
 
599
    switch (field) {
616
    switch (field) {
600
    case ID:
617
    case ID:
601
      return isSetId();
618
      return isSetId();
602
    case USER_ID:
619
    case USER_ID:
603
      return isSetUserId();
620
      return isSetUserId();
Line 619... Line 636...
619
      return isSetCommunication_timestamp();
636
      return isSetCommunication_timestamp();
620
    }
637
    }
621
    throw new IllegalStateException();
638
    throw new IllegalStateException();
622
  }
639
  }
623
 
640
 
624
  public boolean isSet(int fieldID) {
-
 
625
    return isSet(_Fields.findByThriftIdOrThrow(fieldID));
-
 
626
  }
-
 
627
 
-
 
628
  @Override
641
  @Override
629
  public boolean equals(Object that) {
642
  public boolean equals(Object that) {
630
    if (that == null)
643
    if (that == null)
631
      return false;
644
      return false;
632
    if (that instanceof UserCommunication)
645
    if (that instanceof UserCommunication)
Line 742... Line 755...
742
    }
755
    }
743
 
756
 
744
    int lastComparison = 0;
757
    int lastComparison = 0;
745
    UserCommunication typedOther = (UserCommunication)other;
758
    UserCommunication typedOther = (UserCommunication)other;
746
 
759
 
747
    lastComparison = Boolean.valueOf(isSetId()).compareTo(isSetId());
760
    lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
748
    if (lastComparison != 0) {
761
    if (lastComparison != 0) {
749
      return lastComparison;
762
      return lastComparison;
750
    }
763
    }
-
 
764
    if (isSetId()) {
751
    lastComparison = TBaseHelper.compareTo(id, typedOther.id);
765
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
752
    if (lastComparison != 0) {
766
      if (lastComparison != 0) {
753
      return lastComparison;
767
        return lastComparison;
-
 
768
      }
754
    }
769
    }
755
    lastComparison = Boolean.valueOf(isSetUserId()).compareTo(isSetUserId());
770
    lastComparison = Boolean.valueOf(isSetUserId()).compareTo(typedOther.isSetUserId());
756
    if (lastComparison != 0) {
771
    if (lastComparison != 0) {
757
      return lastComparison;
772
      return lastComparison;
758
    }
773
    }
-
 
774
    if (isSetUserId()) {
759
    lastComparison = TBaseHelper.compareTo(userId, typedOther.userId);
775
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
760
    if (lastComparison != 0) {
776
      if (lastComparison != 0) {
761
      return lastComparison;
777
        return lastComparison;
-
 
778
      }
762
    }
779
    }
763
    lastComparison = Boolean.valueOf(isSetCommunicationType()).compareTo(isSetCommunicationType());
780
    lastComparison = Boolean.valueOf(isSetCommunicationType()).compareTo(typedOther.isSetCommunicationType());
764
    if (lastComparison != 0) {
781
    if (lastComparison != 0) {
765
      return lastComparison;
782
      return lastComparison;
766
    }
783
    }
-
 
784
    if (isSetCommunicationType()) {
767
    lastComparison = TBaseHelper.compareTo(communicationType, typedOther.communicationType);
785
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.communicationType, typedOther.communicationType);
768
    if (lastComparison != 0) {
786
      if (lastComparison != 0) {
769
      return lastComparison;
787
        return lastComparison;
-
 
788
      }
770
    }
789
    }
771
    lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(isSetOrderId());
790
    lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
772
    if (lastComparison != 0) {
791
    if (lastComparison != 0) {
773
      return lastComparison;
792
      return lastComparison;
774
    }
793
    }
-
 
794
    if (isSetOrderId()) {
775
    lastComparison = TBaseHelper.compareTo(orderId, typedOther.orderId);
795
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
776
    if (lastComparison != 0) {
796
      if (lastComparison != 0) {
777
      return lastComparison;
797
        return lastComparison;
-
 
798
      }
778
    }
799
    }
779
    lastComparison = Boolean.valueOf(isSetAirwaybillNo()).compareTo(isSetAirwaybillNo());
800
    lastComparison = Boolean.valueOf(isSetAirwaybillNo()).compareTo(typedOther.isSetAirwaybillNo());
780
    if (lastComparison != 0) {
801
    if (lastComparison != 0) {
781
      return lastComparison;
802
      return lastComparison;
782
    }
803
    }
-
 
804
    if (isSetAirwaybillNo()) {
783
    lastComparison = TBaseHelper.compareTo(airwaybillNo, typedOther.airwaybillNo);
805
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.airwaybillNo, typedOther.airwaybillNo);
784
    if (lastComparison != 0) {
806
      if (lastComparison != 0) {
785
      return lastComparison;
807
        return lastComparison;
-
 
808
      }
786
    }
809
    }
787
    lastComparison = Boolean.valueOf(isSetReplyTo()).compareTo(isSetReplyTo());
810
    lastComparison = Boolean.valueOf(isSetReplyTo()).compareTo(typedOther.isSetReplyTo());
788
    if (lastComparison != 0) {
811
    if (lastComparison != 0) {
789
      return lastComparison;
812
      return lastComparison;
790
    }
813
    }
-
 
814
    if (isSetReplyTo()) {
791
    lastComparison = TBaseHelper.compareTo(replyTo, typedOther.replyTo);
815
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.replyTo, typedOther.replyTo);
792
    if (lastComparison != 0) {
816
      if (lastComparison != 0) {
793
      return lastComparison;
817
        return lastComparison;
-
 
818
      }
794
    }
819
    }
795
    lastComparison = Boolean.valueOf(isSetProductName()).compareTo(isSetProductName());
820
    lastComparison = Boolean.valueOf(isSetProductName()).compareTo(typedOther.isSetProductName());
796
    if (lastComparison != 0) {
821
    if (lastComparison != 0) {
797
      return lastComparison;
822
      return lastComparison;
798
    }
823
    }
-
 
824
    if (isSetProductName()) {
799
    lastComparison = TBaseHelper.compareTo(productName, typedOther.productName);
825
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.productName, typedOther.productName);
800
    if (lastComparison != 0) {
826
      if (lastComparison != 0) {
801
      return lastComparison;
827
        return lastComparison;
-
 
828
      }
802
    }
829
    }
803
    lastComparison = Boolean.valueOf(isSetSubject()).compareTo(isSetSubject());
830
    lastComparison = Boolean.valueOf(isSetSubject()).compareTo(typedOther.isSetSubject());
804
    if (lastComparison != 0) {
831
    if (lastComparison != 0) {
805
      return lastComparison;
832
      return lastComparison;
806
    }
833
    }
-
 
834
    if (isSetSubject()) {
807
    lastComparison = TBaseHelper.compareTo(subject, typedOther.subject);
835
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.subject, typedOther.subject);
808
    if (lastComparison != 0) {
836
      if (lastComparison != 0) {
809
      return lastComparison;
837
        return lastComparison;
-
 
838
      }
810
    }
839
    }
811
    lastComparison = Boolean.valueOf(isSetMessage()).compareTo(isSetMessage());
840
    lastComparison = Boolean.valueOf(isSetMessage()).compareTo(typedOther.isSetMessage());
812
    if (lastComparison != 0) {
841
    if (lastComparison != 0) {
813
      return lastComparison;
842
      return lastComparison;
814
    }
843
    }
-
 
844
    if (isSetMessage()) {
815
    lastComparison = TBaseHelper.compareTo(message, typedOther.message);
845
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.message, typedOther.message);
816
    if (lastComparison != 0) {
846
      if (lastComparison != 0) {
817
      return lastComparison;
847
        return lastComparison;
-
 
848
      }
818
    }
849
    }
819
    lastComparison = Boolean.valueOf(isSetCommunication_timestamp()).compareTo(isSetCommunication_timestamp());
850
    lastComparison = Boolean.valueOf(isSetCommunication_timestamp()).compareTo(typedOther.isSetCommunication_timestamp());
820
    if (lastComparison != 0) {
851
    if (lastComparison != 0) {
821
      return lastComparison;
852
      return lastComparison;
822
    }
853
    }
-
 
854
    if (isSetCommunication_timestamp()) {
823
    lastComparison = TBaseHelper.compareTo(communication_timestamp, typedOther.communication_timestamp);
855
      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.communication_timestamp, typedOther.communication_timestamp);
824
    if (lastComparison != 0) {
856
      if (lastComparison != 0) {
825
      return lastComparison;
857
        return lastComparison;
-
 
858
      }
826
    }
859
    }
827
    return 0;
860
    return 0;
828
  }
861
  }
829
 
862
 
-
 
863
  public _Fields fieldForId(int fieldId) {
-
 
864
    return _Fields.findByThriftId(fieldId);
-
 
865
  }
-
 
866
 
830
  public void read(TProtocol iprot) throws TException {
867
  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
831
    TField field;
868
    org.apache.thrift.protocol.TField field;
832
    iprot.readStructBegin();
869
    iprot.readStructBegin();
833
    while (true)
870
    while (true)
834
    {
871
    {
835
      field = iprot.readFieldBegin();
872
      field = iprot.readFieldBegin();
836
      if (field.type == TType.STOP) { 
873
      if (field.type == org.apache.thrift.protocol.TType.STOP) { 
837
        break;
874
        break;
838
      }
875
      }
839
      _Fields fieldId = _Fields.findByThriftId(field.id);
-
 
840
      if (fieldId == null) {
-
 
841
        TProtocolUtil.skip(iprot, field.type);
-
 
842
      } else {
-
 
843
        switch (fieldId) {
876
      switch (field.id) {
844
          case ID:
877
        case 1: // ID
845
            if (field.type == TType.I64) {
878
          if (field.type == org.apache.thrift.protocol.TType.I64) {
846
              this.id = iprot.readI64();
879
            this.id = iprot.readI64();
847
              setIdIsSet(true);
880
            setIdIsSet(true);
848
            } else { 
881
          } else { 
849
              TProtocolUtil.skip(iprot, field.type);
882
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
850
            }
883
          }
851
            break;
884
          break;
852
          case USER_ID:
885
        case 2: // USER_ID
853
            if (field.type == TType.I64) {
886
          if (field.type == org.apache.thrift.protocol.TType.I64) {
854
              this.userId = iprot.readI64();
887
            this.userId = iprot.readI64();
855
              setUserIdIsSet(true);
888
            setUserIdIsSet(true);
856
            } else { 
889
          } else { 
857
              TProtocolUtil.skip(iprot, field.type);
890
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
858
            }
891
          }
859
            break;
892
          break;
860
          case COMMUNICATION_TYPE:
893
        case 3: // COMMUNICATION_TYPE
861
            if (field.type == TType.I32) {
894
          if (field.type == org.apache.thrift.protocol.TType.I32) {
862
              this.communicationType = UserCommunicationType.findByValue(iprot.readI32());
895
            this.communicationType = UserCommunicationType.findByValue(iprot.readI32());
863
            } else { 
896
          } else { 
864
              TProtocolUtil.skip(iprot, field.type);
897
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
865
            }
898
          }
866
            break;
899
          break;
867
          case ORDER_ID:
900
        case 4: // ORDER_ID
868
            if (field.type == TType.I64) {
901
          if (field.type == org.apache.thrift.protocol.TType.I64) {
869
              this.orderId = iprot.readI64();
902
            this.orderId = iprot.readI64();
870
              setOrderIdIsSet(true);
903
            setOrderIdIsSet(true);
871
            } else { 
904
          } else { 
872
              TProtocolUtil.skip(iprot, field.type);
905
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
873
            }
906
          }
874
            break;
907
          break;
875
          case AIRWAYBILL_NO:
908
        case 5: // AIRWAYBILL_NO
876
            if (field.type == TType.STRING) {
909
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
877
              this.airwaybillNo = iprot.readString();
910
            this.airwaybillNo = iprot.readString();
878
            } else { 
911
          } else { 
879
              TProtocolUtil.skip(iprot, field.type);
912
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
880
            }
913
          }
881
            break;
914
          break;
882
          case REPLY_TO:
915
        case 6: // REPLY_TO
883
            if (field.type == TType.STRING) {
916
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
884
              this.replyTo = iprot.readString();
917
            this.replyTo = iprot.readString();
885
            } else { 
918
          } else { 
886
              TProtocolUtil.skip(iprot, field.type);
919
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
887
            }
920
          }
888
            break;
921
          break;
889
          case PRODUCT_NAME:
922
        case 7: // PRODUCT_NAME
890
            if (field.type == TType.STRING) {
923
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
891
              this.productName = iprot.readString();
924
            this.productName = iprot.readString();
892
            } else { 
925
          } else { 
893
              TProtocolUtil.skip(iprot, field.type);
926
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
894
            }
927
          }
895
            break;
928
          break;
896
          case SUBJECT:
929
        case 8: // SUBJECT
897
            if (field.type == TType.STRING) {
930
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
898
              this.subject = iprot.readString();
931
            this.subject = iprot.readString();
899
            } else { 
932
          } else { 
900
              TProtocolUtil.skip(iprot, field.type);
933
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
901
            }
934
          }
902
            break;
935
          break;
903
          case MESSAGE:
936
        case 9: // MESSAGE
904
            if (field.type == TType.STRING) {
937
          if (field.type == org.apache.thrift.protocol.TType.STRING) {
905
              this.message = iprot.readString();
938
            this.message = iprot.readString();
906
            } else { 
939
          } else { 
907
              TProtocolUtil.skip(iprot, field.type);
940
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
908
            }
941
          }
909
            break;
942
          break;
910
          case COMMUNICATION_TIMESTAMP:
943
        case 10: // COMMUNICATION_TIMESTAMP
911
            if (field.type == TType.I64) {
944
          if (field.type == org.apache.thrift.protocol.TType.I64) {
912
              this.communication_timestamp = iprot.readI64();
945
            this.communication_timestamp = iprot.readI64();
913
              setCommunication_timestampIsSet(true);
946
            setCommunication_timestampIsSet(true);
914
            } else { 
947
          } else { 
915
              TProtocolUtil.skip(iprot, field.type);
948
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
916
            }
949
          }
917
            break;
950
          break;
918
        }
951
        default:
919
        iprot.readFieldEnd();
952
          org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
920
      }
953
      }
-
 
954
      iprot.readFieldEnd();
921
    }
955
    }
922
    iprot.readStructEnd();
956
    iprot.readStructEnd();
923
    validate();
957
    validate();
924
  }
958
  }
925
 
959
 
926
  public void write(TProtocol oprot) throws TException {
960
  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
927
    validate();
961
    validate();
928
 
962
 
929
    oprot.writeStructBegin(STRUCT_DESC);
963
    oprot.writeStructBegin(STRUCT_DESC);
930
    oprot.writeFieldBegin(ID_FIELD_DESC);
964
    oprot.writeFieldBegin(ID_FIELD_DESC);
931
    oprot.writeI64(this.id);
965
    oprot.writeI64(this.id);
Line 988... Line 1022...
988
    if (!first) sb.append(", ");
1022
    if (!first) sb.append(", ");
989
    sb.append("communicationType:");
1023
    sb.append("communicationType:");
990
    if (this.communicationType == null) {
1024
    if (this.communicationType == null) {
991
      sb.append("null");
1025
      sb.append("null");
992
    } else {
1026
    } else {
993
      String communicationType_name = communicationType.name();
-
 
994
      if (communicationType_name != null) {
-
 
995
        sb.append(communicationType_name);
-
 
996
        sb.append(" (");
-
 
997
      }
-
 
998
      sb.append(this.communicationType);
1027
      sb.append(this.communicationType);
999
      if (communicationType_name != null) {
-
 
1000
        sb.append(")");
-
 
1001
      }
-
 
1002
    }
1028
    }
1003
    first = false;
1029
    first = false;
1004
    if (!first) sb.append(", ");
1030
    if (!first) sb.append(", ");
1005
    sb.append("orderId:");
1031
    sb.append("orderId:");
1006
    sb.append(this.orderId);
1032
    sb.append(this.orderId);
Line 1051... Line 1077...
1051
    first = false;
1077
    first = false;
1052
    sb.append(")");
1078
    sb.append(")");
1053
    return sb.toString();
1079
    return sb.toString();
1054
  }
1080
  }
1055
 
1081
 
1056
  public void validate() throws TException {
1082
  public void validate() throws org.apache.thrift.TException {
1057
    // check for required fields
1083
    // check for required fields
1058
  }
1084
  }
1059
 
1085
 
-
 
1086
  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
1087
    try {
-
 
1088
      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
1089
    } catch (org.apache.thrift.TException te) {
-
 
1090
      throw new java.io.IOException(te);
-
 
1091
    }
-
 
1092
  }
-
 
1093
 
-
 
1094
  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
1095
    try {
-
 
1096
      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
1097
      __isset_bit_vector = new BitSet(1);
-
 
1098
      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
1099
    } catch (org.apache.thrift.TException te) {
-
 
1100
      throw new java.io.IOException(te);
-
 
1101
    }
-
 
1102
  }
-
 
1103
 
1060
}
1104
}
1061
 
1105