+package compbio.cassandra;
+
+import java.util.Map;
+
+public class AnnotatedProteinSequenceBean {
+ private String sequence;
+ private String jobid;
+ private Map<String,String> predictions;
+ private int size;
+
+ public AnnotatedProteinSequenceBean (String seq, String id, Map<String,String> pred) {
+ this.sequence = seq;
+ this.jobid = id;
+ this.predictions = pred;
+ this.size = pred.size();
+ }
+
+ public String getSequence () {
+ return sequence;
+ }
+
+ public String getJobid () {
+ return jobid;
+ }
+
+ public int getmapsize () {
+ return size;
+ }
+
+ public Map<String,String> getPredictions () {
+ return predictions;
+ }
+
+ public void setPredictions (Map<String,String> predictions) {
+ this.predictions = predictions;
+ this.size = predictions.size();
+ }
+
+}