Class PreviousPeriodDateDataSet
java.lang.Object
com.gooddata.sdk.model.executeafm.afm.PreviousPeriodDateDataSet
- All Implemented Interfaces:
Serializable
Definition of the
PreviousPeriodMeasureDefinition data set.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPreviousPeriodDateDataSet(ObjQualifier dataSet, Integer periodsAgo) Create a new instance ofPreviousPeriodDateDataSet. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTheObjQualifierof the data set that match one of theDateFilterin the execution.The number of periods defined by the matching date filter which this period will be shifted about.inthashCode()toString()
-
Constructor Details
-
PreviousPeriodDateDataSet
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 Details
-
equals
-
hashCode
public int hashCode() -
toString
-
getDataSet
TheObjQualifierof the data set that match one of theDateFilterin the execution.- Returns:
- The data set for matching of the AFM filter.
-
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.
-