Class sap.ui.model.analytics.odata4analytics.MeasureModule: sap/ui/model/analytics/odata4analytics
Representation of a property annotated with sap:aggregation-role="measure".
Constructor Summary
new sap.ui.model.analytics.odata4analytics.Measure(oQueryResult, oProperty)Create a representation of a measure provided by an analytic query.
Method Summary
getFormattedValueProperty()Get the text property associated to the raw value property holding the formatted value related to this measure
Constructor Detail
new sap.ui.model.analytics.odata4analytics.Measure(oQueryResult, oProperty)
Create a representation of a measure provided by an analytic query. Do not create your own instances.
Parameters:
{sap.ui.model.analytics.odata4analytics.QueryResult} | oQueryResult | The query result containing this measure |
{object} | oProperty | The DataJS object object representing the measure |
Method Detail
getFormattedValueProperty(): object
Get the text property associated to the raw value property holding the formatted value related to this measure
Returns:
{object} | The DataJS object representing the property holding the formatted value text of this measure or null if this measure does not have a unit |
getLabelText(): string
Get label
Returns:
{string} | The (possibly language-dependent) label text for this measure |
getName(): string
Get the name of the measure
Returns:
{string} | The name of the measure, which is identical to the name of the measure raw value property in the entity type |
getRawValueProperty(): object
Get the raw value property
Returns:
{object} | The DataJS object representing the property holding the raw value of this measure |