Merge branch 'fix_JAL-1423' into Release_2_8_1_Branch
[jalview.git] / src / jalview / schemabinding / version2 / AnnotationColours.java
index 5f1b1c7..9eef6f0 100644 (file)
@@ -1,20 +1,3 @@
-/*******************************************************************************
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
- * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
- *
- * This file is part of Jalview.
- *
- * Jalview 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 3 of the License, or (at your option) any later version.
- *
- * Jalview 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 Jalview.  If not, see <http://www.gnu.org/licenses/>.
- *******************************************************************************/
 /*
  * This class was automatically generated with 
  * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
@@ -93,6 +76,26 @@ public class AnnotationColours implements java.io.Serializable {
      */
     private boolean _has_threshold;
 
+    /**
+     * Field _perSequence.
+     */
+    private boolean _perSequence;
+
+    /**
+     * keeps track of state for field: _perSequence
+     */
+    private boolean _has_perSequence;
+
+    /**
+     * Field _predefinedColours.
+     */
+    private boolean _predefinedColours;
+
+    /**
+     * keeps track of state for field: _predefinedColours
+     */
+    private boolean _has_predefinedColours;
+
 
       //----------------/
      //- Constructors -/
@@ -130,6 +133,20 @@ public class AnnotationColours implements java.io.Serializable {
 
     /**
      */
+    public void deletePerSequence(
+    ) {
+        this._has_perSequence= false;
+    }
+
+    /**
+     */
+    public void deletePredefinedColours(
+    ) {
+        this._has_predefinedColours= false;
+    }
+
+    /**
+     */
     public void deleteThreshold(
     ) {
         this._has_threshold= false;
@@ -186,6 +203,26 @@ public class AnnotationColours implements java.io.Serializable {
     }
 
     /**
+     * Returns the value of field 'perSequence'.
+     * 
+     * @return the value of field 'PerSequence'.
+     */
+    public boolean getPerSequence(
+    ) {
+        return this._perSequence;
+    }
+
+    /**
+     * Returns the value of field 'predefinedColours'.
+     * 
+     * @return the value of field 'PredefinedColours'.
+     */
+    public boolean getPredefinedColours(
+    ) {
+        return this._predefinedColours;
+    }
+
+    /**
      * Returns the value of field 'threshold'.
      * 
      * @return the value of field 'Threshold'.
@@ -226,6 +263,26 @@ public class AnnotationColours implements java.io.Serializable {
     }
 
     /**
+     * Method hasPerSequence.
+     * 
+     * @return true if at least one PerSequence has been added
+     */
+    public boolean hasPerSequence(
+    ) {
+        return this._has_perSequence;
+    }
+
+    /**
+     * Method hasPredefinedColours.
+     * 
+     * @return true if at least one PredefinedColours has been added
+     */
+    public boolean hasPredefinedColours(
+    ) {
+        return this._has_predefinedColours;
+    }
+
+    /**
      * Method hasThreshold.
      * 
      * @return true if at least one Threshold has been added
@@ -236,6 +293,26 @@ public class AnnotationColours implements java.io.Serializable {
     }
 
     /**
+     * Returns the value of field 'perSequence'.
+     * 
+     * @return the value of field 'PerSequence'.
+     */
+    public boolean isPerSequence(
+    ) {
+        return this._perSequence;
+    }
+
+    /**
+     * Returns the value of field 'predefinedColours'.
+     * 
+     * @return the value of field 'PredefinedColours'.
+     */
+    public boolean isPredefinedColours(
+    ) {
+        return this._predefinedColours;
+    }
+
+    /**
      * Method isValid.
      * 
      * @return true if this object is valid according to the schema
@@ -336,6 +413,29 @@ public class AnnotationColours implements java.io.Serializable {
     }
 
     /**
+     * Sets the value of field 'perSequence'.
+     * 
+     * @param perSequence the value of field 'perSequence'.
+     */
+    public void setPerSequence(
+            final boolean perSequence) {
+        this._perSequence = perSequence;
+        this._has_perSequence = true;
+    }
+
+    /**
+     * Sets the value of field 'predefinedColours'.
+     * 
+     * @param predefinedColours the value of field
+     * 'predefinedColours'.
+     */
+    public void setPredefinedColours(
+            final boolean predefinedColours) {
+        this._predefinedColours = predefinedColours;
+        this._has_predefinedColours = true;
+    }
+
+    /**
      * Sets the value of field 'threshold'.
      * 
      * @param threshold the value of field 'threshold'.