/**
  * @see
  *     org.eclipse.uml2.uml.util.UMLDerivedUnionAdapter#notifyProfileChanged(org.eclipse.emf.common.notify.Notification,
  *     org.eclipse.emf.ecore.EClass)
  * @param notification
  * @param eClass
  */
 @Override
 protected void notifyProfileChanged(Notification notification, EClass eClass) {
   super.notifyProfileChanged(notification, eClass);
   switch (notification.getFeatureID(org.eclipse.uml2.uml.Profile.class)) {
     case UMLPackage.PACKAGE__PACKAGED_ELEMENT:
       notifyChanged(notification, eClass, UMLPackage.Literals.PACKAGE__NESTED_PACKAGE);
       notifyChanged(notification, eClass, UMLPackage.Literals.PACKAGE__OWNED_STEREOTYPE);
       notifyChanged(notification, eClass, UMLPackage.Literals.PACKAGE__OWNED_TYPE);
       break;
     default:
       break;
   }
 }