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 of PreviousPeriodDateDataSet.
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    ObjQualifier getDataSet()
    The ObjQualifier of the data set that match one of the DateFilter in the execution.
    java.lang.Integer getPeriodsAgo()
    The number of periods defined by the matching date filter which this period will be shifted about.
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • PreviousPeriodDateDataSet

      public PreviousPeriodDateDataSet​(ObjQualifier dataSet, java.lang.Integer periodsAgo)
      Create a new instance of PreviousPeriodDateDataSet.
      Parameters:
      dataSet - The ObjQualifier of the data set that match one of the DateFilter in 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:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • getDataSet

      public ObjQualifier getDataSet()
      The ObjQualifier of the data set that match one of the DateFilter in 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.