-/*******************************************************************************
- * 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
*/
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 -/
/**
*/
+ public void deletePerSequence(
+ ) {
+ this._has_perSequence= false;
+ }
+
+ /**
+ */
+ public void deletePredefinedColours(
+ ) {
+ this._has_predefinedColours= false;
+ }
+
+ /**
+ */
public void deleteThreshold(
) {
this._has_threshold= false;
}
/**
+ * 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'.
}
/**
+ * 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
}
/**
+ * 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
}
/**
+ * 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'.