1
2
3
4
5
6
7
8 package com.atlassian.theplugin.jira.api.soap.axis;
9
10 public class RemoteIssue extends com.atlassian.theplugin.jira.api.soap.axis.AbstractRemoteEntity
11 implements java.io.Serializable {
12 private com.atlassian.theplugin.jira.api.soap.axis.RemoteVersion[] affectsVersions;
13
14 private java.lang.String assignee;
15
16 private java.lang.String[] attachmentNames;
17
18 private com.atlassian.theplugin.jira.api.soap.axis.RemoteComponent[] components;
19
20 private java.util.Calendar created;
21
22 private com.atlassian.theplugin.jira.api.soap.axis.RemoteCustomFieldValue[] customFieldValues;
23
24 private java.lang.String description;
25
26 private java.util.Calendar duedate;
27
28 private java.lang.String environment;
29
30 private com.atlassian.theplugin.jira.api.soap.axis.RemoteVersion[] fixVersions;
31
32 private java.lang.String key;
33
34 private java.lang.String priority;
35
36 private java.lang.String project;
37
38 private java.lang.String reporter;
39
40 private java.lang.String resolution;
41
42 private java.lang.String status;
43
44 private java.lang.String summary;
45
46 private java.lang.String type;
47
48 private java.util.Calendar updated;
49
50 private java.lang.Long votes;
51
52 public RemoteIssue() {
53 }
54
55 public RemoteIssue(
56 java.lang.String id,
57 com.atlassian.theplugin.jira.api.soap.axis.RemoteVersion[] affectsVersions,
58 java.lang.String assignee,
59 java.lang.String[] attachmentNames,
60 com.atlassian.theplugin.jira.api.soap.axis.RemoteComponent[] components,
61 java.util.Calendar created,
62 com.atlassian.theplugin.jira.api.soap.axis.RemoteCustomFieldValue[] customFieldValues,
63 java.lang.String description,
64 java.util.Calendar duedate,
65 java.lang.String environment,
66 com.atlassian.theplugin.jira.api.soap.axis.RemoteVersion[] fixVersions,
67 java.lang.String key,
68 java.lang.String priority,
69 java.lang.String project,
70 java.lang.String reporter,
71 java.lang.String resolution,
72 java.lang.String status,
73 java.lang.String summary,
74 java.lang.String type,
75 java.util.Calendar updated,
76 java.lang.Long votes) {
77 super(
78 id);
79 this.affectsVersions = affectsVersions;
80 this.assignee = assignee;
81 this.attachmentNames = attachmentNames;
82 this.components = components;
83 this.created = created;
84 this.customFieldValues = customFieldValues;
85 this.description = description;
86 this.duedate = duedate;
87 this.environment = environment;
88 this.fixVersions = fixVersions;
89 this.key = key;
90 this.priority = priority;
91 this.project = project;
92 this.reporter = reporter;
93 this.resolution = resolution;
94 this.status = status;
95 this.summary = summary;
96 this.type = type;
97 this.updated = updated;
98 this.votes = votes;
99 }
100
101
102
103
104
105
106
107 public com.atlassian.theplugin.jira.api.soap.axis.RemoteVersion[] getAffectsVersions() {
108 return affectsVersions;
109 }
110
111
112
113
114
115
116
117 public void setAffectsVersions(com.atlassian.theplugin.jira.api.soap.axis.RemoteVersion[] affectsVersions) {
118 this.affectsVersions = affectsVersions;
119 }
120
121
122
123
124
125
126
127 public java.lang.String getAssignee() {
128 return assignee;
129 }
130
131
132
133
134
135
136
137 public void setAssignee(java.lang.String assignee) {
138 this.assignee = assignee;
139 }
140
141
142
143
144
145
146
147 public java.lang.String[] getAttachmentNames() {
148 return attachmentNames;
149 }
150
151
152
153
154
155
156
157 public void setAttachmentNames(java.lang.String[] attachmentNames) {
158 this.attachmentNames = attachmentNames;
159 }
160
161
162
163
164
165
166
167 public com.atlassian.theplugin.jira.api.soap.axis.RemoteComponent[] getComponents() {
168 return components;
169 }
170
171
172
173
174
175
176
177 public void setComponents(com.atlassian.theplugin.jira.api.soap.axis.RemoteComponent[] components) {
178 this.components = components;
179 }
180
181
182
183
184
185
186
187 public java.util.Calendar getCreated() {
188 return created;
189 }
190
191
192
193
194
195
196
197 public void setCreated(java.util.Calendar created) {
198 this.created = created;
199 }
200
201
202
203
204
205
206
207 public com.atlassian.theplugin.jira.api.soap.axis.RemoteCustomFieldValue[] getCustomFieldValues() {
208 return customFieldValues;
209 }
210
211
212
213
214
215
216
217 public void setCustomFieldValues(com.atlassian.theplugin.jira.api.soap.axis.RemoteCustomFieldValue[] customFieldValues) {
218 this.customFieldValues = customFieldValues;
219 }
220
221
222
223
224
225
226
227 public java.lang.String getDescription() {
228 return description;
229 }
230
231
232
233
234
235
236
237 public void setDescription(java.lang.String description) {
238 this.description = description;
239 }
240
241
242
243
244
245
246
247 public java.util.Calendar getDuedate() {
248 return duedate;
249 }
250
251
252
253
254
255
256
257 public void setDuedate(java.util.Calendar duedate) {
258 this.duedate = duedate;
259 }
260
261
262
263
264
265
266
267 public java.lang.String getEnvironment() {
268 return environment;
269 }
270
271
272
273
274
275
276
277 public void setEnvironment(java.lang.String environment) {
278 this.environment = environment;
279 }
280
281
282
283
284
285
286
287 public com.atlassian.theplugin.jira.api.soap.axis.RemoteVersion[] getFixVersions() {
288 return fixVersions;
289 }
290
291
292
293
294
295
296
297 public void setFixVersions(com.atlassian.theplugin.jira.api.soap.axis.RemoteVersion[] fixVersions) {
298 this.fixVersions = fixVersions;
299 }
300
301
302
303
304
305
306
307 public java.lang.String getKey() {
308 return key;
309 }
310
311
312
313
314
315
316
317 public void setKey(java.lang.String key) {
318 this.key = key;
319 }
320
321
322
323
324
325
326
327 public java.lang.String getPriority() {
328 return priority;
329 }
330
331
332
333
334
335
336
337 public void setPriority(java.lang.String priority) {
338 this.priority = priority;
339 }
340
341
342
343
344
345
346
347 public java.lang.String getProject() {
348 return project;
349 }
350
351
352
353
354
355
356
357 public void setProject(java.lang.String project) {
358 this.project = project;
359 }
360
361
362
363
364
365
366
367 public java.lang.String getReporter() {
368 return reporter;
369 }
370
371
372
373
374
375
376
377 public void setReporter(java.lang.String reporter) {
378 this.reporter = reporter;
379 }
380
381
382
383
384
385
386
387 public java.lang.String getResolution() {
388 return resolution;
389 }
390
391
392
393
394
395
396
397 public void setResolution(java.lang.String resolution) {
398 this.resolution = resolution;
399 }
400
401
402
403
404
405
406
407 public java.lang.String getStatus() {
408 return status;
409 }
410
411
412
413
414
415
416
417 public void setStatus(java.lang.String status) {
418 this.status = status;
419 }
420
421
422
423
424
425
426
427 public java.lang.String getSummary() {
428 return summary;
429 }
430
431
432
433
434
435
436
437 public void setSummary(java.lang.String summary) {
438 this.summary = summary;
439 }
440
441
442
443
444
445
446
447 public java.lang.String getType() {
448 return type;
449 }
450
451
452
453
454
455
456
457 public void setType(java.lang.String type) {
458 this.type = type;
459 }
460
461
462
463
464
465
466
467 public java.util.Calendar getUpdated() {
468 return updated;
469 }
470
471
472
473
474
475
476
477 public void setUpdated(java.util.Calendar updated) {
478 this.updated = updated;
479 }
480
481
482
483
484
485
486
487 public java.lang.Long getVotes() {
488 return votes;
489 }
490
491
492
493
494
495
496
497 public void setVotes(java.lang.Long votes) {
498 this.votes = votes;
499 }
500
501 private java.lang.Object __equalsCalc = null;
502
503 public synchronized boolean equals(java.lang.Object obj) {
504 if (!(obj instanceof RemoteIssue)) {
505 return false;
506 }
507 RemoteIssue other = (RemoteIssue) obj;
508 if (obj == null) {
509 return false;
510 }
511 if (this == obj) {
512 return true;
513 }
514 if (__equalsCalc != null) {
515 return (__equalsCalc == obj);
516 }
517 __equalsCalc = obj;
518 boolean _equals;
519 _equals = super.equals(obj) &&
520 ((this.affectsVersions == null && other.getAffectsVersions() == null) ||
521 (this.affectsVersions != null &&
522 java.util.Arrays.equals(this.affectsVersions, other.getAffectsVersions()))) &&
523 ((this.assignee == null && other.getAssignee() == null) ||
524 (this.assignee != null &&
525 this.assignee.equals(other.getAssignee()))) &&
526 ((this.attachmentNames == null && other.getAttachmentNames() == null) ||
527 (this.attachmentNames != null &&
528 java.util.Arrays.equals(this.attachmentNames, other.getAttachmentNames()))) &&
529 ((this.components == null && other.getComponents() == null) ||
530 (this.components != null &&
531 java.util.Arrays.equals(this.components, other.getComponents()))) &&
532 ((this.created == null && other.getCreated() == null) ||
533 (this.created != null &&
534 this.created.equals(other.getCreated()))) &&
535 ((this.customFieldValues == null && other.getCustomFieldValues() == null) ||
536 (this.customFieldValues != null &&
537 java.util.Arrays.equals(this.customFieldValues, other.getCustomFieldValues()))) &&
538 ((this.description == null && other.getDescription() == null) ||
539 (this.description != null &&
540 this.description.equals(other.getDescription()))) &&
541 ((this.duedate == null && other.getDuedate() == null) ||
542 (this.duedate != null &&
543 this.duedate.equals(other.getDuedate()))) &&
544 ((this.environment == null && other.getEnvironment() == null) ||
545 (this.environment != null &&
546 this.environment.equals(other.getEnvironment()))) &&
547 ((this.fixVersions == null && other.getFixVersions() == null) ||
548 (this.fixVersions != null &&
549 java.util.Arrays.equals(this.fixVersions, other.getFixVersions()))) &&
550 ((this.key == null && other.getKey() == null) ||
551 (this.key != null &&
552 this.key.equals(other.getKey()))) &&
553 ((this.priority == null && other.getPriority() == null) ||
554 (this.priority != null &&
555 this.priority.equals(other.getPriority()))) &&
556 ((this.project == null && other.getProject() == null) ||
557 (this.project != null &&
558 this.project.equals(other.getProject()))) &&
559 ((this.reporter == null && other.getReporter() == null) ||
560 (this.reporter != null &&
561 this.reporter.equals(other.getReporter()))) &&
562 ((this.resolution == null && other.getResolution() == null) ||
563 (this.resolution != null &&
564 this.resolution.equals(other.getResolution()))) &&
565 ((this.status == null && other.getStatus() == null) ||
566 (this.status != null &&
567 this.status.equals(other.getStatus()))) &&
568 ((this.summary == null && other.getSummary() == null) ||
569 (this.summary != null &&
570 this.summary.equals(other.getSummary()))) &&
571 ((this.type == null && other.getType() == null) ||
572 (this.type != null &&
573 this.type.equals(other.getType()))) &&
574 ((this.updated == null && other.getUpdated() == null) ||
575 (this.updated != null &&
576 this.updated.equals(other.getUpdated()))) &&
577 ((this.votes == null && other.getVotes() == null) ||
578 (this.votes != null &&
579 this.votes.equals(other.getVotes())));
580 __equalsCalc = null;
581 return _equals;
582 }
583
584 private boolean __hashCodeCalc = false;
585
586 public synchronized int hashCode() {
587 if (__hashCodeCalc) {
588 return 0;
589 }
590 __hashCodeCalc = true;
591 int _hashCode = super.hashCode();
592 if (getAffectsVersions() != null) {
593 for (int i = 0;
594 i < java.lang.reflect.Array.getLength(getAffectsVersions());
595 i++) {
596 java.lang.Object obj = java.lang.reflect.Array.get(getAffectsVersions(), i);
597 if (obj != null &&
598 !obj.getClass().isArray()) {
599 _hashCode += obj.hashCode();
600 }
601 }
602 }
603 if (getAssignee() != null) {
604 _hashCode += getAssignee().hashCode();
605 }
606 if (getAttachmentNames() != null) {
607 for (int i = 0;
608 i < java.lang.reflect.Array.getLength(getAttachmentNames());
609 i++) {
610 java.lang.Object obj = java.lang.reflect.Array.get(getAttachmentNames(), i);
611 if (obj != null &&
612 !obj.getClass().isArray()) {
613 _hashCode += obj.hashCode();
614 }
615 }
616 }
617 if (getComponents() != null) {
618 for (int i = 0;
619 i < java.lang.reflect.Array.getLength(getComponents());
620 i++) {
621 java.lang.Object obj = java.lang.reflect.Array.get(getComponents(), i);
622 if (obj != null &&
623 !obj.getClass().isArray()) {
624 _hashCode += obj.hashCode();
625 }
626 }
627 }
628 if (getCreated() != null) {
629 _hashCode += getCreated().hashCode();
630 }
631 if (getCustomFieldValues() != null) {
632 for (int i = 0;
633 i < java.lang.reflect.Array.getLength(getCustomFieldValues());
634 i++) {
635 java.lang.Object obj = java.lang.reflect.Array.get(getCustomFieldValues(), i);
636 if (obj != null &&
637 !obj.getClass().isArray()) {
638 _hashCode += obj.hashCode();
639 }
640 }
641 }
642 if (getDescription() != null) {
643 _hashCode += getDescription().hashCode();
644 }
645 if (getDuedate() != null) {
646 _hashCode += getDuedate().hashCode();
647 }
648 if (getEnvironment() != null) {
649 _hashCode += getEnvironment().hashCode();
650 }
651 if (getFixVersions() != null) {
652 for (int i = 0;
653 i < java.lang.reflect.Array.getLength(getFixVersions());
654 i++) {
655 java.lang.Object obj = java.lang.reflect.Array.get(getFixVersions(), i);
656 if (obj != null &&
657 !obj.getClass().isArray()) {
658 _hashCode += obj.hashCode();
659 }
660 }
661 }
662 if (getKey() != null) {
663 _hashCode += getKey().hashCode();
664 }
665 if (getPriority() != null) {
666 _hashCode += getPriority().hashCode();
667 }
668 if (getProject() != null) {
669 _hashCode += getProject().hashCode();
670 }
671 if (getReporter() != null) {
672 _hashCode += getReporter().hashCode();
673 }
674 if (getResolution() != null) {
675 _hashCode += getResolution().hashCode();
676 }
677 if (getStatus() != null) {
678 _hashCode += getStatus().hashCode();
679 }
680 if (getSummary() != null) {
681 _hashCode += getSummary().hashCode();
682 }
683 if (getType() != null) {
684 _hashCode += getType().hashCode();
685 }
686 if (getUpdated() != null) {
687 _hashCode += getUpdated().hashCode();
688 }
689 if (getVotes() != null) {
690 _hashCode += getVotes().hashCode();
691 }
692 __hashCodeCalc = false;
693 return _hashCode;
694 }
695
696
697 private static org.apache.axis.description.TypeDesc typeDesc =
698 new org.apache.axis.description.TypeDesc(RemoteIssue.class, true);
699
700 static {
701 typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue"));
702 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
703 elemField.setFieldName("affectsVersions");
704 elemField.setXmlName(new javax.xml.namespace.QName("", "affectsVersions"));
705 elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion"));
706 elemField.setNillable(true);
707 typeDesc.addFieldDesc(elemField);
708 elemField = new org.apache.axis.description.ElementDesc();
709 elemField.setFieldName("assignee");
710 elemField.setXmlName(new javax.xml.namespace.QName("", "assignee"));
711 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
712 elemField.setNillable(true);
713 typeDesc.addFieldDesc(elemField);
714 elemField = new org.apache.axis.description.ElementDesc();
715 elemField.setFieldName("attachmentNames");
716 elemField.setXmlName(new javax.xml.namespace.QName("", "attachmentNames"));
717 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
718 elemField.setNillable(true);
719 typeDesc.addFieldDesc(elemField);
720 elemField = new org.apache.axis.description.ElementDesc();
721 elemField.setFieldName("components");
722 elemField.setXmlName(new javax.xml.namespace.QName("", "components"));
723 elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComponent"));
724 elemField.setNillable(true);
725 typeDesc.addFieldDesc(elemField);
726 elemField = new org.apache.axis.description.ElementDesc();
727 elemField.setFieldName("created");
728 elemField.setXmlName(new javax.xml.namespace.QName("", "created"));
729 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
730 elemField.setNillable(true);
731 typeDesc.addFieldDesc(elemField);
732 elemField = new org.apache.axis.description.ElementDesc();
733 elemField.setFieldName("customFieldValues");
734 elemField.setXmlName(new javax.xml.namespace.QName("", "customFieldValues"));
735 elemField.setXmlType(
736 new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteCustomFieldValue"));
737 elemField.setNillable(true);
738 typeDesc.addFieldDesc(elemField);
739 elemField = new org.apache.axis.description.ElementDesc();
740 elemField.setFieldName("description");
741 elemField.setXmlName(new javax.xml.namespace.QName("", "description"));
742 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
743 elemField.setNillable(true);
744 typeDesc.addFieldDesc(elemField);
745 elemField = new org.apache.axis.description.ElementDesc();
746 elemField.setFieldName("duedate");
747 elemField.setXmlName(new javax.xml.namespace.QName("", "duedate"));
748 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
749 elemField.setNillable(true);
750 typeDesc.addFieldDesc(elemField);
751 elemField = new org.apache.axis.description.ElementDesc();
752 elemField.setFieldName("environment");
753 elemField.setXmlName(new javax.xml.namespace.QName("", "environment"));
754 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
755 elemField.setNillable(true);
756 typeDesc.addFieldDesc(elemField);
757 elemField = new org.apache.axis.description.ElementDesc();
758 elemField.setFieldName("fixVersions");
759 elemField.setXmlName(new javax.xml.namespace.QName("", "fixVersions"));
760 elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion"));
761 elemField.setNillable(true);
762 typeDesc.addFieldDesc(elemField);
763 elemField = new org.apache.axis.description.ElementDesc();
764 elemField.setFieldName("key");
765 elemField.setXmlName(new javax.xml.namespace.QName("", "key"));
766 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
767 elemField.setNillable(true);
768 typeDesc.addFieldDesc(elemField);
769 elemField = new org.apache.axis.description.ElementDesc();
770 elemField.setFieldName("priority");
771 elemField.setXmlName(new javax.xml.namespace.QName("", "priority"));
772 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
773 elemField.setNillable(true);
774 typeDesc.addFieldDesc(elemField);
775 elemField = new org.apache.axis.description.ElementDesc();
776 elemField.setFieldName("project");
777 elemField.setXmlName(new javax.xml.namespace.QName("", "project"));
778 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
779 elemField.setNillable(true);
780 typeDesc.addFieldDesc(elemField);
781 elemField = new org.apache.axis.description.ElementDesc();
782 elemField.setFieldName("reporter");
783 elemField.setXmlName(new javax.xml.namespace.QName("", "reporter"));
784 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
785 elemField.setNillable(true);
786 typeDesc.addFieldDesc(elemField);
787 elemField = new org.apache.axis.description.ElementDesc();
788 elemField.setFieldName("resolution");
789 elemField.setXmlName(new javax.xml.namespace.QName("", "resolution"));
790 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
791 elemField.setNillable(true);
792 typeDesc.addFieldDesc(elemField);
793 elemField = new org.apache.axis.description.ElementDesc();
794 elemField.setFieldName("status");
795 elemField.setXmlName(new javax.xml.namespace.QName("", "status"));
796 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
797 elemField.setNillable(true);
798 typeDesc.addFieldDesc(elemField);
799 elemField = new org.apache.axis.description.ElementDesc();
800 elemField.setFieldName("summary");
801 elemField.setXmlName(new javax.xml.namespace.QName("", "summary"));
802 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
803 elemField.setNillable(true);
804 typeDesc.addFieldDesc(elemField);
805 elemField = new org.apache.axis.description.ElementDesc();
806 elemField.setFieldName("type");
807 elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
808 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
809 elemField.setNillable(true);
810 typeDesc.addFieldDesc(elemField);
811 elemField = new org.apache.axis.description.ElementDesc();
812 elemField.setFieldName("updated");
813 elemField.setXmlName(new javax.xml.namespace.QName("", "updated"));
814 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime"));
815 elemField.setNillable(true);
816 typeDesc.addFieldDesc(elemField);
817 elemField = new org.apache.axis.description.ElementDesc();
818 elemField.setFieldName("votes");
819 elemField.setXmlName(new javax.xml.namespace.QName("", "votes"));
820 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
821 elemField.setNillable(true);
822 typeDesc.addFieldDesc(elemField);
823 }
824
825
826
827
828 public static org.apache.axis.description.TypeDesc getTypeDesc() {
829 return typeDesc;
830 }
831
832
833
834
835 public static org.apache.axis.encoding.Serializer getSerializer(
836 java.lang.String mechType,
837 java.lang.Class _javaType,
838 javax.xml.namespace.QName _xmlType) {
839 return
840 new org.apache.axis.encoding.ser.BeanSerializer(
841 _javaType, _xmlType, typeDesc);
842 }
843
844
845
846
847 public static org.apache.axis.encoding.Deserializer getDeserializer(
848 java.lang.String mechType,
849 java.lang.Class _javaType,
850 javax.xml.namespace.QName _xmlType) {
851 return
852 new org.apache.axis.encoding.ser.BeanDeserializer(
853 _javaType, _xmlType, typeDesc);
854 }
855
856 }