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.UseOverPeriodMeasureDefinitionwithOverPeriodDateAttribute.getPeriodsAgo()set to1instead. 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
All Methods Instance Methods Concrete Methods Deprecated Methods 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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.gooddata.sdk.model.executeafm.afm.MeasureDefinition
getUri
-
-
-
-
Constructor Detail
-
PopMeasureDefinition
public 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)- Parameters:
measureIdentifier- measure identifierpopAttribute- "period over period" date attribute
-
-
Method Detail
-
withObjUriQualifiers
public MeasureDefinition withObjUriQualifiers(ObjQualifierConverter objQualifierConverter)
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
public ObjQualifier getPopAttribute()
Deprecated.
-
getObjQualifiers
public java.util.Collection<ObjQualifier> 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
-
-