--- /dev/null
+package compbio.beans;
+
+/**
+ * bean is stored Total for a TotalJobsStatisticBean.
+ *
+ * @param total
+ * total number of jobs for a day
+ * @param totalOK
+ * number of jobs with execution status OK for a date
+ * @param totalStopped
+ * number of jobs with execution status STOPPED for a date
+ * @param totalError
+ * number of jobs with execution status Jpred ERROR for a date
+ * @param totalTimeOut
+ * number of jobs with execution status TIMEDOUT for a date
+ */
+public class Total {
+ private long total;
+ private long totalOK;
+ private long totalStopped;
+ private long totalError;
+ private long totalTimeOut;
+
+ public Total(long total, long totalOK, long totalStopped, long totalError, long totalTimeOut) {
+ this.total = total;
+ this.totalOK = totalOK;
+ this.totalStopped = totalStopped;
+ this.totalError = totalError;
+ this.totalTimeOut = totalTimeOut;
+ }
+
+ public void setTotal(long tot) {
+ this.total = tot;
+ }
+
+ public long getTotal() {
+ return total;
+ }
+
+ public void setTotalOK(long tot) {
+ this.totalOK = tot;
+ }
+
+ public long getTotalOK() {
+ return totalOK;
+ }
+
+ public void setTotalStopped(long tot) {
+ this.totalStopped = tot;
+ }
+
+ public long getTotalStopped() {
+ return totalStopped;
+ }
+
+ public void setTotalError(long tot) {
+ this.totalError = tot;
+ }
+
+ public long getTotalError() {
+ return totalError;
+ }
+
+ public void setTotalTimeOut(long tot) {
+ this.totalTimeOut = tot;
+ }
+
+ public long getTotalTimeOut() {
+ return totalTimeOut;
+ }
+}