| 3028 |
mandeep.dh |
1 |
/**
|
| 3430 |
rajveer |
2 |
* Autogenerated by Thrift Compiler (0.7.0)
|
| 3028 |
mandeep.dh |
3 |
*
|
|
|
4 |
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
|
|
|
5 |
*/
|
|
|
6 |
package in.shop2020.crm;
|
|
|
7 |
|
|
|
8 |
import java.util.List;
|
|
|
9 |
import java.util.ArrayList;
|
|
|
10 |
import java.util.Map;
|
|
|
11 |
import java.util.HashMap;
|
|
|
12 |
import java.util.EnumMap;
|
|
|
13 |
import java.util.Set;
|
|
|
14 |
import java.util.HashSet;
|
|
|
15 |
import java.util.EnumSet;
|
|
|
16 |
import java.util.Collections;
|
|
|
17 |
import java.util.BitSet;
|
| 3430 |
rajveer |
18 |
import java.nio.ByteBuffer;
|
| 3028 |
mandeep.dh |
19 |
import java.util.Arrays;
|
|
|
20 |
import org.slf4j.Logger;
|
|
|
21 |
import org.slf4j.LoggerFactory;
|
|
|
22 |
|
| 3430 |
rajveer |
23 |
public class Ticket implements org.apache.thrift.TBase<Ticket, Ticket._Fields>, java.io.Serializable, Cloneable {
|
|
|
24 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Ticket");
|
| 3028 |
mandeep.dh |
25 |
|
| 3430 |
rajveer |
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 CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customerId", org.apache.thrift.protocol.TType.I64, (short)2);
|
|
|
28 |
private static final org.apache.thrift.protocol.TField OPEN_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("openDate", org.apache.thrift.protocol.TType.I64, (short)3);
|
|
|
29 |
private static final org.apache.thrift.protocol.TField CLOSE_DATE_FIELD_DESC = new org.apache.thrift.protocol.TField("closeDate", org.apache.thrift.protocol.TType.I64, (short)4);
|
|
|
30 |
private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)5);
|
|
|
31 |
private static final org.apache.thrift.protocol.TField PRIORITY_FIELD_DESC = new org.apache.thrift.protocol.TField("priority", org.apache.thrift.protocol.TType.I32, (short)6);
|
|
|
32 |
private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I32, (short)7);
|
|
|
33 |
private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.I32, (short)8);
|
|
|
34 |
private static final org.apache.thrift.protocol.TField ASSIGNEE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("assigneeId", org.apache.thrift.protocol.TType.I64, (short)9);
|
|
|
35 |
private static final org.apache.thrift.protocol.TField CREATOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("creatorId", org.apache.thrift.protocol.TType.I64, (short)10);
|
|
|
36 |
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)11);
|
|
|
37 |
private static final org.apache.thrift.protocol.TField AIRWAY_BILL_NO_FIELD_DESC = new org.apache.thrift.protocol.TField("airwayBillNo", org.apache.thrift.protocol.TType.STRING, (short)12);
|
|
|
38 |
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)13);
|
|
|
39 |
private static final org.apache.thrift.protocol.TField CUSTOMER_MOBILE_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("customerMobileNumber", org.apache.thrift.protocol.TType.STRING, (short)14);
|
|
|
40 |
private static final org.apache.thrift.protocol.TField CUSTOMER_EMAIL_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customerEmailId", org.apache.thrift.protocol.TType.STRING, (short)15);
|
|
|
41 |
private static final org.apache.thrift.protocol.TField CUSTOMER_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("customerName", org.apache.thrift.protocol.TType.STRING, (short)16);
|
| 3028 |
mandeep.dh |
42 |
|
| 3430 |
rajveer |
43 |
private long id; // required
|
|
|
44 |
private long customerId; // required
|
|
|
45 |
private long openDate; // required
|
|
|
46 |
private long closeDate; // required
|
|
|
47 |
private String description; // required
|
|
|
48 |
private TicketPriority priority; // required
|
|
|
49 |
private TicketCategory category; // required
|
|
|
50 |
private TicketStatus status; // required
|
|
|
51 |
private long assigneeId; // required
|
|
|
52 |
private long creatorId; // required
|
|
|
53 |
private long orderId; // required
|
|
|
54 |
private String airwayBillNo; // required
|
|
|
55 |
private String productName; // required
|
|
|
56 |
private String customerMobileNumber; // required
|
|
|
57 |
private String customerEmailId; // required
|
|
|
58 |
private String customerName; // required
|
| 3028 |
mandeep.dh |
59 |
|
|
|
60 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 3430 |
rajveer |
61 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 3028 |
mandeep.dh |
62 |
ID((short)1, "id"),
|
|
|
63 |
CUSTOMER_ID((short)2, "customerId"),
|
| 3390 |
mandeep.dh |
64 |
OPEN_DATE((short)3, "openDate"),
|
|
|
65 |
CLOSE_DATE((short)4, "closeDate"),
|
|
|
66 |
DESCRIPTION((short)5, "description"),
|
| 3106 |
mandeep.dh |
67 |
/**
|
|
|
68 |
*
|
|
|
69 |
* @see TicketPriority
|
|
|
70 |
*/
|
| 3390 |
mandeep.dh |
71 |
PRIORITY((short)6, "priority"),
|
| 3106 |
mandeep.dh |
72 |
/**
|
|
|
73 |
*
|
|
|
74 |
* @see TicketCategory
|
|
|
75 |
*/
|
| 3390 |
mandeep.dh |
76 |
CATEGORY((short)7, "category"),
|
| 3106 |
mandeep.dh |
77 |
/**
|
|
|
78 |
*
|
|
|
79 |
* @see TicketStatus
|
|
|
80 |
*/
|
| 3390 |
mandeep.dh |
81 |
STATUS((short)8, "status"),
|
|
|
82 |
ASSIGNEE_ID((short)9, "assigneeId"),
|
|
|
83 |
CREATOR_ID((short)10, "creatorId"),
|
|
|
84 |
ORDER_ID((short)11, "orderId"),
|
|
|
85 |
AIRWAY_BILL_NO((short)12, "airwayBillNo"),
|
|
|
86 |
PRODUCT_NAME((short)13, "productName"),
|
|
|
87 |
CUSTOMER_MOBILE_NUMBER((short)14, "customerMobileNumber"),
|
|
|
88 |
CUSTOMER_EMAIL_ID((short)15, "customerEmailId"),
|
| 3546 |
mandeep.dh |
89 |
CUSTOMER_NAME((short)16, "customerName");
|
| 3028 |
mandeep.dh |
90 |
|
|
|
91 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
|
|
92 |
|
|
|
93 |
static {
|
|
|
94 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
|
|
95 |
byName.put(field.getFieldName(), field);
|
|
|
96 |
}
|
|
|
97 |
}
|
|
|
98 |
|
|
|
99 |
/**
|
|
|
100 |
* Find the _Fields constant that matches fieldId, or null if its not found.
|
|
|
101 |
*/
|
|
|
102 |
public static _Fields findByThriftId(int fieldId) {
|
| 3430 |
rajveer |
103 |
switch(fieldId) {
|
|
|
104 |
case 1: // ID
|
|
|
105 |
return ID;
|
|
|
106 |
case 2: // CUSTOMER_ID
|
|
|
107 |
return CUSTOMER_ID;
|
|
|
108 |
case 3: // OPEN_DATE
|
|
|
109 |
return OPEN_DATE;
|
|
|
110 |
case 4: // CLOSE_DATE
|
|
|
111 |
return CLOSE_DATE;
|
|
|
112 |
case 5: // DESCRIPTION
|
|
|
113 |
return DESCRIPTION;
|
|
|
114 |
case 6: // PRIORITY
|
|
|
115 |
return PRIORITY;
|
|
|
116 |
case 7: // CATEGORY
|
|
|
117 |
return CATEGORY;
|
|
|
118 |
case 8: // STATUS
|
|
|
119 |
return STATUS;
|
|
|
120 |
case 9: // ASSIGNEE_ID
|
|
|
121 |
return ASSIGNEE_ID;
|
|
|
122 |
case 10: // CREATOR_ID
|
|
|
123 |
return CREATOR_ID;
|
|
|
124 |
case 11: // ORDER_ID
|
|
|
125 |
return ORDER_ID;
|
|
|
126 |
case 12: // AIRWAY_BILL_NO
|
|
|
127 |
return AIRWAY_BILL_NO;
|
|
|
128 |
case 13: // PRODUCT_NAME
|
|
|
129 |
return PRODUCT_NAME;
|
|
|
130 |
case 14: // CUSTOMER_MOBILE_NUMBER
|
|
|
131 |
return CUSTOMER_MOBILE_NUMBER;
|
|
|
132 |
case 15: // CUSTOMER_EMAIL_ID
|
|
|
133 |
return CUSTOMER_EMAIL_ID;
|
|
|
134 |
case 16: // CUSTOMER_NAME
|
|
|
135 |
return CUSTOMER_NAME;
|
|
|
136 |
default:
|
|
|
137 |
return null;
|
|
|
138 |
}
|
| 3028 |
mandeep.dh |
139 |
}
|
|
|
140 |
|
|
|
141 |
/**
|
|
|
142 |
* Find the _Fields constant that matches fieldId, throwing an exception
|
|
|
143 |
* if it is not found.
|
|
|
144 |
*/
|
|
|
145 |
public static _Fields findByThriftIdOrThrow(int fieldId) {
|
|
|
146 |
_Fields fields = findByThriftId(fieldId);
|
|
|
147 |
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
|
|
|
148 |
return fields;
|
|
|
149 |
}
|
|
|
150 |
|
|
|
151 |
/**
|
|
|
152 |
* Find the _Fields constant that matches name, or null if its not found.
|
|
|
153 |
*/
|
|
|
154 |
public static _Fields findByName(String name) {
|
|
|
155 |
return byName.get(name);
|
|
|
156 |
}
|
|
|
157 |
|
|
|
158 |
private final short _thriftId;
|
|
|
159 |
private final String _fieldName;
|
|
|
160 |
|
|
|
161 |
_Fields(short thriftId, String fieldName) {
|
|
|
162 |
_thriftId = thriftId;
|
|
|
163 |
_fieldName = fieldName;
|
|
|
164 |
}
|
|
|
165 |
|
|
|
166 |
public short getThriftFieldId() {
|
|
|
167 |
return _thriftId;
|
|
|
168 |
}
|
|
|
169 |
|
|
|
170 |
public String getFieldName() {
|
|
|
171 |
return _fieldName;
|
|
|
172 |
}
|
|
|
173 |
}
|
|
|
174 |
|
|
|
175 |
// isset id assignments
|
|
|
176 |
private static final int __ID_ISSET_ID = 0;
|
|
|
177 |
private static final int __CUSTOMERID_ISSET_ID = 1;
|
|
|
178 |
private static final int __OPENDATE_ISSET_ID = 2;
|
|
|
179 |
private static final int __CLOSEDATE_ISSET_ID = 3;
|
| 3106 |
mandeep.dh |
180 |
private static final int __ASSIGNEEID_ISSET_ID = 4;
|
|
|
181 |
private static final int __CREATORID_ISSET_ID = 5;
|
| 3028 |
mandeep.dh |
182 |
private static final int __ORDERID_ISSET_ID = 6;
|
|
|
183 |
private BitSet __isset_bit_vector = new BitSet(7);
|
|
|
184 |
|
| 3430 |
rajveer |
185 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 3028 |
mandeep.dh |
186 |
static {
|
| 3430 |
rajveer |
187 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
|
|
188 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
189 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
190 |
tmpMap.put(_Fields.CUSTOMER_ID, new org.apache.thrift.meta_data.FieldMetaData("customerId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
191 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
192 |
tmpMap.put(_Fields.OPEN_DATE, new org.apache.thrift.meta_data.FieldMetaData("openDate", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
193 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
194 |
tmpMap.put(_Fields.CLOSE_DATE, new org.apache.thrift.meta_data.FieldMetaData("closeDate", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
195 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
196 |
tmpMap.put(_Fields.DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("description", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
197 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
198 |
tmpMap.put(_Fields.PRIORITY, new org.apache.thrift.meta_data.FieldMetaData("priority", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
199 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TicketPriority.class)));
|
|
|
200 |
tmpMap.put(_Fields.CATEGORY, new org.apache.thrift.meta_data.FieldMetaData("category", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
201 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TicketCategory.class)));
|
|
|
202 |
tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
203 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TicketStatus.class)));
|
|
|
204 |
tmpMap.put(_Fields.ASSIGNEE_ID, new org.apache.thrift.meta_data.FieldMetaData("assigneeId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
205 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
206 |
tmpMap.put(_Fields.CREATOR_ID, new org.apache.thrift.meta_data.FieldMetaData("creatorId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
|
|
207 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
208 |
tmpMap.put(_Fields.ORDER_ID, new org.apache.thrift.meta_data.FieldMetaData("orderId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
209 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
|
|
210 |
tmpMap.put(_Fields.AIRWAY_BILL_NO, new org.apache.thrift.meta_data.FieldMetaData("airwayBillNo", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
211 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
212 |
tmpMap.put(_Fields.PRODUCT_NAME, new org.apache.thrift.meta_data.FieldMetaData("productName", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
213 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
214 |
tmpMap.put(_Fields.CUSTOMER_MOBILE_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("customerMobileNumber", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
215 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
216 |
tmpMap.put(_Fields.CUSTOMER_EMAIL_ID, new org.apache.thrift.meta_data.FieldMetaData("customerEmailId", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
217 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
218 |
tmpMap.put(_Fields.CUSTOMER_NAME, new org.apache.thrift.meta_data.FieldMetaData("customerName", org.apache.thrift.TFieldRequirementType.OPTIONAL,
|
|
|
219 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
|
|
220 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
|
|
221 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Ticket.class, metaDataMap);
|
| 3028 |
mandeep.dh |
222 |
}
|
|
|
223 |
|
|
|
224 |
public Ticket() {
|
|
|
225 |
}
|
|
|
226 |
|
|
|
227 |
public Ticket(
|
|
|
228 |
long id,
|
|
|
229 |
long openDate,
|
| 3106 |
mandeep.dh |
230 |
TicketPriority priority,
|
|
|
231 |
TicketCategory category,
|
|
|
232 |
TicketStatus status,
|
| 3168 |
mandeep.dh |
233 |
long creatorId)
|
| 3028 |
mandeep.dh |
234 |
{
|
|
|
235 |
this();
|
|
|
236 |
this.id = id;
|
|
|
237 |
setIdIsSet(true);
|
|
|
238 |
this.openDate = openDate;
|
|
|
239 |
setOpenDateIsSet(true);
|
| 3106 |
mandeep.dh |
240 |
this.priority = priority;
|
|
|
241 |
this.category = category;
|
|
|
242 |
this.status = status;
|
| 3028 |
mandeep.dh |
243 |
this.creatorId = creatorId;
|
|
|
244 |
setCreatorIdIsSet(true);
|
|
|
245 |
}
|
|
|
246 |
|
|
|
247 |
/**
|
|
|
248 |
* Performs a deep copy on <i>other</i>.
|
|
|
249 |
*/
|
|
|
250 |
public Ticket(Ticket other) {
|
|
|
251 |
__isset_bit_vector.clear();
|
|
|
252 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
|
|
253 |
this.id = other.id;
|
|
|
254 |
this.customerId = other.customerId;
|
|
|
255 |
this.openDate = other.openDate;
|
|
|
256 |
this.closeDate = other.closeDate;
|
| 3106 |
mandeep.dh |
257 |
if (other.isSetDescription()) {
|
|
|
258 |
this.description = other.description;
|
| 3028 |
mandeep.dh |
259 |
}
|
| 3106 |
mandeep.dh |
260 |
if (other.isSetPriority()) {
|
|
|
261 |
this.priority = other.priority;
|
|
|
262 |
}
|
|
|
263 |
if (other.isSetCategory()) {
|
|
|
264 |
this.category = other.category;
|
|
|
265 |
}
|
|
|
266 |
if (other.isSetStatus()) {
|
|
|
267 |
this.status = other.status;
|
|
|
268 |
}
|
|
|
269 |
this.assigneeId = other.assigneeId;
|
| 3028 |
mandeep.dh |
270 |
this.creatorId = other.creatorId;
|
|
|
271 |
this.orderId = other.orderId;
|
|
|
272 |
if (other.isSetAirwayBillNo()) {
|
|
|
273 |
this.airwayBillNo = other.airwayBillNo;
|
|
|
274 |
}
|
|
|
275 |
if (other.isSetProductName()) {
|
|
|
276 |
this.productName = other.productName;
|
|
|
277 |
}
|
| 3390 |
mandeep.dh |
278 |
if (other.isSetCustomerMobileNumber()) {
|
|
|
279 |
this.customerMobileNumber = other.customerMobileNumber;
|
|
|
280 |
}
|
|
|
281 |
if (other.isSetCustomerEmailId()) {
|
|
|
282 |
this.customerEmailId = other.customerEmailId;
|
|
|
283 |
}
|
|
|
284 |
if (other.isSetCustomerName()) {
|
|
|
285 |
this.customerName = other.customerName;
|
|
|
286 |
}
|
| 3028 |
mandeep.dh |
287 |
}
|
|
|
288 |
|
|
|
289 |
public Ticket deepCopy() {
|
|
|
290 |
return new Ticket(this);
|
|
|
291 |
}
|
|
|
292 |
|
| 3430 |
rajveer |
293 |
@Override
|
|
|
294 |
public void clear() {
|
|
|
295 |
setIdIsSet(false);
|
|
|
296 |
this.id = 0;
|
|
|
297 |
setCustomerIdIsSet(false);
|
|
|
298 |
this.customerId = 0;
|
|
|
299 |
setOpenDateIsSet(false);
|
|
|
300 |
this.openDate = 0;
|
|
|
301 |
setCloseDateIsSet(false);
|
|
|
302 |
this.closeDate = 0;
|
|
|
303 |
this.description = null;
|
|
|
304 |
this.priority = null;
|
|
|
305 |
this.category = null;
|
|
|
306 |
this.status = null;
|
|
|
307 |
setAssigneeIdIsSet(false);
|
|
|
308 |
this.assigneeId = 0;
|
|
|
309 |
setCreatorIdIsSet(false);
|
|
|
310 |
this.creatorId = 0;
|
|
|
311 |
setOrderIdIsSet(false);
|
|
|
312 |
this.orderId = 0;
|
|
|
313 |
this.airwayBillNo = null;
|
|
|
314 |
this.productName = null;
|
|
|
315 |
this.customerMobileNumber = null;
|
|
|
316 |
this.customerEmailId = null;
|
|
|
317 |
this.customerName = null;
|
| 3028 |
mandeep.dh |
318 |
}
|
|
|
319 |
|
|
|
320 |
public long getId() {
|
|
|
321 |
return this.id;
|
|
|
322 |
}
|
|
|
323 |
|
| 3430 |
rajveer |
324 |
public void setId(long id) {
|
| 3028 |
mandeep.dh |
325 |
this.id = id;
|
|
|
326 |
setIdIsSet(true);
|
|
|
327 |
}
|
|
|
328 |
|
|
|
329 |
public void unsetId() {
|
|
|
330 |
__isset_bit_vector.clear(__ID_ISSET_ID);
|
|
|
331 |
}
|
|
|
332 |
|
| 3430 |
rajveer |
333 |
/** Returns true if field id is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
334 |
public boolean isSetId() {
|
|
|
335 |
return __isset_bit_vector.get(__ID_ISSET_ID);
|
|
|
336 |
}
|
|
|
337 |
|
|
|
338 |
public void setIdIsSet(boolean value) {
|
|
|
339 |
__isset_bit_vector.set(__ID_ISSET_ID, value);
|
|
|
340 |
}
|
|
|
341 |
|
|
|
342 |
public long getCustomerId() {
|
|
|
343 |
return this.customerId;
|
|
|
344 |
}
|
|
|
345 |
|
| 3430 |
rajveer |
346 |
public void setCustomerId(long customerId) {
|
| 3028 |
mandeep.dh |
347 |
this.customerId = customerId;
|
|
|
348 |
setCustomerIdIsSet(true);
|
|
|
349 |
}
|
|
|
350 |
|
|
|
351 |
public void unsetCustomerId() {
|
|
|
352 |
__isset_bit_vector.clear(__CUSTOMERID_ISSET_ID);
|
|
|
353 |
}
|
|
|
354 |
|
| 3430 |
rajveer |
355 |
/** Returns true if field customerId is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
356 |
public boolean isSetCustomerId() {
|
|
|
357 |
return __isset_bit_vector.get(__CUSTOMERID_ISSET_ID);
|
|
|
358 |
}
|
|
|
359 |
|
|
|
360 |
public void setCustomerIdIsSet(boolean value) {
|
|
|
361 |
__isset_bit_vector.set(__CUSTOMERID_ISSET_ID, value);
|
|
|
362 |
}
|
|
|
363 |
|
|
|
364 |
public long getOpenDate() {
|
|
|
365 |
return this.openDate;
|
|
|
366 |
}
|
|
|
367 |
|
| 3430 |
rajveer |
368 |
public void setOpenDate(long openDate) {
|
| 3028 |
mandeep.dh |
369 |
this.openDate = openDate;
|
|
|
370 |
setOpenDateIsSet(true);
|
|
|
371 |
}
|
|
|
372 |
|
|
|
373 |
public void unsetOpenDate() {
|
|
|
374 |
__isset_bit_vector.clear(__OPENDATE_ISSET_ID);
|
|
|
375 |
}
|
|
|
376 |
|
| 3430 |
rajveer |
377 |
/** Returns true if field openDate is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
378 |
public boolean isSetOpenDate() {
|
|
|
379 |
return __isset_bit_vector.get(__OPENDATE_ISSET_ID);
|
|
|
380 |
}
|
|
|
381 |
|
|
|
382 |
public void setOpenDateIsSet(boolean value) {
|
|
|
383 |
__isset_bit_vector.set(__OPENDATE_ISSET_ID, value);
|
|
|
384 |
}
|
|
|
385 |
|
|
|
386 |
public long getCloseDate() {
|
|
|
387 |
return this.closeDate;
|
|
|
388 |
}
|
|
|
389 |
|
| 3430 |
rajveer |
390 |
public void setCloseDate(long closeDate) {
|
| 3028 |
mandeep.dh |
391 |
this.closeDate = closeDate;
|
|
|
392 |
setCloseDateIsSet(true);
|
|
|
393 |
}
|
|
|
394 |
|
|
|
395 |
public void unsetCloseDate() {
|
|
|
396 |
__isset_bit_vector.clear(__CLOSEDATE_ISSET_ID);
|
|
|
397 |
}
|
|
|
398 |
|
| 3430 |
rajveer |
399 |
/** Returns true if field closeDate is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
400 |
public boolean isSetCloseDate() {
|
|
|
401 |
return __isset_bit_vector.get(__CLOSEDATE_ISSET_ID);
|
|
|
402 |
}
|
|
|
403 |
|
|
|
404 |
public void setCloseDateIsSet(boolean value) {
|
|
|
405 |
__isset_bit_vector.set(__CLOSEDATE_ISSET_ID, value);
|
|
|
406 |
}
|
|
|
407 |
|
| 3106 |
mandeep.dh |
408 |
public String getDescription() {
|
|
|
409 |
return this.description;
|
| 3028 |
mandeep.dh |
410 |
}
|
|
|
411 |
|
| 3430 |
rajveer |
412 |
public void setDescription(String description) {
|
| 3106 |
mandeep.dh |
413 |
this.description = description;
|
| 3028 |
mandeep.dh |
414 |
}
|
|
|
415 |
|
| 3106 |
mandeep.dh |
416 |
public void unsetDescription() {
|
|
|
417 |
this.description = null;
|
| 3028 |
mandeep.dh |
418 |
}
|
|
|
419 |
|
| 3430 |
rajveer |
420 |
/** Returns true if field description is set (has been assigned a value) and false otherwise */
|
| 3106 |
mandeep.dh |
421 |
public boolean isSetDescription() {
|
|
|
422 |
return this.description != null;
|
| 3028 |
mandeep.dh |
423 |
}
|
|
|
424 |
|
| 3106 |
mandeep.dh |
425 |
public void setDescriptionIsSet(boolean value) {
|
| 3028 |
mandeep.dh |
426 |
if (!value) {
|
| 3106 |
mandeep.dh |
427 |
this.description = null;
|
| 3028 |
mandeep.dh |
428 |
}
|
|
|
429 |
}
|
|
|
430 |
|
| 3106 |
mandeep.dh |
431 |
/**
|
|
|
432 |
*
|
|
|
433 |
* @see TicketPriority
|
|
|
434 |
*/
|
|
|
435 |
public TicketPriority getPriority() {
|
|
|
436 |
return this.priority;
|
|
|
437 |
}
|
|
|
438 |
|
|
|
439 |
/**
|
|
|
440 |
*
|
|
|
441 |
* @see TicketPriority
|
|
|
442 |
*/
|
| 3430 |
rajveer |
443 |
public void setPriority(TicketPriority priority) {
|
| 3106 |
mandeep.dh |
444 |
this.priority = priority;
|
|
|
445 |
}
|
|
|
446 |
|
|
|
447 |
public void unsetPriority() {
|
|
|
448 |
this.priority = null;
|
|
|
449 |
}
|
|
|
450 |
|
| 3430 |
rajveer |
451 |
/** Returns true if field priority is set (has been assigned a value) and false otherwise */
|
| 3106 |
mandeep.dh |
452 |
public boolean isSetPriority() {
|
|
|
453 |
return this.priority != null;
|
|
|
454 |
}
|
|
|
455 |
|
|
|
456 |
public void setPriorityIsSet(boolean value) {
|
|
|
457 |
if (!value) {
|
|
|
458 |
this.priority = null;
|
|
|
459 |
}
|
|
|
460 |
}
|
|
|
461 |
|
|
|
462 |
/**
|
|
|
463 |
*
|
|
|
464 |
* @see TicketCategory
|
|
|
465 |
*/
|
|
|
466 |
public TicketCategory getCategory() {
|
|
|
467 |
return this.category;
|
|
|
468 |
}
|
|
|
469 |
|
|
|
470 |
/**
|
|
|
471 |
*
|
|
|
472 |
* @see TicketCategory
|
|
|
473 |
*/
|
| 3430 |
rajveer |
474 |
public void setCategory(TicketCategory category) {
|
| 3106 |
mandeep.dh |
475 |
this.category = category;
|
|
|
476 |
}
|
|
|
477 |
|
|
|
478 |
public void unsetCategory() {
|
|
|
479 |
this.category = null;
|
|
|
480 |
}
|
|
|
481 |
|
| 3430 |
rajveer |
482 |
/** Returns true if field category is set (has been assigned a value) and false otherwise */
|
| 3106 |
mandeep.dh |
483 |
public boolean isSetCategory() {
|
|
|
484 |
return this.category != null;
|
|
|
485 |
}
|
|
|
486 |
|
|
|
487 |
public void setCategoryIsSet(boolean value) {
|
|
|
488 |
if (!value) {
|
|
|
489 |
this.category = null;
|
|
|
490 |
}
|
|
|
491 |
}
|
|
|
492 |
|
|
|
493 |
/**
|
|
|
494 |
*
|
|
|
495 |
* @see TicketStatus
|
|
|
496 |
*/
|
|
|
497 |
public TicketStatus getStatus() {
|
|
|
498 |
return this.status;
|
|
|
499 |
}
|
|
|
500 |
|
|
|
501 |
/**
|
|
|
502 |
*
|
|
|
503 |
* @see TicketStatus
|
|
|
504 |
*/
|
| 3430 |
rajveer |
505 |
public void setStatus(TicketStatus status) {
|
| 3106 |
mandeep.dh |
506 |
this.status = status;
|
|
|
507 |
}
|
|
|
508 |
|
|
|
509 |
public void unsetStatus() {
|
|
|
510 |
this.status = null;
|
|
|
511 |
}
|
|
|
512 |
|
| 3430 |
rajveer |
513 |
/** Returns true if field status is set (has been assigned a value) and false otherwise */
|
| 3106 |
mandeep.dh |
514 |
public boolean isSetStatus() {
|
|
|
515 |
return this.status != null;
|
|
|
516 |
}
|
|
|
517 |
|
|
|
518 |
public void setStatusIsSet(boolean value) {
|
|
|
519 |
if (!value) {
|
|
|
520 |
this.status = null;
|
|
|
521 |
}
|
|
|
522 |
}
|
|
|
523 |
|
|
|
524 |
public long getAssigneeId() {
|
|
|
525 |
return this.assigneeId;
|
|
|
526 |
}
|
|
|
527 |
|
| 3430 |
rajveer |
528 |
public void setAssigneeId(long assigneeId) {
|
| 3106 |
mandeep.dh |
529 |
this.assigneeId = assigneeId;
|
|
|
530 |
setAssigneeIdIsSet(true);
|
|
|
531 |
}
|
|
|
532 |
|
|
|
533 |
public void unsetAssigneeId() {
|
|
|
534 |
__isset_bit_vector.clear(__ASSIGNEEID_ISSET_ID);
|
|
|
535 |
}
|
|
|
536 |
|
| 3430 |
rajveer |
537 |
/** Returns true if field assigneeId is set (has been assigned a value) and false otherwise */
|
| 3106 |
mandeep.dh |
538 |
public boolean isSetAssigneeId() {
|
|
|
539 |
return __isset_bit_vector.get(__ASSIGNEEID_ISSET_ID);
|
|
|
540 |
}
|
|
|
541 |
|
|
|
542 |
public void setAssigneeIdIsSet(boolean value) {
|
|
|
543 |
__isset_bit_vector.set(__ASSIGNEEID_ISSET_ID, value);
|
|
|
544 |
}
|
|
|
545 |
|
| 3028 |
mandeep.dh |
546 |
public long getCreatorId() {
|
|
|
547 |
return this.creatorId;
|
|
|
548 |
}
|
|
|
549 |
|
| 3430 |
rajveer |
550 |
public void setCreatorId(long creatorId) {
|
| 3028 |
mandeep.dh |
551 |
this.creatorId = creatorId;
|
|
|
552 |
setCreatorIdIsSet(true);
|
|
|
553 |
}
|
|
|
554 |
|
|
|
555 |
public void unsetCreatorId() {
|
|
|
556 |
__isset_bit_vector.clear(__CREATORID_ISSET_ID);
|
|
|
557 |
}
|
|
|
558 |
|
| 3430 |
rajveer |
559 |
/** Returns true if field creatorId is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
560 |
public boolean isSetCreatorId() {
|
|
|
561 |
return __isset_bit_vector.get(__CREATORID_ISSET_ID);
|
|
|
562 |
}
|
|
|
563 |
|
|
|
564 |
public void setCreatorIdIsSet(boolean value) {
|
|
|
565 |
__isset_bit_vector.set(__CREATORID_ISSET_ID, value);
|
|
|
566 |
}
|
|
|
567 |
|
|
|
568 |
public long getOrderId() {
|
|
|
569 |
return this.orderId;
|
|
|
570 |
}
|
|
|
571 |
|
| 3430 |
rajveer |
572 |
public void setOrderId(long orderId) {
|
| 3028 |
mandeep.dh |
573 |
this.orderId = orderId;
|
|
|
574 |
setOrderIdIsSet(true);
|
|
|
575 |
}
|
|
|
576 |
|
|
|
577 |
public void unsetOrderId() {
|
|
|
578 |
__isset_bit_vector.clear(__ORDERID_ISSET_ID);
|
|
|
579 |
}
|
|
|
580 |
|
| 3430 |
rajveer |
581 |
/** Returns true if field orderId is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
582 |
public boolean isSetOrderId() {
|
|
|
583 |
return __isset_bit_vector.get(__ORDERID_ISSET_ID);
|
|
|
584 |
}
|
|
|
585 |
|
|
|
586 |
public void setOrderIdIsSet(boolean value) {
|
|
|
587 |
__isset_bit_vector.set(__ORDERID_ISSET_ID, value);
|
|
|
588 |
}
|
|
|
589 |
|
|
|
590 |
public String getAirwayBillNo() {
|
|
|
591 |
return this.airwayBillNo;
|
|
|
592 |
}
|
|
|
593 |
|
| 3430 |
rajveer |
594 |
public void setAirwayBillNo(String airwayBillNo) {
|
| 3028 |
mandeep.dh |
595 |
this.airwayBillNo = airwayBillNo;
|
|
|
596 |
}
|
|
|
597 |
|
|
|
598 |
public void unsetAirwayBillNo() {
|
|
|
599 |
this.airwayBillNo = null;
|
|
|
600 |
}
|
|
|
601 |
|
| 3430 |
rajveer |
602 |
/** Returns true if field airwayBillNo is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
603 |
public boolean isSetAirwayBillNo() {
|
|
|
604 |
return this.airwayBillNo != null;
|
|
|
605 |
}
|
|
|
606 |
|
|
|
607 |
public void setAirwayBillNoIsSet(boolean value) {
|
|
|
608 |
if (!value) {
|
|
|
609 |
this.airwayBillNo = null;
|
|
|
610 |
}
|
|
|
611 |
}
|
|
|
612 |
|
|
|
613 |
public String getProductName() {
|
|
|
614 |
return this.productName;
|
|
|
615 |
}
|
|
|
616 |
|
| 3430 |
rajveer |
617 |
public void setProductName(String productName) {
|
| 3028 |
mandeep.dh |
618 |
this.productName = productName;
|
|
|
619 |
}
|
|
|
620 |
|
|
|
621 |
public void unsetProductName() {
|
|
|
622 |
this.productName = null;
|
|
|
623 |
}
|
|
|
624 |
|
| 3430 |
rajveer |
625 |
/** Returns true if field productName is set (has been assigned a value) and false otherwise */
|
| 3028 |
mandeep.dh |
626 |
public boolean isSetProductName() {
|
|
|
627 |
return this.productName != null;
|
|
|
628 |
}
|
|
|
629 |
|
|
|
630 |
public void setProductNameIsSet(boolean value) {
|
|
|
631 |
if (!value) {
|
|
|
632 |
this.productName = null;
|
|
|
633 |
}
|
|
|
634 |
}
|
|
|
635 |
|
| 3390 |
mandeep.dh |
636 |
public String getCustomerMobileNumber() {
|
|
|
637 |
return this.customerMobileNumber;
|
|
|
638 |
}
|
|
|
639 |
|
| 3430 |
rajveer |
640 |
public void setCustomerMobileNumber(String customerMobileNumber) {
|
| 3390 |
mandeep.dh |
641 |
this.customerMobileNumber = customerMobileNumber;
|
|
|
642 |
}
|
|
|
643 |
|
|
|
644 |
public void unsetCustomerMobileNumber() {
|
|
|
645 |
this.customerMobileNumber = null;
|
|
|
646 |
}
|
|
|
647 |
|
| 3430 |
rajveer |
648 |
/** Returns true if field customerMobileNumber is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
649 |
public boolean isSetCustomerMobileNumber() {
|
|
|
650 |
return this.customerMobileNumber != null;
|
|
|
651 |
}
|
|
|
652 |
|
|
|
653 |
public void setCustomerMobileNumberIsSet(boolean value) {
|
|
|
654 |
if (!value) {
|
|
|
655 |
this.customerMobileNumber = null;
|
|
|
656 |
}
|
|
|
657 |
}
|
|
|
658 |
|
|
|
659 |
public String getCustomerEmailId() {
|
|
|
660 |
return this.customerEmailId;
|
|
|
661 |
}
|
|
|
662 |
|
| 3430 |
rajveer |
663 |
public void setCustomerEmailId(String customerEmailId) {
|
| 3390 |
mandeep.dh |
664 |
this.customerEmailId = customerEmailId;
|
|
|
665 |
}
|
|
|
666 |
|
|
|
667 |
public void unsetCustomerEmailId() {
|
|
|
668 |
this.customerEmailId = null;
|
|
|
669 |
}
|
|
|
670 |
|
| 3430 |
rajveer |
671 |
/** Returns true if field customerEmailId is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
672 |
public boolean isSetCustomerEmailId() {
|
|
|
673 |
return this.customerEmailId != null;
|
|
|
674 |
}
|
|
|
675 |
|
|
|
676 |
public void setCustomerEmailIdIsSet(boolean value) {
|
|
|
677 |
if (!value) {
|
|
|
678 |
this.customerEmailId = null;
|
|
|
679 |
}
|
|
|
680 |
}
|
|
|
681 |
|
|
|
682 |
public String getCustomerName() {
|
|
|
683 |
return this.customerName;
|
|
|
684 |
}
|
|
|
685 |
|
| 3430 |
rajveer |
686 |
public void setCustomerName(String customerName) {
|
| 3390 |
mandeep.dh |
687 |
this.customerName = customerName;
|
|
|
688 |
}
|
|
|
689 |
|
|
|
690 |
public void unsetCustomerName() {
|
|
|
691 |
this.customerName = null;
|
|
|
692 |
}
|
|
|
693 |
|
| 3430 |
rajveer |
694 |
/** Returns true if field customerName is set (has been assigned a value) and false otherwise */
|
| 3390 |
mandeep.dh |
695 |
public boolean isSetCustomerName() {
|
|
|
696 |
return this.customerName != null;
|
|
|
697 |
}
|
|
|
698 |
|
|
|
699 |
public void setCustomerNameIsSet(boolean value) {
|
|
|
700 |
if (!value) {
|
|
|
701 |
this.customerName = null;
|
|
|
702 |
}
|
|
|
703 |
}
|
|
|
704 |
|
| 3028 |
mandeep.dh |
705 |
public void setFieldValue(_Fields field, Object value) {
|
|
|
706 |
switch (field) {
|
|
|
707 |
case ID:
|
|
|
708 |
if (value == null) {
|
|
|
709 |
unsetId();
|
|
|
710 |
} else {
|
|
|
711 |
setId((Long)value);
|
|
|
712 |
}
|
|
|
713 |
break;
|
|
|
714 |
|
|
|
715 |
case CUSTOMER_ID:
|
|
|
716 |
if (value == null) {
|
|
|
717 |
unsetCustomerId();
|
|
|
718 |
} else {
|
|
|
719 |
setCustomerId((Long)value);
|
|
|
720 |
}
|
|
|
721 |
break;
|
|
|
722 |
|
|
|
723 |
case OPEN_DATE:
|
|
|
724 |
if (value == null) {
|
|
|
725 |
unsetOpenDate();
|
|
|
726 |
} else {
|
|
|
727 |
setOpenDate((Long)value);
|
|
|
728 |
}
|
|
|
729 |
break;
|
|
|
730 |
|
|
|
731 |
case CLOSE_DATE:
|
|
|
732 |
if (value == null) {
|
|
|
733 |
unsetCloseDate();
|
|
|
734 |
} else {
|
|
|
735 |
setCloseDate((Long)value);
|
|
|
736 |
}
|
|
|
737 |
break;
|
|
|
738 |
|
| 3106 |
mandeep.dh |
739 |
case DESCRIPTION:
|
| 3028 |
mandeep.dh |
740 |
if (value == null) {
|
| 3106 |
mandeep.dh |
741 |
unsetDescription();
|
| 3028 |
mandeep.dh |
742 |
} else {
|
| 3106 |
mandeep.dh |
743 |
setDescription((String)value);
|
| 3028 |
mandeep.dh |
744 |
}
|
|
|
745 |
break;
|
|
|
746 |
|
| 3106 |
mandeep.dh |
747 |
case PRIORITY:
|
| 3028 |
mandeep.dh |
748 |
if (value == null) {
|
| 3106 |
mandeep.dh |
749 |
unsetPriority();
|
| 3028 |
mandeep.dh |
750 |
} else {
|
| 3106 |
mandeep.dh |
751 |
setPriority((TicketPriority)value);
|
| 3028 |
mandeep.dh |
752 |
}
|
|
|
753 |
break;
|
|
|
754 |
|
| 3106 |
mandeep.dh |
755 |
case CATEGORY:
|
| 3028 |
mandeep.dh |
756 |
if (value == null) {
|
| 3106 |
mandeep.dh |
757 |
unsetCategory();
|
| 3028 |
mandeep.dh |
758 |
} else {
|
| 3106 |
mandeep.dh |
759 |
setCategory((TicketCategory)value);
|
| 3028 |
mandeep.dh |
760 |
}
|
|
|
761 |
break;
|
|
|
762 |
|
| 3106 |
mandeep.dh |
763 |
case STATUS:
|
|
|
764 |
if (value == null) {
|
|
|
765 |
unsetStatus();
|
|
|
766 |
} else {
|
|
|
767 |
setStatus((TicketStatus)value);
|
|
|
768 |
}
|
|
|
769 |
break;
|
|
|
770 |
|
|
|
771 |
case ASSIGNEE_ID:
|
|
|
772 |
if (value == null) {
|
|
|
773 |
unsetAssigneeId();
|
|
|
774 |
} else {
|
|
|
775 |
setAssigneeId((Long)value);
|
|
|
776 |
}
|
|
|
777 |
break;
|
|
|
778 |
|
|
|
779 |
case CREATOR_ID:
|
|
|
780 |
if (value == null) {
|
|
|
781 |
unsetCreatorId();
|
|
|
782 |
} else {
|
|
|
783 |
setCreatorId((Long)value);
|
|
|
784 |
}
|
|
|
785 |
break;
|
|
|
786 |
|
| 3028 |
mandeep.dh |
787 |
case ORDER_ID:
|
|
|
788 |
if (value == null) {
|
|
|
789 |
unsetOrderId();
|
|
|
790 |
} else {
|
|
|
791 |
setOrderId((Long)value);
|
|
|
792 |
}
|
|
|
793 |
break;
|
|
|
794 |
|
|
|
795 |
case AIRWAY_BILL_NO:
|
|
|
796 |
if (value == null) {
|
|
|
797 |
unsetAirwayBillNo();
|
|
|
798 |
} else {
|
|
|
799 |
setAirwayBillNo((String)value);
|
|
|
800 |
}
|
|
|
801 |
break;
|
|
|
802 |
|
|
|
803 |
case PRODUCT_NAME:
|
|
|
804 |
if (value == null) {
|
|
|
805 |
unsetProductName();
|
|
|
806 |
} else {
|
|
|
807 |
setProductName((String)value);
|
|
|
808 |
}
|
|
|
809 |
break;
|
|
|
810 |
|
| 3390 |
mandeep.dh |
811 |
case CUSTOMER_MOBILE_NUMBER:
|
|
|
812 |
if (value == null) {
|
|
|
813 |
unsetCustomerMobileNumber();
|
|
|
814 |
} else {
|
|
|
815 |
setCustomerMobileNumber((String)value);
|
|
|
816 |
}
|
|
|
817 |
break;
|
|
|
818 |
|
|
|
819 |
case CUSTOMER_EMAIL_ID:
|
|
|
820 |
if (value == null) {
|
|
|
821 |
unsetCustomerEmailId();
|
|
|
822 |
} else {
|
|
|
823 |
setCustomerEmailId((String)value);
|
|
|
824 |
}
|
|
|
825 |
break;
|
|
|
826 |
|
|
|
827 |
case CUSTOMER_NAME:
|
|
|
828 |
if (value == null) {
|
|
|
829 |
unsetCustomerName();
|
|
|
830 |
} else {
|
|
|
831 |
setCustomerName((String)value);
|
|
|
832 |
}
|
|
|
833 |
break;
|
|
|
834 |
|
| 3028 |
mandeep.dh |
835 |
}
|
|
|
836 |
}
|
|
|
837 |
|
|
|
838 |
public Object getFieldValue(_Fields field) {
|
|
|
839 |
switch (field) {
|
|
|
840 |
case ID:
|
| 3430 |
rajveer |
841 |
return Long.valueOf(getId());
|
| 3028 |
mandeep.dh |
842 |
|
|
|
843 |
case CUSTOMER_ID:
|
| 3430 |
rajveer |
844 |
return Long.valueOf(getCustomerId());
|
| 3028 |
mandeep.dh |
845 |
|
|
|
846 |
case OPEN_DATE:
|
| 3430 |
rajveer |
847 |
return Long.valueOf(getOpenDate());
|
| 3028 |
mandeep.dh |
848 |
|
|
|
849 |
case CLOSE_DATE:
|
| 3430 |
rajveer |
850 |
return Long.valueOf(getCloseDate());
|
| 3028 |
mandeep.dh |
851 |
|
| 3106 |
mandeep.dh |
852 |
case DESCRIPTION:
|
|
|
853 |
return getDescription();
|
| 3028 |
mandeep.dh |
854 |
|
| 3106 |
mandeep.dh |
855 |
case PRIORITY:
|
|
|
856 |
return getPriority();
|
|
|
857 |
|
|
|
858 |
case CATEGORY:
|
|
|
859 |
return getCategory();
|
|
|
860 |
|
|
|
861 |
case STATUS:
|
|
|
862 |
return getStatus();
|
|
|
863 |
|
|
|
864 |
case ASSIGNEE_ID:
|
| 3430 |
rajveer |
865 |
return Long.valueOf(getAssigneeId());
|
| 3106 |
mandeep.dh |
866 |
|
| 3028 |
mandeep.dh |
867 |
case CREATOR_ID:
|
| 3430 |
rajveer |
868 |
return Long.valueOf(getCreatorId());
|
| 3028 |
mandeep.dh |
869 |
|
|
|
870 |
case ORDER_ID:
|
| 3430 |
rajveer |
871 |
return Long.valueOf(getOrderId());
|
| 3028 |
mandeep.dh |
872 |
|
|
|
873 |
case AIRWAY_BILL_NO:
|
|
|
874 |
return getAirwayBillNo();
|
|
|
875 |
|
|
|
876 |
case PRODUCT_NAME:
|
|
|
877 |
return getProductName();
|
|
|
878 |
|
| 3390 |
mandeep.dh |
879 |
case CUSTOMER_MOBILE_NUMBER:
|
|
|
880 |
return getCustomerMobileNumber();
|
|
|
881 |
|
|
|
882 |
case CUSTOMER_EMAIL_ID:
|
|
|
883 |
return getCustomerEmailId();
|
|
|
884 |
|
|
|
885 |
case CUSTOMER_NAME:
|
|
|
886 |
return getCustomerName();
|
|
|
887 |
|
| 3028 |
mandeep.dh |
888 |
}
|
|
|
889 |
throw new IllegalStateException();
|
|
|
890 |
}
|
|
|
891 |
|
| 3430 |
rajveer |
892 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
|
|
893 |
public boolean isSet(_Fields field) {
|
|
|
894 |
if (field == null) {
|
|
|
895 |
throw new IllegalArgumentException();
|
|
|
896 |
}
|
| 3028 |
mandeep.dh |
897 |
|
|
|
898 |
switch (field) {
|
|
|
899 |
case ID:
|
|
|
900 |
return isSetId();
|
|
|
901 |
case CUSTOMER_ID:
|
|
|
902 |
return isSetCustomerId();
|
|
|
903 |
case OPEN_DATE:
|
|
|
904 |
return isSetOpenDate();
|
|
|
905 |
case CLOSE_DATE:
|
|
|
906 |
return isSetCloseDate();
|
| 3106 |
mandeep.dh |
907 |
case DESCRIPTION:
|
|
|
908 |
return isSetDescription();
|
|
|
909 |
case PRIORITY:
|
|
|
910 |
return isSetPriority();
|
|
|
911 |
case CATEGORY:
|
|
|
912 |
return isSetCategory();
|
|
|
913 |
case STATUS:
|
|
|
914 |
return isSetStatus();
|
|
|
915 |
case ASSIGNEE_ID:
|
|
|
916 |
return isSetAssigneeId();
|
| 3028 |
mandeep.dh |
917 |
case CREATOR_ID:
|
|
|
918 |
return isSetCreatorId();
|
|
|
919 |
case ORDER_ID:
|
|
|
920 |
return isSetOrderId();
|
|
|
921 |
case AIRWAY_BILL_NO:
|
|
|
922 |
return isSetAirwayBillNo();
|
|
|
923 |
case PRODUCT_NAME:
|
|
|
924 |
return isSetProductName();
|
| 3390 |
mandeep.dh |
925 |
case CUSTOMER_MOBILE_NUMBER:
|
|
|
926 |
return isSetCustomerMobileNumber();
|
|
|
927 |
case CUSTOMER_EMAIL_ID:
|
|
|
928 |
return isSetCustomerEmailId();
|
|
|
929 |
case CUSTOMER_NAME:
|
|
|
930 |
return isSetCustomerName();
|
| 3028 |
mandeep.dh |
931 |
}
|
|
|
932 |
throw new IllegalStateException();
|
|
|
933 |
}
|
|
|
934 |
|
|
|
935 |
@Override
|
|
|
936 |
public boolean equals(Object that) {
|
|
|
937 |
if (that == null)
|
|
|
938 |
return false;
|
|
|
939 |
if (that instanceof Ticket)
|
|
|
940 |
return this.equals((Ticket)that);
|
|
|
941 |
return false;
|
|
|
942 |
}
|
|
|
943 |
|
|
|
944 |
public boolean equals(Ticket that) {
|
|
|
945 |
if (that == null)
|
|
|
946 |
return false;
|
|
|
947 |
|
|
|
948 |
boolean this_present_id = true;
|
|
|
949 |
boolean that_present_id = true;
|
|
|
950 |
if (this_present_id || that_present_id) {
|
|
|
951 |
if (!(this_present_id && that_present_id))
|
|
|
952 |
return false;
|
|
|
953 |
if (this.id != that.id)
|
|
|
954 |
return false;
|
|
|
955 |
}
|
|
|
956 |
|
| 3269 |
mandeep.dh |
957 |
boolean this_present_customerId = true && this.isSetCustomerId();
|
|
|
958 |
boolean that_present_customerId = true && that.isSetCustomerId();
|
| 3028 |
mandeep.dh |
959 |
if (this_present_customerId || that_present_customerId) {
|
|
|
960 |
if (!(this_present_customerId && that_present_customerId))
|
|
|
961 |
return false;
|
|
|
962 |
if (this.customerId != that.customerId)
|
|
|
963 |
return false;
|
|
|
964 |
}
|
|
|
965 |
|
|
|
966 |
boolean this_present_openDate = true;
|
|
|
967 |
boolean that_present_openDate = true;
|
|
|
968 |
if (this_present_openDate || that_present_openDate) {
|
|
|
969 |
if (!(this_present_openDate && that_present_openDate))
|
|
|
970 |
return false;
|
|
|
971 |
if (this.openDate != that.openDate)
|
|
|
972 |
return false;
|
|
|
973 |
}
|
|
|
974 |
|
| 3168 |
mandeep.dh |
975 |
boolean this_present_closeDate = true && this.isSetCloseDate();
|
|
|
976 |
boolean that_present_closeDate = true && that.isSetCloseDate();
|
| 3028 |
mandeep.dh |
977 |
if (this_present_closeDate || that_present_closeDate) {
|
|
|
978 |
if (!(this_present_closeDate && that_present_closeDate))
|
|
|
979 |
return false;
|
|
|
980 |
if (this.closeDate != that.closeDate)
|
|
|
981 |
return false;
|
|
|
982 |
}
|
|
|
983 |
|
| 3106 |
mandeep.dh |
984 |
boolean this_present_description = true && this.isSetDescription();
|
|
|
985 |
boolean that_present_description = true && that.isSetDescription();
|
|
|
986 |
if (this_present_description || that_present_description) {
|
|
|
987 |
if (!(this_present_description && that_present_description))
|
| 3028 |
mandeep.dh |
988 |
return false;
|
| 3106 |
mandeep.dh |
989 |
if (!this.description.equals(that.description))
|
| 3028 |
mandeep.dh |
990 |
return false;
|
|
|
991 |
}
|
|
|
992 |
|
| 3106 |
mandeep.dh |
993 |
boolean this_present_priority = true && this.isSetPriority();
|
|
|
994 |
boolean that_present_priority = true && that.isSetPriority();
|
|
|
995 |
if (this_present_priority || that_present_priority) {
|
|
|
996 |
if (!(this_present_priority && that_present_priority))
|
|
|
997 |
return false;
|
|
|
998 |
if (!this.priority.equals(that.priority))
|
|
|
999 |
return false;
|
|
|
1000 |
}
|
|
|
1001 |
|
|
|
1002 |
boolean this_present_category = true && this.isSetCategory();
|
|
|
1003 |
boolean that_present_category = true && that.isSetCategory();
|
|
|
1004 |
if (this_present_category || that_present_category) {
|
|
|
1005 |
if (!(this_present_category && that_present_category))
|
|
|
1006 |
return false;
|
|
|
1007 |
if (!this.category.equals(that.category))
|
|
|
1008 |
return false;
|
|
|
1009 |
}
|
|
|
1010 |
|
|
|
1011 |
boolean this_present_status = true && this.isSetStatus();
|
|
|
1012 |
boolean that_present_status = true && that.isSetStatus();
|
|
|
1013 |
if (this_present_status || that_present_status) {
|
|
|
1014 |
if (!(this_present_status && that_present_status))
|
|
|
1015 |
return false;
|
|
|
1016 |
if (!this.status.equals(that.status))
|
|
|
1017 |
return false;
|
|
|
1018 |
}
|
|
|
1019 |
|
| 3168 |
mandeep.dh |
1020 |
boolean this_present_assigneeId = true && this.isSetAssigneeId();
|
|
|
1021 |
boolean that_present_assigneeId = true && that.isSetAssigneeId();
|
| 3106 |
mandeep.dh |
1022 |
if (this_present_assigneeId || that_present_assigneeId) {
|
|
|
1023 |
if (!(this_present_assigneeId && that_present_assigneeId))
|
|
|
1024 |
return false;
|
|
|
1025 |
if (this.assigneeId != that.assigneeId)
|
|
|
1026 |
return false;
|
|
|
1027 |
}
|
|
|
1028 |
|
| 3028 |
mandeep.dh |
1029 |
boolean this_present_creatorId = true;
|
|
|
1030 |
boolean that_present_creatorId = true;
|
|
|
1031 |
if (this_present_creatorId || that_present_creatorId) {
|
|
|
1032 |
if (!(this_present_creatorId && that_present_creatorId))
|
|
|
1033 |
return false;
|
|
|
1034 |
if (this.creatorId != that.creatorId)
|
|
|
1035 |
return false;
|
|
|
1036 |
}
|
|
|
1037 |
|
| 3168 |
mandeep.dh |
1038 |
boolean this_present_orderId = true && this.isSetOrderId();
|
|
|
1039 |
boolean that_present_orderId = true && that.isSetOrderId();
|
| 3028 |
mandeep.dh |
1040 |
if (this_present_orderId || that_present_orderId) {
|
|
|
1041 |
if (!(this_present_orderId && that_present_orderId))
|
|
|
1042 |
return false;
|
|
|
1043 |
if (this.orderId != that.orderId)
|
|
|
1044 |
return false;
|
|
|
1045 |
}
|
|
|
1046 |
|
|
|
1047 |
boolean this_present_airwayBillNo = true && this.isSetAirwayBillNo();
|
|
|
1048 |
boolean that_present_airwayBillNo = true && that.isSetAirwayBillNo();
|
|
|
1049 |
if (this_present_airwayBillNo || that_present_airwayBillNo) {
|
|
|
1050 |
if (!(this_present_airwayBillNo && that_present_airwayBillNo))
|
|
|
1051 |
return false;
|
|
|
1052 |
if (!this.airwayBillNo.equals(that.airwayBillNo))
|
|
|
1053 |
return false;
|
|
|
1054 |
}
|
|
|
1055 |
|
|
|
1056 |
boolean this_present_productName = true && this.isSetProductName();
|
|
|
1057 |
boolean that_present_productName = true && that.isSetProductName();
|
|
|
1058 |
if (this_present_productName || that_present_productName) {
|
|
|
1059 |
if (!(this_present_productName && that_present_productName))
|
|
|
1060 |
return false;
|
|
|
1061 |
if (!this.productName.equals(that.productName))
|
|
|
1062 |
return false;
|
|
|
1063 |
}
|
|
|
1064 |
|
| 3390 |
mandeep.dh |
1065 |
boolean this_present_customerMobileNumber = true && this.isSetCustomerMobileNumber();
|
|
|
1066 |
boolean that_present_customerMobileNumber = true && that.isSetCustomerMobileNumber();
|
|
|
1067 |
if (this_present_customerMobileNumber || that_present_customerMobileNumber) {
|
|
|
1068 |
if (!(this_present_customerMobileNumber && that_present_customerMobileNumber))
|
|
|
1069 |
return false;
|
|
|
1070 |
if (!this.customerMobileNumber.equals(that.customerMobileNumber))
|
|
|
1071 |
return false;
|
|
|
1072 |
}
|
|
|
1073 |
|
|
|
1074 |
boolean this_present_customerEmailId = true && this.isSetCustomerEmailId();
|
|
|
1075 |
boolean that_present_customerEmailId = true && that.isSetCustomerEmailId();
|
|
|
1076 |
if (this_present_customerEmailId || that_present_customerEmailId) {
|
|
|
1077 |
if (!(this_present_customerEmailId && that_present_customerEmailId))
|
|
|
1078 |
return false;
|
|
|
1079 |
if (!this.customerEmailId.equals(that.customerEmailId))
|
|
|
1080 |
return false;
|
|
|
1081 |
}
|
|
|
1082 |
|
|
|
1083 |
boolean this_present_customerName = true && this.isSetCustomerName();
|
|
|
1084 |
boolean that_present_customerName = true && that.isSetCustomerName();
|
|
|
1085 |
if (this_present_customerName || that_present_customerName) {
|
|
|
1086 |
if (!(this_present_customerName && that_present_customerName))
|
|
|
1087 |
return false;
|
|
|
1088 |
if (!this.customerName.equals(that.customerName))
|
|
|
1089 |
return false;
|
|
|
1090 |
}
|
|
|
1091 |
|
| 3028 |
mandeep.dh |
1092 |
return true;
|
|
|
1093 |
}
|
|
|
1094 |
|
|
|
1095 |
@Override
|
|
|
1096 |
public int hashCode() {
|
|
|
1097 |
return 0;
|
|
|
1098 |
}
|
|
|
1099 |
|
|
|
1100 |
public int compareTo(Ticket other) {
|
|
|
1101 |
if (!getClass().equals(other.getClass())) {
|
|
|
1102 |
return getClass().getName().compareTo(other.getClass().getName());
|
|
|
1103 |
}
|
|
|
1104 |
|
|
|
1105 |
int lastComparison = 0;
|
|
|
1106 |
Ticket typedOther = (Ticket)other;
|
|
|
1107 |
|
| 3430 |
rajveer |
1108 |
lastComparison = Boolean.valueOf(isSetId()).compareTo(typedOther.isSetId());
|
| 3028 |
mandeep.dh |
1109 |
if (lastComparison != 0) {
|
|
|
1110 |
return lastComparison;
|
|
|
1111 |
}
|
| 3430 |
rajveer |
1112 |
if (isSetId()) {
|
|
|
1113 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, typedOther.id);
|
|
|
1114 |
if (lastComparison != 0) {
|
|
|
1115 |
return lastComparison;
|
|
|
1116 |
}
|
| 3028 |
mandeep.dh |
1117 |
}
|
| 3430 |
rajveer |
1118 |
lastComparison = Boolean.valueOf(isSetCustomerId()).compareTo(typedOther.isSetCustomerId());
|
| 3028 |
mandeep.dh |
1119 |
if (lastComparison != 0) {
|
|
|
1120 |
return lastComparison;
|
|
|
1121 |
}
|
| 3430 |
rajveer |
1122 |
if (isSetCustomerId()) {
|
|
|
1123 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerId, typedOther.customerId);
|
|
|
1124 |
if (lastComparison != 0) {
|
|
|
1125 |
return lastComparison;
|
|
|
1126 |
}
|
| 3028 |
mandeep.dh |
1127 |
}
|
| 3430 |
rajveer |
1128 |
lastComparison = Boolean.valueOf(isSetOpenDate()).compareTo(typedOther.isSetOpenDate());
|
| 3028 |
mandeep.dh |
1129 |
if (lastComparison != 0) {
|
|
|
1130 |
return lastComparison;
|
|
|
1131 |
}
|
| 3430 |
rajveer |
1132 |
if (isSetOpenDate()) {
|
|
|
1133 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.openDate, typedOther.openDate);
|
|
|
1134 |
if (lastComparison != 0) {
|
|
|
1135 |
return lastComparison;
|
|
|
1136 |
}
|
| 3028 |
mandeep.dh |
1137 |
}
|
| 3430 |
rajveer |
1138 |
lastComparison = Boolean.valueOf(isSetCloseDate()).compareTo(typedOther.isSetCloseDate());
|
| 3028 |
mandeep.dh |
1139 |
if (lastComparison != 0) {
|
|
|
1140 |
return lastComparison;
|
|
|
1141 |
}
|
| 3430 |
rajveer |
1142 |
if (isSetCloseDate()) {
|
|
|
1143 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.closeDate, typedOther.closeDate);
|
|
|
1144 |
if (lastComparison != 0) {
|
|
|
1145 |
return lastComparison;
|
|
|
1146 |
}
|
| 3028 |
mandeep.dh |
1147 |
}
|
| 3430 |
rajveer |
1148 |
lastComparison = Boolean.valueOf(isSetDescription()).compareTo(typedOther.isSetDescription());
|
| 3028 |
mandeep.dh |
1149 |
if (lastComparison != 0) {
|
|
|
1150 |
return lastComparison;
|
|
|
1151 |
}
|
| 3430 |
rajveer |
1152 |
if (isSetDescription()) {
|
|
|
1153 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, typedOther.description);
|
|
|
1154 |
if (lastComparison != 0) {
|
|
|
1155 |
return lastComparison;
|
|
|
1156 |
}
|
| 3028 |
mandeep.dh |
1157 |
}
|
| 3430 |
rajveer |
1158 |
lastComparison = Boolean.valueOf(isSetPriority()).compareTo(typedOther.isSetPriority());
|
| 3028 |
mandeep.dh |
1159 |
if (lastComparison != 0) {
|
|
|
1160 |
return lastComparison;
|
|
|
1161 |
}
|
| 3430 |
rajveer |
1162 |
if (isSetPriority()) {
|
|
|
1163 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.priority, typedOther.priority);
|
|
|
1164 |
if (lastComparison != 0) {
|
|
|
1165 |
return lastComparison;
|
|
|
1166 |
}
|
| 3028 |
mandeep.dh |
1167 |
}
|
| 3430 |
rajveer |
1168 |
lastComparison = Boolean.valueOf(isSetCategory()).compareTo(typedOther.isSetCategory());
|
| 3028 |
mandeep.dh |
1169 |
if (lastComparison != 0) {
|
|
|
1170 |
return lastComparison;
|
|
|
1171 |
}
|
| 3430 |
rajveer |
1172 |
if (isSetCategory()) {
|
|
|
1173 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.category, typedOther.category);
|
|
|
1174 |
if (lastComparison != 0) {
|
|
|
1175 |
return lastComparison;
|
|
|
1176 |
}
|
| 3028 |
mandeep.dh |
1177 |
}
|
| 3430 |
rajveer |
1178 |
lastComparison = Boolean.valueOf(isSetStatus()).compareTo(typedOther.isSetStatus());
|
| 3106 |
mandeep.dh |
1179 |
if (lastComparison != 0) {
|
|
|
1180 |
return lastComparison;
|
|
|
1181 |
}
|
| 3430 |
rajveer |
1182 |
if (isSetStatus()) {
|
|
|
1183 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.status, typedOther.status);
|
|
|
1184 |
if (lastComparison != 0) {
|
|
|
1185 |
return lastComparison;
|
|
|
1186 |
}
|
| 3106 |
mandeep.dh |
1187 |
}
|
| 3430 |
rajveer |
1188 |
lastComparison = Boolean.valueOf(isSetAssigneeId()).compareTo(typedOther.isSetAssigneeId());
|
| 3106 |
mandeep.dh |
1189 |
if (lastComparison != 0) {
|
|
|
1190 |
return lastComparison;
|
|
|
1191 |
}
|
| 3430 |
rajveer |
1192 |
if (isSetAssigneeId()) {
|
|
|
1193 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.assigneeId, typedOther.assigneeId);
|
|
|
1194 |
if (lastComparison != 0) {
|
|
|
1195 |
return lastComparison;
|
|
|
1196 |
}
|
| 3106 |
mandeep.dh |
1197 |
}
|
| 3430 |
rajveer |
1198 |
lastComparison = Boolean.valueOf(isSetCreatorId()).compareTo(typedOther.isSetCreatorId());
|
| 3106 |
mandeep.dh |
1199 |
if (lastComparison != 0) {
|
|
|
1200 |
return lastComparison;
|
|
|
1201 |
}
|
| 3430 |
rajveer |
1202 |
if (isSetCreatorId()) {
|
|
|
1203 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.creatorId, typedOther.creatorId);
|
|
|
1204 |
if (lastComparison != 0) {
|
|
|
1205 |
return lastComparison;
|
|
|
1206 |
}
|
| 3106 |
mandeep.dh |
1207 |
}
|
| 3430 |
rajveer |
1208 |
lastComparison = Boolean.valueOf(isSetOrderId()).compareTo(typedOther.isSetOrderId());
|
| 3028 |
mandeep.dh |
1209 |
if (lastComparison != 0) {
|
|
|
1210 |
return lastComparison;
|
|
|
1211 |
}
|
| 3430 |
rajveer |
1212 |
if (isSetOrderId()) {
|
|
|
1213 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.orderId, typedOther.orderId);
|
|
|
1214 |
if (lastComparison != 0) {
|
|
|
1215 |
return lastComparison;
|
|
|
1216 |
}
|
| 3028 |
mandeep.dh |
1217 |
}
|
| 3430 |
rajveer |
1218 |
lastComparison = Boolean.valueOf(isSetAirwayBillNo()).compareTo(typedOther.isSetAirwayBillNo());
|
| 3028 |
mandeep.dh |
1219 |
if (lastComparison != 0) {
|
|
|
1220 |
return lastComparison;
|
|
|
1221 |
}
|
| 3430 |
rajveer |
1222 |
if (isSetAirwayBillNo()) {
|
|
|
1223 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.airwayBillNo, typedOther.airwayBillNo);
|
|
|
1224 |
if (lastComparison != 0) {
|
|
|
1225 |
return lastComparison;
|
|
|
1226 |
}
|
| 3028 |
mandeep.dh |
1227 |
}
|
| 3430 |
rajveer |
1228 |
lastComparison = Boolean.valueOf(isSetProductName()).compareTo(typedOther.isSetProductName());
|
| 3028 |
mandeep.dh |
1229 |
if (lastComparison != 0) {
|
|
|
1230 |
return lastComparison;
|
|
|
1231 |
}
|
| 3430 |
rajveer |
1232 |
if (isSetProductName()) {
|
|
|
1233 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.productName, typedOther.productName);
|
|
|
1234 |
if (lastComparison != 0) {
|
|
|
1235 |
return lastComparison;
|
|
|
1236 |
}
|
| 3028 |
mandeep.dh |
1237 |
}
|
| 3430 |
rajveer |
1238 |
lastComparison = Boolean.valueOf(isSetCustomerMobileNumber()).compareTo(typedOther.isSetCustomerMobileNumber());
|
| 3390 |
mandeep.dh |
1239 |
if (lastComparison != 0) {
|
|
|
1240 |
return lastComparison;
|
|
|
1241 |
}
|
| 3430 |
rajveer |
1242 |
if (isSetCustomerMobileNumber()) {
|
|
|
1243 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerMobileNumber, typedOther.customerMobileNumber);
|
|
|
1244 |
if (lastComparison != 0) {
|
|
|
1245 |
return lastComparison;
|
|
|
1246 |
}
|
| 3390 |
mandeep.dh |
1247 |
}
|
| 3430 |
rajveer |
1248 |
lastComparison = Boolean.valueOf(isSetCustomerEmailId()).compareTo(typedOther.isSetCustomerEmailId());
|
| 3390 |
mandeep.dh |
1249 |
if (lastComparison != 0) {
|
|
|
1250 |
return lastComparison;
|
|
|
1251 |
}
|
| 3430 |
rajveer |
1252 |
if (isSetCustomerEmailId()) {
|
|
|
1253 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerEmailId, typedOther.customerEmailId);
|
|
|
1254 |
if (lastComparison != 0) {
|
|
|
1255 |
return lastComparison;
|
|
|
1256 |
}
|
| 3390 |
mandeep.dh |
1257 |
}
|
| 3430 |
rajveer |
1258 |
lastComparison = Boolean.valueOf(isSetCustomerName()).compareTo(typedOther.isSetCustomerName());
|
| 3390 |
mandeep.dh |
1259 |
if (lastComparison != 0) {
|
|
|
1260 |
return lastComparison;
|
|
|
1261 |
}
|
| 3430 |
rajveer |
1262 |
if (isSetCustomerName()) {
|
|
|
1263 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.customerName, typedOther.customerName);
|
|
|
1264 |
if (lastComparison != 0) {
|
|
|
1265 |
return lastComparison;
|
|
|
1266 |
}
|
| 3390 |
mandeep.dh |
1267 |
}
|
| 3028 |
mandeep.dh |
1268 |
return 0;
|
|
|
1269 |
}
|
|
|
1270 |
|
| 3430 |
rajveer |
1271 |
public _Fields fieldForId(int fieldId) {
|
|
|
1272 |
return _Fields.findByThriftId(fieldId);
|
|
|
1273 |
}
|
|
|
1274 |
|
|
|
1275 |
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
|
|
|
1276 |
org.apache.thrift.protocol.TField field;
|
| 3028 |
mandeep.dh |
1277 |
iprot.readStructBegin();
|
|
|
1278 |
while (true)
|
|
|
1279 |
{
|
|
|
1280 |
field = iprot.readFieldBegin();
|
| 3430 |
rajveer |
1281 |
if (field.type == org.apache.thrift.protocol.TType.STOP) {
|
| 3028 |
mandeep.dh |
1282 |
break;
|
|
|
1283 |
}
|
| 3430 |
rajveer |
1284 |
switch (field.id) {
|
|
|
1285 |
case 1: // ID
|
|
|
1286 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1287 |
this.id = iprot.readI64();
|
|
|
1288 |
setIdIsSet(true);
|
|
|
1289 |
} else {
|
|
|
1290 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1291 |
}
|
|
|
1292 |
break;
|
|
|
1293 |
case 2: // CUSTOMER_ID
|
|
|
1294 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1295 |
this.customerId = iprot.readI64();
|
|
|
1296 |
setCustomerIdIsSet(true);
|
|
|
1297 |
} else {
|
|
|
1298 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1299 |
}
|
|
|
1300 |
break;
|
|
|
1301 |
case 3: // OPEN_DATE
|
|
|
1302 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1303 |
this.openDate = iprot.readI64();
|
|
|
1304 |
setOpenDateIsSet(true);
|
|
|
1305 |
} else {
|
|
|
1306 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1307 |
}
|
|
|
1308 |
break;
|
|
|
1309 |
case 4: // CLOSE_DATE
|
|
|
1310 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1311 |
this.closeDate = iprot.readI64();
|
|
|
1312 |
setCloseDateIsSet(true);
|
|
|
1313 |
} else {
|
|
|
1314 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1315 |
}
|
|
|
1316 |
break;
|
|
|
1317 |
case 5: // DESCRIPTION
|
|
|
1318 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1319 |
this.description = iprot.readString();
|
|
|
1320 |
} else {
|
|
|
1321 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1322 |
}
|
|
|
1323 |
break;
|
|
|
1324 |
case 6: // PRIORITY
|
|
|
1325 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1326 |
this.priority = TicketPriority.findByValue(iprot.readI32());
|
|
|
1327 |
} else {
|
|
|
1328 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1329 |
}
|
|
|
1330 |
break;
|
|
|
1331 |
case 7: // CATEGORY
|
|
|
1332 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1333 |
this.category = TicketCategory.findByValue(iprot.readI32());
|
|
|
1334 |
} else {
|
|
|
1335 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1336 |
}
|
|
|
1337 |
break;
|
|
|
1338 |
case 8: // STATUS
|
|
|
1339 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
|
|
1340 |
this.status = TicketStatus.findByValue(iprot.readI32());
|
|
|
1341 |
} else {
|
|
|
1342 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1343 |
}
|
|
|
1344 |
break;
|
|
|
1345 |
case 9: // ASSIGNEE_ID
|
|
|
1346 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1347 |
this.assigneeId = iprot.readI64();
|
|
|
1348 |
setAssigneeIdIsSet(true);
|
|
|
1349 |
} else {
|
|
|
1350 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1351 |
}
|
|
|
1352 |
break;
|
|
|
1353 |
case 10: // CREATOR_ID
|
|
|
1354 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1355 |
this.creatorId = iprot.readI64();
|
|
|
1356 |
setCreatorIdIsSet(true);
|
|
|
1357 |
} else {
|
|
|
1358 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1359 |
}
|
|
|
1360 |
break;
|
|
|
1361 |
case 11: // ORDER_ID
|
|
|
1362 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
|
|
1363 |
this.orderId = iprot.readI64();
|
|
|
1364 |
setOrderIdIsSet(true);
|
|
|
1365 |
} else {
|
|
|
1366 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1367 |
}
|
|
|
1368 |
break;
|
|
|
1369 |
case 12: // AIRWAY_BILL_NO
|
|
|
1370 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1371 |
this.airwayBillNo = iprot.readString();
|
|
|
1372 |
} else {
|
|
|
1373 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1374 |
}
|
|
|
1375 |
break;
|
|
|
1376 |
case 13: // PRODUCT_NAME
|
|
|
1377 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1378 |
this.productName = iprot.readString();
|
|
|
1379 |
} else {
|
|
|
1380 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1381 |
}
|
|
|
1382 |
break;
|
|
|
1383 |
case 14: // CUSTOMER_MOBILE_NUMBER
|
|
|
1384 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1385 |
this.customerMobileNumber = iprot.readString();
|
|
|
1386 |
} else {
|
|
|
1387 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1388 |
}
|
|
|
1389 |
break;
|
|
|
1390 |
case 15: // CUSTOMER_EMAIL_ID
|
|
|
1391 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1392 |
this.customerEmailId = iprot.readString();
|
|
|
1393 |
} else {
|
|
|
1394 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1395 |
}
|
|
|
1396 |
break;
|
|
|
1397 |
case 16: // CUSTOMER_NAME
|
|
|
1398 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
|
|
1399 |
this.customerName = iprot.readString();
|
|
|
1400 |
} else {
|
|
|
1401 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
|
|
1402 |
}
|
|
|
1403 |
break;
|
|
|
1404 |
default:
|
|
|
1405 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 3028 |
mandeep.dh |
1406 |
}
|
| 3430 |
rajveer |
1407 |
iprot.readFieldEnd();
|
| 3028 |
mandeep.dh |
1408 |
}
|
|
|
1409 |
iprot.readStructEnd();
|
|
|
1410 |
validate();
|
|
|
1411 |
}
|
|
|
1412 |
|
| 3430 |
rajveer |
1413 |
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
|
| 3028 |
mandeep.dh |
1414 |
validate();
|
|
|
1415 |
|
|
|
1416 |
oprot.writeStructBegin(STRUCT_DESC);
|
|
|
1417 |
oprot.writeFieldBegin(ID_FIELD_DESC);
|
|
|
1418 |
oprot.writeI64(this.id);
|
|
|
1419 |
oprot.writeFieldEnd();
|
| 3269 |
mandeep.dh |
1420 |
if (isSetCustomerId()) {
|
|
|
1421 |
oprot.writeFieldBegin(CUSTOMER_ID_FIELD_DESC);
|
|
|
1422 |
oprot.writeI64(this.customerId);
|
|
|
1423 |
oprot.writeFieldEnd();
|
|
|
1424 |
}
|
| 3028 |
mandeep.dh |
1425 |
oprot.writeFieldBegin(OPEN_DATE_FIELD_DESC);
|
|
|
1426 |
oprot.writeI64(this.openDate);
|
|
|
1427 |
oprot.writeFieldEnd();
|
| 3168 |
mandeep.dh |
1428 |
if (isSetCloseDate()) {
|
|
|
1429 |
oprot.writeFieldBegin(CLOSE_DATE_FIELD_DESC);
|
|
|
1430 |
oprot.writeI64(this.closeDate);
|
|
|
1431 |
oprot.writeFieldEnd();
|
|
|
1432 |
}
|
| 3106 |
mandeep.dh |
1433 |
if (this.description != null) {
|
| 3269 |
mandeep.dh |
1434 |
if (isSetDescription()) {
|
|
|
1435 |
oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
|
|
|
1436 |
oprot.writeString(this.description);
|
|
|
1437 |
oprot.writeFieldEnd();
|
|
|
1438 |
}
|
| 3028 |
mandeep.dh |
1439 |
}
|
| 3106 |
mandeep.dh |
1440 |
if (this.priority != null) {
|
|
|
1441 |
oprot.writeFieldBegin(PRIORITY_FIELD_DESC);
|
|
|
1442 |
oprot.writeI32(this.priority.getValue());
|
|
|
1443 |
oprot.writeFieldEnd();
|
|
|
1444 |
}
|
|
|
1445 |
if (this.category != null) {
|
|
|
1446 |
oprot.writeFieldBegin(CATEGORY_FIELD_DESC);
|
|
|
1447 |
oprot.writeI32(this.category.getValue());
|
|
|
1448 |
oprot.writeFieldEnd();
|
|
|
1449 |
}
|
|
|
1450 |
if (this.status != null) {
|
|
|
1451 |
oprot.writeFieldBegin(STATUS_FIELD_DESC);
|
|
|
1452 |
oprot.writeI32(this.status.getValue());
|
|
|
1453 |
oprot.writeFieldEnd();
|
|
|
1454 |
}
|
| 3168 |
mandeep.dh |
1455 |
if (isSetAssigneeId()) {
|
|
|
1456 |
oprot.writeFieldBegin(ASSIGNEE_ID_FIELD_DESC);
|
|
|
1457 |
oprot.writeI64(this.assigneeId);
|
|
|
1458 |
oprot.writeFieldEnd();
|
|
|
1459 |
}
|
| 3028 |
mandeep.dh |
1460 |
oprot.writeFieldBegin(CREATOR_ID_FIELD_DESC);
|
|
|
1461 |
oprot.writeI64(this.creatorId);
|
|
|
1462 |
oprot.writeFieldEnd();
|
| 3168 |
mandeep.dh |
1463 |
if (isSetOrderId()) {
|
|
|
1464 |
oprot.writeFieldBegin(ORDER_ID_FIELD_DESC);
|
|
|
1465 |
oprot.writeI64(this.orderId);
|
| 3028 |
mandeep.dh |
1466 |
oprot.writeFieldEnd();
|
|
|
1467 |
}
|
| 3168 |
mandeep.dh |
1468 |
if (this.airwayBillNo != null) {
|
|
|
1469 |
if (isSetAirwayBillNo()) {
|
|
|
1470 |
oprot.writeFieldBegin(AIRWAY_BILL_NO_FIELD_DESC);
|
|
|
1471 |
oprot.writeString(this.airwayBillNo);
|
|
|
1472 |
oprot.writeFieldEnd();
|
|
|
1473 |
}
|
|
|
1474 |
}
|
| 3028 |
mandeep.dh |
1475 |
if (this.productName != null) {
|
| 3168 |
mandeep.dh |
1476 |
if (isSetProductName()) {
|
|
|
1477 |
oprot.writeFieldBegin(PRODUCT_NAME_FIELD_DESC);
|
|
|
1478 |
oprot.writeString(this.productName);
|
|
|
1479 |
oprot.writeFieldEnd();
|
|
|
1480 |
}
|
| 3028 |
mandeep.dh |
1481 |
}
|
| 3390 |
mandeep.dh |
1482 |
if (this.customerMobileNumber != null) {
|
|
|
1483 |
if (isSetCustomerMobileNumber()) {
|
|
|
1484 |
oprot.writeFieldBegin(CUSTOMER_MOBILE_NUMBER_FIELD_DESC);
|
|
|
1485 |
oprot.writeString(this.customerMobileNumber);
|
|
|
1486 |
oprot.writeFieldEnd();
|
|
|
1487 |
}
|
|
|
1488 |
}
|
|
|
1489 |
if (this.customerEmailId != null) {
|
|
|
1490 |
if (isSetCustomerEmailId()) {
|
|
|
1491 |
oprot.writeFieldBegin(CUSTOMER_EMAIL_ID_FIELD_DESC);
|
|
|
1492 |
oprot.writeString(this.customerEmailId);
|
|
|
1493 |
oprot.writeFieldEnd();
|
|
|
1494 |
}
|
|
|
1495 |
}
|
|
|
1496 |
if (this.customerName != null) {
|
|
|
1497 |
if (isSetCustomerName()) {
|
|
|
1498 |
oprot.writeFieldBegin(CUSTOMER_NAME_FIELD_DESC);
|
|
|
1499 |
oprot.writeString(this.customerName);
|
|
|
1500 |
oprot.writeFieldEnd();
|
|
|
1501 |
}
|
|
|
1502 |
}
|
| 3028 |
mandeep.dh |
1503 |
oprot.writeFieldStop();
|
|
|
1504 |
oprot.writeStructEnd();
|
|
|
1505 |
}
|
|
|
1506 |
|
|
|
1507 |
@Override
|
|
|
1508 |
public String toString() {
|
|
|
1509 |
StringBuilder sb = new StringBuilder("Ticket(");
|
|
|
1510 |
boolean first = true;
|
|
|
1511 |
|
|
|
1512 |
sb.append("id:");
|
|
|
1513 |
sb.append(this.id);
|
|
|
1514 |
first = false;
|
| 3269 |
mandeep.dh |
1515 |
if (isSetCustomerId()) {
|
|
|
1516 |
if (!first) sb.append(", ");
|
|
|
1517 |
sb.append("customerId:");
|
|
|
1518 |
sb.append(this.customerId);
|
|
|
1519 |
first = false;
|
|
|
1520 |
}
|
| 3028 |
mandeep.dh |
1521 |
if (!first) sb.append(", ");
|
|
|
1522 |
sb.append("openDate:");
|
|
|
1523 |
sb.append(this.openDate);
|
|
|
1524 |
first = false;
|
| 3168 |
mandeep.dh |
1525 |
if (isSetCloseDate()) {
|
|
|
1526 |
if (!first) sb.append(", ");
|
|
|
1527 |
sb.append("closeDate:");
|
|
|
1528 |
sb.append(this.closeDate);
|
|
|
1529 |
first = false;
|
|
|
1530 |
}
|
| 3269 |
mandeep.dh |
1531 |
if (isSetDescription()) {
|
|
|
1532 |
if (!first) sb.append(", ");
|
|
|
1533 |
sb.append("description:");
|
|
|
1534 |
if (this.description == null) {
|
|
|
1535 |
sb.append("null");
|
|
|
1536 |
} else {
|
|
|
1537 |
sb.append(this.description);
|
|
|
1538 |
}
|
|
|
1539 |
first = false;
|
| 3028 |
mandeep.dh |
1540 |
}
|
|
|
1541 |
if (!first) sb.append(", ");
|
| 3106 |
mandeep.dh |
1542 |
sb.append("priority:");
|
|
|
1543 |
if (this.priority == null) {
|
|
|
1544 |
sb.append("null");
|
|
|
1545 |
} else {
|
|
|
1546 |
sb.append(this.priority);
|
|
|
1547 |
}
|
|
|
1548 |
first = false;
|
|
|
1549 |
if (!first) sb.append(", ");
|
|
|
1550 |
sb.append("category:");
|
|
|
1551 |
if (this.category == null) {
|
|
|
1552 |
sb.append("null");
|
|
|
1553 |
} else {
|
|
|
1554 |
sb.append(this.category);
|
|
|
1555 |
}
|
|
|
1556 |
first = false;
|
|
|
1557 |
if (!first) sb.append(", ");
|
|
|
1558 |
sb.append("status:");
|
|
|
1559 |
if (this.status == null) {
|
|
|
1560 |
sb.append("null");
|
|
|
1561 |
} else {
|
|
|
1562 |
sb.append(this.status);
|
|
|
1563 |
}
|
|
|
1564 |
first = false;
|
| 3168 |
mandeep.dh |
1565 |
if (isSetAssigneeId()) {
|
|
|
1566 |
if (!first) sb.append(", ");
|
|
|
1567 |
sb.append("assigneeId:");
|
|
|
1568 |
sb.append(this.assigneeId);
|
|
|
1569 |
first = false;
|
|
|
1570 |
}
|
| 3106 |
mandeep.dh |
1571 |
if (!first) sb.append(", ");
|
| 3028 |
mandeep.dh |
1572 |
sb.append("creatorId:");
|
|
|
1573 |
sb.append(this.creatorId);
|
|
|
1574 |
first = false;
|
| 3168 |
mandeep.dh |
1575 |
if (isSetOrderId()) {
|
|
|
1576 |
if (!first) sb.append(", ");
|
|
|
1577 |
sb.append("orderId:");
|
|
|
1578 |
sb.append(this.orderId);
|
|
|
1579 |
first = false;
|
| 3028 |
mandeep.dh |
1580 |
}
|
| 3168 |
mandeep.dh |
1581 |
if (isSetAirwayBillNo()) {
|
|
|
1582 |
if (!first) sb.append(", ");
|
|
|
1583 |
sb.append("airwayBillNo:");
|
|
|
1584 |
if (this.airwayBillNo == null) {
|
|
|
1585 |
sb.append("null");
|
|
|
1586 |
} else {
|
|
|
1587 |
sb.append(this.airwayBillNo);
|
|
|
1588 |
}
|
|
|
1589 |
first = false;
|
| 3028 |
mandeep.dh |
1590 |
}
|
| 3168 |
mandeep.dh |
1591 |
if (isSetProductName()) {
|
|
|
1592 |
if (!first) sb.append(", ");
|
|
|
1593 |
sb.append("productName:");
|
|
|
1594 |
if (this.productName == null) {
|
|
|
1595 |
sb.append("null");
|
|
|
1596 |
} else {
|
|
|
1597 |
sb.append(this.productName);
|
|
|
1598 |
}
|
|
|
1599 |
first = false;
|
|
|
1600 |
}
|
| 3390 |
mandeep.dh |
1601 |
if (isSetCustomerMobileNumber()) {
|
|
|
1602 |
if (!first) sb.append(", ");
|
|
|
1603 |
sb.append("customerMobileNumber:");
|
|
|
1604 |
if (this.customerMobileNumber == null) {
|
|
|
1605 |
sb.append("null");
|
|
|
1606 |
} else {
|
|
|
1607 |
sb.append(this.customerMobileNumber);
|
|
|
1608 |
}
|
|
|
1609 |
first = false;
|
|
|
1610 |
}
|
|
|
1611 |
if (isSetCustomerEmailId()) {
|
|
|
1612 |
if (!first) sb.append(", ");
|
|
|
1613 |
sb.append("customerEmailId:");
|
|
|
1614 |
if (this.customerEmailId == null) {
|
|
|
1615 |
sb.append("null");
|
|
|
1616 |
} else {
|
|
|
1617 |
sb.append(this.customerEmailId);
|
|
|
1618 |
}
|
|
|
1619 |
first = false;
|
|
|
1620 |
}
|
|
|
1621 |
if (isSetCustomerName()) {
|
|
|
1622 |
if (!first) sb.append(", ");
|
|
|
1623 |
sb.append("customerName:");
|
|
|
1624 |
if (this.customerName == null) {
|
|
|
1625 |
sb.append("null");
|
|
|
1626 |
} else {
|
|
|
1627 |
sb.append(this.customerName);
|
|
|
1628 |
}
|
|
|
1629 |
first = false;
|
|
|
1630 |
}
|
| 3028 |
mandeep.dh |
1631 |
sb.append(")");
|
|
|
1632 |
return sb.toString();
|
|
|
1633 |
}
|
|
|
1634 |
|
| 3430 |
rajveer |
1635 |
public void validate() throws org.apache.thrift.TException {
|
| 3028 |
mandeep.dh |
1636 |
// check for required fields
|
|
|
1637 |
}
|
|
|
1638 |
|
| 3430 |
rajveer |
1639 |
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
|
|
|
1640 |
try {
|
|
|
1641 |
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
|
|
|
1642 |
} catch (org.apache.thrift.TException te) {
|
|
|
1643 |
throw new java.io.IOException(te);
|
|
|
1644 |
}
|
|
|
1645 |
}
|
|
|
1646 |
|
|
|
1647 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
|
|
1648 |
try {
|
|
|
1649 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
|
|
1650 |
__isset_bit_vector = new BitSet(1);
|
|
|
1651 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
|
|
1652 |
} catch (org.apache.thrift.TException te) {
|
|
|
1653 |
throw new java.io.IOException(te);
|
|
|
1654 |
}
|
|
|
1655 |
}
|
|
|
1656 |
|
| 3028 |
mandeep.dh |
1657 |
}
|
|
|
1658 |
|