public class Report extends Object
ReportLine objects. The detailLines are the rows of the table
that contains the total number of all tasks and could be optionally subdivided into different sections. The sumLine
contains the sums of all tasks and if the detailLines are subdivided into different sections the sumLine also
contains the number of tasks of the respective section.| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ReportLine> |
reportLines |
protected ReportLine |
sumLine |
| Constructor and Description |
|---|
Report() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMonitoringQueryItems(List<MonitorQueryItem> monitorQueryItems,
List<ReportLineItemDefinition> reportLineItemDefinitions,
boolean inWorkingDays)
Adds the information of the
MonitorQueryItems to the Report. |
protected ReportLine |
createSumLine(List<ReportLineItemDefinition> reportLineItemDefinitions)
Creates the sum line of this
Report. |
Map<String,ReportLine> |
getReportLines() |
ReportLine |
getSumLine() |
void |
setReportLines(Map<String,ReportLine> reportLines) |
void |
setSumLine(ReportLine sumLine) |
protected Map<String,ReportLine> reportLines
protected ReportLine sumLine
public Map<String,ReportLine> getReportLines()
public void setReportLines(Map<String,ReportLine> reportLines)
public ReportLine getSumLine()
public void setSumLine(ReportLine sumLine)
public void addMonitoringQueryItems(List<MonitorQueryItem> monitorQueryItems, List<ReportLineItemDefinition> reportLineItemDefinitions, boolean inWorkingDays)
MonitorQueryItems to the Report.monitorQueryItems - a list of MonitorQueryItem with the information of the databasereportLineItemDefinitions - a list of ReportLineItemDefinitions that is needed to create the ReportLines.inWorkingDays - a boolean parameter that specifies whether the age of the tasks should be counted in days or in
working days.protected ReportLine createSumLine(List<ReportLineItemDefinition> reportLineItemDefinitions)
Report.reportLineItemDefinitions - a list of ReportLineItemDefinitions that specify the subdivision into different cluster of
ages.ReportLine that contains the sums of the different cluster of this Report.Copyright © 2018. All rights reserved.