Class sap.ui.model.analytics.odata4analytics.ParameterizationModule: sap/ui/model/analytics/odata4analytics
Representation of an entity type annotated with sap:semantics="parameters".
Constructor Summary
new sap.ui.model.analytics.odata4analytics.Parameterization(oEntityType, oEntitySet)Create a representation of a parameterization for an analytic query.
Method Summary
Constructor Detail
new sap.ui.model.analytics.odata4analytics.Parameterization(oEntityType, oEntitySet)
Create a representation of a parameterization for an analytic query. Do not create your own instances.
Parameters:
{sap.ui.model.analytics.odata4analytics.EntityType} | oEntityType | The OData entity type for this parameterization |
{sap.ui.model.analytics.odata4analytics.EntitySet} | oEntitySet | The OData entity set for this parameterization offered by the OData service |
Method Detail
findParameterByName(sName): sap.ui.model.analytics.odata4analytics.Parameter
Find parameter by name
Parameters:
{string} | sName | Parameter name |
Returns:
{sap.ui.model.analytics.odata4analytics.Parameter} | The parameter object with this name or null if it does not exist |
getAllParameterNames(): array(string)
Get the names of all parameters part of the parameterization
Returns:
{array(string)} | List of all parameter names |
getAllParameters(): object
Get all parameters included in this parameterization
Returns:
{object} | An object with individual JS properties for each parameter included in the query result. The JS object properties all are objects of type odata4analytics.Parameter. The names of the JS object properties are given by the OData entity type property names representing the parameter keys. |
getEntitySet(): sap.ui.model.analytics.odata4analytics.EntitySet
Get the entity set representing this query result in the OData model
Returns:
{sap.ui.model.analytics.odata4analytics.EntitySet} | The OData entity set representing this query result |
getEntityType(): sap.ui.model.analytics.odata4analytics.EntityType
Get the entity type defining the type of this query result in the OData model
Returns:
{sap.ui.model.analytics.odata4analytics.EntityType} | The OData entity type for this query result |
getName(): string
Get the name of the parameter
Returns:
{string} | The name of the parameterization, which is identical with the name of the entity set representing the parameterization in the OData service |
getNavigationPropertyToQueryResult(): sap.ui.model.analytics.odata4analytics.QueryResult
Get navigation property to query result
Returns:
{sap.ui.model.analytics.odata4analytics.QueryResult} | The parameter object with this name or null if it does not exist |