GPL license added
[jalview.git] / src / vamsas / objects / simple / Sequence.java
index d2eccb0..c8dd81e 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 Sequence  implements java.io.Serializable {
@@ -24,7 +43,7 @@ public class Sequence  implements java.io.Serializable {
 
     /**
      * Gets the id value for this Sequence.
-     * 
+     *
      * @return id
      */
     public java.lang.String getId() {
@@ -34,7 +53,7 @@ public class Sequence  implements java.io.Serializable {
 
     /**
      * Sets the id value for this Sequence.
-     * 
+     *
      * @param id
      */
     public void setId(java.lang.String id) {
@@ -44,7 +63,7 @@ public class Sequence  implements java.io.Serializable {
 
     /**
      * Gets the seq value for this Sequence.
-     * 
+     *
      * @return seq
      */
     public java.lang.String getSeq() {
@@ -54,7 +73,7 @@ public class Sequence  implements java.io.Serializable {
 
     /**
      * Sets the seq value for this Sequence.
-     * 
+     *
      * @param seq
      */
     public void setSeq(java.lang.String seq) {
@@ -72,11 +91,11 @@ public class Sequence  implements java.io.Serializable {
         }
         __equalsCalc = obj;
         boolean _equals;
-        _equals = true && 
-            ((this.id==null && other.getId()==null) || 
+        _equals = true &&
+            ((this.id==null && other.getId()==null) ||
              (this.id!=null &&
               this.id.equals(other.getId()))) &&
-            ((this.seq==null && other.getSeq()==null) || 
+            ((this.seq==null && other.getSeq()==null) ||
              (this.seq!=null &&
               this.seq.equals(other.getSeq())));
         __equalsCalc = null;