Abstract Class sap.ui.model.odata.v2.ODataContextBindingModule: sap/ui/model/odata/v2/ODataContextBinding
The ContextBinding is a specific binding for a setting context for the model
Constructor Summary
new sap.ui.model.odata.v2.ODataContextBinding(oModel, sPath, oContext, mParameters?)Constructor for odata.ODataContextBinding
Events borrowed from class sap.ui.model.Binding
Method Summary
sap.ui.model.odata.v2.ODataContextBinding.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ui.model.odata.v2.ODataContextBinding with name
sClassName
and enriches it with the information contained in oClassInfo
.sap.ui.model.odata.v2.ODataContextBinding.getMetadata()Returns a metadata object for class sap.ui.model.odata.v2.ODataContextBinding.
refresh(bForceUpdate?, sGroupId?)
Methods borrowed from class sap.ui.model.Binding
attachAggregatedDataStateChange, attachChange, attachDataReceived, attachDataRequested, attachDataStateChange, attachEvents, attachRefresh, destroy, detachAggregatedDataStateChange, detachChange, detachDataReceived, detachDataRequested, detachDataStateChange, detachEvents, detachRefresh, fireDataReceived, fireDataRequested, isInitial, isRelative, isSuspended, resume, suspend, updateRequired
Methods borrowed from class sap.ui.base.EventProvider
Methods borrowed from class sap.ui.base.Object
Constructor Detail
new sap.ui.model.odata.v2.ODataContextBinding(oModel, sPath, oContext, mParameters?)
Constructor for odata.ODataContextBinding
Parameters:
{sap.ui.model.Model} | oModel | |
{String} | sPath | |
{Object} | oContext | |
{map} | mParameters? | a map which contains additional parameters for the binding. |
{string} | mParameters.expand? | for the OData $expand query option parameter which should be included in the request |
{string} | mParameters.select? | for the OData $select query option parameter which should be included in the request |
{map} | mParameters.custom? | an optional map of custom query parameters. Custom parameters must not start with $ . |
Method Detail
sap.ui.model.odata.v2.ODataContextBinding.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ui.model.odata.v2.ODataContextBinding 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.
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.v2.ODataContextBinding.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ui.model.odata.v2.ODataContextBinding.
Returns:
{sap.ui.base.Metadata} | Metadata object describing this class |