1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
package org.apache.maven.plugins.patchtracker.tracking.jira.soap; |
9 | |
|
10 | |
public class RemoteScheme implements java.io.Serializable { |
11 | |
private java.lang.String description; |
12 | |
|
13 | |
private java.lang.Long id; |
14 | |
|
15 | |
private java.lang.String name; |
16 | |
|
17 | |
private java.lang.String type; |
18 | |
|
19 | 0 | public RemoteScheme() { |
20 | 0 | } |
21 | |
|
22 | |
public RemoteScheme( |
23 | |
java.lang.String description, |
24 | |
java.lang.Long id, |
25 | |
java.lang.String name, |
26 | 0 | java.lang.String type) { |
27 | 0 | this.description = description; |
28 | 0 | this.id = id; |
29 | 0 | this.name = name; |
30 | 0 | this.type = type; |
31 | 0 | } |
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
|
37 | |
|
38 | |
|
39 | |
public java.lang.String getDescription() { |
40 | 0 | return description; |
41 | |
} |
42 | |
|
43 | |
|
44 | |
|
45 | |
|
46 | |
|
47 | |
|
48 | |
|
49 | |
public void setDescription(java.lang.String description) { |
50 | 0 | this.description = description; |
51 | 0 | } |
52 | |
|
53 | |
|
54 | |
|
55 | |
|
56 | |
|
57 | |
|
58 | |
|
59 | |
public java.lang.Long getId() { |
60 | 0 | return id; |
61 | |
} |
62 | |
|
63 | |
|
64 | |
|
65 | |
|
66 | |
|
67 | |
|
68 | |
|
69 | |
public void setId(java.lang.Long id) { |
70 | 0 | this.id = id; |
71 | 0 | } |
72 | |
|
73 | |
|
74 | |
|
75 | |
|
76 | |
|
77 | |
|
78 | |
|
79 | |
public java.lang.String getName() { |
80 | 0 | return name; |
81 | |
} |
82 | |
|
83 | |
|
84 | |
|
85 | |
|
86 | |
|
87 | |
|
88 | |
|
89 | |
public void setName(java.lang.String name) { |
90 | 0 | this.name = name; |
91 | 0 | } |
92 | |
|
93 | |
|
94 | |
|
95 | |
|
96 | |
|
97 | |
|
98 | |
|
99 | |
public java.lang.String getType() { |
100 | 0 | return type; |
101 | |
} |
102 | |
|
103 | |
|
104 | |
|
105 | |
|
106 | |
|
107 | |
|
108 | |
|
109 | |
public void setType(java.lang.String type) { |
110 | 0 | this.type = type; |
111 | 0 | } |
112 | |
|
113 | 0 | private java.lang.Object __equalsCalc = null; |
114 | |
public synchronized boolean equals(java.lang.Object obj) { |
115 | 0 | if (!(obj instanceof RemoteScheme)) return false; |
116 | 0 | RemoteScheme other = (RemoteScheme) obj; |
117 | 0 | if (obj == null) return false; |
118 | 0 | if (this == obj) return true; |
119 | 0 | if (__equalsCalc != null) { |
120 | 0 | return (__equalsCalc == obj); |
121 | |
} |
122 | 0 | __equalsCalc = obj; |
123 | |
boolean _equals; |
124 | 0 | _equals = true && |
125 | |
((this.description==null && other.getDescription()==null) || |
126 | |
(this.description!=null && |
127 | |
this.description.equals(other.getDescription()))) && |
128 | |
((this.id==null && other.getId()==null) || |
129 | |
(this.id!=null && |
130 | |
this.id.equals(other.getId()))) && |
131 | |
((this.name==null && other.getName()==null) || |
132 | |
(this.name!=null && |
133 | |
this.name.equals(other.getName()))) && |
134 | |
((this.type==null && other.getType()==null) || |
135 | |
(this.type!=null && |
136 | |
this.type.equals(other.getType()))); |
137 | 0 | __equalsCalc = null; |
138 | 0 | return _equals; |
139 | |
} |
140 | |
|
141 | 0 | private boolean __hashCodeCalc = false; |
142 | |
public synchronized int hashCode() { |
143 | 0 | if (__hashCodeCalc) { |
144 | 0 | return 0; |
145 | |
} |
146 | 0 | __hashCodeCalc = true; |
147 | 0 | int _hashCode = 1; |
148 | 0 | if (getDescription() != null) { |
149 | 0 | _hashCode += getDescription().hashCode(); |
150 | |
} |
151 | 0 | if (getId() != null) { |
152 | 0 | _hashCode += getId().hashCode(); |
153 | |
} |
154 | 0 | if (getName() != null) { |
155 | 0 | _hashCode += getName().hashCode(); |
156 | |
} |
157 | 0 | if (getType() != null) { |
158 | 0 | _hashCode += getType().hashCode(); |
159 | |
} |
160 | 0 | __hashCodeCalc = false; |
161 | 0 | return _hashCode; |
162 | |
} |
163 | |
|
164 | |
|
165 | 0 | private static org.apache.axis.description.TypeDesc typeDesc = |
166 | |
new org.apache.axis.description.TypeDesc(RemoteScheme.class, true); |
167 | |
|
168 | |
static { |
169 | 0 | typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme")); |
170 | 0 | org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); |
171 | 0 | elemField.setFieldName("description"); |
172 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "description")); |
173 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
174 | 0 | elemField.setNillable(true); |
175 | 0 | typeDesc.addFieldDesc(elemField); |
176 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
177 | 0 | elemField.setFieldName("id"); |
178 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "id")); |
179 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); |
180 | 0 | elemField.setNillable(true); |
181 | 0 | typeDesc.addFieldDesc(elemField); |
182 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
183 | 0 | elemField.setFieldName("name"); |
184 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "name")); |
185 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
186 | 0 | elemField.setNillable(true); |
187 | 0 | typeDesc.addFieldDesc(elemField); |
188 | 0 | elemField = new org.apache.axis.description.ElementDesc(); |
189 | 0 | elemField.setFieldName("type"); |
190 | 0 | elemField.setXmlName(new javax.xml.namespace.QName("", "type")); |
191 | 0 | elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
192 | 0 | elemField.setNillable(true); |
193 | 0 | typeDesc.addFieldDesc(elemField); |
194 | 0 | } |
195 | |
|
196 | |
|
197 | |
|
198 | |
|
199 | |
public static org.apache.axis.description.TypeDesc getTypeDesc() { |
200 | 0 | return typeDesc; |
201 | |
} |
202 | |
|
203 | |
|
204 | |
|
205 | |
|
206 | |
public static org.apache.axis.encoding.Serializer getSerializer( |
207 | |
java.lang.String mechType, |
208 | |
java.lang.Class _javaType, |
209 | |
javax.xml.namespace.QName _xmlType) { |
210 | 0 | return |
211 | |
new org.apache.axis.encoding.ser.BeanSerializer( |
212 | |
_javaType, _xmlType, typeDesc); |
213 | |
} |
214 | |
|
215 | |
|
216 | |
|
217 | |
|
218 | |
public static org.apache.axis.encoding.Deserializer getDeserializer( |
219 | |
java.lang.String mechType, |
220 | |
java.lang.Class _javaType, |
221 | |
javax.xml.namespace.QName _xmlType) { |
222 | 0 | return |
223 | |
new org.apache.axis.encoding.ser.BeanDeserializer( |
224 | |
_javaType, _xmlType, typeDesc); |
225 | |
} |
226 | |
|
227 | |
} |