Class 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 Detail

      • 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 Detail

      • 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.