-/**
- * Result.java
- *
- * This file was auto-generated from WSDL
- * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
+/*
+ * 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
+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)
+ 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;
/**
* Gets the broken value for this Result.
- *
+ *
* @return broken
*/
public boolean isBroken()
/**
* Sets the broken value for this Result.
- *
+ *
* @param broken
*/
public void setBroken(boolean broken)
/**
* Gets the failed value for this Result.
- *
+ *
* @return failed
*/
public boolean isFailed()
/**
* Sets the failed value for this Result.
- *
+ *
* @param failed
*/
public void setFailed(boolean failed)
/**
* Gets the finished value for this Result.
- *
+ *
* @return finished
*/
public boolean isFinished()
/**
* Sets the finished value for this Result.
- *
+ *
* @param finished
*/
public void setFinished(boolean finished)
/**
* Gets the invalid value for this Result.
- *
+ *
* @return invalid
*/
public boolean isInvalid()
/**
* Sets the invalid value for this Result.
- *
+ *
* @param invalid
*/
public void setInvalid(boolean invalid)
/**
* Gets the jobFailed value for this Result.
- *
+ *
* @return jobFailed
*/
public boolean isJobFailed()
/**
* Sets the jobFailed value for this Result.
- *
+ *
* @param jobFailed
*/
public void setJobFailed(boolean jobFailed)
/**
* Gets the queued value for this Result.
- *
+ *
* @return queued
*/
public boolean isQueued()
/**
* Sets the queued value for this Result.
- *
+ *
* @param queued
*/
public void setQueued(boolean queued)
/**
* Gets the running value for this Result.
- *
+ *
* @return running
*/
public boolean isRunning()
/**
* Sets the running value for this Result.
- *
+ *
* @param running
*/
public void setRunning(boolean running)
/**
* Gets the serverError value for this Result.
- *
+ *
* @return serverError
*/
public boolean isServerError()
/**
* Sets the serverError value for this Result.
- *
+ *
* @param serverError
*/
public void setServerError(boolean serverError)
/**
* Gets the state value for this Result.
- *
+ *
* @return state
*/
public int getState()
/**
* Sets the state value for this Result.
- *
+ *
* @param state
*/
public void setState(int state)
/**
* Gets the status value for this Result.
- *
+ *
* @return status
*/
public java.lang.String getStatus()
/**
* Sets the status value for this Result.
- *
+ *
* @param status
*/
public void setStatus(java.lang.String status)
/**
* Gets the suspended value for this Result.
- *
+ *
* @return suspended
*/
public boolean isSuspended()
/**
* Sets the suspended value for this Result.
- *
+ *
* @param suspended
*/
public void setSuspended(boolean suspended)
}
private java.lang.Object __equalsCalc = null;
+
public synchronized boolean equals(java.lang.Object obj)
{
- if (! (obj instanceof Result))
- {
+ 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();
+ _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)
_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 += (isServerError() ? Boolean.TRUE : Boolean.FALSE)
+ .hashCode();
_hashCode += getState();
if (getStatus() != null)
{