4 * This file was auto-generated from WSDL
5 * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
9 * Jalview - A Sequence Alignment Editor and Viewer
10 * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
28 public class Result implements java.io.Serializable {
\r
30 private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(Result.class,
\r
34 typeDesc.setXmlType(new javax.xml.namespace.QName(
\r
35 "http://dataTypes.vamsas", "Result"));
\r
37 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
\r
38 elemField.setFieldName("broken");
\r
39 elemField.setXmlName(new javax.xml.namespace.QName(
\r
40 "http://dataTypes.vamsas", "broken"));
\r
41 elemField.setXmlType(new javax.xml.namespace.QName(
\r
42 "http://www.w3.org/2001/XMLSchema", "boolean"));
\r
43 typeDesc.addFieldDesc(elemField);
\r
44 elemField = new org.apache.axis.description.ElementDesc();
\r
45 elemField.setFieldName("failed");
\r
46 elemField.setXmlName(new javax.xml.namespace.QName(
\r
47 "http://dataTypes.vamsas", "failed"));
\r
48 elemField.setXmlType(new javax.xml.namespace.QName(
\r
49 "http://www.w3.org/2001/XMLSchema", "boolean"));
\r
50 typeDesc.addFieldDesc(elemField);
\r
51 elemField = new org.apache.axis.description.ElementDesc();
\r
52 elemField.setFieldName("finished");
\r
53 elemField.setXmlName(new javax.xml.namespace.QName(
\r
54 "http://dataTypes.vamsas", "finished"));
\r
55 elemField.setXmlType(new javax.xml.namespace.QName(
\r
56 "http://www.w3.org/2001/XMLSchema", "boolean"));
\r
57 typeDesc.addFieldDesc(elemField);
\r
58 elemField = new org.apache.axis.description.ElementDesc();
\r
59 elemField.setFieldName("invalid");
\r
60 elemField.setXmlName(new javax.xml.namespace.QName(
\r
61 "http://dataTypes.vamsas", "invalid"));
\r
62 elemField.setXmlType(new javax.xml.namespace.QName(
\r
63 "http://www.w3.org/2001/XMLSchema", "boolean"));
\r
64 typeDesc.addFieldDesc(elemField);
\r
65 elemField = new org.apache.axis.description.ElementDesc();
\r
66 elemField.setFieldName("jobFailed");
\r
67 elemField.setXmlName(new javax.xml.namespace.QName(
\r
68 "http://dataTypes.vamsas", "jobFailed"));
\r
69 elemField.setXmlType(new javax.xml.namespace.QName(
\r
70 "http://www.w3.org/2001/XMLSchema", "boolean"));
\r
71 typeDesc.addFieldDesc(elemField);
\r
72 elemField = new org.apache.axis.description.ElementDesc();
\r
73 elemField.setFieldName("queued");
\r
74 elemField.setXmlName(new javax.xml.namespace.QName(
\r
75 "http://dataTypes.vamsas", "queued"));
\r
76 elemField.setXmlType(new javax.xml.namespace.QName(
\r
77 "http://www.w3.org/2001/XMLSchema", "boolean"));
\r
78 typeDesc.addFieldDesc(elemField);
\r
79 elemField = new org.apache.axis.description.ElementDesc();
\r
80 elemField.setFieldName("running");
\r
81 elemField.setXmlName(new javax.xml.namespace.QName(
\r
82 "http://dataTypes.vamsas", "running"));
\r
83 elemField.setXmlType(new javax.xml.namespace.QName(
\r
84 "http://www.w3.org/2001/XMLSchema", "boolean"));
\r
85 typeDesc.addFieldDesc(elemField);
\r
86 elemField = new org.apache.axis.description.ElementDesc();
\r
87 elemField.setFieldName("serverError");
\r
88 elemField.setXmlName(new javax.xml.namespace.QName(
\r
89 "http://dataTypes.vamsas", "serverError"));
\r
90 elemField.setXmlType(new javax.xml.namespace.QName(
\r
91 "http://www.w3.org/2001/XMLSchema", "boolean"));
\r
92 typeDesc.addFieldDesc(elemField);
\r
93 elemField = new org.apache.axis.description.ElementDesc();
\r
94 elemField.setFieldName("state");
\r
95 elemField.setXmlName(new javax.xml.namespace.QName(
\r
96 "http://dataTypes.vamsas", "state"));
\r
97 elemField.setXmlType(new javax.xml.namespace.QName(
\r
98 "http://www.w3.org/2001/XMLSchema", "int"));
\r
99 typeDesc.addFieldDesc(elemField);
\r
100 elemField = new org.apache.axis.description.ElementDesc();
\r
101 elemField.setFieldName("status");
\r
102 elemField.setXmlName(new javax.xml.namespace.QName(
\r
103 "http://dataTypes.vamsas", "status"));
\r
104 elemField.setXmlType(new javax.xml.namespace.QName(
\r
105 "http://www.w3.org/2001/XMLSchema", "string"));
\r
106 typeDesc.addFieldDesc(elemField);
\r
107 elemField = new org.apache.axis.description.ElementDesc();
\r
108 elemField.setFieldName("suspended");
\r
109 elemField.setXmlName(new javax.xml.namespace.QName(
\r
110 "http://dataTypes.vamsas", "suspended"));
\r
111 elemField.setXmlType(new javax.xml.namespace.QName(
\r
112 "http://www.w3.org/2001/XMLSchema", "boolean"));
\r
113 typeDesc.addFieldDesc(elemField);
\r
116 private boolean broken;
\r
117 private boolean failed;
\r
118 private boolean finished;
\r
119 private boolean invalid;
\r
120 private boolean jobFailed;
\r
121 private boolean queued;
\r
122 private boolean running;
\r
123 private boolean serverError;
\r
125 private java.lang.String status;
\r
126 private boolean suspended;
\r
127 private java.lang.Object __equalsCalc = null;
\r
128 private boolean __hashCodeCalc = false;
\r
133 public Result(boolean broken, boolean failed, boolean finished,
\r
134 boolean invalid, boolean jobFailed, boolean queued, boolean running,
\r
135 boolean serverError, int state, java.lang.String status,
\r
136 boolean suspended) {
\r
137 this.broken = broken;
\r
138 this.failed = failed;
\r
139 this.finished = finished;
\r
140 this.invalid = invalid;
\r
141 this.jobFailed = jobFailed;
\r
142 this.queued = queued;
\r
143 this.running = running;
\r
144 this.serverError = serverError;
\r
145 this.state = state;
\r
146 this.status = status;
\r
147 this.suspended = suspended;
\r
151 * Gets the broken value for this Result.
155 public boolean isBroken() {
\r
160 * Sets the broken value for this Result.
164 public void setBroken(boolean broken) {
\r
165 this.broken = broken;
\r
169 * Gets the failed value for this Result.
173 public boolean isFailed() {
\r
178 * Sets the failed value for this Result.
182 public void setFailed(boolean failed) {
\r
183 this.failed = failed;
\r
187 * Gets the finished value for this Result.
191 public boolean isFinished() {
\r
196 * Sets the finished value for this Result.
200 public void setFinished(boolean finished) {
\r
201 this.finished = finished;
\r
205 * Gets the invalid value for this Result.
209 public boolean isInvalid() {
\r
214 * Sets the invalid value for this Result.
218 public void setInvalid(boolean invalid) {
\r
219 this.invalid = invalid;
\r
223 * Gets the jobFailed value for this Result.
227 public boolean isJobFailed() {
\r
232 * Sets the jobFailed value for this Result.
236 public void setJobFailed(boolean jobFailed) {
\r
237 this.jobFailed = jobFailed;
\r
241 * Gets the queued value for this Result.
245 public boolean isQueued() {
\r
250 * Sets the queued value for this Result.
254 public void setQueued(boolean queued) {
\r
255 this.queued = queued;
\r
259 * Gets the running value for this Result.
263 public boolean isRunning() {
\r
268 * Sets the running value for this Result.
272 public void setRunning(boolean running) {
\r
273 this.running = running;
\r
277 * Gets the serverError value for this Result.
279 * @return serverError
281 public boolean isServerError() {
\r
282 return serverError;
\r
286 * Sets the serverError value for this Result.
290 public void setServerError(boolean serverError) {
\r
291 this.serverError = serverError;
\r
295 * Gets the state value for this Result.
299 public int getState() {
\r
304 * Sets the state value for this Result.
308 public void setState(int state) {
\r
309 this.state = state;
\r
313 * Gets the status value for this Result.
317 public java.lang.String getStatus() {
\r
322 * Sets the status value for this Result.
326 public void setStatus(java.lang.String status) {
\r
327 this.status = status;
\r
331 * Gets the suspended value for this Result.
335 public boolean isSuspended() {
\r
340 * Sets the suspended value for this Result.
344 public void setSuspended(boolean suspended) {
\r
345 this.suspended = suspended;
\r
348 public synchronized boolean equals(java.lang.Object obj) {
\r
349 if (!(obj instanceof Result)) {
\r
353 Result other = (Result) obj;
\r
363 if (__equalsCalc != null) {
\r
364 return (__equalsCalc == obj);
\r
367 __equalsCalc = obj;
\r
370 _equals = true && (this.broken == other.isBroken()) &&
\r
371 (this.failed == other.isFailed()) &&
\r
372 (this.finished == other.isFinished()) &&
\r
373 (this.invalid == other.isInvalid()) &&
\r
374 (this.jobFailed == other.isJobFailed()) &&
\r
375 (this.queued == other.isQueued()) &&
\r
376 (this.running == other.isRunning()) &&
\r
377 (this.serverError == other.isServerError()) &&
\r
378 (this.state == other.getState()) &&
\r
379 (((this.status == null) && (other.getStatus() == null)) ||
\r
380 ((this.status != null) && this.status.equals(other.getStatus()))) &&
\r
381 (this.suspended == other.isSuspended());
\r
382 __equalsCalc = null;
\r
387 public synchronized int hashCode() {
\r
388 if (__hashCodeCalc) {
\r
392 __hashCodeCalc = true;
\r
395 _hashCode += (isBroken() ? Boolean.TRUE : Boolean.FALSE).hashCode();
\r
396 _hashCode += (isFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();
\r
397 _hashCode += (isFinished() ? Boolean.TRUE : Boolean.FALSE).hashCode();
\r
398 _hashCode += (isInvalid() ? Boolean.TRUE : Boolean.FALSE).hashCode();
\r
399 _hashCode += (isJobFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();
\r
400 _hashCode += (isQueued() ? Boolean.TRUE : Boolean.FALSE).hashCode();
\r
401 _hashCode += (isRunning() ? Boolean.TRUE : Boolean.FALSE).hashCode();
\r
402 _hashCode += (isServerError() ? Boolean.TRUE : Boolean.FALSE).hashCode();
\r
403 _hashCode += getState();
\r
405 if (getStatus() != null) {
\r
406 _hashCode += getStatus().hashCode();
\r
409 _hashCode += (isSuspended() ? Boolean.TRUE : Boolean.FALSE).hashCode();
\r
410 __hashCodeCalc = false;
\r
416 * Return type metadata object
418 public static org.apache.axis.description.TypeDesc getTypeDesc() {
\r
423 * Get Custom Serializer
425 public static org.apache.axis.encoding.Serializer getSerializer(
\r
426 java.lang.String mechType, java.lang.Class _javaType,
\r
427 javax.xml.namespace.QName _xmlType) {
\r
428 return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,
\r
429 _xmlType, typeDesc);
\r
433 * Get Custom Deserializer
435 public static org.apache.axis.encoding.Deserializer getDeserializer(
\r
436 java.lang.String mechType, java.lang.Class _javaType,
\r
437 javax.xml.namespace.QName _xmlType) {
\r
438 return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,
\r
439 _xmlType, typeDesc);
\r