X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fschemabinding%2Fversion2%2FAnnotationColours.java;h=9eef6f03f95d789a7608032f14e37009549b9c59;hb=6235128370382f0fecdf3ba1cc683052c5aa11e7;hp=96ab9d81428e2511a83d8124853b5977996d8a5e;hpb=77441185ddcb1e85b0de8336ce513b2130c6b98b;p=jalview.git diff --git a/src/jalview/schemabinding/version2/AnnotationColours.java b/src/jalview/schemabinding/version2/AnnotationColours.java index 96ab9d8..9eef6f0 100644 --- a/src/jalview/schemabinding/version2/AnnotationColours.java +++ b/src/jalview/schemabinding/version2/AnnotationColours.java @@ -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'.