JAL-1760 JAL-1641 Serialisation of Hidden Seqs and Cols in JSON output. Added ability...
[jalview.git] / src / jalview / datamodel / Sequence.java
index cab1ac7..9f328ee 100755 (executable)
@@ -59,6 +59,8 @@ public class Sequence implements SequenceI
 
   RNA rna;
 
+  private boolean hidden;
+
   /**
    * This annotation is displayed below the alignment but the positions are tied
    * to the residues of this sequence
@@ -1283,4 +1285,16 @@ public class Sequence implements SequenceI
     return result;
   }
 
+  @Override
+  public boolean isHidden()
+  {
+    return this.hidden;
+  }
+
+  @Override
+  public void setHidden(Boolean hidden)
+  {
+    this.hidden = hidden;
+  }
+
 }