function (control, inheritedMetadata) {
				var inheritedMetadataProperties = inheritedMetadata.getProperties();
				var result = Object.create(null);

				result.meta = Object.create(null);
				result.meta.controlName = inheritedMetadata.getName();

				result.properties = Object.create(null);
				Object.keys(inheritedMetadataProperties).forEach(function (key) {
					result.properties[key] = Object.create(null);
					result.properties[key].value = inheritedMetadataProperties[key].get(control);
					result.properties[key].type = inheritedMetadataProperties[key].getType().getName ? inheritedMetadataProperties[key].getType().getName() : '';
				});

				return result;
			}
function (control, inheritedMetadata) {
				var inheritedMetadataProperties = inheritedMetadata.getProperties();
				var result = Object.create(null);

				result.meta = Object.create(null);
				result.meta.controlName = inheritedMetadata.getName();

				result.properties = Object.create(null);
				Object.keys(inheritedMetadataProperties).forEach(function (key) {
					result.properties[key] = Object.create(null);
					result.properties[key].value = inheritedMetadataProperties[key].get(control);
					result.properties[key].type = inheritedMetadataProperties[key].getType().getName ? inheritedMetadataProperties[key].getType().getName() : '';
				});

				return result;
			}
function ( control , inheritedMetadata ) { var inheritedMetadataProperties = inheritedMetadata . getProperties ( ) ; var result = Object . create ( null ) ; result . meta = Object . create ( null ) ; result . meta . controlName = inheritedMetadata . getName ( ) ; result . properties = Object . create ( null ) ; Object . keys ( inheritedMetadataProperties ) . forEach ( function ( key ) { result . properties [ key ] = Object . create ( null ) ; result . properties [ key ] . value = inheritedMetadataProperties [ key ] . get ( control ) ; result . properties [ key ] . type = inheritedMetadataProperties [ key ] . getType ( ) . getName ? inheritedMetadataProperties [ key ] . getType ( ) . getName ( ) : '' ; } ) ; return result ; }
Copies the inherited properties of a UI5 control from the metadata.
@param {Object} control - UI5 Control.
@param {Object} inheritedMetadata - UI5 control metadata.
@returns {Object}
@private
Copies the inherited properties of a UI5 control from the metadata .
Returns a new object with properties and meta properties of the inherited metadata