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;
10 public class Result implements java.io.Serializable {
11 private boolean broken;
12 private boolean failed;
13 private boolean finished;
14 private boolean invalid;
15 private boolean jobFailed;
16 private boolean queued;
17 private boolean running;
18 private boolean serverError;
20 private java.lang.String status;
21 private boolean suspended;
36 java.lang.String status,
40 this.finished = finished;
41 this.invalid = invalid;
42 this.jobFailed = jobFailed;
44 this.running = running;
45 this.serverError = serverError;
48 this.suspended = suspended;
53 * Gets the broken value for this Result.
57 public boolean isBroken() {
63 * Sets the broken value for this Result.
67 public void setBroken(boolean broken) {
73 * Gets the failed value for this Result.
77 public boolean isFailed() {
83 * Sets the failed value for this Result.
87 public void setFailed(boolean failed) {
93 * Gets the finished value for this Result.
97 public boolean isFinished() {
103 * Sets the finished value for this Result.
107 public void setFinished(boolean finished) {
108 this.finished = finished;
113 * Gets the invalid value for this Result.
117 public boolean isInvalid() {
123 * Sets the invalid value for this Result.
127 public void setInvalid(boolean invalid) {
128 this.invalid = invalid;
133 * Gets the jobFailed value for this Result.
137 public boolean isJobFailed() {
143 * Sets the jobFailed value for this Result.
147 public void setJobFailed(boolean jobFailed) {
148 this.jobFailed = jobFailed;
153 * Gets the queued value for this Result.
157 public boolean isQueued() {
163 * Sets the queued value for this Result.
167 public void setQueued(boolean queued) {
168 this.queued = queued;
173 * Gets the running value for this Result.
177 public boolean isRunning() {
183 * Sets the running value for this Result.
187 public void setRunning(boolean running) {
188 this.running = running;
193 * Gets the serverError value for this Result.
195 * @return serverError
197 public boolean isServerError() {
203 * Sets the serverError value for this Result.
207 public void setServerError(boolean serverError) {
208 this.serverError = serverError;
213 * Gets the state value for this Result.
217 public int getState() {
223 * Sets the state value for this Result.
227 public void setState(int state) {
233 * Gets the status value for this Result.
237 public java.lang.String getStatus() {
243 * Sets the status value for this Result.
247 public void setStatus(java.lang.String status) {
248 this.status = status;
253 * Gets the suspended value for this Result.
257 public boolean isSuspended() {
263 * Sets the suspended value for this Result.
267 public void setSuspended(boolean suspended) {
268 this.suspended = suspended;
271 private java.lang.Object __equalsCalc = null;
272 public synchronized boolean equals(java.lang.Object obj) {
273 if (!(obj instanceof Result)) return false;
274 Result other = (Result) obj;
275 if (obj == null) return false;
276 if (this == obj) return true;
277 if (__equalsCalc != null) {
278 return (__equalsCalc == obj);
283 this.broken == other.isBroken() &&
284 this.failed == other.isFailed() &&
285 this.finished == other.isFinished() &&
286 this.invalid == other.isInvalid() &&
287 this.jobFailed == other.isJobFailed() &&
288 this.queued == other.isQueued() &&
289 this.running == other.isRunning() &&
290 this.serverError == other.isServerError() &&
291 this.state == other.getState() &&
292 ((this.status==null && other.getStatus()==null) ||
293 (this.status!=null &&
294 this.status.equals(other.getStatus()))) &&
295 this.suspended == other.isSuspended();
300 private boolean __hashCodeCalc = false;
301 public synchronized int hashCode() {
302 if (__hashCodeCalc) {
305 __hashCodeCalc = true;
307 _hashCode += (isBroken() ? Boolean.TRUE : Boolean.FALSE).hashCode();
308 _hashCode += (isFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();
309 _hashCode += (isFinished() ? Boolean.TRUE : Boolean.FALSE).hashCode();
310 _hashCode += (isInvalid() ? Boolean.TRUE : Boolean.FALSE).hashCode();
311 _hashCode += (isJobFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();
312 _hashCode += (isQueued() ? Boolean.TRUE : Boolean.FALSE).hashCode();
313 _hashCode += (isRunning() ? Boolean.TRUE : Boolean.FALSE).hashCode();
314 _hashCode += (isServerError() ? Boolean.TRUE : Boolean.FALSE).hashCode();
315 _hashCode += getState();
316 if (getStatus() != null) {
317 _hashCode += getStatus().hashCode();
319 _hashCode += (isSuspended() ? Boolean.TRUE : Boolean.FALSE).hashCode();
320 __hashCodeCalc = false;