+/*\r
+ * Jalview - A Sequence Alignment Editor and Viewer\r
+ * Copyright (C) 2007 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
Vector accession;\r
Vector feature;\r
Vector dbrefs;\r
- Vector proteinName;\r
+ UniprotProteinName protName;\r
\r
public void setAccession(Vector items)\r
{\r
\r
public void setFeature(Vector items)\r
{\r
- feature = items;\r
- }\r
-\r
- public Vector getFeature() {\r
- return feature;\r
- }\r
+ feature = items;\r
+ }\r
\r
+ public Vector getFeature()\r
+ {\r
+ return feature;\r
+ }\r
\r
- public Vector getAccession()\r
- {\r
- return accession;\r
- }\r
+ public Vector getAccession()\r
+ {\r
+ return accession;\r
+ }\r
\r
- public void setProteinName(Vector items)\r
- {\r
- proteinName = items;\r
- }\r
+ public void setProtein(UniprotProteinName names)\r
+ {\r
+ protName = names;\r
+ }\r
\r
- public Vector getProteinName()\r
- {\r
- return proteinName;\r
- }\r
+ public UniprotProteinName getProtein()\r
+ {\r
+ return protName;\r
+ }\r
\r
public void setName(Vector na)\r
{\r
name = na;\r
}\r
+\r
public Vector getName()\r
{\r
return name;\r
\r
public void setDbReference(Vector dbref)\r
{\r
- this.dbrefs = dbref;\r
+ this.dbrefs = dbref;\r
}\r
\r
}\r