1
2
3
4
5
6
7
8 package org.apache.maven.plugins.patchtracker.tracking.jira.soap;
9
10 public class RemoteAvatar implements java.io.Serializable {
11 private java.lang.String base64Data;
12
13 private java.lang.String contentType;
14
15 private long id;
16
17 private java.lang.String owner;
18
19 private boolean system;
20
21 private java.lang.String type;
22
23 public RemoteAvatar() {
24 }
25
26 public RemoteAvatar(
27 java.lang.String base64Data,
28 java.lang.String contentType,
29 long id,
30 java.lang.String owner,
31 boolean system,
32 java.lang.String type) {
33 this.base64Data = base64Data;
34 this.contentType = contentType;
35 this.id = id;
36 this.owner = owner;
37 this.system = system;
38 this.type = type;
39 }
40
41
42
43
44
45
46
47 public java.lang.String getBase64Data() {
48 return base64Data;
49 }
50
51
52
53
54
55
56
57 public void setBase64Data(java.lang.String base64Data) {
58 this.base64Data = base64Data;
59 }
60
61
62
63
64
65
66
67 public java.lang.String getContentType() {
68 return contentType;
69 }
70
71
72
73
74
75
76
77 public void setContentType(java.lang.String contentType) {
78 this.contentType = contentType;
79 }
80
81
82
83
84
85
86
87 public long getId() {
88 return id;
89 }
90
91
92
93
94
95
96
97 public void setId(long id) {
98 this.id = id;
99 }
100
101
102
103
104
105
106
107 public java.lang.String getOwner() {
108 return owner;
109 }
110
111
112
113
114
115
116
117 public void setOwner(java.lang.String owner) {
118 this.owner = owner;
119 }
120
121
122
123
124
125
126
127 public boolean isSystem() {
128 return system;
129 }
130
131
132
133
134
135
136
137 public void setSystem(boolean system) {
138 this.system = system;
139 }
140
141
142
143
144
145
146
147 public java.lang.String getType() {
148 return type;
149 }
150
151
152
153
154
155
156
157 public void setType(java.lang.String type) {
158 this.type = type;
159 }
160
161 private java.lang.Object __equalsCalc = null;
162 public synchronized boolean equals(java.lang.Object obj) {
163 if (!(obj instanceof RemoteAvatar)) return false;
164 RemoteAvatar other = (RemoteAvatar) obj;
165 if (obj == null) return false;
166 if (this == obj) return true;
167 if (__equalsCalc != null) {
168 return (__equalsCalc == obj);
169 }
170 __equalsCalc = obj;
171 boolean _equals;
172 _equals = true &&
173 ((this.base64Data==null && other.getBase64Data()==null) ||
174 (this.base64Data!=null &&
175 this.base64Data.equals(other.getBase64Data()))) &&
176 ((this.contentType==null && other.getContentType()==null) ||
177 (this.contentType!=null &&
178 this.contentType.equals(other.getContentType()))) &&
179 this.id == other.getId() &&
180 ((this.owner==null && other.getOwner()==null) ||
181 (this.owner!=null &&
182 this.owner.equals(other.getOwner()))) &&
183 this.system == other.isSystem() &&
184 ((this.type==null && other.getType()==null) ||
185 (this.type!=null &&
186 this.type.equals(other.getType())));
187 __equalsCalc = null;
188 return _equals;
189 }
190
191 private boolean __hashCodeCalc = false;
192 public synchronized int hashCode() {
193 if (__hashCodeCalc) {
194 return 0;
195 }
196 __hashCodeCalc = true;
197 int _hashCode = 1;
198 if (getBase64Data() != null) {
199 _hashCode += getBase64Data().hashCode();
200 }
201 if (getContentType() != null) {
202 _hashCode += getContentType().hashCode();
203 }
204 _hashCode += new Long(getId()).hashCode();
205 if (getOwner() != null) {
206 _hashCode += getOwner().hashCode();
207 }
208 _hashCode += (isSystem() ? Boolean.TRUE : Boolean.FALSE).hashCode();
209 if (getType() != null) {
210 _hashCode += getType().hashCode();
211 }
212 __hashCodeCalc = false;
213 return _hashCode;
214 }
215
216
217 private static org.apache.axis.description.TypeDesc typeDesc =
218 new org.apache.axis.description.TypeDesc(RemoteAvatar.class, true);
219
220 static {
221 typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteAvatar"));
222 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
223 elemField.setFieldName("base64Data");
224 elemField.setXmlName(new javax.xml.namespace.QName("", "base64Data"));
225 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
226 elemField.setNillable(true);
227 typeDesc.addFieldDesc(elemField);
228 elemField = new org.apache.axis.description.ElementDesc();
229 elemField.setFieldName("contentType");
230 elemField.setXmlName(new javax.xml.namespace.QName("", "contentType"));
231 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
232 elemField.setNillable(true);
233 typeDesc.addFieldDesc(elemField);
234 elemField = new org.apache.axis.description.ElementDesc();
235 elemField.setFieldName("id");
236 elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
237 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"));
238 elemField.setNillable(false);
239 typeDesc.addFieldDesc(elemField);
240 elemField = new org.apache.axis.description.ElementDesc();
241 elemField.setFieldName("owner");
242 elemField.setXmlName(new javax.xml.namespace.QName("", "owner"));
243 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
244 elemField.setNillable(true);
245 typeDesc.addFieldDesc(elemField);
246 elemField = new org.apache.axis.description.ElementDesc();
247 elemField.setFieldName("system");
248 elemField.setXmlName(new javax.xml.namespace.QName("", "system"));
249 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"));
250 elemField.setNillable(false);
251 typeDesc.addFieldDesc(elemField);
252 elemField = new org.apache.axis.description.ElementDesc();
253 elemField.setFieldName("type");
254 elemField.setXmlName(new javax.xml.namespace.QName("", "type"));
255 elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
256 elemField.setNillable(true);
257 typeDesc.addFieldDesc(elemField);
258 }
259
260
261
262
263 public static org.apache.axis.description.TypeDesc getTypeDesc() {
264 return typeDesc;
265 }
266
267
268
269
270 public static org.apache.axis.encoding.Serializer getSerializer(
271 java.lang.String mechType,
272 java.lang.Class _javaType,
273 javax.xml.namespace.QName _xmlType) {
274 return
275 new org.apache.axis.encoding.ser.BeanSerializer(
276 _javaType, _xmlType, typeDesc);
277 }
278
279
280
281
282 public static org.apache.axis.encoding.Deserializer getDeserializer(
283 java.lang.String mechType,
284 java.lang.Class _javaType,
285 javax.xml.namespace.QName _xmlType) {
286 return
287 new org.apache.axis.encoding.ser.BeanDeserializer(
288 _javaType, _xmlType, typeDesc);
289 }
290
291 }