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