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