get annotation by label string
[jalview.git] / src / jalview / datamodel / SequenceI.java
index dd92c70..64a21dd 100755 (executable)
@@ -269,5 +269,11 @@ public interface SequenceI
    * @param revealed
    */
   public void setAlignmentAnnotation(AlignmentAnnotation[] annotation);
+  /**
+   * Get one or more alignment annotations with a particular label.  
+   * @param label string which each returned annotation must have as a label.
+   * @return null or array of annotations.
+   */
+  public AlignmentAnnotation[] getAnnotation(String label);
 
 }