3 import java.util.LinkedHashMap;
7 * bean for a report of execution time statistics.
10 * Map<String, TotalExecutionTime> where String - a date, Total - total info for
11 * jobs with period of execution time
13 * total sum for each parameter from dateTotal
15 public class ExecutionTimeBean {
16 private Map<String, TotalExecutionTime> dateTotal;
17 private TotalExecutionTime wholeTotal;
19 public ExecutionTimeBean() {
20 this.dateTotal = new LinkedHashMap<String, TotalExecutionTime>();
23 public void setDateTotal(String dat, TotalExecutionTime tot) {
24 if (this.dateTotal == null)
25 dateTotal = new LinkedHashMap<String, TotalExecutionTime>();
26 dateTotal.put(dat, tot);
29 public Map<String, TotalExecutionTime> getDateTotal() {
33 public void setWholeTotal(TotalExecutionTime tot) {
34 this.wholeTotal = tot;
37 public TotalExecutionTime getWholeTotal() {