Create sequence mapping for annotations
[jalview.git] / src / jalview / datamodel / UniprotEntry.java
index 0c5e314..dcdaee9 100755 (executable)
@@ -1,3 +1,21 @@
+/*\r
+ * Jalview - A Sequence Alignment Editor and Viewer\r
+ * Copyright (C) 2005 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
+ *\r
+ * This program is free software; you can redistribute it and/or\r
+ * modify it under the terms of the GNU General Public License\r
+ * as published by the Free Software Foundation; either version 2\r
+ * of the License, or (at your option) any later version.\r
+ *\r
+ * This program is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
+ * GNU General Public License for more details.\r
+ *\r
+ * You should have received a copy of the GNU General Public License\r
+ * along with this program; if not, write to the Free Software\r
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA\r
+ */\r
 package jalview.datamodel;\r
 \r
 import java.util.*;\r
@@ -10,7 +28,7 @@ public class UniprotEntry
   Vector accession;\r
   Vector feature;\r
   Vector dbrefs;\r
-  Vector proteinName;\r
+  UniprotProteinName protName;\r
 \r
   public void setAccession(Vector items)\r
   {\r
@@ -32,14 +50,15 @@ public class UniprotEntry
      return accession;\r
    }\r
 \r
-   public void setProteinName(Vector items)\r
+   public void setProtein(UniprotProteinName names)\r
    {\r
-     proteinName = items;\r
+     protName = names;\r
    }\r
 \r
-   public Vector getProteinName()\r
+\r
+   public UniprotProteinName getProtein()\r
    {\r
-     return proteinName;\r
+     return protName;\r
    }\r
 \r
   public void setName(Vector na)\r