Improve presentation of job on the web (servlet ServletSequenceProtein)
[proteocache.git] / datadb / compbio / cassandra / DataBase.java
index d0586e7..c6777fc 100644 (file)
@@ -6,13 +6,13 @@ import java.util.Collections;
 
 public class DataBase {
        private String date;
-       private int total;                              // total jobs
-       private int totalOK;                        // total jobs with execution status OK
-       private int totalStopped;                        // total jobs with execution status STOPPED
-       private int totalError;                         // total jobs with execution status Jpred ERROR
-       private int totalTimeOut;                       // total jobs with execution status TIMEOUT
+       private int total;                              // total number of jobs
+       private int totalOK;                        // number of jobs with execution status OK
+       private int totalStopped;                        // number of jobs with execution status STOPPED
+       private int totalError;                         // number of jobs with execution status Jpred ERROR
+       private int totalTimeOut;                       // number of jobs with execution status TIMEOUT
        private int totalJobs;
-       private int totalId;                // total jobs for current protein sequence
+       private int totalId;                            // total jobs for current protein sequence
        private String id;
        private String prot;                            // protein sequence
        private String jpred;
@@ -20,7 +20,7 @@ public class DataBase {
        private List<Integer> timeRez;
        private List<Integer> timeTotalExec;
        private StructureJobLog logInfo;
-
+       private AnnotatedProteinSequenceBean predictions;
        public DataBase() {
        }
 
@@ -148,5 +148,13 @@ public class DataBase {
        public StructureJobLog getLogInfo() {
                return logInfo;
        }
+       
+       public void setPredictions(AnnotatedProteinSequenceBean predictions){
+               this.predictions = predictions;
+       }
+       
+       public AnnotatedProteinSequenceBean getPredictions() {
+               return predictions;
+       }
 
 }