getDbRef
authoramwaterhouse <Andrew Waterhouse>
Thu, 10 Nov 2005 11:03:27 +0000 (11:03 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 10 Nov 2005 11:03:27 +0000 (11:03 +0000)
src/jalview/datamodel/UniprotEntry.java
src/jalview/datamodel/UniprotFile.java

index ff77e50..5cc03e6 100755 (executable)
@@ -1,6 +1,6 @@
 package jalview.datamodel;\r
 \r
-import java.util.Vector;\r
+import java.util.*;\r
 \r
 public class UniprotEntry\r
 {\r
@@ -8,20 +8,21 @@ public class UniprotEntry
   UniprotSequence sequence;\r
   Vector name;\r
   Vector accession;\r
-  Vector features;\r
+  Vector feature;\r
+  Vector dbrefs;\r
 \r
   public void setAccession(Vector items)\r
   {\r
     accession = items;\r
   }\r
 \r
-  public void setFeatures(Vector items)\r
+  public void setFeature(Vector items)\r
   {\r
-       features = items;\r
+       feature = items;\r
    }\r
 \r
-   public Vector getFeatures() {\r
-       return features;\r
+   public Vector getFeature() {\r
+       return feature;\r
    }\r
 \r
 \r
@@ -50,4 +51,14 @@ public class UniprotEntry
     sequence = seq;\r
   }\r
 \r
+  public Vector getDbReference()\r
+  {\r
+    return dbrefs;\r
+  }\r
+\r
+  public void setDbReference(Vector dbref)\r
+  {\r
+   this.dbrefs = dbref;\r
+  }\r
+\r
 }\r
index c668c4b..5acb300 100755 (executable)
@@ -12,5 +12,4 @@ public class UniprotFile
    public Vector getUniprotEntries() {\r
        return _items;\r
    }\r
-\r
 }\r