Subversion Repositories SmartDukaan

Rev

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

Rev 3168 Rev 3269
Line 26... Line 26...
26
public class Ticket implements TBase<Ticket._Fields>, java.io.Serializable, Cloneable, Comparable<Ticket> {
26
public class Ticket implements TBase<Ticket._Fields>, java.io.Serializable, Cloneable, Comparable<Ticket> {
27
  private static final TStruct STRUCT_DESC = new TStruct("Ticket");
27
  private static final TStruct STRUCT_DESC = new TStruct("Ticket");
28
 
28
 
29
  private static final TField ID_FIELD_DESC = new TField("id", TType.I64, (short)1);
29
  private static final TField ID_FIELD_DESC = new TField("id", TType.I64, (short)1);
30
  private static final TField CUSTOMER_ID_FIELD_DESC = new TField("customerId", TType.I64, (short)2);
30
  private static final TField CUSTOMER_ID_FIELD_DESC = new TField("customerId", TType.I64, (short)2);
-
 
31
  private static final TField CUSTOMER_EMAIL_ID_FIELD_DESC = new TField("customerEmailId", TType.STRING, (short)3);
31
  private static final TField OPEN_DATE_FIELD_DESC = new TField("openDate", TType.I64, (short)3);
32
  private static final TField OPEN_DATE_FIELD_DESC = new TField("openDate", TType.I64, (short)4);
32
  private static final TField CLOSE_DATE_FIELD_DESC = new TField("closeDate", TType.I64, (short)4);
33
  private static final TField CLOSE_DATE_FIELD_DESC = new TField("closeDate", TType.I64, (short)5);
33
  private static final TField DESCRIPTION_FIELD_DESC = new TField("description", TType.STRING, (short)5);
34
  private static final TField DESCRIPTION_FIELD_DESC = new TField("description", TType.STRING, (short)6);
34
  private static final TField PRIORITY_FIELD_DESC = new TField("priority", TType.I32, (short)6);
35
  private static final TField PRIORITY_FIELD_DESC = new TField("priority", TType.I32, (short)7);
35
  private static final TField CATEGORY_FIELD_DESC = new TField("category", TType.I32, (short)7);
36
  private static final TField CATEGORY_FIELD_DESC = new TField("category", TType.I32, (short)8);
36
  private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short)8);
37
  private static final TField STATUS_FIELD_DESC = new TField("status", TType.I32, (short)9);
37
  private static final TField ASSIGNEE_ID_FIELD_DESC = new TField("assigneeId", TType.I64, (short)9);
38
  private static final TField ASSIGNEE_ID_FIELD_DESC = new TField("assigneeId", TType.I64, (short)10);
38
  private static final TField CREATOR_ID_FIELD_DESC = new TField("creatorId", TType.I64, (short)10);
39
  private static final TField CREATOR_ID_FIELD_DESC = new TField("creatorId", TType.I64, (short)11);
39
  private static final TField ORDER_ID_FIELD_DESC = new TField("orderId", TType.I64, (short)11);
40
  private static final TField ORDER_ID_FIELD_DESC = new TField("orderId", TType.I64, (short)12);
40
  private static final TField AIRWAY_BILL_NO_FIELD_DESC = new TField("airwayBillNo", TType.STRING, (short)12);
41
  private static final TField AIRWAY_BILL_NO_FIELD_DESC = new TField("airwayBillNo", TType.STRING, (short)13);
41
  private static final TField PRODUCT_NAME_FIELD_DESC = new TField("productName", TType.STRING, (short)13);
42
  private static final TField PRODUCT_NAME_FIELD_DESC = new TField("productName", TType.STRING, (short)14);
42
 
43
 
43
  private long id;
44
  private long id;
44
  private long customerId;
45
  private long customerId;
-
 
46
  private String customerEmailId;
45
  private long openDate;
47
  private long openDate;
46
  private long closeDate;
48
  private long closeDate;
47
  private String description;
49
  private String description;
48
  private TicketPriority priority;
50
  private TicketPriority priority;
49
  private TicketCategory category;
51
  private TicketCategory category;
Line 56... Line 58...
56
 
58
 
57
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
59
  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
