merge from 2_4_Release branch
[jalview.git] / src / org / biojava / dasobert / eventmodel / SequenceEvent.java
1 /*
2  *                  BioJava development code
3  *
4  * This code may be freely distributed and modified under the
5  * terms of the GNU Lesser General Public Licence.  This should
6  * be distributed with the code.  If you do not have a copy,
7  * see:
8  *
9  *      http://www.gnu.org/copyleft/lesser.html
10  *
11  * Copyright for this code is held jointly by the individual
12  * authors.  These should be listed in @author doc comments.
13  *
14  * For more information on the BioJava project and its aims,
15  * or to join the biojava-l mailing list, visit the home page
16  * at:
17  *
18  *      http://www.biojava.org/
19  *
20  * Created on Nov 20, 2005
21  *
22  */
23 package org.biojava.dasobert.eventmodel;
24
25 public class SequenceEvent extends AbstractDasEvent
26 {
27
28   String sequence;
29
30   String accessionCode;
31
32   String version;
33
34   public SequenceEvent(String accessionCode, String seq, String version)
35   {
36     super();
37     sequence = seq;
38     this.accessionCode = accessionCode;
39     this.version = version; // bugfix here ?
40   }
41
42   public String getAccessionCode()
43   {
44     return accessionCode;
45   }
46
47   public String getSequence()
48   {
49     return sequence;
50   }
51
52   public String getVersion()
53   {
54     return version;
55   }
56
57   public void setVersion(String version)
58   {
59     this.version = version;
60   }
61
62 }