X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FUniprotEntry.java;h=b963022aa3dd2cd60010316d53f030b644be659e;hb=990fd5f012601024aaeeb09e2901791d242636c4;hp=0c5e314c3fc3eab11455b85af04970940777debb;hpb=55e2e9b22b133db8b9ff0979b0338a33081fc8fd;p=jalview.git diff --git a/src/jalview/datamodel/UniprotEntry.java b/src/jalview/datamodel/UniprotEntry.java index 0c5e314..b963022 100755 --- a/src/jalview/datamodel/UniprotEntry.java +++ b/src/jalview/datamodel/UniprotEntry.java @@ -1,3 +1,21 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer + * Copyright (C) 2007 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA + */ package jalview.datamodel; import java.util.*; @@ -10,7 +28,7 @@ public class UniprotEntry Vector accession; Vector feature; Vector dbrefs; - Vector proteinName; + UniprotProteinName protName; public void setAccession(Vector items) { @@ -19,33 +37,34 @@ public class UniprotEntry public void setFeature(Vector items) { - feature = items; - } - - public Vector getFeature() { - return feature; - } + feature = items; + } + public Vector getFeature() + { + return feature; + } - public Vector getAccession() - { - return accession; - } + public Vector getAccession() + { + return accession; + } - public void setProteinName(Vector items) - { - proteinName = items; - } + public void setProtein(UniprotProteinName names) + { + protName = names; + } - public Vector getProteinName() - { - return proteinName; - } + public UniprotProteinName getProtein() + { + return protName; + } public void setName(Vector na) { name = na; } + public Vector getName() { return name; @@ -68,7 +87,7 @@ public class UniprotEntry public void setDbReference(Vector dbref) { - this.dbrefs = dbref; + this.dbrefs = dbref; } }