javadoc and transferAnnotation method
[jalview.git] / src / jalview / datamodel / SequenceI.java
index 2311d49..da49a31 100755 (executable)
@@ -226,6 +226,10 @@ public interface SequenceI
    */
   public Vector getPDBId();
 
+  /**
+   * add entry to the vector of PDBIds, if it isn't in the list already
+   * @param entry
+   */
   public void addPDBId(PDBEntry entry);
   /**
    * update the list of PDBEntrys to include any DBRefEntrys citing structural databases 
@@ -286,5 +290,13 @@ public interface SequenceI
    * @return dataset sequence for this sequence
    */
   public SequenceI createDatasetSequence();
+  
+  /**
+   * Transfer any database references or annotation from entry
+   * under a sequence mapping.
+   * @param entry
+   * @param mp null or mapping from entry's numbering to local start/end
+   */
+  public void transferAnnotation(SequenceI entry, Mapping mp);
 
 }