1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
package org.apache.maven.plugins.patchtracker.tracking.jira.soap; |
9 | |
|
10 | |
public class RemoteWorklog implements java.io.Serializable { |
11 | |
private java.lang.String author; |
12 | |
|
13 | |
private java.lang.String comment; |
14 | |
|
15 | |
private java.util.Calendar created; |
16 | |
|
17 | |
private java.lang.String groupLevel; |
18 | |
|
19 | |
private java.lang.String id; |
20 | |
|
21 | |
private java.lang.String roleLevelId; |
22 | |
|
23 | |
private java.util.Calendar startDate; |
24 | |
|
25 | |
private java.lang.String timeSpent; |
26 | |
|
27 | |
private long timeSpentInSeconds; |
28 | |
|
29 | |
private java.lang.String updateAuthor; |
30 | |
|
31 | |
private java.util.Calendar updated; |
32 | |
|
33 | 0 | public RemoteWorklog() { |
34 | 0 | } |
35 | |
|
36 | |
public RemoteWorklog( |
37 | |
java.lang.String author, |
38 | |
java.lang.String comment, |
39 | |
java.util.Calendar created, |
40 | |
java.lang.String groupLevel, |
41 | |
java.lang.String id, |
42 | |
java.lang.String roleLevelId, |
43 | |
java.util.Calendar startDate, |
44 | |
java.lang.String timeSpent, |
45 | |
long timeSpentInSeconds, |
46 | |
java.lang.String updateAuthor, |
47 | 0 | java.util.Calendar updated) { |
48 | 0 | this.author = author; |
49 | 0 | this.comment = comment; |
50 | 0 | this.created = created; |
51 | 0 | this.groupLevel = groupLevel; |
52 | 0 | this.id = id; |
53 | 0 | this.roleLevelId = roleLevelId; |
54 | 0 | this.startDate = startDate; |
55 | 0 | this.timeSpent = timeSpent; |
56 | 0 | this.timeSpentInSeconds = timeSpentInSeconds; |
57 | 0 | this.updateAuthor = updateAuthor; |
58 | 0 | this.updated = updated; |
59 | 0 | } |
60 | |
|
61 | |
|
62 | |
|
63 | |
|
64 | |
|
65 | |
|
66 | |
|
67 | |
public java.lang.String getAuthor() { |
68 | 0 | return author; |
69 | |
} |
70 | |
|
71 | |
|
72 | |
|
73 | |
|
74 | |
|
75 | |
|
76 | |
|
77 | |
public void setAuthor(java.lang.String author) { |
78 | 0 | this.author = author; |
79 | 0 | } |
80 | |
|
81 | |
|
82 | |
|
83 | |
|
84 | |
|
85 | |
|
86 | |
|
87 | |
public java.lang.String getComment() { |
88 | 0 | return comment; |
89 | |
} |
90 | |
|
91 | |
|
92 | |
|
93 | |
|
94 | |
|
95 | |
|
96 | |
|
97 | |
public void setComment(java.lang.String comment) { |
98 | 0 | this.comment = comment; |
99 | 0 | } |
100 | |
|
101 | |
|
102 | |
|
103 | |
|
104 | |
|
105 | |
|
106 | |
|
107 | |
public java.util.Calendar getCreated() { |
108 | 0 | return created; |
109 | |
} |
110 | |
|
111 | |
|
112 | |
|
113 | |
|
114 | |
|
115 | |
|
116 | |
|
117 | |
public void setCreated(java.util.Calendar created) { |
118 | 0 | this.created = created; |
119 | 0 | } |
120 | |
|
121 | |
|
122 | |
|
123 | |
|
124 | |
|
125 | |
|
126 | |
|
127 | |
public java.lang.String getGroupLevel() { |
128 | 0 | return groupLevel; |
129 | |
} |
130 | |
|
131 | |
|
132 | |
|
133 | |
|
134 | |
|
135 | |
|
136 | |
|
137 | |
public void setGroupLevel(java.lang.String groupLevel) { |
138 | 0 | this.groupLevel = groupLevel; |
139 | 0 | } |
140 | |
|
141 | |
|
142 | |
|
143 | |
|
144 | |
|
145 | |
|
146 | |
|
147 | |
public java.lang.String getId() { |
148 | 0 | return id; |
149 | |
} |
150 | |
|
151 | |
|
152 | |
|
153 | |
|
154 | |
|
155 | |
|
156 | |
|
157 | |
public void setId(java.lang.String id) { |
158 | 0 | this.id = id; |
159 | 0 | } |
160 | |
|
161 | |
|
162 | |
|
163 | |
|
164 | |
|
165 | |
|
166 | |
|
167 | |
public java.lang.String getRoleLevelId() { |
168 | 0 | return roleLevelId; |
169 | |
} |
170 | |
|
171 | |
|
172 | |
|
173 | |
|
174 | |
|
175 | |
|
176 | |
|
177 | |
public void setRoleLevelId(java.lang.String roleLevelId) { |
178 | 0 | this.roleLevelId = roleLevelId; |
179 | 0 | } |
180 | |
|
181 | |
|
182 | |
|
183 | |
|
184 | |
|
185 | |
|
186 | |
|
187 | |
public java.util.Calendar getStartDate() { |
188 | 0 | return startDate; |
189 | |
} |
190 | |
|
191 | |
|
192 | |
|
193 | |
|
194 | |
|
195 | |
|
196 | |
|
197 | |
public void setStartDate(java.util.Calendar startDate) { |
198 | 0 | this.startDate = startDate; |
199 | 0 | } |
200 | |
|
201 | |
|
202 | |
|
203 | |
|
204 | |
|
205 | |
|
206 | |
|
207 | |
public java.lang.String getTimeSpent() { |
208 | 0 | return timeSpent; |
209 | |
} |
210 | |
|
211 | |
|
212 | |
|
213 | |
|
214 | |
|
215 | |
|
216 | |
|
217 | |
public void setTimeSpent(java.lang.String timeSpent) { |
218 | 0 | this.timeSpent = timeSpent; |
219 | 0 | } |
220 | |
|
221 | |
|
222 | |
|
223 | |
|
224 | |
|
225 | |
|
226 | |
|
227 | |
public long getTimeSpentInSeconds() { |
228 | 0 | return timeSpentInSeconds; |
229 | |
} |
230 | |
|
231 | |
|
232 | |
|
233 | |
|
234 | |
|
235 | |
|
236 | |
|
237 | |
public void setTimeSpentInSeconds(long timeSpentInSeconds) { |
238 | 0 | this.timeSpentInSeconds = timeSpentInSeconds; |
239 | 0 | } |
240 | |
|
241 | |
|
242 | |
|
243 | |
|
244 | |
|
245 | |
|
246 | |
|
247 | |
public java.lang.String getUpdateAuthor() { |
248 | 0 | return updateAuthor; |
249 | |
} |
250 | |
|
251 | |
|
252 | |
|
253 | |
|
254 | |
|
255 | |
|
256 | |
|
257 | |
public void setUpdateAuthor(java.lang.String updateAuthor) { |
258 | 0 | this.updateAuthor = updateAuthor; |
259 | 0 | } |
260 | |
|
261 | |
|
262 | |
|
263 | |
|
264 | |
|
265 | |
|
266 | |
|
267 | |
public java.util.Calendar getUpdated() { |
268 | 0 | return updated; |
269 | |
} |
270 | |
|
271 | |
|
272 | |
|
273 | |
|
274 | |
|
275 | |
|
276 | |
|
277 | |
public void setUpdated(java.util.Calendar updated) { |
278 | 0 | this.updated = updated; |
279 | 0 | } |
280 | |
|
281 | 0 | private java.lang.Object __equalsCalc = null; |
282 | |
public synchronized boolean equals(java.lang.Object obj) { |
283 | 0 | if (!(obj instanceof RemoteWorklog)) return false; |
284 | 0 | RemoteWorklog other = (RemoteWorklog) obj; |
285 | 0 | if (obj == null) return false; |
286 | 0 | if (this == obj) return true; |
287 | 0 | if (__equalsCalc != null) { |
288 | 0 | return (__equalsCalc == obj); |
289 | |
} |
290 | 0 | __equalsCalc = obj; |
291 | |
boolean _equals; |
292 | 0 | _equals = true && |
293 | |
((this.author==null && other.getAuthor()==null) || |
294 | |
(this.author!=null && |
295 | |
this.author.equals(other.getAuthor()))) && |
296 | |
((this.comment==null && other.getComment()==null) || |
297 | |
(this.comment!=null && |
298 | |
this.comment.equals(other.getComment()))) && |
299 | |
((this.created==null && other.getCreated()==null) || |
300 | |
(this.created!=null && |
301 | |
this.created.equals(other.getCreated()))) && |
302 | |
((this.groupLevel==null && other.getGroupLevel()==null) || |
303 | |
(this.groupLevel!=null && |
304 | |
this.groupLevel.equals(other.getGroupLevel()))) && |
305 | |
((this.id==null && other.getId()==null) || |
306 | |
(this.id!=null && |
307 | |
this.id.equals(other.getId()))) && |
308 | |
((this.roleLevelId==null && other.getRoleLevelId()==null) || |
309 | |
(this.roleLevelId!=null && |
310 | |
this.roleLevelId.equals(other.getRoleLevelId()))) && |
311 | |
((this.startDate==null && other.getStartDate()==null) || |
312 | |
(this.startDate!=null && |
313 | |
this.startDate.equals(other.getStartDate()))) && |
314 | |
((this.timeSpent==null && other.getTimeSpent()==null) || |
315 | |
(this.timeSpent!=null && |
316 | |
this.timeSpent.equals(other.getTimeSpent()))) && |
317 | |
this.timeSpentInSeconds == other.getTimeSpentInSeconds() && |
318 | |
((this.updateAuthor==null && other.getUpdateAuthor()==null) || |
319 | |
(this.updateAuthor!=null && |
320 | |
this.updateAuthor.equals(other.getUpdateAuthor()))) && |
321 | |
((this.updated==null && other.getUpdated()==null) || |
322 | |
(this.updated!=null && |
323 | |
this.updated.equals(other.getUpdated()))); |
324 | 0 | __equalsCalc = null; |
325 | 0 | return _equals; |
326 | |
} |
327 | |
|
328 | 0 | private boolean __hashCodeCalc = false; |
329 | |
public synchronized int hashCode() { |
330 | 0 | if (__hashCodeCalc) { |
331 | 0 | return 0; |
332 | |
} |
333 | 0 | __hashCodeCalc = true; |
334 | 0 | int _hashCode = 1; |
335 | 0 | if (getAuthor() != null) { |
336 | 0 | _hashCode += getAuthor().hashCode(); |
337 | |
} |
338 | 0 | if (getComment() != null) { |
339 | 0 | _hashCode += getComment().hashCode(); |
340 | |
} |
341 | 0 | if (getCreated() != null) { |
342 | 0 | _hashCode += getCreated().hashCode(); |
343 | |
} |
344 | 0 | if (getGroupLevel() != null) { |
345 | 0 | _hashCode += getGroupLevel().hashCode(); |
346 | |
} |
347 | 0 | if (getId() != null) { |
348 | 0 | _hashCode += getId().hashCode(); |
349 | |
} |
350 | 0 | if (getRoleLevelId() != null) { |
351 | 0 | _hashCode += getRoleLevelId().hashCode(); |
352 | |
} |
353 | 0 | if (getStartDate() != null) { |
354 | 0 | _hashCode += getStartDate().hashCode(); |
355 | |
} |
356 | 0 | if (getTimeSpent() != null) { |
357 | 0 | _hashCode += getTimeSpent().hashCode(); |
358 | |
} |
359 | 0 | _hashCode += new Long(getTimeSpentInSeconds()).hashCode(); |
360 | 0 | if (getUpdateAuthor() != null) { |
361 | 0 | _hashCode += getUpdateAuthor().hashCode(); |
362 | |
} |
363 | 0 | if (getUpdated() != null) { |
364 | 0 | _hashCode += getUpdated().hashCode(); |
365 | |
} |
366 | 0 | __hashCodeCalc = false; |
367 | 0 | return _hashCode; |
368 | |
} |
369 | |
|
370 | |
|
371 | 0 | private static org.apache.axis.description.TypeDesc typeDesc = |
372 | |
new org.apache.axis.description.TypeDesc(RemoteWorklog.class, true); |
373 | |
|
374 | |
static { |
375 | 0 | typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog")); |
376 | 0 | org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); |
377 | 0 | elemField.setFieldName("author"); |
378 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "author")); |
379 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
380 | 0 | elemField.setNillable(true); |
381 | 0 | typeDesc.addFieldDesc(elemField); |
382 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
383 | 0 | elemField.setFieldName("comment"); |
384 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "comment")); |
385 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
386 | 0 | elemField.setNillable(true); |
387 | 0 | typeDesc.addFieldDesc(elemField); |
388 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
389 | 0 | elemField.setFieldName("created"); |
390 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "created")); |
391 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); |
392 | 0 | elemField.setNillable(true); |
393 | 0 | typeDesc.addFieldDesc(elemField); |
394 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
395 | 0 | elemField.setFieldName("groupLevel"); |
396 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "groupLevel")); |
397 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
398 | 0 | elemField.setNillable(true); |
399 | 0 | typeDesc.addFieldDesc(elemField); |
400 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
401 | 0 | elemField.setFieldName("id"); |
402 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "id")); |
403 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
404 | 0 | elemField.setNillable(true); |
405 | 0 | typeDesc.addFieldDesc(elemField); |
406 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
407 | 0 | elemField.setFieldName("roleLevelId"); |
408 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "roleLevelId")); |
409 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
410 | 0 | elemField.setNillable(true); |
411 | 0 | typeDesc.addFieldDesc(elemField); |
412 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
413 | 0 | elemField.setFieldName("startDate"); |
414 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "startDate")); |
415 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); |
416 | 0 | elemField.setNillable(true); |
417 | 0 | typeDesc.addFieldDesc(elemField); |
418 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
419 | 0 | elemField.setFieldName("timeSpent"); |
420 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "timeSpent")); |
421 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
422 | 0 | elemField.setNillable(true); |
423 | 0 | typeDesc.addFieldDesc(elemField); |
424 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
425 | 0 | elemField.setFieldName("timeSpentInSeconds"); |
426 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "timeSpentInSeconds")); |
427 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); |
428 | 0 | elemField.setNillable(false); |
429 | 0 | typeDesc.addFieldDesc(elemField); |
430 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
431 | 0 | elemField.setFieldName("updateAuthor"); |
432 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "updateAuthor")); |
433 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
434 | 0 | elemField.setNillable(true); |
435 | 0 | typeDesc.addFieldDesc(elemField); |
436 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
437 | 0 | elemField.setFieldName("updated"); |
438 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "updated")); |
439 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); |
440 | 0 | elemField.setNillable(true); |
441 | 0 | typeDesc.addFieldDesc(elemField); |
442 | 0 | } |
443 | |
|
444 | |
|
445 | |
|
446 | |
|
447 | |
public static org.apache.axis.description.TypeDesc getTypeDesc() { |
448 | 0 | return typeDesc; |
449 | |
} |
450 | |
|
451 | |
|
452 | |
|
453 | |
|
454 | |
public static org.apache.axis.encoding.Serializer getSerializer( |
455 | |
java.lang.String mechType, |
456 | |
java.lang.Class _javaType, |
457 | |
javax.xml.namespace.QName _xmlType) { |
458 | 0 | return |
459 | |
new org.apache.axis.encoding.ser.BeanSerializer( |
460 | |
_javaType, _xmlType, typeDesc); |
461 | |
} |
462 | |
|
463 | |
|
464 | |
|
465 | |
|
466 | |
public static org.apache.axis.encoding.Deserializer getDeserializer( |
467 | |
java.lang.String mechType, |
468 | |
java.lang.Class _javaType, |
469 | |
javax.xml.namespace.QName _xmlType) { |
470 | 0 | return |
471 | |
new org.apache.axis.encoding.ser.BeanDeserializer( |
472 | |
_javaType, _xmlType, typeDesc); |
473 | |
} |
474 | |
|
475 | |
} |