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