GPL license added
[jalview.git] / src / vamsas / objects / simple / Result.java
index b349019..1444911 100755 (executable)
@@ -5,6 +5,25 @@
  * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter.
  */
 
+/*
+* 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
+*/
+
 package vamsas.objects.simple;
 
 public class Result  implements java.io.Serializable {
@@ -51,7 +70,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Gets the broken value for this Result.
-     * 
+     *
      * @return broken
      */
     public boolean isBroken() {
@@ -61,7 +80,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Sets the broken value for this Result.
-     * 
+     *
      * @param broken
      */
     public void setBroken(boolean broken) {
@@ -71,7 +90,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Gets the failed value for this Result.
-     * 
+     *
      * @return failed
      */
     public boolean isFailed() {
@@ -81,7 +100,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Sets the failed value for this Result.
-     * 
+     *
      * @param failed
      */
     public void setFailed(boolean failed) {
@@ -91,7 +110,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Gets the finished value for this Result.
-     * 
+     *
      * @return finished
      */
     public boolean isFinished() {
@@ -101,7 +120,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Sets the finished value for this Result.
-     * 
+     *
      * @param finished
      */
     public void setFinished(boolean finished) {
@@ -111,7 +130,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Gets the invalid value for this Result.
-     * 
+     *
      * @return invalid
      */
     public boolean isInvalid() {
@@ -121,7 +140,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Sets the invalid value for this Result.
-     * 
+     *
      * @param invalid
      */
     public void setInvalid(boolean invalid) {
@@ -131,7 +150,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Gets the jobFailed value for this Result.
-     * 
+     *
      * @return jobFailed
      */
     public boolean isJobFailed() {
@@ -141,7 +160,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Sets the jobFailed value for this Result.
-     * 
+     *
      * @param jobFailed
      */
     public void setJobFailed(boolean jobFailed) {
@@ -151,7 +170,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Gets the queued value for this Result.
-     * 
+     *
      * @return queued
      */
     public boolean isQueued() {
@@ -161,7 +180,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Sets the queued value for this Result.
-     * 
+     *
      * @param queued
      */
     public void setQueued(boolean queued) {
@@ -171,7 +190,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Gets the running value for this Result.
-     * 
+     *
      * @return running
      */
     public boolean isRunning() {
@@ -181,7 +200,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Sets the running value for this Result.
-     * 
+     *
      * @param running
      */
     public void setRunning(boolean running) {
@@ -191,7 +210,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Gets the serverError value for this Result.
-     * 
+     *
      * @return serverError
      */
     public boolean isServerError() {
@@ -201,7 +220,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Sets the serverError value for this Result.
-     * 
+     *
      * @param serverError
      */
     public void setServerError(boolean serverError) {
@@ -211,7 +230,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Gets the state value for this Result.
-     * 
+     *
      * @return state
      */
     public int getState() {
@@ -221,7 +240,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Sets the state value for this Result.
-     * 
+     *
      * @param state
      */
     public void setState(int state) {
@@ -231,7 +250,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Gets the status value for this Result.
-     * 
+     *
      * @return status
      */
     public java.lang.String getStatus() {
@@ -241,7 +260,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Sets the status value for this Result.
-     * 
+     *
      * @param status
      */
     public void setStatus(java.lang.String status) {
@@ -251,7 +270,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Gets the suspended value for this Result.
-     * 
+     *
      * @return suspended
      */
     public boolean isSuspended() {
@@ -261,7 +280,7 @@ public class Result  implements java.io.Serializable {
 
     /**
      * Sets the suspended value for this Result.
-     * 
+     *
      * @param suspended
      */
     public void setSuspended(boolean suspended) {
@@ -279,7 +298,7 @@ public class Result  implements java.io.Serializable {
         }
         __equalsCalc = obj;
         boolean _equals;
-        _equals = true && 
+        _equals = true &&
             this.broken == other.isBroken() &&
             this.failed == other.isFailed() &&
             this.finished == other.isFinished() &&
@@ -289,7 +308,7 @@ public class Result  implements java.io.Serializable {
             this.running == other.isRunning() &&
             this.serverError == other.isServerError() &&
             this.state == other.getState() &&
-            ((this.status==null && other.getStatus()==null) || 
+            ((this.status==null && other.getStatus()==null) ||
              (this.status!=null &&
               this.status.equals(other.getStatus()))) &&
             this.suspended == other.isSuspended();