1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
package org.apache.maven.plugins.patchtracker.tracking.jira.soap; |
9 | |
|
10 | |
public class RemoteComment implements java.io.Serializable { |
11 | |
private java.lang.String author; |
12 | |
|
13 | |
private java.lang.String body; |
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 roleLevel; |
22 | |
|
23 | |
private java.lang.String updateAuthor; |
24 | |
|
25 | |
private java.util.Calendar updated; |
26 | |
|
27 | 0 | public RemoteComment() { |
28 | 0 | } |
29 | |
|
30 | |
public RemoteComment( |
31 | |
java.lang.String author, |
32 | |
java.lang.String body, |
33 | |
java.util.Calendar created, |
34 | |
java.lang.String groupLevel, |
35 | |
java.lang.String id, |
36 | |
java.lang.String roleLevel, |
37 | |
java.lang.String updateAuthor, |
38 | 0 | java.util.Calendar updated) { |
39 | 0 | this.author = author; |
40 | 0 | this.body = body; |
41 | 0 | this.created = created; |
42 | 0 | this.groupLevel = groupLevel; |
43 | 0 | this.id = id; |
44 | 0 | this.roleLevel = roleLevel; |
45 | 0 | this.updateAuthor = updateAuthor; |
46 | 0 | this.updated = updated; |
47 | 0 | } |
48 | |
|
49 | |
|
50 | |
|
51 | |
|
52 | |
|
53 | |
|
54 | |
|
55 | |
public java.lang.String getAuthor() { |
56 | 0 | return author; |
57 | |
} |
58 | |
|
59 | |
|
60 | |
|
61 | |
|
62 | |
|
63 | |
|
64 | |
|
65 | |
public void setAuthor(java.lang.String author) { |
66 | 0 | this.author = author; |
67 | 0 | } |
68 | |
|
69 | |
|
70 | |
|
71 | |
|
72 | |
|
73 | |
|
74 | |
|
75 | |
public java.lang.String getBody() { |
76 | 0 | return body; |
77 | |
} |
78 | |
|
79 | |
|
80 | |
|
81 | |
|
82 | |
|
83 | |
|
84 | |
|
85 | |
public void setBody(java.lang.String body) { |
86 | 0 | this.body = body; |
87 | 0 | } |
88 | |
|
89 | |
|
90 | |
|
91 | |
|
92 | |
|
93 | |
|
94 | |
|
95 | |
public java.util.Calendar getCreated() { |
96 | 0 | return created; |
97 | |
} |
98 | |
|
99 | |
|
100 | |
|
101 | |
|
102 | |
|
103 | |
|
104 | |
|
105 | |
public void setCreated(java.util.Calendar created) { |
106 | 0 | this.created = created; |
107 | 0 | } |
108 | |
|
109 | |
|
110 | |
|
111 | |
|
112 | |
|
113 | |
|
114 | |
|
115 | |
public java.lang.String getGroupLevel() { |
116 | 0 | return groupLevel; |
117 | |
} |
118 | |
|
119 | |
|
120 | |
|
121 | |
|
122 | |
|
123 | |
|
124 | |
|
125 | |
public void setGroupLevel(java.lang.String groupLevel) { |
126 | 0 | this.groupLevel = groupLevel; |
127 | 0 | } |
128 | |
|
129 | |
|
130 | |
|
131 | |
|
132 | |
|
133 | |
|
134 | |
|
135 | |
public java.lang.String getId() { |
136 | 0 | return id; |
137 | |
} |
138 | |
|
139 | |
|
140 | |
|
141 | |
|
142 | |
|
143 | |
|
144 | |
|
145 | |
public void setId(java.lang.String id) { |
146 | 0 | this.id = id; |
147 | 0 | } |
148 | |
|
149 | |
|
150 | |
|
151 | |
|
152 | |
|
153 | |
|
154 | |
|
155 | |
public java.lang.String getRoleLevel() { |
156 | 0 | return roleLevel; |
157 | |
} |
158 | |
|
159 | |
|
160 | |
|
161 | |
|
162 | |
|
163 | |
|
164 | |
|
165 | |
public void setRoleLevel(java.lang.String roleLevel) { |
166 | 0 | this.roleLevel = roleLevel; |
167 | 0 | } |
168 | |
|
169 | |
|
170 | |
|
171 | |
|
172 | |
|
173 | |
|
174 | |
|
175 | |
public java.lang.String getUpdateAuthor() { |
176 | 0 | return updateAuthor; |
177 | |
} |
178 | |
|
179 | |
|
180 | |
|
181 | |
|
182 | |
|
183 | |
|
184 | |
|
185 | |
public void setUpdateAuthor(java.lang.String updateAuthor) { |
186 | 0 | this.updateAuthor = updateAuthor; |
187 | 0 | } |
188 | |
|
189 | |
|
190 | |
|
191 | |
|
192 | |
|
193 | |
|
194 | |
|
195 | |
public java.util.Calendar getUpdated() { |
196 | 0 | return updated; |
197 | |
} |
198 | |
|
199 | |
|
200 | |
|
201 | |
|
202 | |
|
203 | |
|
204 | |
|
205 | |
public void setUpdated(java.util.Calendar updated) { |
206 | 0 | this.updated = updated; |
207 | 0 | } |
208 | |
|
209 | 0 | private java.lang.Object __equalsCalc = null; |
210 | |
public synchronized boolean equals(java.lang.Object obj) { |
211 | 0 | if (!(obj instanceof RemoteComment)) return false; |
212 | 0 | RemoteComment other = (RemoteComment) obj; |
213 | 0 | if (obj == null) return false; |
214 | 0 | if (this == obj) return true; |
215 | 0 | if (__equalsCalc != null) { |
216 | 0 | return (__equalsCalc == obj); |
217 | |
} |
218 | 0 | __equalsCalc = obj; |
219 | |
boolean _equals; |
220 | 0 | _equals = true && |
221 | |
((this.author==null && other.getAuthor()==null) || |
222 | |
(this.author!=null && |
223 | |
this.author.equals(other.getAuthor()))) && |
224 | |
((this.body==null && other.getBody()==null) || |
225 | |
(this.body!=null && |
226 | |
this.body.equals(other.getBody()))) && |
227 | |
((this.created==null && other.getCreated()==null) || |
228 | |
(this.created!=null && |
229 | |
this.created.equals(other.getCreated()))) && |
230 | |
((this.groupLevel==null && other.getGroupLevel()==null) || |
231 | |
(this.groupLevel!=null && |
232 | |
this.groupLevel.equals(other.getGroupLevel()))) && |
233 | |
((this.id==null && other.getId()==null) || |
234 | |
(this.id!=null && |
235 | |
this.id.equals(other.getId()))) && |
236 | |
((this.roleLevel==null && other.getRoleLevel()==null) || |
237 | |
(this.roleLevel!=null && |
238 | |
this.roleLevel.equals(other.getRoleLevel()))) && |
239 | |
((this.updateAuthor==null && other.getUpdateAuthor()==null) || |
240 | |
(this.updateAuthor!=null && |
241 | |
this.updateAuthor.equals(other.getUpdateAuthor()))) && |
242 | |
((this.updated==null && other.getUpdated()==null) || |
243 | |
(this.updated!=null && |
244 | |
this.updated.equals(other.getUpdated()))); |
245 | 0 | __equalsCalc = null; |
246 | 0 | return _equals; |
247 | |
} |
248 | |
|
249 | 0 | private boolean __hashCodeCalc = false; |
250 | |
public synchronized int hashCode() { |
251 | 0 | if (__hashCodeCalc) { |
252 | 0 | return 0; |
253 | |
} |
254 | 0 | __hashCodeCalc = true; |
255 | 0 | int _hashCode = 1; |
256 | 0 | if (getAuthor() != null) { |
257 | 0 | _hashCode += getAuthor().hashCode(); |
258 | |
} |
259 | 0 | if (getBody() != null) { |
260 | 0 | _hashCode += getBody().hashCode(); |
261 | |
} |
262 | 0 | if (getCreated() != null) { |
263 | 0 | _hashCode += getCreated().hashCode(); |
264 | |
} |
265 | 0 | if (getGroupLevel() != null) { |
266 | 0 | _hashCode += getGroupLevel().hashCode(); |
267 | |
} |
268 | 0 | if (getId() != null) { |
269 | 0 | _hashCode += getId().hashCode(); |
270 | |
} |
271 | 0 | if (getRoleLevel() != null) { |
272 | 0 | _hashCode += getRoleLevel().hashCode(); |
273 | |
} |
274 | 0 | if (getUpdateAuthor() != null) { |
275 | 0 | _hashCode += getUpdateAuthor().hashCode(); |
276 | |
} |
277 | 0 | if (getUpdated() != null) { |
278 | 0 | _hashCode += getUpdated().hashCode(); |
279 | |
} |
280 | 0 | __hashCodeCalc = false; |
281 | 0 | return _hashCode; |
282 | |
} |
283 | |
|
284 | |
|
285 | 0 | private static org.apache.axis.description.TypeDesc typeDesc = |
286 | |
new org.apache.axis.description.TypeDesc(RemoteComment.class, true); |
287 | |
|
288 | |
static { |
289 | 0 | typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComment")); |
290 | 0 | org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); |
291 | 0 | elemField.setFieldName("author"); |
292 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "author")); |
293 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
294 | 0 | elemField.setNillable(true); |
295 | 0 | typeDesc.addFieldDesc(elemField); |
296 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
297 | 0 | elemField.setFieldName("body"); |
298 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "body")); |
299 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
300 | 0 | elemField.setNillable(true); |
301 | 0 | typeDesc.addFieldDesc(elemField); |
302 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
303 | 0 | elemField.setFieldName("created"); |
304 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "created")); |
305 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); |
306 | 0 | elemField.setNillable(true); |
307 | 0 | typeDesc.addFieldDesc(elemField); |
308 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
309 | 0 | elemField.setFieldName("groupLevel"); |
310 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "groupLevel")); |
311 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
312 | 0 | elemField.setNillable(true); |
313 | 0 | typeDesc.addFieldDesc(elemField); |
314 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
315 | 0 | elemField.setFieldName("id"); |
316 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "id")); |
317 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
318 | 0 | elemField.setNillable(true); |
319 | 0 | typeDesc.addFieldDesc(elemField); |
320 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
321 | 0 | elemField.setFieldName("roleLevel"); |
322 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "roleLevel")); |
323 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
324 | 0 | elemField.setNillable(true); |
325 | 0 | typeDesc.addFieldDesc(elemField); |
326 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
327 | 0 | elemField.setFieldName("updateAuthor"); |
328 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "updateAuthor")); |
329 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
330 | 0 | elemField.setNillable(true); |
331 | 0 | typeDesc.addFieldDesc(elemField); |
332 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
333 | 0 | elemField.setFieldName("updated"); |
334 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "updated")); |
335 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); |
336 | 0 | elemField.setNillable(true); |
337 | 0 | typeDesc.addFieldDesc(elemField); |
338 | 0 | } |
339 | |
|
340 | |
|
341 | |
|
342 | |
|
343 | |
public static org.apache.axis.description.TypeDesc getTypeDesc() { |
344 | 0 | return typeDesc; |
345 | |
} |
346 | |
|
347 | |
|
348 | |
|
349 | |
|
350 | |
public static org.apache.axis.encoding.Serializer getSerializer( |
351 | |
java.lang.String mechType, |
352 | |
java.lang.Class _javaType, |
353 | |
javax.xml.namespace.QName _xmlType) { |
354 | 0 | return |
355 | |
new org.apache.axis.encoding.ser.BeanSerializer( |
356 | |
_javaType, _xmlType, typeDesc); |
357 | |
} |
358 | |
|
359 | |
|
360 | |
|
361 | |
|
362 | |
public static org.apache.axis.encoding.Deserializer getDeserializer( |
363 | |
java.lang.String mechType, |
364 | |
java.lang.Class _javaType, |
365 | |
javax.xml.namespace.QName _xmlType) { |
366 | 0 | return |
367 | |
new org.apache.axis.encoding.ser.BeanDeserializer( |
368 | |
_javaType, _xmlType, typeDesc); |
369 | |
} |
370 | |
|
371 | |
} |