src/sap.ui.core/src/sap/ui/model/odata/_ODataMetaModelUtils.js
function (o, oExtension, sTypeClass, sNonDefaultValue, bDeepCopy) {
			if (sTypeClass === "EntitySet" && oExtension.value === sNonDefaultValue) {
				// potentially nested structure so do deep copy
				if (bDeepCopy) {
					jQuery.extend(true, o, mV2ToV4[oExtension.name]);
				} else {
					// Warning: Passing false for the first argument is not supported!
					jQuery.extend(o, mV2ToV4[oExtension.name]);
				}
			}
		}
function (o, oExtension, sTypeClass, sNonDefaultValue, bDeepCopy) {
			if (sTypeClass === "EntitySet" && oExtension.value === sNonDefaultValue) {
				// potentially nested structure so do deep copy
				if (bDeepCopy) {
					jQuery.extend(true, o, mV2ToV4[oExtension.name]);
				} else {
					// Warning: Passing false for the first argument is not supported!
					jQuery.extend(o, mV2ToV4[oExtension.name]);
				}
			}
		}
function ( o , oExtension , sTypeClass , sNonDefaultValue , bDeepCopy ) { if ( sTypeClass === "EntitySet" && oExtension . value === sNonDefaultValue ) { // potentially nested structure so do deep copy if ( bDeepCopy ) { jQuery . extend ( true , o , mV2ToV4 [ oExtension . name ] ) ; } else { // Warning: Passing false for the first argument is not supported! jQuery . extend ( o , mV2ToV4 [ oExtension . name ] ) ; } } }
Adds EntitySet V4 annotation for current extension if extension value is equal to
the given non-default value. Depending on bDeepCopy the annotation will be merged
with deep copy.
@param {object} o
any object
@param {object} oExtension
the SAP Annotation (OData Version 2.0) for which a V4 annotation needs to be added
@param {string} sTypeClass
the type class of the given object; supported type classes are "Property" and
"EntitySet"
@param {string} sNonDefaultValue
if current extension value is equal to this sNonDefaultValue the annotation is
added
@param {boolean} bDeepCopy
if true the annotation is mixed in as deep copy of the entry in mV2ToV4 map
Adds EntitySet V4 annotation for current extension if extension value is equal to the given non - default value . Depending on bDeepCopy the annotation will be merged with deep copy .