*/
package jalview.datamodel;
+import jalview.api.DBRefEntryI;
+
import java.util.List;
import java.util.Vector;
import fr.orsay.lri.varna.models.rna.RNA;
/**
- * DOCUMENT ME!
+ * Methods for manipulating a sequence, its metadata and related annotation in
+ * an alignment or dataset.
*
* @author $author$
* @version $Revision$
*/
-public interface SequenceI
+public interface SequenceI extends ASequenceI
{
/**
* Set the display name for the sequence
/**
* DOCUMENT ME!
+ *
* @param position
* DOCUMENT ME!
* @param ch
*
* @return DOCUMENT ME!
*/
- public Vector<PDBEntry> getPDBId();
+ public Vector<PDBEntry> getAllPDBEntries();
/**
* add entry to the vector of PDBIds, if it isn't in the list already
/**
* Transfer any database references or annotation from entry under a sequence
* mapping. <br/>
- * <strong>Note: DOES NOT transfer sequence associated alignment
- * annotation </strong><br/>
+ * <strong>Note: DOES NOT transfer sequence associated alignment annotation
+ * </strong><br/>
*
* @param entry
* @param mp
*/
public List<int[]> getInsertions();
+ /**
+ * Given a pdbId String, return the equivalent PDBEntry if available in the
+ * given sequence
+ *
+ * @param pdbId
+ * @return
+ */
+ public PDBEntry getPDBEntry(String pdbId);
+
+ public void setSourceDBRef(DBRefEntryI dbRef);
+
+ public DBRefEntryI getSourceDBRef();
}