Representation of an OData entity type.
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 |
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 |
Find property by name
Param | Type | DefaultValue | Description |
---|---|---|---|
sPropertyName | string |
Property name |
Get names of properties that can be filtered, that is they can be used in $filter expressions
Get heading of the property with specified name (identified by property metadata annotation sap:heading)
Param | Type | DefaultValue | Description |
---|---|---|---|
sPropertyName | string |
Property name |
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 |
Get label of the property with specified name (identified by property metadata annotation sap:label)
Param | Type | DefaultValue | Description |
---|---|---|---|
sPropertyName | string |
Property name |
Get properties for which filter restrictions have been specified
Get quick info of the property with specified name (identified by property metadata annotation sap:quickinfo)
Param | Type | DefaultValue | Description |
---|---|---|---|
sPropertyName | string |
Property name |
Get names of properties that must be filtered, that is they must appear in every $filter expression
Get names of properties that can be sorted, that is they can be used in $orderby expressions
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 |