updated jalview version of dasobert 1.53e client and added Das Sequence Source discov...
[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   String accessionCode;
30   String version;
31   
32   public SequenceEvent(String accessionCode, String seq, String version)
33   {
34     super();
35     sequence = seq;
36     this.accessionCode = accessionCode;
37     this.version = version; // bugfix here ?
38   }
39
40   public String getAccessionCode()
41   {
42     return accessionCode;
43   }
44
45   public String getSequence()
46   {
47     return sequence;
48   }
49
50
51         public String getVersion() {
52                 return version;
53         }
54
55         public void setVersion(String version) {
56                 this.version = version;
57         }
58
59 }