extended Colour element with additional optional attributes for graduated colour
[jalview.git] / src / jalview / schemabinding / version2 / JalviewUserColours.java
index a0cf9d9..c6760ab 100755 (executable)
@@ -1,5 +1,5 @@
 /*\r
- * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1)\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
@@ -43,6 +43,12 @@ public class JalviewUserColours implements java.io.Serializable {
     private java.lang.String _schemeName;\r
 \r
     /**\r
+     * Jalview colour scheme document version.\r
+     *  \r
+     */\r
+    private java.lang.String _version;\r
+\r
+    /**\r
      * Field _colourList.\r
      */\r
     private java.util.Vector _colourList;\r
@@ -155,6 +161,19 @@ public class JalviewUserColours implements java.io.Serializable {
     }\r
 \r
     /**\r
+     * Returns the value of field 'version'. The field 'version'\r
+     * has the following description: Jalview colour scheme\r
+     * document version.\r
+     *  \r
+     * \r
+     * @return the value of field 'Version'.\r
+     */\r
+    public java.lang.String getVersion(\r
+    ) {\r
+        return this._version;\r
+    }\r
+\r
+    /**\r
      * Method isValid.\r
      * \r
      * @return true if this object is valid according to the schema\r
@@ -278,6 +297,19 @@ public class JalviewUserColours implements java.io.Serializable {
     }\r
 \r
     /**\r
+     * Sets the value of field 'version'. The field 'version' has\r
+     * the following description: Jalview colour scheme document\r
+     * version.\r
+     *  \r
+     * \r
+     * @param version the value of field 'version'.\r
+     */\r
+    public void setVersion(\r
+            final java.lang.String version) {\r
+        this._version = version;\r
+    }\r
+\r
+    /**\r
      * Method unmarshal.\r
      * \r
      * @param reader\r