AddPdbEntry added
authoramwaterhouse <Andrew Waterhouse>
Fri, 11 Nov 2005 18:17:49 +0000 (18:17 +0000)
committeramwaterhouse <Andrew Waterhouse>
Fri, 11 Nov 2005 18:17:49 +0000 (18:17 +0000)
src/jalview/datamodel/Sequence.java
src/jalview/datamodel/SequenceI.java

index d90c231..ffb2938 100755 (executable)
@@ -197,6 +197,14 @@ public class Sequence implements SequenceI
         return sequenceFeatures;\r
     }\r
 \r
+    public void addPDBId(PDBEntry entry)\r
+    {\r
+      if(pdbIds == null)\r
+        pdbIds = new Vector();\r
+\r
+      pdbIds.addElement(entry);\r
+    }\r
+\r
     /**\r
      * DOCUMENT ME!\r
      *\r
index 20aed83..b187f1f 100755 (executable)
@@ -233,6 +233,8 @@ public interface SequenceI
      */\r
     public Vector getPDBId();\r
 \r
+    public void addPDBId(PDBEntry entry);\r
+\r
     public String getVamsasId();\r
 \r
     public void setVamsasId(String id);\r