ClientTreeBindingAdapter = function() {

			// ensure only TreeBindings are enhanced which have not been enhanced yet
			if (!(this instanceof TreeBinding) || this._bIsAdapted) {
				return;
			}

			TreeBindingAdapter.apply(this);

			// apply the methods of the adapters prototype to the TreeBinding instance
			for (var fn in ClientTreeBindingAdapter.prototype) {
				if (ClientTreeBindingAdapter.prototype.hasOwnProperty(fn)) {
					this[fn] = ClientTreeBindingAdapter.prototype[fn];
				}
			}

			this._invalidTree = true;

			//set the default auto expand mode
			this.setNumberOfExpandedLevels(this.mParameters.numberOfExpandedLevels || 0);
		}
Adapter for {@link sap.ui.model.ClientTreeBinding} to add the list binding functionality and use the tree
structure in list based controls. {@link sap.ui.model.TreeBindingAdapter} is applied before the client model
specific adapter part is applied.

@alias sap.ui.model.ClientTreeBindingAdapter
@namespace

@private
@ui5-restricted sap.m.Tree, sap.ui.table.TreeTable