package compbio.beans; import java.util.LinkedHashMap; import java.util.Map; /** * bean for a report of execution time statistics. * * @param dateTotal * Map where String - a date, Total - total info for * jobs with period of execution time * @param wholeTotal * total sum for each parameter from dateTotal */ public class ExecutionTimeBean { private Map dateTotal; private TotalExecutionTime wholeTotal; public ExecutionTimeBean() { this.dateTotal = new LinkedHashMap(); } public void setDateTotal(String dat, TotalExecutionTime tot) { if (this.dateTotal == null) dateTotal = new LinkedHashMap(); dateTotal.put(dat, tot); } public Map getDateTotal() { return dateTotal; } public void setWholeTotal(TotalExecutionTime tot) { this.wholeTotal = tot; } public TotalExecutionTime getWholeTotal() { return wholeTotal; } }