/**
  * @see
  *     org.eclipse.uml2.uml.util.UMLDerivedUnionAdapter#notifyComponentChanged(org.eclipse.emf.common.notify.Notification,
  *     org.eclipse.emf.ecore.EClass)
  * @param notification
  * @param eClass
  */
 @Override
 protected void notifyComponentChanged(Notification notification, EClass eClass) {
   super.notifyComponentChanged(notification, eClass);
   switch (notification.getFeatureID(org.eclipse.uml2.uml.Component.class)) {
     case UMLPackage.CLASSIFIER__GENERALIZATION:
       notifyChanged(notification, eClass, UMLPackage.Literals.CLASS__SUPER_CLASS);
       break;
     case UMLPackage.CLASSIFIER__GENERAL:
       notifyChanged(notification, eClass, UMLPackage.Literals.CLASSIFIER__GENERALIZATION);
       break;
     case UMLPackage.STRUCTURED_CLASSIFIER__OWNED_ATTRIBUTE:
       notifyChanged(
           notification, eClass, UMLPackage.Literals.ENCAPSULATED_CLASSIFIER__OWNED_PORT);
       break;
     default:
       break;
   }
 }