updated version to 2.6.1
[jalview.git] / src / jalview / schemabinding / version2 / Tree.java
index b523c44..3a3c8db 100755 (executable)
@@ -1,26 +1,25 @@
 /*\r
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)\r
- * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6.1)\r
+ * Copyright (C) 2010 J Procter, AM Waterhouse, 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
+ * This file is part of Jalview.\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
+ * Jalview 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 3 of the License, or (at your option) any later version.\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
+ * Jalview is distributed in the hope that it will be useful, but \r
+ * WITHOUT ANY WARRANTY; without even the implied warranty \r
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR \r
+ * PURPOSE.  See the GNU General Public License for more details.\r
+ * \r
+ * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.\r
  */\r
 package jalview.schemabinding.version2;\r
 \r
-// ---------------------------------/\r
-// - Imported classes and packages -/\r
-// ---------------------------------/\r
+//---------------------------------/\r
+//- Imported classes and packages -/\r
+//---------------------------------/\r
 \r
 import org.exolab.castor.xml.Marshaller;\r
 import org.exolab.castor.xml.Unmarshaller;\r
@@ -163,6 +162,12 @@ public class Tree implements java.io.Serializable
   private boolean _has_currentTree;\r
 \r
   /**\r
+   * Tree ID added for binding tree visualization settings to vamsas document\r
+   * trees in jalview 2.4.1\r
+   */\r
+  private java.lang.String _id;\r
+\r
+  /**\r
    * Field _title.\r
    */\r
   private java.lang.String _title;\r
@@ -186,84 +191,84 @@ public class Tree implements java.io.Serializable
   // -----------/\r
 \r
   /**\r
-   */\r
+     */\r
   public void deleteCurrentTree()\r
   {\r
     this._has_currentTree = false;\r
   }\r
 \r
   /**\r
-   */\r
+     */\r
   public void deleteFitToWindow()\r
   {\r
     this._has_fitToWindow = false;\r
   }\r
 \r
   /**\r
-   */\r
+     */\r
   public void deleteFontSize()\r
   {\r
     this._has_fontSize = false;\r
   }\r
 \r
   /**\r
-   */\r
+     */\r
   public void deleteFontStyle()\r
   {\r
     this._has_fontStyle = false;\r
   }\r
 \r
   /**\r
-   */\r
+     */\r
   public void deleteHeight()\r
   {\r
     this._has_height = false;\r
   }\r
 \r
   /**\r
-   */\r
+     */\r
   public void deleteMarkUnlinked()\r
   {\r
     this._has_markUnlinked = false;\r
   }\r
 \r
   /**\r
-   */\r
+     */\r
   public void deleteShowBootstrap()\r
   {\r
     this._has_showBootstrap = false;\r
   }\r
 \r
   /**\r
-   */\r
+     */\r
   public void deleteShowDistances()\r
   {\r
     this._has_showDistances = false;\r
   }\r
 \r
   /**\r
-   */\r
+     */\r
   public void deleteThreshold()\r
   {\r
     this._has_threshold = false;\r
   }\r
 \r
   /**\r
-   */\r
+     */\r
   public void deleteWidth()\r
   {\r
     this._has_width = false;\r
   }\r
 \r
   /**\r
-   */\r
+     */\r
   public void deleteXpos()\r
   {\r
     this._has_xpos = false;\r
   }\r
 \r
   /**\r
-   */\r
+     */\r
   public void deleteYpos()\r
   {\r
     this._has_ypos = false;\r
@@ -330,6 +335,18 @@ public class Tree implements java.io.Serializable
   }\r
 \r
   /**\r
+   * Returns the value of field 'id'. The field 'id' has the following\r
+   * description: Tree ID added for binding tree visualization settings to\r
+   * vamsas document trees in jalview 2.4.1\r
+   * \r
+   * @return the value of field 'Id'.\r
+   */\r
+  public java.lang.String getId()\r
+  {\r
+    return this._id;\r
+  }\r
+\r
+  /**\r
    * Returns the value of field 'markUnlinked'.\r
    * \r
    * @return the value of field 'MarkUnlinked'.\r
@@ -611,11 +628,10 @@ public class Tree implements java.io.Serializable
    * \r
    * @param out\r
    * @throws org.exolab.castor.xml.MarshalException\r
-   *                 if object is null or if any SAXException is thrown during\r
-   *                 marshaling\r
+   *           if object is null or if any SAXException is thrown during\r
+   *           marshaling\r
    * @throws org.exolab.castor.xml.ValidationException\r
-   *                 if this object is an invalid instance according to the\r
-   *                 schema\r
+   *           if this object is an invalid instance according to the schema\r
    */\r
   public void marshal(final java.io.Writer out)\r
           throws org.exolab.castor.xml.MarshalException,\r
@@ -629,13 +645,12 @@ public class Tree implements java.io.Serializable
    * \r
    * @param handler\r
    * @throws java.io.IOException\r
-   *                 if an IOException occurs during marshaling\r
+   *           if an IOException occurs during marshaling\r
    * @throws org.exolab.castor.xml.ValidationException\r
-   *                 if this object is an invalid instance according to the\r
-   *                 schema\r
+   *           if this object is an invalid instance according to the schema\r
    * @throws org.exolab.castor.xml.MarshalException\r
-   *                 if object is null or if any SAXException is thrown during\r
-   *                 marshaling\r
+   *           if object is null or if any SAXException is thrown during\r
+   *           marshaling\r
    */\r
   public void marshal(final org.xml.sax.ContentHandler handler)\r
           throws java.io.IOException,\r
