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