merge from 2_4_Release branch
[jalview.git] / src / jalview / datamodel / xdb / embl / EmblFeatureLocElement.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.xdb.embl;
20
21 public class EmblFeatureLocElement
22 {
23   String type;
24
25   String accession;
26
27   String version;
28
29   boolean complement;
30
31   BasePosition basePositions[];
32
33   /**
34    * @return the accession
35    */
36   public String getAccession()
37   {
38     return accession;
39   }
40
41   /**
42    * @param accession
43    *                the accession to set
44    */
45   public void setAccession(String accession)
46   {
47     this.accession = accession;
48   }
49
50   /**
51    * @return the basePositions
52    */
53   public BasePosition[] getBasePositions()
54   {
55     return basePositions;
56   }
57
58   /**
59    * @param basePositions
60    *                the basePositions to set
61    */
62   public void setBasePositions(BasePosition[] basePositions)
63   {
64     this.basePositions = basePositions;
65   }
66
67   /**
68    * @return the complement
69    */
70   public boolean isComplement()
71   {
72     return complement;
73   }
74
75   /**
76    * @param complement
77    *                the complement to set
78    */
79   public void setComplement(boolean complement)
80   {
81     this.complement = complement;
82   }
83
84   /**
85    * @return the type
86    */
87   public String getType()
88   {
89     return type;
90   }
91
92   /**
93    * @param type
94    *                the type to set
95    */
96   public void setType(String type)
97   {
98     this.type = type;
99   }
100
101   /**
102    * @return the version
103    */
104   public String getVersion()
105   {
106     return version;
107   }
108
109   /**
110    * @param version
111    *                the version to set
112    */
113   public void setVersion(String version)
114   {
115     this.version = version;
116   }
117 }