function changeExpandedStateV4(mSettings) {
		for (var i = 0; i < mSettings.indices.length; i++) {
			var oContext = mSettings.proxy.getContextByIndex(mSettings.indices[i]);

			if (oContext) {
				if (mSettings.expanded) {
					oContext.expand();
				} else {
					oContext.collapse();
				}
			}
		}
	}
Changes the expansion state for ODataV4 bindings.
@param {object} mSettings settings object
@param {object} mSettings.proxy proxy object
@param {sap.ui.model.Binding} mSettings.binding binding
@param {int|int[]} mSettings.indices A single index, or an array of indices of
the to be changed nodes
@param {boolean} mSettings.expanded If true, state will be changed to expanded
otherwise to collapsed.