function (vModel, sArrayName, sQualifiedName, bAsPath) {
			var aArray,
				vResult = bAsPath ? undefined : null,
				oSchema,
				iSeparatorPos,
				sNamespace,
				sName;

			sQualifiedName = sQualifiedName || "";
			iSeparatorPos = sQualifiedName.lastIndexOf(".");
			sNamespace = sQualifiedName.slice(0, iSeparatorPos);
			sName = sQualifiedName.slice(iSeparatorPos + 1);
			oSchema = Utils.getSchema(vModel, sNamespace);
			if (oSchema) {
				aArray = oSchema[sArrayName];
				if (aArray) {
					aArray.forEach(function (oThing) {
						if (oThing.name === sName) {
							vResult = bAsPath ? oThing.$path : oThing;
							return false; // break
						}
					});
				}
			}

			return vResult;
		}
function (vModel, sArrayName, sQualifiedName, bAsPath) {
			var aArray,
				vResult = bAsPath ? undefined : null,
				oSchema,
				iSeparatorPos,
				sNamespace,
				sName;

			sQualifiedName = sQualifiedName || "";
			iSeparatorPos = sQualifiedName.lastIndexOf(".");
			sNamespace = sQualifiedName.slice(0, iSeparatorPos);
			sName = sQualifiedName.slice(iSeparatorPos + 1);
			oSchema = Utils.getSchema(vModel, sNamespace);
			if (oSchema) {
				aArray = oSchema[sArrayName];
				if (aArray) {
					aArray.forEach(function (oThing) {
						if (oThing.name === sName) {
							vResult = bAsPath ? oThing.$path : oThing;
							return false; // break
						}
					});
				}
			}

			return vResult;
		}
function ( vModel , sArrayName , sQualifiedName , bAsPath ) { var aArray , vResult = bAsPath ? undefined : null , oSchema , iSeparatorPos , sNamespace , sName ; sQualifiedName = sQualifiedName || "" ; iSeparatorPos = sQualifiedName . lastIndexOf ( "." ) ; sNamespace = sQualifiedName . slice ( 0 , iSeparatorPos ) ; sName = sQualifiedName . slice ( iSeparatorPos + 1 ) ; oSchema = Utils . getSchema ( vModel , sNamespace ) ; if ( oSchema ) { aArray = oSchema [ sArrayName ] ; if ( aArray ) { aArray . forEach ( function ( oThing ) { if ( oThing . name === sName ) { vResult = bAsPath ? oThing . $path : oThing ; return false ; // break } } ) ; } } return vResult ; }
Returns the thing with the given qualified name from the given model's array (within a
schema) of given name.

@param {sap.ui.model.Model|object[]} vModel
either a model or an array of schemas
@param {string} sArrayName
name of array within schema which will be searched
@param {string} sQualifiedName
a qualified name, e.g. "ACME.Foo"
@param {boolean} [bAsPath=false]
determines whether the thing itself is returned or just its path
@returns {object|string}
(the path to) the thing with the given qualified name; <code>undefined</code> (for a
path) or <code>null</code> (for an object) if no such thing is found
Returns the thing with the given qualified name from the given model s array ( within a schema ) of given name .
Returns the path of the object in the schema