Jalview 2.8 Source Header
[jalview.git] / src / jalview / datamodel / AnnotatedCollectionI.java
index d7a0339..e73f0f4 100644 (file)
@@ -1,14 +1,33 @@
+/*
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
+ * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
+ * 
+ * This file is part of Jalview.
+ * 
+ * Jalview is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License 
+ * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
+ *  
+ * Jalview is distributed in the hope that it will be useful, but 
+ * WITHOUT ANY WARRANTY; without even the implied warranty 
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
+ * PURPOSE.  See the GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
+ */
 package jalview.datamodel;
 
-import java.util.List;
-
-public interface AnnotatedCollectionI
+public interface AnnotatedCollectionI extends SequenceCollectionI
 {
 
   /**
-   * TODO: decide if null is a valid response if there is no annotation on the object
+   * TODO: decide if null is a valid response if there is no annotation on the
+   * object
+   * 
    * @return null
    */
   AlignmentAnnotation[] getAlignmentAnnotation();
 
+  Iterable<AlignmentAnnotation> findAnnotation(String calcId);
+
 }