Class sap.ui.model.analytics.odata4analytics.DimensionAttributeModule: sap/ui/model/analytics/odata4analytics
Representation of a dimension attribute.
Constructor Summary
new sap.ui.model.analytics.odata4analytics.DimensionAttribute(oQueryResult, oProperty)Create a representation of a dimension attribute provided by an analytic query.
Method Summary
Constructor Detail
new sap.ui.model.analytics.odata4analytics.DimensionAttribute(oQueryResult, oProperty)
Create a representation of a dimension attribute provided by an analytic query. Do not create your own instances.
Parameters:
{sap.ui.model.analytics.odata4analytics.QueryResult} | oQueryResult | The query result containing this dimension attribute |
{object} | oProperty | The DataJS object object representing the dimension attribute |
Method Detail
getDimension(): sap.ui.model.analytics.odata4analytics.Dimension
Get dimension
Returns:
{sap.ui.model.analytics.odata4analytics.Dimension} | The dimension object containing this attribute |
getKeyProperty(): object
Get the key property
Returns:
{object} | The DataJS object representing the property for the key of this dimension attribute |
getLabelText(): string
Get label
Returns:
{string} | The (possibly language-dependent) label text for this dimension attribute |