63f0ac4b1102d543e906aac08cc01dea3ae916d4
[jalview.git] / src / jalview / datamodel / xdb / embl / EmblFeatureLocElement.java
1 /*
2  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1)
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 of the License, or (at your option) any later version.
10  *  
11  * Jalview is distributed in the hope that it will be useful, but 
12  * WITHOUT ANY WARRANTY; without even the implied warranty 
13  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
14  * PURPOSE.  See the GNU General Public License for more details.
15  * 
16  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
17  * The Jalview Authors are detailed in the 'AUTHORS' file.
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 }