function (oComponent) {
			var sComponentName = "";
			if (oComponent) {
				sComponentName = oComponent.getMetadata().getName();
			}
			if (sComponentName.length > 0 && sComponentName.indexOf(".Component") < 0) {
				sComponentName += ".Component";
			}
			return sComponentName;
		}
function (oComponent) {
			var sComponentName = "";
			if (oComponent) {
				sComponentName = oComponent.getMetadata().getName();
			}
			if (sComponentName.length > 0 && sComponentName.indexOf(".Component") < 0) {
				sComponentName += ".Component";
			}
			return sComponentName;
		}
function ( oComponent ) { var sComponentName = "" ; if ( oComponent ) { sComponentName = oComponent . getMetadata ( ) . getName ( ) ; } if ( sComponentName . length > 0 && sComponentName . indexOf ( ".Component" ) < 0 ) { sComponentName += ".Component" ; } return sComponentName ; }
Gets the component name for a component instance.

@param {sap.ui.core.Component} oComponent component instance
@returns {String} component name
@public
Gets the component name for a component instance .
Returns the name of the component