Merge branch 'master' into PROT-9-webservice
[proteocache.git] / datadb / compbio / cassandra / DataBase.java
index 57063ec..6ced180 100644 (file)
@@ -1,21 +1,22 @@
 package compbio.cassandra;
 
 import java.util.List;
-import java.util.ArrayList;
-import java.util.Collections;
+
+import compbio.beans.JobBean;
+import compbio.beans.ProteinBean;
 
 public class DataBase {
        private String date;
-       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 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 ip;
-       private String prot;                            // protein sequence
+       private String prot; // protein sequence
        private String jpred;
        private List<Integer> timeRez;
        private List<Integer> timeTotalExec;
@@ -79,7 +80,7 @@ public class DataBase {
        public int getTotalTimeOut() {
                return totalTimeOut;
        }
-       
+
        public void setTotalJobs(int totalJobs) {
                this.totalJobs = totalJobs;
        }
@@ -119,7 +120,7 @@ public class DataBase {
        public String getId() {
                return id;
        }
-       
+
        public void setIp(String ip) {
                this.ip = ip;
        }
@@ -135,7 +136,7 @@ public class DataBase {
        public List<Integer> getTimeRez() {
                return timeRez;
        }
-       
+
        public void setTimeTotalExec(List<Integer> timeTotalExec) {
                this.timeTotalExec = timeTotalExec;
        }
@@ -143,19 +144,19 @@ public class DataBase {
        public List<Integer> getTimeTotalExec() {
                return timeTotalExec;
        }
-       
-       public void setLogInfo(JobBean logInfo){
+
+       public void setLogInfo(JobBean logInfo) {
                this.logInfo = logInfo;
        }
-       
+
        public JobBean getLogInfo() {
                return logInfo;
        }
-       
-       public void setPredictions(ProteinBean predictions){
+
+       public void setPredictions(ProteinBean predictions) {
                this.predictions = predictions;
        }
-       
+
        public ProteinBean getPredictions() {
                return predictions;
        }