org.camunda.bpm.engine.impl.persistence.entity
Class ReportResultEntity
java.lang.Object
org.camunda.bpm.engine.impl.persistence.entity.ReportResultEntity
- All Implemented Interfaces:
- ReportResult
- Direct Known Subclasses:
- DurationReportResultEntity
public abstract class ReportResultEntity
- extends Object
- implements ReportResult
- Author:
- Roman Smirnov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
period
protected int period
periodUnit
protected PeriodUnit periodUnit
ReportResultEntity
public ReportResultEntity()
getPeriod
public int getPeriod()
- Description copied from interface:
ReportResult
Returns 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().
For example:
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.
- Specified by:
getPeriod in interface ReportResult
- Returns:
- an integer representing span of time within a year
setPeriod
public void setPeriod(int period)
getPeriodUnit
public PeriodUnit getPeriodUnit()
- Description copied from interface:
ReportResult
Returns the unit of the period.
- Specified by:
getPeriodUnit in interface ReportResult
- Returns:
- a
PeriodUnit - See Also:
ReportResult.getPeriod()
setPeriodUnit
public void setPeriodUnit(String periodUnit)
Copyright © 2017 camunda services GmbH. All rights reserved.