Representation of a recursive hierarchy.
Create a representation of a recursive hierarchy defined on one multiple properties in an OData entity type query. Do not create your own instances.
new sap.ui.model.analytics.odata4analytics.RecursiveHierarchy(oEntityType, oNodeIDProperty, oParentNodeIDProperty, oNodeLevelProperty, oNodeValueProperty, oNodeExternalKeyProperty)
Param | Type | Default Value | Description |
---|---|---|---|
oEntityType | sap.ui.model.analytics.odata4analytics.EntityType | object for the entity type |
|
oNodeIDProperty | object | datajs object for the property holding the hierarchy node ID identifying the hierarchy node to which the OData entry belongs |
|
oParentNodeIDProperty | object | datajs object for the property holding the node ID of the parent of the hierarchy node pointed to by the value of oNodeIDProperty |
|
oNodeLevelProperty | object | datajs object for the property holding the level number for the of the hierarchy node pointed to by the value of oNodeIDProperty |
|
oNodeValueProperty | object | datajs object for the property holding the data value for the of the hierarchy node pointed to by the value of oNodeIDProperty |
|
oNodeExternalKeyProperty | object | datajs object for the property holding the node external key of the hierarchy node. The external key is a human-readable identification of a node. The value of the |
Method | Description |
---|---|
getNodeExternalKeyProperty |
Get the property holding the node external key of the hierarchy node |
getNodeIDProperty |
Get the property holding the node ID of the hierarchy node |
getNodeLevelProperty |
Get the property holding the level of the hierarchy node |
getNodeValueProperty |
Get the property holding the value that is structurally organized by the hierarchy |
getParentNodeIDProperty |
Get the property holding the parent node ID of the hierarchy node |
isLeveledHierarchy |
Get indicator if this is a leveled hierarchy |
isRecursiveHierarchy |
Get indicator if this is a recursive hierarchy |