Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedNPLImpl.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedNPLImpl.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedNPLImpl.java
index c7c5eb6bcb..487fd3372a 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedNPLImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedNPLImpl.java
@@ -62,7 +62,7 @@ public class RefSingleNonContainedNPLImpl extends EObjectImpl implements RefSing
@Override
protected EClass eStaticClass()
{
- return model4Package.Literals.REF_SINGLE_NON_CONTAINED_NPL;
+ return model4Package.eINSTANCE.getRefSingleNonContainedNPL();
}
/**
@@ -79,10 +79,8 @@ public class RefSingleNonContainedNPLImpl extends EObjectImpl implements RefSing
if (element != oldElement)
{
if (eNotificationRequired())
- {
eNotify(new ENotificationImpl(this, Notification.RESOLVE,
model4Package.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT, oldElement, element));
- }
}
}
return element;
@@ -108,10 +106,8 @@ public class RefSingleNonContainedNPLImpl extends EObjectImpl implements RefSing
ContainedElementNoOpposite oldElement = element;
element = newElement;
if (eNotificationRequired())
- {
eNotify(new ENotificationImpl(this, Notification.SET, model4Package.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT,
oldElement, element));
- }
}
/**
@@ -126,9 +122,7 @@ public class RefSingleNonContainedNPLImpl extends EObjectImpl implements RefSing
{
case model4Package.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT:
if (resolve)
- {
return getElement();
- }
return basicGetElement();
}
return super.eGet(featureID, resolve, coreType);

Back to the top