c6777fc13edf7facd475cda0c8f9991eae7a62eb
[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;                              // total number of jobs
10         private int totalOK;                        // number of jobs with execution status OK
11         private int totalStopped;                        // number of jobs with execution status STOPPED
12         private int totalError;                         // number of jobs with execution status Jpred ERROR
13         private int totalTimeOut;                       // number of jobs with execution status TIMEOUT
14         private int totalJobs;
15         private int totalId;                            // total jobs for current protein sequence
16         private String id;
17         private String prot;                            // protein sequence
18         private String jpred;
19         private List<String> subProt;           // protein sequence divided by several parts for highlighting the particular part
20         private List<Integer> timeRez;
21         private List<Integer> timeTotalExec;
22         private StructureJobLog logInfo;
23         private AnnotatedProteinSequenceBean predictions;
24         public DataBase() {
25         }
26
27         public DataBase(String dat, int total) {
28                 this.date = dat;
29                 this.total = total;
30         }
31
32         public void setDate(String dat) {
33                 this.date = dat;
34         }
35
36         public String getDate() {
37                 return date;
38         }
39
40         public void setTotal(int tot) {
41                 this.total = tot;
42         }
43
44         public int getTotal() {
45                 return total;
46         }
47
48         public void setTotalOK(int tot) {
49                 this.totalOK = tot;
50         }
51
52         public int getTotalOK() {
53                 return totalOK;
54         }
55
56         public void setTotalStopped(int tot) {
57                 this.totalStopped = tot;
58         }
59
60         public int getTotalStopped() {
61                 return totalStopped;
62         }
63
64         public void setTotalError(int tot) {
65                 this.totalError = tot;
66         }
67
68         public int getTotalError() {
69                 return totalError;
70         }
71
72         public void setTotalTimeOut(int tot) {
73                 this.totalTimeOut = tot;
74         }
75
76         public int getTotalTimeOut() {
77                 return totalTimeOut;
78         }
79         
80         public void setTotalJobs(int totalJobs) {
81                 this.totalJobs = totalJobs;
82         }
83
84         public int getTotalJobs() {
85                 return totalJobs;
86         }
87
88         public void setTotalId(int totId) {
89                 this.totalId = totId;
90         }
91
92         public int getTotalId() {
93                 return totalId;
94         }
95
96         public void setProt(String prot) {
97                 this.prot = prot;
98         }
99
100         public String getProt() {
101                 return prot;
102         }
103
104         public void setJpred(String jpred) {
105                 this.jpred = jpred;
106         }
107
108         public String getJpred() {
109                 return jpred;
110         }
111
112         public void setId(String id) {
113                 this.id = id;
114         }
115
116         public String getId() {
117                 return id;
118         }
119
120         public void setSubProt(List<String> subProt) {
121                 this.subProt = subProt;
122         }
123
124         public List<String> getSubProt() {
125                 return subProt;
126         }
127
128         public void setTimeRez(List<Integer> timeRez) {
129                 this.timeRez = timeRez;
130         }
131
132         public List<Integer> getTimeRez() {
133                 return timeRez;
134         }
135         
136         public void setTimeTotalExec(List<Integer> timeTotalExec) {
137                 this.timeTotalExec = timeTotalExec;
138         }
139
140         public List<Integer> getTimeTotalExec() {
141                 return timeTotalExec;
142         }
143         
144         public void setLogInfo(StructureJobLog logInfo){
145                 this.logInfo = logInfo;
146         }
147         
148         public StructureJobLog getLogInfo() {
149                 return logInfo;
150         }
151         
152         public void setPredictions(AnnotatedProteinSequenceBean predictions){
153                 this.predictions = predictions;
154         }
155         
156         public AnnotatedProteinSequenceBean getPredictions() {
157                 return predictions;
158         }
159
160 }