* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetOwningDiagram(Diagram newOwningDiagram, NotificationChain msgs) {
Diagram oldOwningDiagram = owningDiagram;
owningDiagram = newOwningDiagram;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET,
DiPackage.DIAGRAM_ELEMENT__OWNING_DIAGRAM, oldOwningDiagram, newOwningDiagram);
if (msgs == null)