Property binding implementation for client models.
Creates a new ClientPropertyBinding.
This constructor should only be called by subclasses or model implementations, not by application or control code. Such code should use Model#bindProperty on the corresponding model implementation instead.
new sap.ui.model.ClientPropertyBinding(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 |
Method | Description |
---|---|
sap.ui.model.ClientPropertyBinding.extend |
Creates a new subclass of class sap.ui.model.ClientPropertyBinding with name
|
sap.ui.model.ClientPropertyBinding.getMetadata |
Returns a metadata object for class sap.ui.model.ClientPropertyBinding. |
Creates a new subclass of class sap.ui.model.ClientPropertyBinding 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.PropertyBinding.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 |