Class PopMeasureDefinition
java.lang.Object
com.gooddata.sdk.model.executeafm.afm.DerivedMeasureDefinition
com.gooddata.sdk.model.executeafm.afm.PopMeasureDefinition
- All Implemented Interfaces:
MeasureDefinition,java.io.Serializable
- Direct Known Subclasses:
VOPopMeasureDefinition
@Deprecated public class PopMeasureDefinition extends DerivedMeasureDefinition
Deprecated.
Use
OverPeriodMeasureDefinition with OverPeriodDateAttribute.getPeriodsAgo() set to 1 instead.
Let's remove it once it's removed from API.Definition of so called "period over period" measure.
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class com.gooddata.sdk.model.executeafm.afm.DerivedMeasureDefinition
measureIdentifier -
Constructor Summary
Constructors Constructor Description PopMeasureDefinition(java.lang.String measureIdentifier, ObjQualifier popAttribute)Deprecated.Creates new definition from given measure identifier referencing another measure inAfmand given attribute qualifier (should qualify date attribute) -
Method Summary
Modifier and Type Method Description booleanequals(java.lang.Object o)Deprecated.java.util.Collection<ObjQualifier>getObjQualifiers()Deprecated.Returns all the qualifiers used by the measure definition and its encapsulated objects.ObjQualifiergetPopAttribute()Deprecated.inthashCode()Deprecated.booleanisAdHoc()Deprecated.Determine if measure is ad-hocjava.lang.StringtoString()Deprecated.MeasureDefinitionwithObjUriQualifiers(ObjQualifierConverter objQualifierConverter)Deprecated.Copy itself using the given object qualifier converter in case whenIdentifierObjQualifierinstances are used in the object otherwise the original object is returned.Methods inherited from class com.gooddata.sdk.model.executeafm.afm.DerivedMeasureDefinition
getMeasureIdentifier
-
Constructor Details
-
PopMeasureDefinition
Deprecated.Creates new definition from given measure identifier referencing another measure inAfmand given attribute qualifier (should qualify date attribute)- Parameters:
measureIdentifier- measure identifierpopAttribute- "period over period" date attribute
-
-
Method Details
-
withObjUriQualifiers
Deprecated.Description copied from interface:MeasureDefinitionCopy itself using the given object qualifier converter in case whenIdentifierObjQualifierinstances are used in the object otherwise the original object is returned.The provided converter must be able to handle the conversion for the qualifiers that are of the
IdentifierObjQualifiertype that are used by this object or its encapsulated child objects.- Parameters:
objQualifierConverter- The function that converts identifier qualifiers to the matching URI qualifiers. In case when the object uses the identifier qualifiers, it will return a new copy of itself or its encapsulated objects that used URI qualifiers, otherwise the original object is returned. The parameter must not be null.- Returns:
- copy of itself with replaced qualifiers in case when some
IdentifierObjQualifierwere used, otherwise original object is returned.
-
isAdHoc
public boolean isAdHoc()Deprecated.Determine if measure is ad-hoc- Returns:
- always true (PopMeasure is always ad-hoc)
-
getPopAttribute
Deprecated. -
getObjQualifiers
Deprecated.Description copied from interface:MeasureDefinitionReturns all the qualifiers used by the measure definition and its encapsulated objects.This information comes handy if it is necessary, for example, to convert the measure definition to use just the URI object qualifiers instead of the identifier object qualifiers. It can be used to gather these for a conversion service.
- Returns:
- all the qualifiers the measure definition uses, even in its encapsulated objects (apart from the measure filters)
-
equals
public boolean equals(java.lang.Object o)Deprecated.- Overrides:
equalsin classDerivedMeasureDefinition
-
hashCode
public int hashCode()Deprecated.- Overrides:
hashCodein classDerivedMeasureDefinition
-
toString
public java.lang.String toString()Deprecated.- Overrides:
toStringin classjava.lang.Object
-