From 3f9ed3a1f79978b51fbdd98608bc3558278d5569 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Fri, 11 Nov 2005 18:17:49 +0000 Subject: [PATCH] AddPdbEntry added --- src/jalview/datamodel/Sequence.java | 8 ++++++++ src/jalview/datamodel/SequenceI.java | 2 ++ 2 files changed, 10 insertions(+) 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); -- 1.7.10.2