Class sap.ui.model.odata.ODataPropertyBindingModule: sap/ui/model/odata/ODataPropertyBinding


Property binding implementation for oData format

Constructor Summary
new sap.ui.model.odata.ODataPropertyBinding(oModel, sPath, oContext, mParameters?)
Method Summary
sap.ui.model.odata.ODataPropertyBinding.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.model.odata.ODataPropertyBinding with name sClassName and enriches it with the information contained in oClassInfo.
sap.ui.model.odata.ODataPropertyBinding.getMetadata()Returns a metadata object for class sap.ui.model.odata.ODataPropertyBinding.
getValue()Returns the current value of the bound target
initialize()Initialize the binding.
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.model.odata.ODataPropertyBinding(oModel, sPath, oContext, mParameters?)
Parameters:
{sap.ui.model.Model}oModel
{string}sPath
{sap.ui.model.Context}oContext
{object}mParameters?
Method Detail
sap.ui.model.odata.ODataPropertyBinding.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.model.odata.ODataPropertyBinding 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.

Parameters:
{string}sClassName Name of the class being created
{object}oClassInfo? Object literal with information about the class
{function}FNMetaImpl? Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata
Returns:
{function} Created class / constructor function
sap.ui.model.odata.ODataPropertyBinding.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.model.odata.ODataPropertyBinding.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getValue(): object
Returns the current value of the bound target
Returns:
{object} the current value of the bound target
initialize()
Initialize the binding. The message should be called when creating a binding. If metadata is not yet available, do nothing, method will be called again when metadata is loaded.