src/sap.ui.core/src/sap/ui/model/odata/v4/ODataMetaModel.js
function () {
			var aContexts = [],
				oPromise = this.fetchContexts(),
				that = this;

			if (oPromise.isFulfilled()) {
				aContexts = oPromise.getResult();
			} else {
				oPromise.then(function (aContexts) {
					that.setContexts(aContexts);
					that._fireChange({reason: ChangeReason.Change});
				});
				aContexts.dataRequested = true;
			}
			this.setContexts(aContexts);
		}
function () {
			var aContexts = [],
				oPromise = this.fetchContexts(),
				that = this;

			if (oPromise.isFulfilled()) {
				aContexts = oPromise.getResult();
			} else {
				oPromise.then(function (aContexts) {
					that.setContexts(aContexts);
					that._fireChange({reason: ChangeReason.Change});
				});
				aContexts.dataRequested = true;
			}
			this.setContexts(aContexts);
		}
function ( ) { var aContexts = [ ] , oPromise = this . fetchContexts ( ) , that = this ; if ( oPromise . isFulfilled ( ) ) { aContexts = oPromise . getResult ( ) ; } else { oPromise . then ( function ( aContexts ) { that . setContexts ( aContexts ) ; that . _fireChange ( { reason : ChangeReason . Change } ) ; } ) ; aContexts . dataRequested = true ; } this . setContexts ( aContexts ) ; }
Updates the list and indices array. Fires a change event if the data was retrieved
asynchronously.
@private
Updates the list and indices array . Fires a change event if the data was retrieved asynchronously .