X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemabinding%2Fversion2%2FAnnotationColours.java;h=9eef6f03f95d789a7608032f14e37009549b9c59;hb=682b4b598105a0024231bcf5f53206530425fd64;hp=5f1b1c72d0756ae0d4cf08fa6f5d1baa6f2cf376;hpb=797df64fa2a0a30773d0f48f5494d4155e5a8be3;p=jalview.git
diff --git a/src/jalview/schemabinding/version2/AnnotationColours.java b/src/jalview/schemabinding/version2/AnnotationColours.java
index 5f1b1c7..9eef6f0 100644
--- a/src/jalview/schemabinding/version2/AnnotationColours.java
+++ b/src/jalview/schemabinding/version2/AnnotationColours.java
@@ -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 .
- *******************************************************************************/
/*
* This class was automatically generated with
* Castor 1.1, 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'.