public class OverPeriodMeasureDefinition extends DerivedMeasureDefinition
measureIdentifier| Constructor and Description |
|---|
OverPeriodMeasureDefinition(String measureIdentifier,
List<OverPeriodDateAttribute> dateAttributes)
Create a new instance of
OverPeriodMeasureDefinition. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
List<OverPeriodDateAttribute> |
getDateAttributes()
The date attributes that defines how this measure will be shifted in time.
|
ObjQualifier |
getObjQualifier()
Deprecated.
Use
getObjQualifiers() instead. |
Collection<ObjQualifier> |
getObjQualifiers()
Returns all the qualifiers used by the measure definition and its encapsulated objects.
|
int |
hashCode() |
boolean |
isAdHoc()
Determine if measure is ad-hoc, i.e., if it does not exist in the catalog and was created on fly.
|
String |
toString() |
MeasureDefinition |
withObjUriQualifier(UriObjQualifier uriQualifier)
Deprecated.
Use
withObjUriQualifiers(ObjQualifierConverter) instead. |
MeasureDefinition |
withObjUriQualifiers(ObjQualifierConverter objQualifierConverter)
Copy itself using the given object qualifier converter in case when
IdentifierObjQualifier instances are used in the object otherwise the
original object is returned. |
getMeasureIdentifierclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetUripublic OverPeriodMeasureDefinition(String measureIdentifier, List<OverPeriodDateAttribute> dateAttributes)
OverPeriodMeasureDefinition.measureIdentifier - The local identifier of the measure this PoP measure refers to. The parameter must not be null.dateAttributes - The date attributes that defines how this measure will be shifted in time. The parameter must not be null.IllegalArgumentException - Thrown when dateAttributes list is empty or required parameter is null.@Deprecated public ObjQualifier getObjQualifier()
getObjQualifiers() instead.getObjQualifiers() instead.UnsupportedOperationExceptionUnsupportedOperationException - The exception is thrown every time the method is called.public Collection<ObjQualifier> getObjQualifiers()
MeasureDefinitionThis 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.
@Deprecated public MeasureDefinition withObjUriQualifier(UriObjQualifier uriQualifier)
withObjUriQualifiers(ObjQualifierConverter) instead.withObjUriQualifiers(ObjQualifierConverter) instead.uriQualifier - The URI object qualifier.UnsupportedOperationExceptionUnsupportedOperationException - The exception is thrown every time the method is called.public MeasureDefinition withObjUriQualifiers(ObjQualifierConverter objQualifierConverter)
MeasureDefinitionIdentifierObjQualifier instances 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 IdentifierObjQualifier type that are used by
this object or its encapsulated child objects.
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.IdentifierObjQualifier were used, otherwise original object is returned.public boolean isAdHoc()
OverPeriodMeasureDefinition is always ad-hoc)public boolean equals(Object o)
equals in class DerivedMeasureDefinitionpublic int hashCode()
hashCode in class DerivedMeasureDefinitionpublic List<OverPeriodDateAttribute> getDateAttributes()
Copyright © 2019. All rights reserved.