extended Colour element with additional optional attributes for graduated colour
[jalview.git] / src / jalview / schemabinding / version2 / JSeq.java
index 9010829..05a0708 100755 (executable)
@@ -1,10 +1,21 @@
 /*\r
- * This class was automatically generated with \r
- * <a href="http://www.castor.org">Castor 1.1</a>, using an XML\r
- * Schema.\r
- * $Id$\r
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4.1)\r
+ * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ * \r
+ * This program is free software; you can redistribute it and/or\r
+ * modify it under the terms of the GNU General Public License\r
+ * as published by the Free Software Foundation; either version 2\r
+ * of the License, or (at your option) any later version.\r
+ * \r
+ * This program is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ * \r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program; if not, write to the Free Software\r
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA\r
  */\r
-\r
 package jalview.schemabinding.version2;\r
 \r
   //---------------------------------/\r
@@ -59,12 +70,7 @@ public class JSeq implements java.io.Serializable {
     /**\r
      * Field _id.\r
      */\r
-    private int _id;\r
-\r
-    /**\r
-     * keeps track of state for field: _id\r
-     */\r
-    private boolean _has_id;\r
+    private java.lang.String _id;\r
 \r
     /**\r
      * Field _hidden.\r
@@ -215,13 +221,6 @@ public class JSeq implements java.io.Serializable {
 \r
     /**\r
      */\r
-    public void deleteId(\r
-    ) {\r
-        this._has_id= false;\r
-    }\r
-\r
-    /**\r
-     */\r
     public void deleteStart(\r
     ) {\r
         this._has_start= false;\r
@@ -385,7 +384,7 @@ public class JSeq implements java.io.Serializable {
      * \r
      * @return the value of field 'Id'.\r
      */\r
-    public int getId(\r
+    public java.lang.String getId(\r
     ) {\r
         return this._id;\r
     }\r
@@ -476,16 +475,6 @@ public class JSeq implements java.io.Serializable {
     }\r
 \r
     /**\r
-     * Method hasId.\r
-     * \r
-     * @return true if at least one Id has been added\r
-     */\r
-    public boolean hasId(\r
-    ) {\r
-        return this._has_id;\r
-    }\r
-\r
-    /**\r
      * Method hasStart.\r
      * \r
      * @return true if at least one Start has been added\r
@@ -754,9 +743,8 @@ public class JSeq implements java.io.Serializable {
      * @param id the value of field 'id'.\r
      */\r
     public void setId(\r
-            final int id) {\r
+            final java.lang.String id) {\r
         this._id = id;\r
-        this._has_id = true;\r
     }\r
 \r
     /**\r