4 * This file was auto-generated from WSDL
5 * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
8 package vamsas.objects.simple;
11 implements java.io.Serializable
13 private boolean broken;
14 private boolean failed;
15 private boolean finished;
16 private boolean invalid;
17 private boolean jobFailed;
18 private boolean queued;
19 private boolean running;
20 private boolean serverError;
22 private java.lang.String status;
23 private boolean suspended;
39 java.lang.String status,
44 this.finished = finished;
45 this.invalid = invalid;
46 this.jobFailed = jobFailed;
48 this.running = running;
49 this.serverError = serverError;
52 this.suspended = suspended;
56 * Gets the broken value for this Result.
60 public boolean isBroken()
66 * Sets the broken value for this Result.
70 public void setBroken(boolean broken)
76 * Gets the failed value for this Result.
80 public boolean isFailed()
86 * Sets the failed value for this Result.
90 public void setFailed(boolean failed)
96 * Gets the finished value for this Result.
100 public boolean isFinished()
106 * Sets the finished value for this Result.
110 public void setFinished(boolean finished)
112 this.finished = finished;
116 * Gets the invalid value for this Result.
120 public boolean isInvalid()
126 * Sets the invalid value for this Result.
130 public void setInvalid(boolean invalid)
132 this.invalid = invalid;
136 * Gets the jobFailed value for this Result.
140 public boolean isJobFailed()
146 * Sets the jobFailed value for this Result.
150 public void setJobFailed(boolean jobFailed)
152 this.jobFailed = jobFailed;
156 * Gets the queued value for this Result.
160 public boolean isQueued()
166 * Sets the queued value for this Result.
170 public void setQueued(boolean queued)
172 this.queued = queued;
176 * Gets the running value for this Result.
180 public boolean isRunning()
186 * Sets the running value for this Result.
190 public void setRunning(boolean running)
192 this.running = running;
196 * Gets the serverError value for this Result.
198 * @return serverError
200 public boolean isServerError()
206 * Sets the serverError value for this Result.
210 public void setServerError(boolean serverError)
212 this.serverError = serverError;
216 * Gets the state value for this Result.
220 public int getState()
226 * Sets the state value for this Result.
230 public void setState(int state)
236 * Gets the status value for this Result.
240 public java.lang.String getStatus()
246 * Sets the status value for this Result.
250 public void setStatus(java.lang.String status)
252 this.status = status;
256 * Gets the suspended value for this Result.
260 public boolean isSuspended()
266 * Sets the suspended value for this Result.
270 public void setSuspended(boolean suspended)
272 this.suspended = suspended;
275 private java.lang.Object __equalsCalc = null;
276 public synchronized boolean equals(java.lang.Object obj)
278 if (! (obj instanceof Result))
282 Result other = (Result) obj;
291 if (__equalsCalc != null)
293 return (__equalsCalc == obj);
298 this.broken == other.isBroken() &&
299 this.failed == other.isFailed() &&
300 this.finished == other.isFinished() &&
301 this.invalid == other.isInvalid() &&
302 this.jobFailed == other.isJobFailed() &&
303 this.queued == other.isQueued() &&
304 this.running == other.isRunning() &&
305 this.serverError == other.isServerError() &&
306 this.state == other.getState() &&
307 ( (this.status == null && other.getStatus() == null) ||
308 (this.status != null &&
309 this.status.equals(other.getStatus()))) &&
310 this.suspended == other.isSuspended();
315 private boolean __hashCodeCalc = false;
316 public synchronized int hashCode()
322 __hashCodeCalc = true;
324 _hashCode += (isBroken() ? Boolean.TRUE : Boolean.FALSE).hashCode();
325 _hashCode += (isFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();
326 _hashCode += (isFinished() ? Boolean.TRUE : Boolean.FALSE).hashCode();
327 _hashCode += (isInvalid() ? Boolean.TRUE : Boolean.FALSE).hashCode();
328 _hashCode += (isJobFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();
329 _hashCode += (isQueued() ? Boolean.TRUE : Boolean.FALSE).hashCode();
330 _hashCode += (isRunning() ? Boolean.TRUE : Boolean.FALSE).hashCode();
331 _hashCode += (isServerError() ? Boolean.TRUE : Boolean.FALSE).hashCode();
332 _hashCode += getState();
333 if (getStatus() != null)
335 _hashCode += getStatus().hashCode();
337 _hashCode += (isSuspended() ? Boolean.TRUE : Boolean.FALSE).hashCode();
338 __hashCodeCalc = false;