abstract class sap.ui.model.ContextBinding

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

The ContextBinding is a specific binding for a setting context for the model


Constructor

Constructor for ContextBinding

new sap.ui.model.ContextBinding(oModel, sPath, oContext, mParameters?, oEvents?)
Param Type Default Value Description
oModel sap.ui.model.Model
sPath string
oContext sap.ui.model.Context
mParameters? object
oEvents? object

object defining event handlers


Methods Overview

Method Description
sap.ui.model.ContextBinding.extend

Creates a new subclass of class sap.ui.model.ContextBinding with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.model.Binding.extend.

getBoundContext

Return the bound context.

sap.ui.model.ContextBinding.getMetadata

Returns a metadata object for class sap.ui.model.ContextBinding.

sap.ui.model.ContextBinding.extend

Creates a new subclass of class sap.ui.model.ContextBinding with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of information as described in sap.ui.model.Binding.extend.

Param Type DefaultValue Description
sClassName string

Name of the class being created

oClassInfo object

Object literal with information about the class

FNMetaImpl function

Constructor function for the metadata object; if not given, it defaults to the metadata implementation used by this class

getBoundContext

Return the bound context.

sap.ui.model.ContextBinding.getMetadata

Returns a metadata object for class sap.ui.model.ContextBinding.