Property binding implementation for Conditions.
Creates a new ConditionModelPropertyBinding
.
This constructor must only be called by subclasses or model implementations, not by application or control code. Such code should use ConditionModel.bindProperty on the corresponding model instance instead.
new sap.ui.mdc.condition.ConditionModelPropertyBinding(oModel, sPath, oContext, mParameters?)
Param | Type | Default Value | Description |
---|---|---|---|
oModel | sap.ui.mdc.condition.ConditionModel | Model instance that this binding is created for and that it belongs to |
|
sPath | string | Binding path to be used for this binding |
|
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 have any parameters of its own |
Method | Description |
---|---|
sap.ui.mdc.condition.ConditionModelPropertyBinding.extend |
Creates a new subclass of class sap.ui.mdc.condition.ConditionModelPropertyBinding with name
|
sap.ui.mdc.condition.ConditionModelPropertyBinding.getMetadata |
Returns a metadata object for class sap.ui.mdc.condition.ConditionModelPropertyBinding. |
Creates a new subclass of class sap.ui.mdc.condition.ConditionModelPropertyBinding 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.json.JSONPropertyBinding.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 |