fix data report, protein report
[proteocache.git] / datadb / compbio / cassandra / DataBase.java
index c661e77..cccf64b 100644 (file)
@@ -1,16 +1,20 @@
 package compbio.cassandra;
 
 import java.util.List;
+import java.util.ArrayList;
+import java.util.Collections;
 
 public class DataBase {
-       String date;
-       int total;
-       int totalId;
-       String id;
-       String prot;
-       String jpred;
-       List<String> subProt;
-       List<Integer> timeRez;
+       private String date;
+       private int total;
+       private int totalJobs;
+       private int totalId;
+       private String id;
+       private String prot;
+       private String jpred;
+       private List<String> subProt;
+       private List<Integer> timeRez;
+       private List<Integer> timeTotalExec;
 
        public DataBase() {
        }
@@ -36,6 +40,15 @@ public class DataBase {
                return total;
        }
 
+       
+       public void setTotalJobs(int totalJobs) {
+               this.totalJobs = totalJobs;
+       }
+
+       public int getTotalJobs() {
+               return totalJobs;
+       }
+
        public void setTotalId(int totId) {
                this.totalId = totId;
        }
@@ -83,5 +96,13 @@ public class DataBase {
        public List<Integer> getTimeRez() {
                return timeRez;
        }
+       
+       public void setTimeTotalExec(List<Integer> timeTotalExec) {
+               this.timeTotalExec = timeTotalExec;
+       }
+
+       public List<Integer> getTimeTotalExec() {
+               return timeTotalExec;
+       }
 
 }