Merge branch 'JAL-1403' into develop
[jalview.git] / src / jalview / schemabinding / version2 / AnnotationColours.java
index 96ab9d8..9eef6f0 100644 (file)
@@ -76,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 -/
@@ -113,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;
@@ -169,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'.
@@ -209,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
@@ -219,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
@@ -319,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'.