/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetNestedIn( [[#variable190505c0]] newNestedIn, NotificationChain msgs) {
msgs = eBasicSetContainer((InternalEObject) newNestedIn, MappingPackage. [[#variable19067d60]], msgs);
return msgs;
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setNestedIn( [[#variable190505c0]] newNestedIn) {
if (newNestedIn != eInternalContainer() || (eContainerFeatureID != MappingPackage. [[#variable19067d60]]&& newNestedIn != null)) {
if (EcoreUtil.isAncestor(this, newNestedIn))
throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
NotificationChain msgs = null;
if (eInternalContainer() != null)
msgs = eBasicRemoveFromContainer(msgs);
if (newNestedIn != null)
msgs = ((InternalEObject) newNestedIn).eInverseAdd(this, MappingPackage. [[#variable19050a40]], [[#variable190505c0]].class , msgs);
msgs = basicSetNestedIn(newNestedIn, msgs);
if (msgs != null)
msgs.dispatch();
}
else
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, MappingPackage. [[#variable19067d60]], newNestedIn, newNestedIn));
}
|