8fb42f60e538f84453a4efed3fe150bec1043458
[jalview.git] / src / jalview / datamodel / UniprotEntry.java
1 /*
2  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2)
3  * Copyright (C) 2014 The Jalview Authors
4  * 
5  * This file is part of Jalview.
6  * 
7  * Jalview is free software: you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License 
9  * as published by the Free Software Foundation, either version 3
10  * of the License, or (at your option) any later version.
11  *  
12  * Jalview is distributed in the hope that it will be useful, but 
13  * WITHOUT ANY WARRANTY; without even the implied warranty 
14  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
15  * PURPOSE.  See the GNU General Public License for more details.
16  * 
17  * You should have received a copy of the GNU General Public License
18  * along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
19  * The Jalview Authors are detailed in the 'AUTHORS' file.
20  */
21 package jalview.datamodel;
22
23 import java.util.*;
24
25 public class UniprotEntry
26 {
27
28   UniprotSequence sequence;
29
30   Vector name;
31
32   Vector accession;
33
34   Vector feature;
35
36   Vector dbrefs;
37
38   UniprotProteinName protName;
39
40   public void setAccession(Vector items)
41   {
42     accession = items;
43   }
44
45   public void setFeature(Vector items)
46   {
47     feature = items;
48   }
49
50   public Vector getFeature()
51   {
52     return feature;
53   }
54
55   public Vector getAccession()
56   {
57     return accession;
58   }
59
60   public void setProtein(UniprotProteinName names)
61   {
62     protName = names;
63   }
64
65   public UniprotProteinName getProtein()
66   {
67     return protName;
68   }
69
70   public void setName(Vector na)
71   {
72     name = na;
73   }
74
75   public Vector getName()
76   {
77     return name;
78   }
79
80   public UniprotSequence getUniprotSequence()
81   {
82     return sequence;
83   }
84
85   public void setUniprotSequence(UniprotSequence seq)
86   {
87     sequence = seq;
88   }
89
90   public Vector getDbReference()
91   {
92     return dbrefs;
93   }
94
95   public void setDbReference(Vector dbref)
96   {
97     this.dbrefs = dbref;
98   }
99
100 }