Package com.gooddata.executeafm.afm
Class PreviousPeriodDateDataSet
- java.lang.Object
-
- com.gooddata.executeafm.afm.PreviousPeriodDateDataSet
-
- All Implemented Interfaces:
Serializable
public class PreviousPeriodDateDataSet extends Object implements Serializable
Definition of thePreviousPeriodMeasureDefinitiondata set.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PreviousPeriodDateDataSet(ObjQualifier dataSet, Integer periodsAgo)Create a new instance ofPreviousPeriodDateDataSet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ObjQualifiergetDataSet()TheObjQualifierof the data set that match one of theDateFilterin the execution.IntegergetPeriodsAgo()The number of periods defined by the matching date filter which this period will be shifted about.inthashCode()StringtoString()
-
-
-
Constructor Detail
-
PreviousPeriodDateDataSet
public PreviousPeriodDateDataSet(ObjQualifier dataSet, Integer periodsAgo)
Create a new instance ofPreviousPeriodDateDataSet.- Parameters:
dataSet- TheObjQualifierof the data set that match one of theDateFilterin the execution. The parameter must not be null.periodsAgo- The number of periods defined by the matching date filter which this period will be shifted about. The positive number shifts the period to the past, the negative to the future. The parameter must not be null.- Throws:
IllegalArgumentException- Thrown when one of the required parameter is null.
-
-
Method Detail
-
getDataSet
public ObjQualifier getDataSet()
TheObjQualifierof the data set that match one of theDateFilterin the execution.- Returns:
- The data set for matching of the AFM filter.
-
getPeriodsAgo
public Integer getPeriodsAgo()
The number of periods defined by the matching date filter which this period will be shifted about. The positive number shifts the period to the past, the negative to the future.- Returns:
- The number of periods the data will be shifted about.
-
-