function _convertMetadataToDelegateFormat(mODataEntityType, sEntityType, oMetaModel, oElement, sAggregationName) {
		var aProperties = [];
		var sElementName = "";
		var aNavigationProperties = [];
		var mElement;
		for (sElementName in mODataEntityType) {
			mElement = mODataEntityType[sElementName];
			if (mElement.$kind === "NavigationProperty") {
				aNavigationProperties.push(sElementName);
			}
		}
		for (sElementName in mODataEntityType) {
			mElement = mODataEntityType[sElementName];
			if (mElement.$kind === "Property") {
				var mPropAnnotations = oMetaModel.getObject("/" + sEntityType + "/" + sElementName + "@");
				var mProp = _enrichProperty(
					sElementName,
					mElement,
					mPropAnnotations,
					sEntityType,
					oElement,
					sAggregationName,
					aNavigationProperties
				);
				aProperties.push(mProp);
			}
		}
		return aProperties;
	}
/**
	 * Convert metadata format to delegate format.
	 *
	 * @param {object} mODataEntityType EntityType in metadata format
	 * @param {string} sEntityType EntityType name
	 * @param {sap.ui.model.odata.v4.ODataMetaModel} oMetaModel The current ODataMetaModel
	 * @param {sap.ui.core.Control} oElement Control instance
	 * @param {string} sAggregationName Aggregation name for which the delegate should provide additional elements
	 * @returns {Array} A list of properties in delegate format
	 * @private
	 */
Convert metadata format to delegate format.
Convert metadata format to delegate format .
function _convertMetadataToDelegateFormat(mODataEntityType, sEntityType, oMetaModel, oElement, sAggregationName) {
		var aProperties = [];
		var sElementName = "";
		var aNavigationProperties = [];
		var mElement;
		for (sElementName in mODataEntityType) {
			mElement = mODataEntityType[sElementName];
			if (mElement.$kind === "NavigationProperty") {
				aNavigationProperties.push(sElementName);
			}
		}
		for (sElementName in mODataEntityType) {
			mElement = mODataEntityType[sElementName];
			if (mElement.$kind === "Property") {
				var mPropAnnotations = oMetaModel.getObject("/" + sEntityType + "/" + sElementName + "@");
				var mProp = _enrichProperty(
					sElementName,
					mElement,
					mPropAnnotations,
					sEntityType,
					oElement,
					sAggregationName,
					aNavigationProperties
				);
				aProperties.push(mProp);
			}
		}
		return aProperties;
	}
function _convertMetadataToDelegateFormat ( mODataEntityType , sEntityType , oMetaModel , oElement , sAggregationName ) { var aProperties = [ ] ; var sElementName = "" ; var aNavigationProperties = [ ] ; var mElement ; for ( sElementName in mODataEntityType ) { mElement = mODataEntityType [ sElementName ] ; if ( mElement . $kind === "NavigationProperty" ) { aNavigationProperties . push ( sElementName ) ; } } for ( sElementName in mODataEntityType ) { mElement = mODataEntityType [ sElementName ] ; if ( mElement . $kind === "Property" ) { var mPropAnnotations = oMetaModel . getObject ( "/" + sEntityType + "/" + sElementName + "@" ) ; var mProp = _enrichProperty ( sElementName , mElement , mPropAnnotations , sEntityType , oElement , sAggregationName , aNavigationProperties ) ; aProperties . push ( mProp ) ; } } return aProperties ; }
Convert metadata format to delegate format.
Convert metadata format to delegate format .