add class with structure
authorNatasha Sherstneva <n.shertneva@gmail.com>
Thu, 7 Nov 2013 14:09:34 +0000 (14:09 +0000)
committerSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Fri, 8 Nov 2013 12:58:58 +0000 (12:58 +0000)
datadb/compbio/cassandra/StructureProteinPrediction.java [new file with mode: 0644]

diff --git a/datadb/compbio/cassandra/StructureProteinPrediction.java b/datadb/compbio/cassandra/StructureProteinPrediction.java
new file mode 100644 (file)
index 0000000..936a67a
--- /dev/null
@@ -0,0 +1,28 @@
+package compbio.cassandra;
+
+import java.util.Map;
+
+public class StructureProteinPrediction {
+       private String sequence;
+       private String jobid;
+       private Map<String,String> prediction;
+       
+       public StructureProteinPrediction (String seq, String id, Map<String,String> pred) {
+               this.sequence = seq;
+               this.jobid = id;
+               this.prediction = pred;
+       }
+       
+       public String getSequence () {
+               return sequence;
+       }
+       
+       public String getJobid () {
+               return jobid;
+       }
+       
+       public Map<String,String> getPrediction () {
+               return prediction;
+       }
+
+}