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
getDimension()Get dimension
getKeyProperty()Get the key property
getLabelText()Get label
getName()Get the name of the dimension attribute
getTextProperty()Get text property related to this dimension attribute
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
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
getName(): string
Get the name of the dimension attribute
Returns:
{string} The name of the dimension attribute, which is identical to the name of the property in the entity type holding the attribute value
getTextProperty(): object
Get text property related to this dimension attribute
Returns:
{object} The DataJS object representing the text property or null if it does not exist