merge
[jalview.git] / src / jalview / schemabinding / version2 / Viewport.java
index 136a3b3..e3a19de 100644 (file)
@@ -332,6 +332,16 @@ public class Viewport implements java.io.Serializable {
     private boolean _has_fontStyle;
 
     /**
+     * Field _scaleProteinAsCdna.
+     */
+    private boolean _scaleProteinAsCdna = true;
+
+    /**
+     * keeps track of state for field: _scaleProteinAsCdna
+     */
+    private boolean _has_scaleProteinAsCdna;
+
+    /**
      * Field _viewName.
      */
     private java.lang.String _viewName;
@@ -631,6 +641,13 @@ public class Viewport implements java.io.Serializable {
 
     /**
      */
+    public void deleteScaleProteinAsCdna(
+    ) {
+        this._has_scaleProteinAsCdna= false;
+    }
+
+    /**
+     */
     public void deleteShowAnnotation(
     ) {
         this._has_showAnnotation= false;
@@ -1107,6 +1124,16 @@ public class Viewport implements java.io.Serializable {
     }
 
     /**
+     * Returns the value of field 'scaleProteinAsCdna'.
+     * 
+     * @return the value of field 'ScaleProteinAsCdna'.
+     */
+    public boolean getScaleProteinAsCdna(
+    ) {
+        return this._scaleProteinAsCdna;
+    }
+
+    /**
      * Returns the value of field 'sequenceSetId'.
      * 
      * @return the value of field 'SequenceSetId'.
@@ -1510,6 +1537,16 @@ public class Viewport implements java.io.Serializable {
     }
 
     /**
+     * Method hasScaleProteinAsCdna.
+     * 
+     * @return true if at least one ScaleProteinAsCdna has been adde
+     */
+    public boolean hasScaleProteinAsCdna(
+    ) {
+        return this._has_scaleProteinAsCdna;
+    }
+
+    /**
      * Method hasShowAnnotation.
      * 
      * @return true if at least one ShowAnnotation has been added
@@ -1834,6 +1871,16 @@ public class Viewport implements java.io.Serializable {
     }
 
     /**
+     * Returns the value of field 'scaleProteinAsCdna'.
+     * 
+     * @return the value of field 'ScaleProteinAsCdna'.
+     */
+    public boolean isScaleProteinAsCdna(
+    ) {
+        return this._scaleProteinAsCdna;
+    }
+
+    /**
      * Returns the value of field 'showAnnotation'.
      * 
      * @return the value of field 'ShowAnnotation'.
@@ -2382,6 +2429,18 @@ public class Viewport implements java.io.Serializable {
     }
 
     /**
+     * Sets the value of field 'scaleProteinAsCdna'.
+     * 
+     * @param scaleProteinAsCdna the value of field
+     * 'scaleProteinAsCdna'.
+     */
+    public void setScaleProteinAsCdna(
+            final boolean scaleProteinAsCdna) {
+        this._scaleProteinAsCdna = scaleProteinAsCdna;
+        this._has_scaleProteinAsCdna = true;
+    }
+
+    /**
      * Sets the value of field 'sequenceSetId'.
      * 
      * @param sequenceSetId the value of field 'sequenceSetId'.