Class OverPeriodDateAttribute

java.lang.Object
com.gooddata.sdk.model.executeafm.afm.OverPeriodDateAttribute
All Implemented Interfaces:
java.io.Serializable

public class OverPeriodDateAttribute
extends java.lang.Object
implements java.io.Serializable
Definition of the OverPeriodMeasureDefinition attribute.
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    OverPeriodDateAttribute​(ObjQualifier attribute, java.lang.Integer periodsAgo)
    Create a new instance of OverPeriodDateAttribute.
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object o)  
    ObjQualifier getAttribute()
    The ObjQualifier of the attribute from the date data set that defines the PoP period.
    java.lang.Integer getPeriodsAgo()
    The number of periods defined by the attribute about 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

    • OverPeriodDateAttribute

      public OverPeriodDateAttribute​(ObjQualifier attribute, java.lang.Integer periodsAgo)
      Create a new instance of OverPeriodDateAttribute.
      Parameters:
      attribute - The ObjQualifier of 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 the attribute about 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
    • getAttribute

      public ObjQualifier getAttribute()
      The ObjQualifier of the attribute from the date data set that defines the PoP period.
      Returns:
      The date data set attribute that defines the PoP attribute.
    • getPeriodsAgo

      public java.lang.Integer getPeriodsAgo()
      The number of periods defined by the attribute about 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.