applied copyright 2008
[jalview.git] / src / jalview / datamodel / UniprotEntry.java
1 /*
2  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.4)
3  * Copyright (C) 2008 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle
4  * 
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * as published by the Free Software Foundation; either version 2
8  * of the License, or (at your option) any later version.
9  * 
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  * 
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
18  */
19 package jalview.datamodel;
20
21 import java.util.*;
22
23 public class UniprotEntry
24 {
25
26   UniprotSequence sequence;
27   Vector name;
28   Vector accession;
29   Vector feature;
30   Vector dbrefs;
31   UniprotProteinName protName;
32
33   public void setAccession(Vector items)
34   {
35     accession = items;
36   }
37
38   public void setFeature(Vector items)
39   {
40     feature = items;
41   }
42
43   public Vector getFeature()
44   {
45     return feature;
46   }
47
48   public Vector getAccession()
49   {
50     return accession;
51   }
52
53   public void setProtein(UniprotProteinName names)
54   {
55     protName = names;
56   }
57
58   public UniprotProteinName getProtein()
59   {
60     return protName;
61   }
62
63   public void setName(Vector na)
64   {
65     name = na;
66   }
67
68   public Vector getName()
69   {
70     return name;
71   }
72
73   public UniprotSequence getUniprotSequence()
74   {
75     return sequence;
76   }
77
78   public void setUniprotSequence(UniprotSequence seq)
79   {
80     sequence = seq;
81   }
82
83   public Vector getDbReference()
84   {
85     return dbrefs;
86   }
87
88   public void setDbReference(Vector dbref)
89   {
90     this.dbrefs = dbref;
91   }
92
93 }