function _getODataPropertiesOfModel(oElement, sAggregationName, mPayload) {
		var oModel = oElement.getModel(mPayload.modelName);
		if (oModel) {
			if (oModel.isA("sap.ui.model.odata.v4.ODataModel")) {
				var oMetaModel = oModel.getMetaModel();
				var sBindingContextPath = _getBindingPath(oElement, mPayload);
				if (sBindingContextPath) {
					var oMetaModelContext = oMetaModel.getMetaContext(sBindingContextPath);
					var oMetaModelContextObject = oMetaModelContext.getObject();
					var mODataEntityType = oMetaModelContext.getObject(oMetaModelContextObject.$Type);
					return _convertMetadataToDelegateFormat(
						mODataEntityType,
						oMetaModelContextObject.$Type,
						oMetaModel,
						oElement,
						sAggregationName
					);
				}
			}
		}
		return Promise.resolve([]);
	}
/**
	 * Get all properties of the element's model.
	 *
	 * @param {sap.ui.core.Control} oElement The control instance
	 * @param {string} sAggregationName The aggregation name for which the delegate should provide additional elements
	 * @param {object} mPayload The payload parameter attached to the delegate, empty object if no payload was assigned
	 * @returns {Array} The list of properties in delegate format
	 * @private
	 */
Get all properties of the element's model.
Get all properties of the element ' s model .
function _getODataPropertiesOfModel(oElement, sAggregationName, mPayload) {
		var oModel = oElement.getModel(mPayload.modelName);
		if (oModel) {
			if (oModel.isA("sap.ui.model.odata.v4.ODataModel")) {
				var oMetaModel = oModel.getMetaModel();
				var sBindingContextPath = _getBindingPath(oElement, mPayload);
				if (sBindingContextPath) {
					var oMetaModelContext = oMetaModel.getMetaContext(sBindingContextPath);
					var oMetaModelContextObject = oMetaModelContext.getObject();
					var mODataEntityType = oMetaModelContext.getObject(oMetaModelContextObject.$Type);
					return _convertMetadataToDelegateFormat(
						mODataEntityType,
						oMetaModelContextObject.$Type,
						oMetaModel,
						oElement,
						sAggregationName
					);
				}
			}
		}
		return Promise.resolve([]);
	}
function _getODataPropertiesOfModel ( oElement , sAggregationName , mPayload ) { var oModel = oElement . getModel ( mPayload . modelName ) ; if ( oModel ) { if ( oModel . isA ( "sap.ui.model.odata.v4.ODataModel" ) ) { var oMetaModel = oModel . getMetaModel ( ) ; var sBindingContextPath = _getBindingPath ( oElement , mPayload ) ; if ( sBindingContextPath ) { var oMetaModelContext = oMetaModel . getMetaContext ( sBindingContextPath ) ; var oMetaModelContextObject = oMetaModelContext . getObject ( ) ; var mODataEntityType = oMetaModelContext . getObject ( oMetaModelContextObject . $Type ) ; return _convertMetadataToDelegateFormat ( mODataEntityType , oMetaModelContextObject . $Type , oMetaModel , oElement , sAggregationName ) ; } } } return Promise . resolve ( [ ] ) ; }
Get all properties of the element's model.
Get all properties of the element ' s model .