91eabf061387621b1739c4c3673b11664ec0e32d
[proteocache.git] / datadb / compbio / cassandra / DataBase.java
1 package compbio.cassandra;
2
3 import java.util.List;
4 import java.util.ArrayList;
5 import java.util.Collections;
6
7 public class DataBase {
8         private String date;
9         private int total;
10         private int totalJobs;
11         private int totalId;
12         private String id;
13         private String prot;
14         private String jpred;
15         private List<String> subProt;
16         private List<Integer> timeRez;
17         private List<Integer> timeTotalExec;
18         private StructureJobLog logInfo;
19
20         public DataBase() {
21         }
22
23         public DataBase(String dat, int total) {
24                 this.date = dat;
25                 this.total = total;
26         }
27
28         public void setDate(String dat) {
29                 this.date = dat;
30         }
31
32         public String getDate() {
33                 return date;
34         }
35
36         public void setTotal(int tot) {
37                 this.total = tot;
38         }
39
40         public int getTotal() {
41                 return total;
42         }
43
44         
45         public void setTotalJobs(int totalJobs) {
46                 this.totalJobs = totalJobs;
47         }
48
49         public int getTotalJobs() {
50                 return totalJobs;
51         }
52
53         public void setTotalId(int totId) {
54                 this.totalId = totId;
55         }
56
57         public int getTotalId() {
58                 return totalId;
59         }
60
61         public void setProt(String prot) {
62                 this.prot = prot;
63         }
64
65         public String getProt() {
66                 return prot;
67         }
68
69         public void setJpred(String jpred) {
70                 this.jpred = jpred;
71         }
72
73         public String getJpred() {
74                 return jpred;
75         }
76
77         public void setId(String id) {
78                 this.id = id;
79         }
80
81         public String getId() {
82                 return id;
83         }
84
85         public void setSubProt(List<String> subProt) {
86                 this.subProt = subProt;
87         }
88
89         public List<String> getSubProt() {
90                 return subProt;
91         }
92
93         public void setTimeRez(List<Integer> timeRez) {
94                 this.timeRez = timeRez;
95         }
96
97         public List<Integer> getTimeRez() {
98                 return timeRez;
99         }
100         
101         public void setTimeTotalExec(List<Integer> timeTotalExec) {
102                 this.timeTotalExec = timeTotalExec;
103         }
104
105         public List<Integer> getTimeTotalExec() {
106                 return timeTotalExec;
107         }
108         
109         public void setLogInfo(StructureJobLog logInfo){
110                 this.logInfo = logInfo;
111         }
112         
113         public StructureJobLog getLogInfo() {
114                 return logInfo;
115         }
116
117 }