src/sap.ui.core/src/sap/ui/model/analytics/odata4analytics.js
function(oQueryResult, oAssociation) {
			this._oQueryResult = oQueryResult;
			var sQAssocName = this._oEntityType.getSchema().namespace + "." + oAssociation.name;
			var aNavProp = this._oEntityType.getTypeDescription().navigationProperty;
			if (!aNavProp) {
				throw "Invalid consumption model: Parameters entity type lacks navigation property for association to query result entity type";
			}
			for (var i = -1, oNavProp; (oNavProp = aNavProp[++i]) !== undefined;) {
				if (oNavProp.relationship == sQAssocName) {
					this._oNavPropToQueryResult = oNavProp.name;
				}
			}
			if (!this._oNavPropToQueryResult) {
				throw "Invalid consumption model: Parameters entity type lacks navigation property for association to query result entity type";
			}
		}
function(oQueryResult, oAssociation) {
			this._oQueryResult = oQueryResult;
			var sQAssocName = this._oEntityType.getSchema().namespace + "." + oAssociation.name;
			var aNavProp = this._oEntityType.getTypeDescription().navigationProperty;
			if (!aNavProp) {
				throw "Invalid consumption model: Parameters entity type lacks navigation property for association to query result entity type";
			}
			for (var i = -1, oNavProp; (oNavProp = aNavProp[++i]) !== undefined;) {
				if (oNavProp.relationship == sQAssocName) {
					this._oNavPropToQueryResult = oNavProp.name;
				}
			}
			if (!this._oNavPropToQueryResult) {
				throw "Invalid consumption model: Parameters entity type lacks navigation property for association to query result entity type";
			}
		}
function ( oQueryResult , oAssociation ) { this . _oQueryResult = oQueryResult ; var sQAssocName = this . _oEntityType . getSchema ( ) . namespace + "." + oAssociation . name ; var aNavProp = this . _oEntityType . getTypeDescription ( ) . navigationProperty ; if ( ! aNavProp ) { throw "Invalid consumption model: Parameters entity type lacks navigation property for association to query result entity type" ; } for ( var i = - 1 , oNavProp ; ( oNavProp = aNavProp [ ++ i ] ) !== undefined ; ) { if ( oNavProp . relationship == sQAssocName ) { this . _oNavPropToQueryResult = oNavProp . name ; } } if ( ! this . _oNavPropToQueryResult ) { throw "Invalid consumption model: Parameters entity type lacks navigation property for association to query result entity type" ; } }
to be called only by Model objects
to be called only by Model objects