Representation of a property annotated with sap:aggregation-role="dimension".
Create a representation of a dimension provided by an analytic query. Do not create your own instances.
new sap.ui.model.analytics.odata4analytics.Dimension(oQueryResult, oProperty)
Param | Type | Default Value | Description |
---|---|---|---|
oQueryResult | sap.ui.model.analytics.odata4analytics.QueryResult | The query result containing this dimension |
|
oProperty | object | The datajs object object representing the dimension |
Method | Description |
---|---|
findAttributeByName |
Find attribute by name |
getAllAttributeNames |
Get the names of all attributes included in this dimension |
getAllAttributes |
Get all attributes of this dimension |
getContainingQueryResult |
Get query result containing this dimension |
getHierarchy |
Get associated hierarchy |
getKeyProperty |
Get the key property |
getLabelText |
Get label |
getMasterDataEntitySet |
Get master data entity set for this dimension |
getName |
Get the name of the dimension |
getSuperOrdinateDimension |
Get super-ordinate dimension |
getTextProperty |
Get text property related to this dimension |
hasMasterData |
Get indicator whether or not master data is available for this dimension |