This commit was manufactured by cvs2svn to create branch 'VamJalview'.
[jalview.git] / src / org / biojava / dasobert / eventmodel / SequenceEvent.java
diff --git a/src/org/biojava/dasobert/eventmodel/SequenceEvent.java b/src/org/biojava/dasobert/eventmodel/SequenceEvent.java
new file mode 100755 (executable)
index 0000000..c3123ff
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ *                  BioJava development code
+ *
+ * This code may be freely distributed and modified under the
+ * terms of the GNU Lesser General Public Licence.  This should
+ * be distributed with the code.  If you do not have a copy,
+ * see:
+ *
+ *      http://www.gnu.org/copyleft/lesser.html
+ *
+ * Copyright for this code is held jointly by the individual
+ * authors.  These should be listed in @author doc comments.
+ *
+ * For more information on the BioJava project and its aims,
+ * or to join the biojava-l mailing list, visit the home page
+ * at:
+ *
+ *      http://www.biojava.org/
+ * 
+ * Created on Nov 20, 2005
+ *
+ */
+package org.biojava.dasobert.eventmodel;
+
+
+public class SequenceEvent {
+
+    String sequence;
+    String accessionCode;
+    public SequenceEvent(String accessionCode, String seq) {
+        super();
+        sequence = seq;
+        this.accessionCode = accessionCode;
+    }
+    
+    public String getAccessionCode(){
+        return accessionCode;
+    }
+    
+    public String getSequence(){
+        return sequence;
+    }
+
+}