function() {

			// covert the values array into an array of filter objects
			var aFilters = [];
			for (var i = 0, l = this.aValues && this.aValues.length || 0; i < l; i++) {
				aFilters.push(new Filter({
					path: this.sPath,
					operator: this.aValues[i].operator,
					value1: this.aValues[i].value1,
					value2: this.aValues[i].value2
				}));
			}

			// create the new filter object based on the filters
			if (aFilters.length > 1) {
				var oFilter = new Filter({
					filters: aFilters,
					and: this.bAND
				});

				return oFilter;
			} else {
				return aFilters[0];
			}

		}
function() {

			// covert the values array into an array of filter objects
			var aFilters = [];
			for (var i = 0, l = this.aValues && this.aValues.length || 0; i < l; i++) {
				aFilters.push(new Filter({
					path: this.sPath,
					operator: this.aValues[i].operator,
					value1: this.aValues[i].value1,
					value2: this.aValues[i].value2
				}));
			}

			// create the new filter object based on the filters
			if (aFilters.length > 1) {
				var oFilter = new Filter({
					filters: aFilters,
					and: this.bAND
				});

				return oFilter;
			} else {
				return aFilters[0];
			}

		}
function ( ) { // covert the values array into an array of filter objects var aFilters = [ ] ; for ( var i = 0 , l = this . aValues && this . aValues . length || 0 ; i < l ; i ++ ) { aFilters . push ( new Filter ( { path : this . sPath , operator : this . aValues [ i ] . operator , value1 : this . aValues [ i ] . value1 , value2 : this . aValues [ i ] . value2 } ) ) ; } // create the new filter object based on the filters if ( aFilters . length > 1 ) { var oFilter = new Filter ( { filters : aFilters , and : this . bAND } ) ; return oFilter ; } else { return aFilters [ 0 ] ; } }
Converts the <code>sap.ui.model.odata.Filter</code> into a
<code>sap.ui.model.Filter</code>.

@return {sap.ui.model.Filter} a <code>sap.ui.model.Filter</code> object
@public
Converts the <code > sap . ui . model . odata . Filter< / code > into a <code > sap . ui . model . Filter< / code > .
Returns a filter object based on the values array