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