PROT-4 updated CF JobDateInfo (add new columns), JpredArchive (add column ExecutionSt...
[proteocache.git] / datadb / compbio / cassandra / DataBase.java
index 91eabf0..d0586e7 100644 (file)
@@ -6,13 +6,17 @@ import java.util.Collections;
 
 public class DataBase {
        private String date;
-       private int total;
+       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 totalJobs;
-       private int totalId;
+       private int totalId;                // total jobs for current protein sequence
        private String id;
-       private String prot;
+       private String prot;                            // protein sequence
        private String jpred;
-       private List<String> subProt;
+       private List<String> subProt;           // protein sequence divided by several parts for highlighting the particular part
        private List<Integer> timeRez;
        private List<Integer> timeTotalExec;
        private StructureJobLog logInfo;
@@ -41,6 +45,37 @@ public class DataBase {
                return total;
        }
 
+       public void setTotalOK(int tot) {
+               this.totalOK = tot;
+       }
+
+       public int getTotalOK() {
+               return totalOK;
+       }
+
+       public void setTotalStopped(int tot) {
+               this.totalStopped = tot;
+       }
+
+       public int getTotalStopped() {
+               return totalStopped;
+       }
+
+       public void setTotalError(int tot) {
+               this.totalError = tot;
+       }
+
+       public int getTotalError() {
+               return totalError;
+       }
+
+       public void setTotalTimeOut(int tot) {
+               this.totalTimeOut = tot;
+       }
+
+       public int getTotalTimeOut() {
+               return totalTimeOut;
+       }
        
        public void setTotalJobs(int totalJobs) {
                this.totalJobs = totalJobs;