@@ -649,7 +664,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'currentTree'.\r
    * \r
    * @param currentTree\r
-   *                the value of field 'currentTree'.\r
+   *          the value of field 'currentTree'.\r
    */\r
   public void setCurrentTree(final boolean currentTree)\r
   {\r
@@ -661,7 +676,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'fitToWindow'.\r
    * \r
    * @param fitToWindow\r
-   *                the value of field 'fitToWindow'.\r
+   *          the value of field 'fitToWindow'.\r
    */\r
   public void setFitToWindow(final boolean fitToWindow)\r
   {\r
@@ -673,7 +688,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'fontName'.\r
    * \r
    * @param fontName\r
-   *                the value of field 'fontName'.\r
+   *          the value of field 'fontName'.\r
    */\r
   public void setFontName(final java.lang.String fontName)\r
   {\r
@@ -684,7 +699,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'fontSize'.\r
    * \r
    * @param fontSize\r
-   *                the value of field 'fontSize'.\r
+   *          the value of field 'fontSize'.\r
    */\r
   public void setFontSize(final int fontSize)\r
   {\r
@@ -696,7 +711,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'fontStyle'.\r
    * \r
    * @param fontStyle\r
-   *                the value of field 'fontStyle'.\r
+   *          the value of field 'fontStyle'.\r
    */\r
   public void setFontStyle(final int fontStyle)\r
   {\r
@@ -708,7 +723,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'height'.\r
    * \r
    * @param height\r
-   *                the value of field 'height'.\r
+   *          the value of field 'height'.\r
    */\r
   public void setHeight(final int height)\r
   {\r
@@ -717,10 +732,23 @@ public class Tree implements java.io.Serializable
   }\r
 \r
   /**\r
+   * Sets the value of field 'id'. The field 'id' has the following description:\r
+   * Tree ID added for binding tree visualization settings to vamsas document\r
+   * trees in jalview 2.4.1\r
+   * \r
+   * @param id\r
+   *          the value of field 'id'.\r
+   */\r
+  public void setId(final java.lang.String id)\r
+  {\r
+    this._id = id;\r
+  }\r
+\r
+  /**\r
    * Sets the value of field 'markUnlinked'.\r
    * \r
    * @param markUnlinked\r
-   *                the value of field 'markUnlinked'.\r
+   *          the value of field 'markUnlinked'.\r
    */\r
   public void setMarkUnlinked(final boolean markUnlinked)\r
   {\r
@@ -732,7 +760,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'newick'.\r
    * \r
    * @param newick\r
-   *                the value of field 'newick'.\r
+   *          the value of field 'newick'.\r
    */\r
   public void setNewick(final java.lang.String newick)\r
   {\r
@@ -743,7 +771,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'showBootstrap'.\r
    * \r
    * @param showBootstrap\r
-   *                the value of field 'showBootstrap'.\r
+   *          the value of field 'showBootstrap'.\r
    */\r
   public void setShowBootstrap(final boolean showBootstrap)\r
   {\r
@@ -755,7 +783,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'showDistances'.\r
    * \r
    * @param showDistances\r
-   *                the value of field 'showDistances'.\r
+   *          the value of field 'showDistances'.\r
    */\r
   public void setShowDistances(final boolean showDistances)\r
   {\r
@@ -767,7 +795,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'threshold'.\r
    * \r
    * @param threshold\r
-   *                the value of field 'threshold'.\r
+   *          the value of field 'threshold'.\r
    */\r
   public void setThreshold(final float threshold)\r
   {\r
@@ -779,7 +807,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'title'.\r
    * \r
    * @param title\r
-   *                the value of field 'title'.\r
+   *          the value of field 'title'.\r
    */\r
   public void setTitle(final java.lang.String title)\r
   {\r
@@ -790,7 +818,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'width'.\r
    * \r
    * @param width\r
-   *                the value of field 'width'.\r
+   *          the value of field 'width'.\r
    */\r
   public void setWidth(final int width)\r
   {\r
@@ -802,7 +830,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'xpos'.\r
    * \r
    * @param xpos\r
-   *                the value of field 'xpos'.\r
+   *          the value of field 'xpos'.\r
    */\r
   public void setXpos(final int xpos)\r
   {\r
@@ -814,7 +842,7 @@ public class Tree implements java.io.Serializable
    * Sets the value of field 'ypos'.\r
    * \r
    * @param ypos\r
-   *                the value of field 'ypos'.\r
+   *          the value of field 'ypos'.\r
    */\r
   public void setYpos(final int ypos)\r
   {\r
@@ -827,11 +855,10 @@ public class Tree implements java.io.Serializable
    * \r
    * @param reader\r
    * @throws org.exolab.castor.xml.MarshalException\r
-   *                 if object is null or if any SAXException is thrown during\r
-   *                 marshaling\r
+   *           if object is null or if any SAXException is thrown during\r
+   *           marshaling\r
    * @throws org.exolab.castor.xml.ValidationException\r
-   *                 if this object is an invalid instance according to the\r
-   *                 schema\r
+   *           if this object is an invalid instance according to the schema\r
    * @return the unmarshaled jalview.schemabinding.version2.Tree\r
    */\r
   public static jalview.schemabinding.version2.Tree unmarshal(\r
@@ -847,8 +874,7 @@ public class Tree implements java.io.Serializable
    * \r
    * \r
    * @throws org.exolab.castor.xml.ValidationException\r
-   *                 if this object is an invalid instance according to the\r
-   *                 schema\r
+   *           if this object is an invalid instance according to the schema\r
    */\r
   public void validate() throws org.exolab.castor.xml.ValidationException\r
   {\r