From: amwaterhouse Date: Fri, 11 Nov 2005 18:17:49 +0000 (+0000) Subject: AddPdbEntry added X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3f9ed3a1f79978b51fbdd98608bc3558278d5569;p=jalview.git AddPdbEntry added --- diff --git a/src/jalview/datamodel/Sequence.java b/src/jalview/datamodel/Sequence.java index d90c231..ffb2938 100755 --- a/src/jalview/datamodel/Sequence.java +++ b/src/jalview/datamodel/Sequence.java @@ -197,6 +197,14 @@ public class Sequence implements SequenceI return sequenceFeatures; } + public void addPDBId(PDBEntry entry) + { + if(pdbIds == null) + pdbIds = new Vector(); + + pdbIds.addElement(entry); + } + /** * DOCUMENT ME! * diff --git a/src/jalview/datamodel/SequenceI.java b/src/jalview/datamodel/SequenceI.java index 20aed83..b187f1f 100755 --- a/src/jalview/datamodel/SequenceI.java +++ b/src/jalview/datamodel/SequenceI.java @@ -233,6 +233,8 @@ public interface SequenceI */ public Vector getPDBId(); + public void addPDBId(PDBEntry entry); + public String getVamsasId(); public void setVamsasId(String id);