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 public RemoteProject() {
28 }
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 super(
42 id,
43 name);
44 this.description = description;
45 this.issueSecurityScheme = issueSecurityScheme;
46 this.key = key;
47 this.lead = lead;
48 this.notificationScheme = notificationScheme;
49 this.permissionScheme = permissionScheme;
50 this.projectUrl = projectUrl;
51 this.url = url;
52 }
53
54
55
56
57
58
59
60 public java.lang.String getDescription() {
61 return description;
62 }
63
64
65
66
67
68
69
70 public void setDescription(java.lang.String description) {
71 this.description = description;
72 }
73
74
75
76
77
78
79
80 public org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteScheme getIssueSecurityScheme() {
81 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 this.issueSecurityScheme = issueSecurityScheme;
92 }
93
94
95
96
97
98
99
100 public java.lang.String getKey() {
101 return key;
102 }
103
104
105
106
107
108
109
110 public void setKey(java.lang.String key) {
111 this.key = key;
112 }
113
114
115
116
117
118
119
120 public java.lang.String getLead() {
121 return lead;
122 }
123
124
125
126
127
128
129
130 public void setLead(java.lang.String lead) {
131 this.lead = lead;
132 }
133
134
135
136
137
138
139
140 public org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemoteScheme getNotificationScheme() {
141 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 this.notificationScheme = notificationScheme;
152 }
153
154
155
156
157
158
159
160 public org.apache.maven.plugins.patchtracker.tracking.jira.soap.RemotePermissionScheme getPermissionScheme() {
161 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 this.permissionScheme = permissionScheme;
172 }
173
174
175
176
177
178
179
180 public java.lang.String getProjectUrl() {
181 return projectUrl;
182 }
183
184
185
186
187
188
189
190 public void setProjectUrl(java.lang.String projectUrl) {
191 this.projectUrl = projectUrl;
192 }
193
194
195
196
197
198
199
200 public java.lang.String getUrl() {
201 return url;
202 }
203
204
205
206
207
208
209
210 public void setUrl(java.lang.String url) {
211 this.url = url;
212 }
213
214 private java.lang.Object __equalsCalc = null;
215 public synchronized boolean equals(java.lang.Object obj) {
216 if (!(obj instanceof RemoteProject)) return false;
217 RemoteProject other = (RemoteProject) obj;
218 if (obj == null) return false;
219 if (this == obj) return true;
220 if (__equalsCalc != null) {
221 return (__equalsCalc == obj);
222 }
223 __equalsCalc = obj;
224 boolean _equals;
225 _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 __equalsCalc = null;
251 return _equals;
252 }
253
254 private boolean __hashCodeCalc = false;
255 public synchronized int hashCode() {
256 if (__hashCodeCalc) {
257 return 0;
258 }
259 __hashCodeCalc = true;
260 int _hashCode = super.hashCode();
261 if (getDescription() != null) {
262 _hashCode += getDescription().hashCode();
263 }
264 if (getIssueSecurityScheme() != null) {
265 _hashCode += getIssueSecurityScheme().hashCode();
266 }
267 if (getKey() != null) {
268 _hashCode += getKey().hashCode();
269 }
270 if (getLead() != null) {
271 _hashCode += getLead().hashCode();
272 }
273 if (getNotificationScheme() != null) {
274 _hashCode += getNotificationScheme().hashCode();
275 }
276 if (getPermissionScheme() != null) {
277 _hashCode += getPermissionScheme().hashCode();
278 }
279 if (getProjectUrl() != null) {
280 _hashCode += getProjectUrl().hashCode();
281 }
282 if (getUrl() != null) {
283 _hashCode += getUrl().hashCode();
284 }
285 __hashCodeCalc = false;
286 return _hashCode;
287 }
288
289
290 private static org.apache.axis.description.TypeDesc typeDesc =
291 new org.apache.axis.description.TypeDesc(RemoteProject.class, true);
292
293 static {
294 typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject"));
295 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
296 elemField.setFieldName("description");
297 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
298 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
299 elemField.setNillable(true);
300 typeDesc.addFieldDesc(elemField);
301 elemField = new org.apache.axis.description.ElementDesc();
302 elemField.setFieldName("issueSecurityScheme");
303 elemField.setXmlName(new javax.xml.namespace.QName("", "issueSecurityScheme"));
304 elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme"));
305 elemField.setNillable(true);
306 typeDesc.addFieldDesc(elemField);
307 elemField = new org.apache.axis.description.ElementDesc();
308 elemField.setFieldName("key");
309 elemField.setXmlName(new javax.xml.namespace.QName("", "key"));
310 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
311 elemField.setNillable(true);
312 typeDesc.addFieldDesc(elemField);
313 elemField = new org.apache.axis.description.ElementDesc();
314 elemField.setFieldName("lead");
315 elemField.setXmlName(new javax.xml.namespace.QName("", "lead"));
316 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
317 elemField.setNillable(true);
318 typeDesc.addFieldDesc(elemField);
319 elemField = new org.apache.axis.description.ElementDesc();
320 elemField.setFieldName("notificationScheme");
321 elemField.setXmlName(new javax.xml.namespace.QName("", "notificationScheme"));
322 elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme"));
323 elemField.setNillable(true);
324 typeDesc.addFieldDesc(elemField);
325 elemField = new org.apache.axis.description.ElementDesc();
326 elemField.setFieldName("permissionScheme");
327 elemField.setXmlName(new javax.xml.namespace.QName("", "permissionScheme"));
328 elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme"));
329 elemField.setNillable(true);
330 typeDesc.addFieldDesc(elemField);
331 elemField = new org.apache.axis.description.ElementDesc();
332 elemField.setFieldName("projectUrl");
333 elemField.setXmlName(new javax.xml.namespace.QName("", "projectUrl"));
334 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
335 elemField.setNillable(true);
336 typeDesc.addFieldDesc(elemField);
337 elemField = new org.apache.axis.description.ElementDesc();
338 elemField.setFieldName("url");
339 elemField.setXmlName(new javax.xml.namespace.QName("", "url"));
340 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
341 elemField.setNillable(true);
342 typeDesc.addFieldDesc(elemField);
343 }
344
345
346
347
348 public static org.apache.axis.description.TypeDesc getTypeDesc() {
349 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 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 return
372 new org.apache.axis.encoding.ser.BeanDeserializer(
373 _javaType, _xmlType, typeDesc);
374 }
375
376 }