1 |
torben |
2009 |
/** |
2 |
|
|
* StatusData.java |
3 |
|
|
* |
4 |
|
|
* This file was auto-generated from WSDL |
5 |
|
|
* by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. |
6 |
|
|
*/ |
7 |
|
|
|
8 |
|
|
package org.datacontract.schemas._2004._07.DaoMqPump2; |
9 |
|
|
|
10 |
|
|
public class StatusData implements java.io.Serializable { |
11 |
|
|
private java.lang.Integer counter; |
12 |
|
|
|
13 |
|
|
private java.lang.String lastErrorMessage; |
14 |
|
|
|
15 |
|
|
private java.lang.String lastErrorTime; |
16 |
|
|
|
17 |
|
|
private java.lang.String lastOkTime; |
18 |
|
|
|
19 |
|
|
private java.lang.String lastTransferTime; |
20 |
|
|
|
21 |
|
|
private java.lang.Boolean lastrunOk; |
22 |
|
|
|
23 |
|
|
private java.lang.Boolean transportEnabled; |
24 |
|
|
|
25 |
|
|
public StatusData() { |
26 |
|
|
} |
27 |
|
|
|
28 |
|
|
public StatusData( |
29 |
|
|
java.lang.Integer counter, |
30 |
|
|
java.lang.String lastErrorMessage, |
31 |
|
|
java.lang.String lastErrorTime, |
32 |
|
|
java.lang.String lastOkTime, |
33 |
|
|
java.lang.String lastTransferTime, |
34 |
|
|
java.lang.Boolean lastrunOk, |
35 |
|
|
java.lang.Boolean transportEnabled) { |
36 |
|
|
this.counter = counter; |
37 |
|
|
this.lastErrorMessage = lastErrorMessage; |
38 |
|
|
this.lastErrorTime = lastErrorTime; |
39 |
|
|
this.lastOkTime = lastOkTime; |
40 |
|
|
this.lastTransferTime = lastTransferTime; |
41 |
|
|
this.lastrunOk = lastrunOk; |
42 |
|
|
this.transportEnabled = transportEnabled; |
43 |
|
|
} |
44 |
|
|
|
45 |
|
|
|
46 |
|
|
/** |
47 |
|
|
* Gets the counter value for this StatusData. |
48 |
|
|
* |
49 |
|
|
* @return counter |
50 |
|
|
*/ |
51 |
|
|
public java.lang.Integer getCounter() { |
52 |
|
|
return counter; |
53 |
|
|
} |
54 |
|
|
|
55 |
|
|
|
56 |
|
|
/** |
57 |
|
|
* Sets the counter value for this StatusData. |
58 |
|
|
* |
59 |
|
|
* @param counter |
60 |
|
|
*/ |
61 |
|
|
public void setCounter(java.lang.Integer counter) { |
62 |
|
|
this.counter = counter; |
63 |
|
|
} |
64 |
|
|
|
65 |
|
|
|
66 |
|
|
/** |
67 |
|
|
* Gets the lastErrorMessage value for this StatusData. |
68 |
|
|
* |
69 |
|
|
* @return lastErrorMessage |
70 |
|
|
*/ |
71 |
|
|
public java.lang.String getLastErrorMessage() { |
72 |
|
|
return lastErrorMessage; |
73 |
|
|
} |
74 |
|
|
|
75 |
|
|
|
76 |
|
|
/** |
77 |
|
|
* Sets the lastErrorMessage value for this StatusData. |
78 |
|
|
* |
79 |
|
|
* @param lastErrorMessage |
80 |
|
|
*/ |
81 |
|
|
public void setLastErrorMessage(java.lang.String lastErrorMessage) { |
82 |
|
|
this.lastErrorMessage = lastErrorMessage; |
83 |
|
|
} |
84 |
|
|
|
85 |
|
|
|
86 |
|
|
/** |
87 |
|
|
* Gets the lastErrorTime value for this StatusData. |
88 |
|
|
* |
89 |
|
|
* @return lastErrorTime |
90 |
|
|
*/ |
91 |
|
|
public java.lang.String getLastErrorTime() { |
92 |
|
|
return lastErrorTime; |
93 |
|
|
} |
94 |
|
|
|
95 |
|
|
|
96 |
|
|
/** |
97 |
|
|
* Sets the lastErrorTime value for this StatusData. |
98 |
|
|
* |
99 |
|
|
* @param lastErrorTime |
100 |
|
|
*/ |
101 |
|
|
public void setLastErrorTime(java.lang.String lastErrorTime) { |
102 |
|
|
this.lastErrorTime = lastErrorTime; |
103 |
|
|
} |
104 |
|
|
|
105 |
|
|
|
106 |
|
|
/** |
107 |
|
|
* Gets the lastOkTime value for this StatusData. |
108 |
|
|
* |
109 |
|
|
* @return lastOkTime |
110 |
|
|
*/ |
111 |
|
|
public java.lang.String getLastOkTime() { |
112 |
|
|
return lastOkTime; |
113 |
|
|
} |
114 |
|
|
|
115 |
|
|
|
116 |
|
|
/** |
117 |
|
|
* Sets the lastOkTime value for this StatusData. |
118 |
|
|
* |
119 |
|
|
* @param lastOkTime |
120 |
|
|
*/ |
121 |
|
|
public void setLastOkTime(java.lang.String lastOkTime) { |
122 |
|
|
this.lastOkTime = lastOkTime; |
123 |
|
|
} |
124 |
|
|
|
125 |
|
|
|
126 |
|
|
/** |
127 |
|
|
* Gets the lastTransferTime value for this StatusData. |
128 |
|
|
* |
129 |
|
|
* @return lastTransferTime |
130 |
|
|
*/ |
131 |
|
|
public java.lang.String getLastTransferTime() { |
132 |
|
|
return lastTransferTime; |
133 |
|
|
} |
134 |
|
|
|
135 |
|
|
|
136 |
|
|
/** |
137 |
|
|
* Sets the lastTransferTime value for this StatusData. |
138 |
|
|
* |
139 |
|
|
* @param lastTransferTime |
140 |
|
|
*/ |
141 |
|
|
public void setLastTransferTime(java.lang.String lastTransferTime) { |
142 |
|
|
this.lastTransferTime = lastTransferTime; |
143 |
|
|
} |
144 |
|
|
|
145 |
|
|
|
146 |
|
|
/** |
147 |
|
|
* Gets the lastrunOk value for this StatusData. |
148 |
|
|
* |
149 |
|
|
* @return lastrunOk |
150 |
|
|
*/ |
151 |
|
|
public java.lang.Boolean getLastrunOk() { |
152 |
|
|
return lastrunOk; |
153 |
|
|
} |
154 |
|
|
|
155 |
|
|
|
156 |
|
|
/** |
157 |
|
|
* Sets the lastrunOk value for this StatusData. |
158 |
|
|
* |
159 |
|
|
* @param lastrunOk |
160 |
|
|
*/ |
161 |
|
|
public void setLastrunOk(java.lang.Boolean lastrunOk) { |
162 |
|
|
this.lastrunOk = lastrunOk; |
163 |
|
|
} |
164 |
|
|
|
165 |
|
|
|
166 |
|
|
/** |
167 |
|
|
* Gets the transportEnabled value for this StatusData. |
168 |
|
|
* |
169 |
|
|
* @return transportEnabled |
170 |
|
|
*/ |
171 |
|
|
public java.lang.Boolean getTransportEnabled() { |
172 |
|
|
return transportEnabled; |
173 |
|
|
} |
174 |
|
|
|
175 |
|
|
|
176 |
|
|
/** |
177 |
|
|
* Sets the transportEnabled value for this StatusData. |
178 |
|
|
* |
179 |
|
|
* @param transportEnabled |
180 |
|
|
*/ |
181 |
|
|
public void setTransportEnabled(java.lang.Boolean transportEnabled) { |
182 |
|
|
this.transportEnabled = transportEnabled; |
183 |
|
|
} |
184 |
|
|
|
185 |
|
|
private java.lang.Object __equalsCalc = null; |
186 |
|
|
public synchronized boolean equals(java.lang.Object obj) { |
187 |
|
|
if (!(obj instanceof StatusData)) return false; |
188 |
|
|
StatusData other = (StatusData) obj; |
189 |
|
|
if (obj == null) return false; |
190 |
|
|
if (this == obj) return true; |
191 |
|
|
if (__equalsCalc != null) { |
192 |
|
|
return (__equalsCalc == obj); |
193 |
|
|
} |
194 |
|
|
__equalsCalc = obj; |
195 |
|
|
boolean _equals; |
196 |
|
|
_equals = true && |
197 |
|
|
((this.counter==null && other.getCounter()==null) || |
198 |
|
|
(this.counter!=null && |
199 |
|
|
this.counter.equals(other.getCounter()))) && |
200 |
|
|
((this.lastErrorMessage==null && other.getLastErrorMessage()==null) || |
201 |
|
|
(this.lastErrorMessage!=null && |
202 |
|
|
this.lastErrorMessage.equals(other.getLastErrorMessage()))) && |
203 |
|
|
((this.lastErrorTime==null && other.getLastErrorTime()==null) || |
204 |
|
|
(this.lastErrorTime!=null && |
205 |
|
|
this.lastErrorTime.equals(other.getLastErrorTime()))) && |
206 |
|
|
((this.lastOkTime==null && other.getLastOkTime()==null) || |
207 |
|
|
(this.lastOkTime!=null && |
208 |
|
|
this.lastOkTime.equals(other.getLastOkTime()))) && |
209 |
|
|
((this.lastTransferTime==null && other.getLastTransferTime()==null) || |
210 |
|
|
(this.lastTransferTime!=null && |
211 |
|
|
this.lastTransferTime.equals(other.getLastTransferTime()))) && |
212 |
|
|
((this.lastrunOk==null && other.getLastrunOk()==null) || |
213 |
|
|
(this.lastrunOk!=null && |
214 |
|
|
this.lastrunOk.equals(other.getLastrunOk()))) && |
215 |
|
|
((this.transportEnabled==null && other.getTransportEnabled()==null) || |
216 |
|
|
(this.transportEnabled!=null && |
217 |
|
|
this.transportEnabled.equals(other.getTransportEnabled()))); |
218 |
|
|
__equalsCalc = null; |
219 |
|
|
return _equals; |
220 |
|
|
} |
221 |
|
|
|
222 |
|
|
private boolean __hashCodeCalc = false; |
223 |
|
|
public synchronized int hashCode() { |
224 |
|
|
if (__hashCodeCalc) { |
225 |
|
|
return 0; |
226 |
|
|
} |
227 |
|
|
__hashCodeCalc = true; |
228 |
|
|
int _hashCode = 1; |
229 |
|
|
if (getCounter() != null) { |
230 |
|
|
_hashCode += getCounter().hashCode(); |
231 |
|
|
} |
232 |
|
|
if (getLastErrorMessage() != null) { |
233 |
|
|
_hashCode += getLastErrorMessage().hashCode(); |
234 |
|
|
} |
235 |
|
|
if (getLastErrorTime() != null) { |
236 |
|
|
_hashCode += getLastErrorTime().hashCode(); |
237 |
|
|
} |
238 |
|
|
if (getLastOkTime() != null) { |
239 |
|
|
_hashCode += getLastOkTime().hashCode(); |
240 |
|
|
} |
241 |
|
|
if (getLastTransferTime() != null) { |
242 |
|
|
_hashCode += getLastTransferTime().hashCode(); |
243 |
|
|
} |
244 |
|
|
if (getLastrunOk() != null) { |
245 |
|
|
_hashCode += getLastrunOk().hashCode(); |
246 |
|
|
} |
247 |
|
|
if (getTransportEnabled() != null) { |
248 |
|
|
_hashCode += getTransportEnabled().hashCode(); |
249 |
|
|
} |
250 |
|
|
__hashCodeCalc = false; |
251 |
|
|
return _hashCode; |
252 |
|
|
} |
253 |
|
|
|
254 |
|
|
// Type metadata |
255 |
|
|
private static org.apache.axis.description.TypeDesc typeDesc = |
256 |
|
|
new org.apache.axis.description.TypeDesc(StatusData.class, true); |
257 |
|
|
|
258 |
|
|
static { |
259 |
|
|
typeDesc.setXmlType(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/DaoMqPump2", "StatusData")); |
260 |
|
|
org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); |
261 |
|
|
elemField.setFieldName("counter"); |
262 |
|
|
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/DaoMqPump2", "counter")); |
263 |
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); |
264 |
|
|
elemField.setMinOccurs(0); |
265 |
|
|
elemField.setNillable(false); |
266 |
|
|
typeDesc.addFieldDesc(elemField); |
267 |
|
|
elemField = new org.apache.axis.description.ElementDesc(); |
268 |
|
|
elemField.setFieldName("lastErrorMessage"); |
269 |
|
|
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/DaoMqPump2", "lastErrorMessage")); |
270 |
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
271 |
|
|
elemField.setMinOccurs(0); |
272 |
|
|
elemField.setNillable(true); |
273 |
|
|
typeDesc.addFieldDesc(elemField); |
274 |
|
|
elemField = new org.apache.axis.description.ElementDesc(); |
275 |
|
|
elemField.setFieldName("lastErrorTime"); |
276 |
|
|
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/DaoMqPump2", "lastErrorTime")); |
277 |
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
278 |
|
|
elemField.setMinOccurs(0); |
279 |
|
|
elemField.setNillable(true); |
280 |
|
|
typeDesc.addFieldDesc(elemField); |
281 |
|
|
elemField = new org.apache.axis.description.ElementDesc(); |
282 |
|
|
elemField.setFieldName("lastOkTime"); |
283 |
|
|
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/DaoMqPump2", "lastOkTime")); |
284 |
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
285 |
|
|
elemField.setMinOccurs(0); |
286 |
|
|
elemField.setNillable(true); |
287 |
|
|
typeDesc.addFieldDesc(elemField); |
288 |
|
|
elemField = new org.apache.axis.description.ElementDesc(); |
289 |
|
|
elemField.setFieldName("lastTransferTime"); |
290 |
|
|
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/DaoMqPump2", "lastTransferTime")); |
291 |
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); |
292 |
|
|
elemField.setMinOccurs(0); |
293 |
|
|
elemField.setNillable(true); |
294 |
|
|
typeDesc.addFieldDesc(elemField); |
295 |
|
|
elemField = new org.apache.axis.description.ElementDesc(); |
296 |
|
|
elemField.setFieldName("lastrunOk"); |
297 |
|
|
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/DaoMqPump2", "lastrunOk")); |
298 |
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); |
299 |
|
|
elemField.setMinOccurs(0); |
300 |
|
|
elemField.setNillable(false); |
301 |
|
|
typeDesc.addFieldDesc(elemField); |
302 |
|
|
elemField = new org.apache.axis.description.ElementDesc(); |
303 |
|
|
elemField.setFieldName("transportEnabled"); |
304 |
|
|
elemField.setXmlName(new javax.xml.namespace.QName("http://schemas.datacontract.org/2004/07/DaoMqPump2", "transportEnabled")); |
305 |
|
|
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); |
306 |
|
|
elemField.setMinOccurs(0); |
307 |
|
|
elemField.setNillable(false); |
308 |
|
|
typeDesc.addFieldDesc(elemField); |
309 |
|
|
} |
310 |
|
|
|
311 |
|
|
/** |
312 |
|
|
* Return type metadata object |
313 |
|
|
*/ |
314 |
|
|
public static org.apache.axis.description.TypeDesc getTypeDesc() { |
315 |
|
|
return typeDesc; |
316 |
|
|
} |
317 |
|
|
|
318 |
|
|
/** |
319 |
|
|
* Get Custom Serializer |
320 |
|
|
*/ |
321 |
|
|
public static org.apache.axis.encoding.Serializer getSerializer( |
322 |
|
|
java.lang.String mechType, |
323 |
|
|
java.lang.Class _javaType, |
324 |
|
|
javax.xml.namespace.QName _xmlType) { |
325 |
|
|
return |
326 |
|
|
new org.apache.axis.encoding.ser.BeanSerializer( |
327 |
|
|
_javaType, _xmlType, typeDesc); |
328 |
|
|
} |
329 |
|
|
|
330 |
|
|
/** |
331 |
|
|
* Get Custom Deserializer |
332 |
|
|
*/ |
333 |
|
|
public static org.apache.axis.encoding.Deserializer getDeserializer( |
334 |
|
|
java.lang.String mechType, |
335 |
|
|
java.lang.Class _javaType, |
336 |
|
|
javax.xml.namespace.QName _xmlType) { |
337 |
|
|
return |
338 |
|
|
new org.apache.axis.encoding.ser.BeanDeserializer( |
339 |
|
|
_javaType, _xmlType, typeDesc); |
340 |
|
|
} |
341 |
|
|
|
342 |
|
|
} |