class sap.ui.model.analytics.odata4analytics.EntityType

Visiblity: public
UX Guidelines:
Implements:
Available since: N/A
Extends:
Module: sap/ui/model/analytics/odata4analytics
Application Component: CA-UI5-COR

Representation of an OData entity type.


Constructor

Create a representation of an OData entity type in the context of an analytic query. Do not create your own instances.

new sap.ui.model.analytics.odata4analytics.EntityType(oModel, oSchema, oEntityType)
Param Type Default Value Description
oModel object

datajs object for the OData model containing this entity type

oSchema object

datajs object for the schema containing this entity type

oEntityType object

datajs object for the entity type


Methods Overview

Method Description
findPropertyByName

Find property by name

getAllHierarchyPropertyNames

Get the names of all properties with an associated hierarchy

getFilterablePropertyNames

Get names of properties that can be filtered, that is they can be used in $filter expressions

getHeadingOfProperty

Get heading of the property with specified name (identified by property metadata annotation sap:heading)

getHierarchy

Get the hierarchy associated to a given property Based on the current specification, hierarchies are always recursive. TODO: Extend behavior when leveled hierarchies get in scope

getKeyProperties

Get key properties of this type

getLabelOfProperty

Get label of the property with specified name (identified by property metadata annotation sap:label)

getProperties

Get all properties

getPropertiesWithFilterRestrictions

Get properties for which filter restrictions have been specified

getQName

Get the fully qualified name for this entity type

getQuickInfoOfProperty

Get quick info of the property with specified name (identified by property metadata annotation sap:quickinfo)

getRequiredFilterPropertyNames

Get names of properties that must be filtered, that is they must appear in every $filter expression

getSortablePropertyNames

Get names of properties that can be sorted, that is they can be used in $orderby expressions

getSuperOrdinatePropertyOfProperty

Get the super-ordinate property related to the property with specified name (identified by property metadata annotation sap:super-ordinate)

getTextPropertyOfProperty

Get the text property related to the property with specified name (identified by property metadata annotation sap:text)

getTypeDescription

Get full description for this entity type

findPropertyByName

Find property by name

Param Type DefaultValue Description
sPropertyName string

Property name

getAllHierarchyPropertyNames

Get the names of all properties with an associated hierarchy

getFilterablePropertyNames

Get names of properties that can be filtered, that is they can be used in $filter expressions

getHeadingOfProperty

Get heading of the property with specified name (identified by property metadata annotation sap:heading)

Param Type DefaultValue Description
sPropertyName string

Property name

getHierarchy

Get the hierarchy associated to a given property Based on the current specification, hierarchies are always recursive. TODO: Extend behavior when leveled hierarchies get in scope

Param Type DefaultValue Description
sName string

Parameter name

getKeyProperties

Get key properties of this type

getLabelOfProperty

Get label of the property with specified name (identified by property metadata annotation sap:label)

Param Type DefaultValue Description
sPropertyName string

Property name

getProperties

Get all properties

getPropertiesWithFilterRestrictions

Get properties for which filter restrictions have been specified

getQName

Get the fully qualified name for this entity type

getQuickInfoOfProperty

Get quick info of the property with specified name (identified by property metadata annotation sap:quickinfo)

Param Type DefaultValue Description
sPropertyName string

Property name

getRequiredFilterPropertyNames

Get names of properties that must be filtered, that is they must appear in every $filter expression

getSortablePropertyNames

Get names of properties that can be sorted, that is they can be used in $orderby expressions

getSuperOrdinatePropertyOfProperty

Get the super-ordinate property related to the property with specified name (identified by property metadata annotation sap:super-ordinate)

Param Type DefaultValue Description
sPropertyName string

Property name

getTextPropertyOfProperty

Get the text property related to the property with specified name (identified by property metadata annotation sap:text)

Param Type DefaultValue Description
sPropertyName string

Property name

getTypeDescription

Get full description for this entity type