1 package compbio.cassandra;
4 import java.util.ArrayList;
5 import java.util.Collections;
7 public class DataBase {
10 private int totalJobs;
15 private List<String> subProt;
16 private List<Integer> timeRez;
17 private List<Integer> timeTotalExec;
18 private StructureJobLog logInfo;
23 public DataBase(String dat, int total) {
28 public void setDate(String dat) {
32 public String getDate() {
36 public void setTotal(int tot) {
40 public int getTotal() {
45 public void setTotalJobs(int totalJobs) {
46 this.totalJobs = totalJobs;
49 public int getTotalJobs() {
53 public void setTotalId(int totId) {
57 public int getTotalId() {
61 public void setProt(String prot) {
65 public String getProt() {
69 public void setJpred(String jpred) {
73 public String getJpred() {
77 public void setId(String id) {
81 public String getId() {
85 public void setSubProt(List<String> subProt) {
86 this.subProt = subProt;
89 public List<String> getSubProt() {
93 public void setTimeRez(List<Integer> timeRez) {
94 this.timeRez = timeRez;
97 public List<Integer> getTimeRez() {
101 public void setTimeTotalExec(List<Integer> timeTotalExec) {
102 this.timeTotalExec = timeTotalExec;
105 public List<Integer> getTimeTotalExec() {
106 return timeTotalExec;
109 public void setLogInfo(StructureJobLog logInfo){
110 this.logInfo = logInfo;
113 public StructureJobLog getLogInfo() {