1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
package org.apache.maven.plugins.patchtracker.tracking.jira.soap; |
9 | |
|
10 | |
public class RemoteIssueType extends org.apache.maven.plugins.patchtracker.tracking.jira.soap.AbstractRemoteConstant implements java.io.Serializable { |
11 | |
private boolean subTask; |
12 | |
|
13 | 0 | public RemoteIssueType() { |
14 | 0 | } |
15 | |
|
16 | |
public RemoteIssueType( |
17 | |
java.lang.String id, |
18 | |
java.lang.String name, |
19 | |
java.lang.String description, |
20 | |
java.lang.String icon, |
21 | |
boolean subTask) { |
22 | 0 | super( |
23 | |
id, |
24 | |
name, |
25 | |
description, |
26 | |
icon); |
27 | 0 | this.subTask = subTask; |
28 | 0 | } |
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
public boolean isSubTask() { |
37 | 0 | return subTask; |
38 | |
} |
39 | |
|
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
public void setSubTask(boolean subTask) { |
47 | 0 | this.subTask = subTask; |
48 | 0 | } |
49 | |
|
50 | 0 | private java.lang.Object __equalsCalc = null; |
51 | |
public synchronized boolean equals(java.lang.Object obj) { |
52 | 0 | if (!(obj instanceof RemoteIssueType)) return false; |
53 | 0 | RemoteIssueType other = (RemoteIssueType) obj; |
54 | 0 | if (obj == null) return false; |
55 | 0 | if (this == obj) return true; |
56 | 0 | if (__equalsCalc != null) { |
57 | 0 | return (__equalsCalc == obj); |
58 | |
} |
59 | 0 | __equalsCalc = obj; |
60 | |
boolean _equals; |
61 | 0 | _equals = super.equals(obj) && |
62 | |
this.subTask == other.isSubTask(); |
63 | 0 | __equalsCalc = null; |
64 | 0 | return _equals; |
65 | |
} |
66 | |
|
67 | 0 | private boolean __hashCodeCalc = false; |
68 | |
public synchronized int hashCode() { |
69 | 0 | if (__hashCodeCalc) { |
70 | 0 | return 0; |
71 | |
} |
72 | 0 | __hashCodeCalc = true; |
73 | 0 | int _hashCode = super.hashCode(); |
74 | 0 | _hashCode += (isSubTask() ? Boolean.TRUE : Boolean.FALSE).hashCode(); |
75 | 0 | __hashCodeCalc = false; |
76 | 0 | return _hashCode; |
77 | |
} |
78 | |
|
79 | |
|
80 | 0 | private static org.apache.axis.description.TypeDesc typeDesc = |
81 | |
new org.apache.axis.description.TypeDesc(RemoteIssueType.class, true); |
82 | |
|
83 | |
static { |
84 | 0 | typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssueType")); |
85 | 0 | org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); |
86 | 0 | elemField.setFieldName("subTask"); |
87 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "subTask")); |
88 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); |
89 | 0 | elemField.setNillable(false); |
90 | 0 | typeDesc.addFieldDesc(elemField); |
91 | 0 | } |
92 | |
|
93 | |
|
94 | |
|
95 | |
|
96 | |
public static org.apache.axis.description.TypeDesc getTypeDesc() { |
97 | 0 | return typeDesc; |
98 | |
} |
99 | |
|
100 | |
|
101 | |
|
102 | |
|
103 | |
public static org.apache.axis.encoding.Serializer getSerializer( |
104 | |
java.lang.String mechType, |
105 | |
java.lang.Class _javaType, |
106 | |
javax.xml.namespace.QName _xmlType) { |
107 | 0 | return |
108 | |
new org.apache.axis.encoding.ser.BeanSerializer( |
109 | |
_javaType, _xmlType, typeDesc); |
110 | |
} |
111 | |
|
112 | |
|
113 | |
|
114 | |
|
115 | |
public static org.apache.axis.encoding.Deserializer getDeserializer( |
116 | |
java.lang.String mechType, |
117 | |
java.lang.Class _javaType, |
118 | |
javax.xml.namespace.QName _xmlType) { |
119 | 0 | return |
120 | |
new org.apache.axis.encoding.ser.BeanDeserializer( |
121 | |
_javaType, _xmlType, typeDesc); |
122 | |
} |
123 | |
|
124 | |
} |