58
  public enum _Fields implements TFieldIdEnum {
60
  public enum _Fields implements TFieldIdEnum {
59
    ID((short)1, "id"),
61
    ID((short)1, "id"),
60
    CUSTOMER_ID((short)2, "customerId"),
62
    CUSTOMER_ID((short)2, "customerId"),
-
 
63
    CUSTOMER_EMAIL_ID((short)3, "customerEmailId"),
61
    OPEN_DATE((short)3, "openDate"),
64
    OPEN_DATE((short)4, "openDate"),
62
    CLOSE_DATE((short)4, "closeDate"),
65
    CLOSE_DATE((short)5, "closeDate"),
63
    DESCRIPTION((short)5, "description"),
66
    DESCRIPTION((short)6, "description"),
64
    /**
67
    /**
65
     * 
68
     * 
66
     * @see TicketPriority
69
     * @see TicketPriority
67
     */
70
     */
68
    PRIORITY((short)6, "priority"),
71
    PRIORITY((short)7, "priority"),
69
    /**
72
    /**
70
     * 
73
     * 
71
     * @see TicketCategory
74
     * @see TicketCategory
72
     */
75
     */
73
    CATEGORY((short)7, "category"),
76
    CATEGORY((short)8, "category"),
74
    /**
77
    /**
75
     * 
78
     * 
76
     * @see TicketStatus
79
     * @see TicketStatus
77
     */
80
     */
78
    STATUS((short)8, "status"),
81
    STATUS((short)9, "status"),
79
    ASSIGNEE_ID((short)9, "assigneeId"),
82
    ASSIGNEE_ID((short)10, "assigneeId"),
80
    CREATOR_ID((short)10, "creatorId"),
83
    CREATOR_ID((short)11, "creatorId"),
81
    ORDER_ID((short)11, "orderId"),
84
    ORDER_ID((short)12, "orderId"),
82
    AIRWAY_BILL_NO((short)12, "airwayBillNo"),
85
    AIRWAY_BILL_NO((short)13, "airwayBillNo"),
83
    PRODUCT_NAME((short)13, "productName");
86
    PRODUCT_NAME((short)14, "productName");
84
 
87
 
85
    private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
88
    private static final Map<Integer, _Fields> byId = new HashMap<Integer, _Fields>();
86
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
89
    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
87
 
90
 
88
    static {
91
    static {
Line 144... Line 147...
144
  private BitSet __isset_bit_vector = new BitSet(7);
147
  private BitSet __isset_bit_vector = new BitSet(7);
145
 
148
 
146
  public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
149
  public static final Map<_Fields, FieldMetaData> metaDataMap = Collections.unmodifiableMap(new EnumMap<_Fields, FieldMetaData>(_Fields.class) {{
147
    put(_Fields.ID, new FieldMetaData("id", TFieldRequirementType.DEFAULT, 
150
    put(_Fields.ID, new FieldMetaData("id", TFieldRequirementType.DEFAULT, 
148
        new FieldValueMetaData(TType.I64)));
151
        new FieldValueMetaData(TType.I64)));
149
    put(_Fields.CUSTOMER_ID, new FieldMetaData("customerId", TFieldRequirementType.DEFAULT, 
152
    put(_Fields.CUSTOMER_ID, new FieldMetaData("customerId", TFieldRequirementType.OPTIONAL, 
150
        new FieldValueMetaData(TType.I64)));
153
        new FieldValueMetaData(TType.I64)));
-
 
154
    put(_Fields.CUSTOMER_EMAIL_ID, new FieldMetaData("customerEmailId", TFieldRequirementType.OPTIONAL, 
-
 
155
        new FieldValueMetaData(TType.STRING)));
151
    put(_Fields.OPEN_DATE, new FieldMetaData("openDate", TFieldRequirementType.DEFAULT, 
156
    put(_Fields.OPEN_DATE, new FieldMetaData("openDate", TFieldRequirementType.DEFAULT, 
152
        new FieldValueMetaData(TType.I64)));
157
        new FieldValueMetaData(TType.I64)));
153
    put(_Fields.CLOSE_DATE, new FieldMetaData("closeDate", TFieldRequirementType.OPTIONAL, 
158
    put(_Fields.CLOSE_DATE, new FieldMetaData("closeDate", TFieldRequirementType.OPTIONAL, 
154
        new FieldValueMetaData(TType.I64)));
159
        new FieldValueMetaData(TType.I64)));
155
    put(_Fields.DESCRIPTION, new FieldMetaData("description", TFieldRequirementType.DEFAULT, 
160
    put(_Fields.DESCRIPTION, new FieldMetaData("description", TFieldRequirementType.OPTIONAL, 
156
        new FieldValueMetaData(TType.STRING)));
161
        new FieldValueMetaData(TType.STRING)));
157
    put(_Fields.PRIORITY, new FieldMetaData("priority", TFieldRequirementType.DEFAULT, 
162
    put(_Fields.PRIORITY, new FieldMetaData("priority", TFieldRequirementType.DEFAULT, 
158
        new EnumMetaData(TType.ENUM, TicketPriority.class)));
163
        new EnumMetaData(TType.ENUM, TicketPriority.class)));
159
    put(_Fields.CATEGORY, new FieldMetaData("category", TFieldRequirementType.DEFAULT, 
164
    put(_Fields.CATEGORY, new FieldMetaData("category", TFieldRequirementType.DEFAULT, 
160
        new EnumMetaData(TType.ENUM, TicketCategory.class)));
165
        new EnumMetaData(TType.ENUM, TicketCategory.class)));
Line 179... Line 184...
179
  public Ticket() {
184
  public Ticket() {
180
  }
185
  }
181
 
186
 
182
  public Ticket(
187
  public Ticket(
183
    long id,
188
    long id,
184
    long customerId,
-
 
185
    long openDate,
189
    long openDate,
186
    String description,
-
 
187
    TicketPriority priority,
190
    TicketPriority priority,
188
    TicketCategory category,
191
    TicketCategory category,
189
    TicketStatus status,
192
    TicketStatus status,
190
    long creatorId)
193
    long creatorId)
191
  {
194
  {
192
    this();
195
    this();
193
    this.id = id;
196
    this.id = id;
194
    setIdIsSet(true);
197
    setIdIsSet(true);
195
    this.customerId = customerId;
-
 
196
    setCustomerIdIsSet(true);
-
 
197
    this.openDate = openDate;
198
    this.openDate = openDate;
198
    setOpenDateIsSet(true);
199
    setOpenDateIsSet(true);
199
    this.description = description;
-
 
200
    this.priority = priority;
200
    this.priority = priority;
201
    this.category = category;
201
    this.category = category;
202
    this.status = status;
202
    this.status = status;
203
    this.creatorId = creatorId;
203
    this.creatorId = creatorId;
204
    setCreatorIdIsSet(true);
204
    setCreatorIdIsSet(true);
Line 210... Line 210...
210
  public Ticket(Ticket other) {
210
  public Ticket(Ticket other) {
211
    __isset_bit_vector.clear();
211
    __isset_bit_vector.clear();
212
    __isset_bit_vector.or(other.__isset_bit_vector);
212
    __isset_bit_vector.or(other.__isset_bit_vector);
213
    this.id = other.id;
213
    this.id = other.id;
214
    this.customerId = other.customerId;
214
    this.customerId = other.customerId;
-
 
215
    if (other.isSetCustomerEmailId()) {
-
 
216
      this.customerEmailId = other.customerEmailId;
-
 
217
    }
215
    this.openDate = other.openDate;
218
    this.openDate = other.openDate;
216
    this.closeDate = other.closeDate;
219
    this.closeDate = other.closeDate;
217
    if (other.isSetDescription()) {
220
    if (other.isSetDescription()) {
218
      this.description = other.description;
221
      this.description = other.description;
219
    }
222
    }
Line 290... Line 293...
290
 
293
 
291
  public void setCustomerIdIsSet(boolean value) {
294
  public void setCustomerIdIsSet(boolean value) {
292
    __isset_bit_vector.set(__CUSTOMERID_ISSET_ID, value);
295
    __isset_bit_vector.set(__CUSTOMERID_ISSET_ID, value);
293
  }
296
  }
294
 
297
 
-
 
298
  public String getCustomerEmailId() {
-
 
299
    return this.customerEmailId;
-
 
300
  }
-
 
301
 
-
 
302
  public Ticket setCustomerEmailId(String customerEmailId) {
-
 
303
    this.customerEmailId = customerEmailId;
-
 
304
    return this;
-
 
305
  }
-
 
306
 
-
 
307
  public void unsetCustomerEmailId() {
-
 
308
    this.customerEmailId = null;
-
 
309
  }
-
 
310
 
-
 
311
  /** Returns true if field customerEmailId is set (has been asigned a value) and false otherwise */
-
 
312
  public boolean isSetCustomerEmailId() {
-
 
313
    return this.customerEmailId != null;
-
 
314
  }
-
 
315
 
-
 
316
  public void setCustomerEmailIdIsSet(boolean value) {
-
 
317
    if (!value) {
-
 
318
      this.customerEmailId = null;
-
 
319
    }
-
 
320
  }
-
 
321
 
295
  public long getOpenDate() {
322
  public long getOpenDate() {
296
    return this.openDate;
323
    return this.openDate;
297
  }
324
  }
298
 
325
 
299
  public Ticket setOpenDate(long openDate) {
326
  public Ticket setOpenDate(long openDate) {
Line 591... Line 618...
591
      } else {
618
      } else {
592
        setCustomerId((Long)value);
619
        setCustomerId((Long)value);
593
      }
620
      }
594
      break;
621
      break;
595
 
622
 
-
 
623
    case CUSTOMER_EMAIL_ID:
-
 
624
      if (value == null) {
-
 
625
        unsetCustomerEmailId();
-
 
626
      } else {
-
 
627
        setCustomerEmailId((String)value);
-
 
628
      }
-
 
629
      break;
-
 
630
 
596
    case OPEN_DATE:
631
    case OPEN_DATE:
597
      if (value == null) {
632
      if (value == null) {
598
        unsetOpenDate();
633
        unsetOpenDate();
599
      } else {
634
      } else {
600
        setOpenDate((Long)value);
635
        setOpenDate((Long)value);
Line 694... Line 729...
694
      return new Long(getId());
729
      return new Long(getId());
695
 
730
 
696
    case CUSTOMER_ID:
731
    case CUSTOMER_ID:
697
      return new Long(getCustomerId());
732
      return new Long(getCustomerId());
698
 
733
 
-
 
734
    case CUSTOMER_EMAIL_ID:
-
 
735
      return getCustomerEmailId();
-
 
736
 
699
    case OPEN_DATE:
737
    case OPEN_DATE:
700
      return new Long(getOpenDate());
738
      return new Long(getOpenDate());
701
 
739
 
702
    case CLOSE_DATE:
740
    case CLOSE_DATE:
703
      return new Long(getCloseDate());
741
      return new Long(getCloseDate());
Line 742... Line 780...
742
    switch (field) {
780
    switch (field) {
743
    case ID:
781
    case ID:
744
      return isSetId();
782
      return isSetId();
745
    case CUSTOMER_ID:
783
    case CUSTOMER_ID:
746
      return isSetCustomerId();
784
      return isSetCustomerId();
-
 
785
    case CUSTOMER_EMAIL_ID:
-
 
786
      return isSetCustomerEmailId();
747
    case OPEN_DATE:
787
    case OPEN_DATE:
748
      return isSetOpenDate();
788
      return isSetOpenDate();
749
    case CLOSE_DATE:
789
    case CLOSE_DATE:
750
      return isSetCloseDate();
790
      return isSetCloseDate();
751
    case DESCRIPTION:
791
    case DESCRIPTION:
Line 794... Line 834...
794
        return false;
834
        return false;
795
      if (this.id != that.id)
835
      if (this.id != that.id)
796
        return false;
836
        return false;
797
    }
837
    }
798
 
838
 
799
    boolean this_present_customerId = true;
839
    boolean this_present_customerId = true && this.isSetCustomerId();
800
    boolean that_present_customerId = true;
840
    boolean that_present_customerId = true && that.isSetCustomerId();
801
    if (this_present_customerId || that_present_customerId) {
841
    if (this_present_customerId || that_present_customerId) {
802
      if (!(this_present_customerId && that_present_customerId))
842
      if (!(this_present_customerId && that_present_customerId))
803
        return false;
843
        return false;
804
      if (this.customerId != that.customerId)
844
      if (this.customerId != that.customerId)
805
        return false;
845
        return false;
806
    }
846
    }
807
 
847
 
-
 
848
    boolean this_present_customerEmailId = true && this.isSetCustomerEmailId();
-
 
849
    boolean that_present_customerEmailId = true && that.isSetCustomerEmailId();
-
 
850
    if (this_present_customerEmailId || that_present_customerEmailId) {
-
 
851
      if (!(this_present_customerEmailId && that_present_customerEmailId))
-
 
852
        return false;
-
 
853
      if (!this.customerEmailId.equals(that.customerEmailId))
-
 
854
        return false;
-
 
855
    }
-
 
856
 
808
    boolean this_present_openDate = true;
857
    boolean this_present_openDate = true;
809
    boolean that_present_openDate = true;
858
    boolean that_present_openDate = true;
810
    if (this_present_openDate || that_present_openDate) {
859
    if (this_present_openDate || that_present_openDate) {
811
      if (!(this_present_openDate && that_present_openDate))
860
      if (!(this_present_openDate && that_present_openDate))
812
        return false;
861
        return false;
Line 934... Line 983...
934
    }
983
    }
935
    lastComparison = TBaseHelper.compareTo(customerId, typedOther.customerId);
984
    lastComparison = TBaseHelper.compareTo(customerId, typedOther.customerId);
936
    if (lastComparison != 0) {
985
    if (lastComparison != 0) {
937
      return lastComparison;
986
      return lastComparison;
938
    }
987
    }
-
 
988
    lastComparison = Boolean.valueOf(isSetCustomerEmailId()).compareTo(isSetCustomerEmailId());
-
 
989
    if (lastComparison != 0) {
-
 
990
      return lastComparison;
-
 
991
    }
-
 
992
    lastComparison = TBaseHelper.compareTo(customerEmailId, typedOther.customerEmailId);
-
 
993
    if (lastComparison != 0) {
-
 
994
      return lastComparison;
-
 
995
    }
939
    lastComparison = Boolean.valueOf(isSetOpenDate()).compareTo(isSetOpenDate());
996
    lastComparison = Boolean.valueOf(isSetOpenDate()).compareTo(isSetOpenDate());
940
    if (lastComparison != 0) {
997
    if (lastComparison != 0) {
941
      return lastComparison;
998
      return lastComparison;
942
    }
999
    }
943
    lastComparison = TBaseHelper.compareTo(openDate, typedOther.openDate);
1000
    lastComparison = TBaseHelper.compareTo(openDate, typedOther.openDate);
Line 1055... Line 1112...
1055
              setCustomerIdIsSet(true);
1112
              setCustomerIdIsSet(true);
1056
            } else { 
1113
            } else { 
1057
              TProtocolUtil.skip(iprot, field.type);
1114
              TProtocolUtil.skip(iprot, field.type);
1058
            }
1115
            }
1059
            break;
1116
            break;
-
 
1117
          case CUSTOMER_EMAIL_ID:
-
 
1118
            if (field.type == TType.STRING) {
-
 
1119
              this.customerEmailId = iprot.readString();
-
 
1120
            } else { 
-
 
1121
              TProtocolUtil.skip(iprot, field.type);
-
 
1122
            }
-
 
1123
            break;
1060
          case OPEN_DATE:
1124
          case OPEN_DATE:
1061
            if (field.type == TType.I64) {
1125
            if (field.type == TType.I64) {
1062
              this.openDate = iprot.readI64();
1126
              this.openDate = iprot.readI64();
1063
              setOpenDateIsSet(true);
1127
              setOpenDateIsSet(true);
1064
            } else { 
1128
            } else { 
Line 1152... Line 1216...
1152
 
1216
 
1153
    oprot.writeStructBegin(STRUCT_DESC);
1217
    oprot.writeStructBegin(STRUCT_DESC);
1154
    oprot.writeFieldBegin(ID_FIELD_DESC);
1218
    oprot.writeFieldBegin(ID_FIELD_DESC);
1155
    oprot.writeI64(this.id);
1219
    oprot.writeI64(this.id);
1156
    oprot.writeFieldEnd();
1220
    oprot.writeFieldEnd();
-
 
1221
    if (isSetCustomerId()) {
1157
    oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
1222
      oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
1158
    oprot.writeI64(this.customerId);
1223
      oprot.writeI64(this.customerId);
1159
    oprot.writeFieldEnd();
1224
      oprot.writeFieldEnd();
-
 
1225
    }
-
 
1226
    if (this.customerEmailId != null) {
-
 
1227
      if (isSetCustomerEmailId()) {
-
 
1228
        oprot.writeFieldBegin(CUSTOMER_EMAIL_ID_FIELD_DESC);
-
 
1229
        oprot.writeString(this.customerEmailId);
-
 
1230
        oprot.writeFieldEnd();
-
 
1231
      }
-
 
1232
    }
1160
    oprot.writeFieldBegin(OPEN_DATE_FIELD_DESC);
1233
    oprot.writeFieldBegin(OPEN_DATE_FIELD_DESC);
1161
    oprot.writeI64(this.openDate);
1234
    oprot.writeI64(this.openDate);
1162
    oprot.writeFieldEnd();
1235
    oprot.writeFieldEnd();
1163
    if (isSetCloseDate()) {
1236
    if (isSetCloseDate()) {
1164
      oprot.writeFieldBegin(CLOSE_DATE_FIELD_DESC);
1237
      oprot.writeFieldBegin(CLOSE_DATE_FIELD_DESC);
1165
      oprot.writeI64(this.closeDate);
1238
      oprot.writeI64(this.closeDate);
1166
      oprot.writeFieldEnd();
1239
      oprot.writeFieldEnd();
1167
    }
1240
    }
1168
    if (this.description != null) {
1241
    if (this.description != null) {
-
 
1242
      if (isSetDescription()) {
1169
      oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
1243
        oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
1170
      oprot.writeString(this.description);
1244
        oprot.writeString(this.description);
1171
      oprot.writeFieldEnd();
1245
        oprot.writeFieldEnd();
-
 
1246
      }
1172
    }
1247
    }
1173
    if (this.priority != null) {
1248
    if (this.priority != null) {
1174
      oprot.writeFieldBegin(PRIORITY_FIELD_DESC);
1249
      oprot.writeFieldBegin(PRIORITY_FIELD_DESC);
1175
      oprot.writeI32(this.priority.getValue());
1250
      oprot.writeI32(this.priority.getValue());
1176
      oprot.writeFieldEnd();
1251
      oprot.writeFieldEnd();
Line 1222... Line 1297...
1222
    boolean first = true;
1297
    boolean first = true;
1223
 
1298
 
1224
    sb.append("id:");
1299
    sb.append("id:");
1225
    sb.append(this.id);
1300
    sb.append(this.id);
1226
    first = false;
1301
    first = false;
-
 
1302
    if (isSetCustomerId()) {
1227
    if (!first) sb.append(", ");
1303
      if (!first) sb.append(", ");
1228
    sb.append("customerId:");
1304
      sb.append("customerId:");
1229
    sb.append(this.customerId);
1305
      sb.append(this.customerId);
-
 
1306
      first = false;
-
 
1307
    }
-
 
1308
    if (isSetCustomerEmailId()) {
-
 
1309
      if (!first) sb.append(", ");
-
 
1310
      sb.append("customerEmailId:");
-
 
1311
      if (this.customerEmailId == null) {
-
 
1312
        sb.append("null");
-
 
1313
      } else {
-
 
1314
        sb.append(this.customerEmailId);
-
 
1315
      }
1230
    first = false;
1316
      first = false;
-
 
1317
    }
1231
    if (!first) sb.append(", ");
1318
    if (!first) sb.append(", ");
1232
    sb.append("openDate:");
1319
    sb.append("openDate:");
1233
    sb.append(this.openDate);
1320
    sb.append(this.openDate);
1234
    first = false;
1321
    first = false;
1235
    if (isSetCloseDate()) {
1322
    if (isSetCloseDate()) {
1236
      if (!first) sb.append(", ");
1323
      if (!first) sb.append(", ");
1237
      sb.append("closeDate:");
1324
      sb.append("closeDate:");
1238
      sb.append(this.closeDate);
1325
      sb.append(this.closeDate);
1239
      first = false;
1326
      first = false;
1240
    }
1327
    }
-
 
1328
    if (isSetDescription()) {
1241
    if (!first) sb.append(", ");
1329
      if (!first) sb.append(", ");
1242
    sb.append("description:");
1330
      sb.append("description:");
1243
    if (this.description == null) {
1331
      if (this.description == null) {
1244
      sb.append("null");
1332
        sb.append("null");
1245
    } else {
1333
      } else {
1246
      sb.append(this.description);
1334
        sb.append(this.description);
-
 
1335
      }
-
 
1336
      first = false;
1247
    }
1337
    }
1248
    first = false;
-
 
1249
    if (!first) sb.append(", ");
1338
    if (!first) sb.append(", ");
1250
    sb.append("priority:");
1339
    sb.append("priority:");
1251
    if (this.priority == null) {
1340
    if (this.priority == null) {
1252
      sb.append("null");
1341
      sb.append("null");
1253
    } else {
1342
    } else {