From: amwaterhouse Date: Thu, 10 Nov 2005 11:03:27 +0000 (+0000) Subject: getDbRef X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=4130664eb565167142ad53b2535757a9f46ce222;p=jalview.git getDbRef --- diff --git a/src/jalview/datamodel/UniprotEntry.java b/src/jalview/datamodel/UniprotEntry.java index ff77e50..5cc03e6 100755 --- a/src/jalview/datamodel/UniprotEntry.java +++ b/src/jalview/datamodel/UniprotEntry.java @@ -1,6 +1,6 @@ package jalview.datamodel; -import java.util.Vector; +import java.util.*; public class UniprotEntry { @@ -8,20 +8,21 @@ public class UniprotEntry UniprotSequence sequence; Vector name; Vector accession; - Vector features; + Vector feature; + Vector dbrefs; public void setAccession(Vector items) { accession = items; } - public void setFeatures(Vector items) + public void setFeature(Vector items) { - features = items; + feature = items; } - public Vector getFeatures() { - return features; + public Vector getFeature() { + return feature; } @@ -50,4 +51,14 @@ public class UniprotEntry sequence = seq; } + public Vector getDbReference() + { + return dbrefs; + } + + public void setDbReference(Vector dbref) + { + this.dbrefs = dbref; + } + } diff --git a/src/jalview/datamodel/UniprotFile.java b/src/jalview/datamodel/UniprotFile.java index c668c4b..5acb300 100755 --- a/src/jalview/datamodel/UniprotFile.java +++ b/src/jalview/datamodel/UniprotFile.java @@ -12,5 +12,4 @@ public class UniprotFile public Vector getUniprotEntries() { return _items; } - }