-/**
- * Result.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
- */\r
-\r
/*
-* Jalview - A Sequence Alignment Editor and Viewer
-* Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
-*
-* This program is free software; you can redistribute it and/or
-* modify it under the terms of the GNU General Public License
-* as published by the Free Software Foundation; either version 2
-* of the License, or (at your option) any later version.
-*
-* This program is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-* GNU General Public License for more details.
-*
-* You should have received a copy of the GNU General Public License
-* along with this program; if not, write to the Free Software
-* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
-*/\r
-package vamsas.objects.simple;\r
-\r
-public class Result implements java.io.Serializable {\r
- private boolean broken;\r
- private boolean failed;\r
- private boolean finished;\r
- private boolean invalid;\r
- private boolean jobFailed;\r
- private boolean queued;\r
- private boolean running;\r
- private boolean serverError;\r
- private int state;\r
- private java.lang.String status;\r
- private boolean suspended;\r
- private java.lang.Object __equalsCalc = null;\r
- private boolean __hashCodeCalc = false;\r
-\r
- public Result() {\r
- }\r
-\r
- public Result(boolean broken, boolean failed, boolean finished,\r
- boolean invalid, boolean jobFailed, boolean queued, boolean running,\r
- boolean serverError, int state, java.lang.String status,\r
- boolean suspended) {\r
- this.broken = broken;\r
- this.failed = failed;\r
- this.finished = finished;\r
- this.invalid = invalid;\r
- this.jobFailed = jobFailed;\r
- this.queued = queued;\r
- this.running = running;\r
- this.serverError = serverError;\r
- this.state = state;\r
- this.status = status;\r
- this.suspended = suspended;\r
- }\r
-\r
- /**
- * Gets the broken value for this Result.
- *
- * @return broken
- */\r
- public boolean isBroken() {\r
- return broken;\r
- }\r
-\r
- /**
- * Sets the broken value for this Result.
- *
- * @param broken
- */\r
- public void setBroken(boolean broken) {\r
- this.broken = broken;\r
- }\r
-\r
- /**
- * Gets the failed value for this Result.
- *
- * @return failed
- */\r
- public boolean isFailed() {\r
- return failed;\r
- }\r
-\r
- /**
- * Sets the failed value for this Result.
- *
- * @param failed
- */\r
- public void setFailed(boolean failed) {\r
- this.failed = failed;\r
- }\r
-\r
- /**
- * Gets the finished value for this Result.
- *
- * @return finished
- */\r
- public boolean isFinished() {\r
- return finished;\r
- }\r
-\r
- /**
- * Sets the finished value for this Result.
- *
- * @param finished
- */\r
- public void setFinished(boolean finished) {\r
- this.finished = finished;\r
- }\r
-\r
- /**
- * Gets the invalid value for this Result.
- *
- * @return invalid
- */\r
- public boolean isInvalid() {\r
- return invalid;\r
- }\r
-\r
- /**
- * Sets the invalid value for this Result.
- *
- * @param invalid
- */\r
- public void setInvalid(boolean invalid) {\r
- this.invalid = invalid;\r
- }\r
-\r
- /**
- * Gets the jobFailed value for this Result.
- *
- * @return jobFailed
- */\r
- public boolean isJobFailed() {\r
- return jobFailed;\r
- }\r
-\r
- /**
- * Sets the jobFailed value for this Result.
- *
- * @param jobFailed
- */\r
- public void setJobFailed(boolean jobFailed) {\r
- this.jobFailed = jobFailed;\r
- }\r
-\r
- /**
- * Gets the queued value for this Result.
- *
- * @return queued
- */\r
- public boolean isQueued() {\r
- return queued;\r
- }\r
-\r
- /**
- * Sets the queued value for this Result.
- *
- * @param queued
- */\r
- public void setQueued(boolean queued) {\r
- this.queued = queued;\r
- }\r
-\r
- /**
- * Gets the running value for this Result.
- *
- * @return running
- */\r
- public boolean isRunning() {\r
- return running;\r
- }\r
-\r
- /**
- * Sets the running value for this Result.
- *
- * @param running
- */\r
- public void setRunning(boolean running) {\r
- this.running = running;\r
- }\r
-\r
- /**
- * Gets the serverError value for this Result.
- *
- * @return serverError
- */\r
- public boolean isServerError() {\r
- return serverError;\r
- }\r
-\r
- /**
- * Sets the serverError value for this Result.
- *
- * @param serverError
- */\r
- public void setServerError(boolean serverError) {\r
- this.serverError = serverError;\r
- }\r
-\r
- /**
- * Gets the state value for this Result.
- *
- * @return state
- */\r
- public int getState() {\r
- return state;\r
- }\r
-\r
- /**
- * Sets the state value for this Result.
- *
- * @param state
- */\r
- public void setState(int state) {\r
- this.state = state;\r
- }\r
-\r
- /**
- * Gets the status value for this Result.
- *
- * @return status
- */\r
- public java.lang.String getStatus() {\r
- return status;\r
- }\r
-\r
- /**
- * Sets the status value for this Result.
- *
- * @param status
- */\r
- public void setStatus(java.lang.String status) {\r
- this.status = status;\r
- }\r
-\r
- /**
- * Gets the suspended value for this Result.
- *
- * @return suspended
- */\r
- public boolean isSuspended() {\r
- return suspended;\r
- }\r
-\r
- /**
- * Sets the suspended value for this Result.
- *
- * @param suspended
- */\r
- public void setSuspended(boolean suspended) {\r
- this.suspended = suspended;\r
- }\r
-\r
- public synchronized boolean equals(java.lang.Object obj) {\r
- if (!(obj instanceof Result)) {\r
- return false;\r
- }\r
-\r
- Result other = (Result) obj;\r
-\r
- if (obj == null) {\r
- return false;\r
- }\r
-\r
- if (this == obj) {\r
- return true;\r
- }\r
-\r
- if (__equalsCalc != null) {\r
- return (__equalsCalc == obj);\r
- }\r
-\r
- __equalsCalc = obj;\r
-\r
- boolean _equals;\r
- _equals = true && (this.broken == other.isBroken()) &&\r
- (this.failed == other.isFailed()) &&\r
- (this.finished == other.isFinished()) &&\r
- (this.invalid == other.isInvalid()) &&\r
- (this.jobFailed == other.isJobFailed()) &&\r
- (this.queued == other.isQueued()) &&\r
- (this.running == other.isRunning()) &&\r
- (this.serverError == other.isServerError()) &&\r
- (this.state == other.getState()) &&\r
- (((this.status == null) && (other.getStatus() == null)) ||\r
- ((this.status != null) && this.status.equals(other.getStatus()))) &&\r
- (this.suspended == other.isSuspended());\r
- __equalsCalc = null;\r
-\r
- return _equals;\r
- }\r
-\r
- public synchronized int hashCode() {\r
- if (__hashCodeCalc) {\r
- return 0;\r
- }\r
-\r
- __hashCodeCalc = true;\r
-\r
- int _hashCode = 1;\r
- _hashCode += (isBroken() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isFinished() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isInvalid() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isJobFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isQueued() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isRunning() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += (isServerError() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- _hashCode += getState();\r
-\r
- if (getStatus() != null) {\r
- _hashCode += getStatus().hashCode();\r
- }\r
-\r
- _hashCode += (isSuspended() ? Boolean.TRUE : Boolean.FALSE).hashCode();\r
- __hashCodeCalc = false;\r
-\r
- return _hashCode;\r
- }\r
-}\r
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.1)
+ * Copyright (C) 2014 The Jalview Authors
+ *
+ * This file is part of Jalview.
+ *
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+ *
+ * Jalview is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ * PURPOSE. See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.
+ * The Jalview Authors are detailed in the 'AUTHORS' file.
+ */
+package vamsas.objects.simple;
+
+public class Result implements java.io.Serializable
+{
+ private boolean broken;
+
+ private boolean failed;
+
+ private boolean finished;
+
+ private boolean invalid;
+
+ private boolean jobFailed;
+
+ private boolean queued;
+
+ private boolean running;
+
+ private boolean serverError;
+
+ private int state;
+
+ private java.lang.String status;
+
+ private boolean suspended;
+
+ public Result()
+ {
+ }
+
+ public Result(boolean broken, boolean failed, boolean finished,
+ boolean invalid, boolean jobFailed, boolean queued,
+ boolean running, boolean serverError, int state,
+ java.lang.String status, boolean suspended)
+ {
+ this.broken = broken;
+ this.failed = failed;
+ this.finished = finished;
+ this.invalid = invalid;
+ this.jobFailed = jobFailed;
+ this.queued = queued;
+ this.running = running;
+ this.serverError = serverError;
+ this.state = state;
+ this.status = status;
+ this.suspended = suspended;
+ }
+
+ /**
+ * Gets the broken value for this Result.
+ *
+ * @return broken
+ */
+ public boolean isBroken()
+ {
+ return broken;
+ }
+
+ /**
+ * Sets the broken value for this Result.
+ *
+ * @param broken
+ */
+ public void setBroken(boolean broken)
+ {
+ this.broken = broken;
+ }
+
+ /**
+ * Gets the failed value for this Result.
+ *
+ * @return failed
+ */
+ public boolean isFailed()
+ {
+ return failed;
+ }
+
+ /**
+ * Sets the failed value for this Result.
+ *
+ * @param failed
+ */
+ public void setFailed(boolean failed)
+ {
+ this.failed = failed;
+ }
+
+ /**
+ * Gets the finished value for this Result.
+ *
+ * @return finished
+ */
+ public boolean isFinished()
+ {
+ return finished;
+ }
+
+ /**
+ * Sets the finished value for this Result.
+ *
+ * @param finished
+ */
+ public void setFinished(boolean finished)
+ {
+ this.finished = finished;
+ }
+
+ /**
+ * Gets the invalid value for this Result.
+ *
+ * @return invalid
+ */
+ public boolean isInvalid()
+ {
+ return invalid;
+ }
+
+ /**
+ * Sets the invalid value for this Result.
+ *
+ * @param invalid
+ */
+ public void setInvalid(boolean invalid)
+ {
+ this.invalid = invalid;
+ }
+
+ /**
+ * Gets the jobFailed value for this Result.
+ *
+ * @return jobFailed
+ */
+ public boolean isJobFailed()
+ {
+ return jobFailed;
+ }
+
+ /**
+ * Sets the jobFailed value for this Result.
+ *
+ * @param jobFailed
+ */
+ public void setJobFailed(boolean jobFailed)
+ {
+ this.jobFailed = jobFailed;
+ }
+
+ /**
+ * Gets the queued value for this Result.
+ *
+ * @return queued
+ */
+ public boolean isQueued()
+ {
+ return queued;
+ }
+
+ /**
+ * Sets the queued value for this Result.
+ *
+ * @param queued
+ */
+ public void setQueued(boolean queued)
+ {
+ this.queued = queued;
+ }
+
+ /**
+ * Gets the running value for this Result.
+ *
+ * @return running
+ */
+ public boolean isRunning()
+ {
+ return running;
+ }
+
+ /**
+ * Sets the running value for this Result.
+ *
+ * @param running
+ */
+ public void setRunning(boolean running)
+ {
+ this.running = running;
+ }
+
+ /**
+ * Gets the serverError value for this Result.
+ *
+ * @return serverError
+ */
+ public boolean isServerError()
+ {
+ return serverError;
+ }
+
+ /**
+ * Sets the serverError value for this Result.
+ *
+ * @param serverError
+ */
+ public void setServerError(boolean serverError)
+ {
+ this.serverError = serverError;
+ }
+
+ /**
+ * Gets the state value for this Result.
+ *
+ * @return state
+ */
+ public int getState()
+ {
+ return state;
+ }
+
+ /**
+ * Sets the state value for this Result.
+ *
+ * @param state
+ */
+ public void setState(int state)
+ {
+ this.state = state;
+ }
+
+ /**
+ * Gets the status value for this Result.
+ *
+ * @return status
+ */
+ public java.lang.String getStatus()
+ {
+ return status;
+ }
+
+ /**
+ * Sets the status value for this Result.
+ *
+ * @param status
+ */
+ public void setStatus(java.lang.String status)
+ {
+ this.status = status;
+ }
+
+ /**
+ * Gets the suspended value for this Result.
+ *
+ * @return suspended
+ */
+ public boolean isSuspended()
+ {
+ return suspended;
+ }
+
+ /**
+ * Sets the suspended value for this Result.
+ *
+ * @param suspended
+ */
+ public void setSuspended(boolean suspended)
+ {
+ this.suspended = suspended;
+ }
+
+ private java.lang.Object __equalsCalc = null;
+
+ public synchronized boolean equals(java.lang.Object obj)
+ {
+ if (!(obj instanceof Result))
+ return false;
+ Result other = (Result) obj;
+ if (obj == null)
+ return false;
+ if (this == obj)
+ return true;
+ if (__equalsCalc != null)
+ {
+ return (__equalsCalc == obj);
+ }
+ __equalsCalc = obj;
+ boolean _equals;
+ _equals = true
+ && this.broken == other.isBroken()
+ && this.failed == other.isFailed()
+ && this.finished == other.isFinished()
+ && this.invalid == other.isInvalid()
+ && this.jobFailed == other.isJobFailed()
+ && this.queued == other.isQueued()
+ && this.running == other.isRunning()
+ && this.serverError == other.isServerError()
+ && this.state == other.getState()
+ && ((this.status == null && other.getStatus() == null) || (this.status != null && this.status
+ .equals(other.getStatus())))
+ && this.suspended == other.isSuspended();
+ __equalsCalc = null;
+ return _equals;
+ }
+
+ private boolean __hashCodeCalc = false;
+
+ public synchronized int hashCode()
+ {
+ if (__hashCodeCalc)
+ {
+ return 0;
+ }
+ __hashCodeCalc = true;
+ int _hashCode = 1;
+ _hashCode += (isBroken() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+ _hashCode += (isFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+ _hashCode += (isFinished() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+ _hashCode += (isInvalid() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+ _hashCode += (isJobFailed() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+ _hashCode += (isQueued() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+ _hashCode += (isRunning() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+ _hashCode += (isServerError() ? Boolean.TRUE : Boolean.FALSE)
+ .hashCode();
+ _hashCode += getState();
+ if (getStatus() != null)
+ {
+ _hashCode += getStatus().hashCode();
+ }
+ _hashCode += (isSuspended() ? Boolean.TRUE : Boolean.FALSE).hashCode();
+ __hashCodeCalc = false;
+ return _hashCode;
+ }
+
+}