Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2010-12-17 12:49:29 +0000
committerEike Stepper2010-12-17 12:49:29 +0000
commit1514313ae064cde545d92626aed3c0412f7f4ed1 (patch)
tree67f15999210cedc77bc63b520bb0ef33a6c7abf2 /plugins/org.eclipse.emf.cdo.tests.model5
parent6bb19f73b66b563fd5f986a5d8bc23997a691505 (diff)
downloadcdo-1514313ae064cde545d92626aed3c0412f7f4ed1.tar.gz
cdo-1514313ae064cde545d92626aed3c0412f7f4ed1.tar.xz
cdo-1514313ae064cde545d92626aed3c0412f7f4ed1.zip
fixed feature map test model
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model5')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/Model5Package.java11
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/impl/Model5PackageImpl.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/impl/TestFeatureMapImpl.java9
3 files changed, 9 insertions, 13 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/Model5Package.java b/plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/Model5Package.java
index 7bd42d734b..3e2178f712 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/Model5Package.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/Model5Package.java
@@ -85,8 +85,7 @@ public interface Model5Package extends org.eclipse.emf.cdo.tests.model5.Model5Pa
int TEST_FEATURE_MAP__MANAGERS = 0;
/**
- * The feature id for the '<em><b>Doctors</b></em>' containment reference list. <!-- begin-user-doc --> <!--
- * end-user-doc -->
+ * The feature id for the '<em><b>Doctors</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
* @ordered
@@ -474,11 +473,11 @@ public interface Model5Package extends org.eclipse.emf.cdo.tests.model5.Model5Pa
EReference getTestFeatureMap_Managers();
/**
- * Returns the meta object for the containment reference list '
+ * Returns the meta object for the reference list '
* {@link org.eclipse.emf.cdo.tests.legacy.model5.TestFeatureMap#getDoctors <em>Doctors</em>}'. <!-- begin-user-doc
* --> <!-- end-user-doc -->
*
- * @return the meta object for the containment reference list '<em>Doctors</em>'.
+ * @return the meta object for the reference list '<em>Doctors</em>'.
* @see org.eclipse.emf.cdo.tests.legacy.model5.TestFeatureMap#getDoctors()
* @see #getTestFeatureMap()
* @generated
@@ -809,8 +808,8 @@ public interface Model5Package extends org.eclipse.emf.cdo.tests.model5.Model5Pa
EReference TEST_FEATURE_MAP__MANAGERS = eINSTANCE.getTestFeatureMap_Managers();
/**
- * The meta object literal for the '<em><b>Doctors</b></em>' containment reference list feature. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
+ * The meta object literal for the '<em><b>Doctors</b></em>' reference list feature. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
*
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/impl/Model5PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/impl/Model5PackageImpl.java
index 39fa4684f6..bbbcaa2d37 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/impl/Model5PackageImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/impl/Model5PackageImpl.java
@@ -618,7 +618,7 @@ public class Model5PackageImpl extends EPackageImpl implements Model5Package
TestFeatureMap.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getTestFeatureMap_Doctors(), this.getDoctor(), null, "doctors", null, 0, -1, TestFeatureMap.class,
- IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
+ IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
!IS_DERIVED, IS_ORDERED);
initEAttribute(getTestFeatureMap_People(), ecorePackage.getEFeatureMapEntry(), "people", null, 0, -1,
TestFeatureMap.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE,
diff --git a/plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/impl/TestFeatureMapImpl.java b/plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/impl/TestFeatureMapImpl.java
index 7cb052acc5..a4528e81e6 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/impl/TestFeatureMapImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model5/src/org/eclipse/emf/cdo/tests/legacy/model5/impl/TestFeatureMapImpl.java
@@ -21,7 +21,6 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import org.eclipse.emf.ecore.util.BasicFeatureMap;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
import org.eclipse.emf.ecore.util.FeatureMap;
import org.eclipse.emf.ecore.util.InternalEList;
@@ -62,8 +61,8 @@ public class TestFeatureMapImpl extends EObjectImpl implements TestFeatureMap
protected EList<Manager> managers;
/**
- * The cached value of the '{@link #getDoctors() <em>Doctors</em>}' containment reference list. <!-- begin-user-doc
- * --> <!-- end-user-doc -->
+ * The cached value of the '{@link #getDoctors() <em>Doctors</em>}' reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
*
* @see #getDoctors()
* @generated
@@ -125,7 +124,7 @@ public class TestFeatureMapImpl extends EObjectImpl implements TestFeatureMap
{
if (doctors == null)
{
- doctors = new EObjectContainmentEList<Doctor>(Doctor.class, this, Model5Package.TEST_FEATURE_MAP__DOCTORS);
+ doctors = new EObjectResolvingEList<Doctor>(Doctor.class, this, Model5Package.TEST_FEATURE_MAP__DOCTORS);
}
return doctors;
}
@@ -154,8 +153,6 @@ public class TestFeatureMapImpl extends EObjectImpl implements TestFeatureMap
{
switch (featureID)
{
- case Model5Package.TEST_FEATURE_MAP__DOCTORS:
- return ((InternalEList<?>)getDoctors()).basicRemove(otherEnd, msgs);
case Model5Package.TEST_FEATURE_MAP__PEOPLE:
return ((InternalEList<?>)getPeople()).basicRemove(otherEnd, msgs);
}

Back to the top