diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/legacy/impl/GenRefSingleNonContainedImpl.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/legacy/impl/GenRefSingleNonContainedImpl.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/legacy/impl/GenRefSingleNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/legacy/impl/GenRefSingleNonContainedImpl.java index 97fc51d96a..85b6b81466 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/legacy/impl/GenRefSingleNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/legacy/impl/GenRefSingleNonContainedImpl.java @@ -76,8 +76,10 @@ public class GenRefSingleNonContainedImpl extends EObjectImpl implements GenRefS if (element != oldElement) { if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.RESOLVE, - model4Package.GEN_REF_SINGLE_NON_CONTAINED__ELEMENT, oldElement, element)); + { + eNotify(new ENotificationImpl(this, Notification.RESOLVE, model4Package.GEN_REF_SINGLE_NON_CONTAINED__ELEMENT, + oldElement, element)); + } } } return element; @@ -101,8 +103,10 @@ public class GenRefSingleNonContainedImpl extends EObjectImpl implements GenRefS EObject oldElement = element; element = newElement; if (eNotificationRequired()) + { eNotify(new ENotificationImpl(this, Notification.SET, model4Package.GEN_REF_SINGLE_NON_CONTAINED__ELEMENT, oldElement, element)); + } } /** @@ -116,7 +120,9 @@ public class GenRefSingleNonContainedImpl extends EObjectImpl implements GenRefS { case model4Package.GEN_REF_SINGLE_NON_CONTAINED__ELEMENT: if (resolve) + { return getElement(); + } return basicGetElement(); } return super.eGet(featureID, resolve, coreType); |