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