abstract class sap.ui.model.ClientContextBinding

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

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


Constructor

Creates a new ClientContextBinding.

This constructor should only be called by subclasses or model implementations, not by application or control code. Such code should use Model#bindContext on the corresponding model implementation instead.

new sap.ui.model.ClientContextBinding(oModel, sPath, oContext, mParameters?)
Param Type Default Value Description
oModel sap.ui.model.Model

Model instance that this binding is created for and that it belongs to

sPath string

Binding path to be used for this binding, syntax depends on the concrete subclass

oContext sap.ui.model.Context

Binding context relative to which a relative binding path will be resolved

mParameters? object

Map of optional parameters as defined by subclasses; this class does not introduce any own parameters


Methods Overview

Method Description
sap.ui.model.ClientContextBinding.extend

Creates a new subclass of class sap.ui.model.ClientContextBinding 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.ContextBinding.extend.

sap.ui.model.ClientContextBinding.getMetadata

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

sap.ui.model.ClientContextBinding.extend

Creates a new subclass of class sap.ui.model.ClientContextBinding 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.ContextBinding.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

sap.ui.model.ClientContextBinding.getMetadata

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