extended Colour element with additional optional attributes for graduated colour
[jalview.git] / src / jalview / binding / JalviewUserColours.java
index ac6cf6f..a1e84d5 100755 (executable)
@@ -1,5 +1,5 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Development Version 2.4.1)
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4.1)
  * Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
  * 
  * This program is free software; you can redistribute it and/or
@@ -43,6 +43,12 @@ public class JalviewUserColours implements java.io.Serializable {
     private java.lang.String _schemeName;
 
     /**
+     * Jalview colour scheme document version.
+     *  
+     */
+    private java.lang.String _version;
+
+    /**
      * Field _colourList.
      */
     private java.util.Vector _colourList;
@@ -155,6 +161,19 @@ public class JalviewUserColours implements java.io.Serializable {
     }
 
     /**
+     * Returns the value of field 'version'. The field 'version'
+     * has the following description: Jalview colour scheme
+     * document version.
+     *  
+     * 
+     * @return the value of field 'Version'.
+     */
+    public java.lang.String getVersion(
+    ) {
+        return this._version;
+    }
+
+    /**
      * Method isValid.
      * 
      * @return true if this object is valid according to the schema
@@ -278,6 +297,19 @@ public class JalviewUserColours implements java.io.Serializable {
     }
 
     /**
+     * Sets the value of field 'version'. The field 'version' has
+     * the following description: Jalview colour scheme document
+     * version.
+     *  
+     * 
+     * @param version the value of field 'version'.
+     */
+    public void setVersion(
+            final java.lang.String version) {
+        this._version = version;
+    }
+
+    /**
      * Method unmarshal.
      * 
      * @param reader