fix for null annotations
[jalview.git] / src / jalview / datamodel / SequenceI.java
index 6694aff..dd92c70 100755 (executable)
@@ -257,10 +257,17 @@ public interface SequenceI
 
   public void addAlignmentAnnotation(AlignmentAnnotation annotation);
 
+  public void removeAlignmentAnnotation(AlignmentAnnotation annotation);
+
   /**
    * Derive a sequence (using this one's dataset or as the dataset)
    * @return duplicate sequence with valid dataset sequence
    */
   public SequenceI deriveSequence();
+  /**
+   * set the array of associated AlignmentAnnotation for this sequenceI
+   * @param revealed
+   */
+  public void setAlignmentAnnotation(AlignmentAnnotation[] annotation);
 
 }