Class OverPeriodDateAttribute
java.lang.Object
com.gooddata.sdk.model.executeafm.afm.OverPeriodDateAttribute
- All Implemented Interfaces:
Serializable
Definition of the
OverPeriodMeasureDefinition attribute.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOverPeriodDateAttribute(ObjQualifier attribute, Integer periodsAgo) Create a new instance ofOverPeriodDateAttribute. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTheObjQualifierof the attribute from the date data set that defines the PoP period.The number of periods defined by theattributeabout which this period will be shifted about.inthashCode()toString()
-
Constructor Details
-
OverPeriodDateAttribute
Create a new instance ofOverPeriodDateAttribute.- Parameters:
attribute- TheObjQualifierof the attribute from the date data set that defines the PoP period and date data set. The parameter must not be null.periodsAgo- The number of periods defined by theattributeabout 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
-
getAttribute
TheObjQualifierof the attribute from the date data set that defines the PoP period.- Returns:
- The date data set attribute that defines the PoP attribute.
-
getPeriodsAgo
The number of periods defined by theattributeabout 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.
-