public abstract class ReportResultEntity extends Object implements ReportResult
| Modifier and Type | Field and Description | 
|---|---|
| protected int | period | 
| protected PeriodUnit | periodUnit | 
| Constructor and Description | 
|---|
| ReportResultEntity() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getPeriod()Returns a period which specifies a time span within a year. | 
| PeriodUnit | getPeriodUnit()Returns the unit of the period. | 
| void | setPeriod(int period) | 
| void | setPeriodUnit(String periodUnit) | 
protected int period
protected PeriodUnit periodUnit
public int getPeriod()
ReportResultReturns a period which specifies a time span within a year.
The returned period must be interpreted in conjunction
 with the returned PeriodUnit of ReportResult.getPeriodUnit().
ReportResult.getPeriodUnit() returns PeriodUnit.MONTH
   ReportResult.getPeriod() returns 3
 The returned period 3 must be interpreted as
 the third month of the year (i.e. it represents
 the month March).
If the ReportResult.getPeriodUnit() returns PeriodUnit.QUARTER,
 then the returned period 3 must be interpreted as the third
 quarter of the year.
getPeriod in interface ReportResultpublic void setPeriod(int period)
public PeriodUnit getPeriodUnit()
ReportResultReturns the unit of the period.
getPeriodUnit in interface ReportResultPeriodUnitReportResult.getPeriod()public void setPeriodUnit(String periodUnit)
Copyright © 2018. All rights reserved.