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