Class PreviousPeriodDateDataSet
java.lang.Object
com.gooddata.sdk.model.executeafm.afm.PreviousPeriodDateDataSet
- All Implemented Interfaces:
java.io.Serializable
public class PreviousPeriodDateDataSet
extends java.lang.Object
implements java.io.Serializable
Definition of the
PreviousPeriodMeasureDefinition data set.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PreviousPeriodDateDataSet(ObjQualifier dataSet, java.lang.Integer periodsAgo)Create a new instance ofPreviousPeriodDateDataSet. -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)ObjQualifiergetDataSet()TheObjQualifierof the data set that match one of theDateFilterin the execution.java.lang.IntegergetPeriodsAgo()The number of periods defined by the matching date filter which this period will be shifted about.inthashCode()java.lang.StringtoString()
-
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:
java.lang.IllegalArgumentException- Thrown when one of the required parameter is null.
-
-
Method Details
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
getDataSet
TheObjQualifierof the data set that match one of theDateFilterin the execution.- Returns:
- The data set for matching of the AFM filter.
-
getPeriodsAgo
public java.lang.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.
-