X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FUniprotEntry.java;h=dcdaee988c409a0b62837b80b3aa50a75a652b67;hb=1bfa17ca1d38ab5ec76846d65cb443bd007f20d0;hp=0c5e314c3fc3eab11455b85af04970940777debb;hpb=55e2e9b22b133db8b9ff0979b0338a33081fc8fd;p=jalview.git diff --git a/src/jalview/datamodel/UniprotEntry.java b/src/jalview/datamodel/UniprotEntry.java index 0c5e314..dcdaee9 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) 2005 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) { @@ -32,14 +50,15 @@ public class UniprotEntry return accession; } - public void setProteinName(Vector items) + public void setProtein(UniprotProteinName names) { - proteinName = items; + protName = names; } - public Vector getProteinName() + + public UniprotProteinName getProtein() { - return proteinName; + return protName; } public void setName(Vector na)