diff options
author | Martin Fluegge | 2010-01-08 19:45:45 +0000 |
---|---|---|
committer | Martin Fluegge | 2010-01-08 19:45:45 +0000 |
commit | 0d0de7d8baeb0be4c9c4c7304dbc55c23b58d095 (patch) | |
tree | 469d65040627d5dab95c5e0ace0a76160c605406 /plugins/org.eclipse.emf.cdo.tests.model4 | |
parent | 3b85cbb8424d7399a3d1006320e19cb9fe83ab6f (diff) | |
download | cdo-0d0de7d8baeb0be4c9c4c7304dbc55c23b58d095.tar.gz cdo-0d0de7d8baeb0be4c9c4c7304dbc55c23b58d095.tar.xz cdo-0d0de7d8baeb0be4c9c4c7304dbc55c23b58d095.zip |
[247226] Transparently support legacy models (CDOLegacyAdapter)
https://bugs.eclipse.org/bugs/show_bug.cgi?id=247226
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model4')
74 files changed, 1330 insertions, 1955 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.tests.model4/META-INF/MANIFEST.MF index 9176c25e3b..f72fa6df5b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/META-INF/MANIFEST.MF +++ b/plugins/org.eclipse.emf.cdo.tests.model4/META-INF/MANIFEST.MF @@ -7,7 +7,8 @@ Bundle-ClassPath: . Bundle-Vendor: %providerName Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Export-Package: org.eclipse.emf.cdo.tests.model4;version="3.0.0", +Export-Package: org.eclipse.emf.cdo.tests.legacy.model4, + org.eclipse.emf.cdo.tests.model4;version="3.0.0", org.eclipse.emf.cdo.tests.model4.impl;version="3.0.0", org.eclipse.emf.cdo.tests.model4.util;version="3.0.0" Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)", diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/model/model4.legacy-genmodel b/plugins/org.eclipse.emf.cdo.tests.model4/model/model4.legacy-genmodel index 49595353a4..7433c9fa80 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/model/model4.legacy-genmodel +++ b/plugins/org.eclipse.emf.cdo.tests.model4/model/model4.legacy-genmodel @@ -6,7 +6,7 @@ modelPluginID="org.eclipse.emf.cdo.tests.model4" modelName="Model4" updateClasspath="false" codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.cdo" complianceLevel="5.0" copyrightFields="false" editPluginID="org.eclipse.emf.cdo.tests.model4.edit" - usedGenPackages="../../org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy.genmodel#//model4interfaces"> + usedGenPackages="../../org.eclipse.emf.cdo.tests.model4interfaces/model/interfaces.legacy-genmodel#//model4interfaces"> <foreignModel>model4.ecore</foreignModel> <modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables> <genPackages prefix="model4" basePackage="org.eclipse.emf.cdo.tests.legacy" disposableProviderFactory="true" diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ContainedElementNoOpposite.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ContainedElementNoOpposite.java deleted file mode 100644 index bd82fd8c75..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ContainedElementNoOpposite.java +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ContainedElementNoOpposite.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Contained Element No Opposite</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite#getName <em>Name</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getContainedElementNoOpposite() - * @model - * @generated - */ -public interface ContainedElementNoOpposite extends EObject -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getContainedElementNoOpposite_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite#getName - * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // ContainedElementNoOpposite diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMapNonContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMapNonContained.java deleted file mode 100644 index 79b12095d6..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMapNonContained.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: GenRefMapNonContained.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.common.util.EMap; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Gen Ref Map Non Contained</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained#getElements <em>Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMapNonContained() - * @model - * @generated - */ -public interface GenRefMapNonContained extends EObject -{ - /** - * Returns the value of the '<em><b>Elements</b></em>' map. The key is of type {@link java.lang.String}, and the value - * is of type {@link org.eclipse.emf.ecore.EObject}, <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Elements</em>' map isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Elements</em>' map. - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMapNonContained_Elements() - * @model mapType= - * "org.eclipse.emf.cdo.tests.legacy.model4.StringToEObject<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EObject>" - * @generated - */ - EMap<String, EObject> getElements(); - -} // GenRefMapNonContained diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiContained.java deleted file mode 100644 index 9b238c699f..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiContained.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: GenRefMultiContained.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Gen Ref Multi Contained</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained#getElements <em>Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMultiContained() - * @model - * @generated - */ -public interface GenRefMultiContained extends EObject -{ - /** - * Returns the value of the '<em><b>Elements</b></em>' containment reference list. The list contents are of type - * {@link org.eclipse.emf.ecore.EObject}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Elements</em>' containment reference list. - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMultiContained_Elements() - * @model containment="true" - * @generated - */ - EList<EObject> getElements(); - -} // GenRefMultiContained diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiNUNonContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiNUNonContained.java deleted file mode 100644 index 2e7273d9c5..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiNUNonContained.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: GenRefMultiNUNonContained.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Gen Ref Multi NU Non Contained</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained#getElements <em>Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMultiNUNonContained() - * @model - * @generated - */ -public interface GenRefMultiNUNonContained extends EObject -{ - /** - * Returns the value of the '<em><b>Elements</b></em>' reference list. The list contents are of type - * {@link org.eclipse.emf.ecore.EObject}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Elements</em>' reference list isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Elements</em>' reference list. - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMultiNUNonContained_Elements() - * @model resolveProxies="false" - * @generated - */ - EList<EObject> getElements(); - -} // GenRefMultiNUNonContained diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiNonContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiNonContained.java deleted file mode 100644 index f7c841feab..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiNonContained.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: GenRefMultiNonContained.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Gen Ref Multi Non Contained</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained#getElements <em>Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMultiNonContained() - * @model - * @generated - */ -public interface GenRefMultiNonContained extends EObject -{ - /** - * Returns the value of the '<em><b>Elements</b></em>' reference list. The list contents are of type - * {@link org.eclipse.emf.ecore.EObject}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Elements</em>' reference list isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Elements</em>' reference list. - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefMultiNonContained_Elements() - * @model - * @generated - */ - EList<EObject> getElements(); - -} // GenRefMultiNonContained diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefSingleContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefSingleContained.java deleted file mode 100644 index ff70ceb0e0..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefSingleContained.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: GenRefSingleContained.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Gen Ref Single Contained</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained#getElement <em>Element</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefSingleContained() - * @model - * @generated - */ -public interface GenRefSingleContained extends EObject -{ - /** - * Returns the value of the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Element</em>' containment reference isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Element</em>' containment reference. - * @see #setElement(EObject) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefSingleContained_Element() - * @model containment="true" - * @generated - */ - EObject getElement(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained#getElement - * <em>Element</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' containment reference. - * @see #getElement() - * @generated - */ - void setElement(EObject value); - -} // GenRefSingleContained diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefSingleNonContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefSingleNonContained.java deleted file mode 100644 index 3bb2a117ac..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefSingleNonContained.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: GenRefSingleNonContained.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Gen Ref Single Non Contained</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained#getElement <em>Element</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefSingleNonContained() - * @model - * @generated - */ -public interface GenRefSingleNonContained extends EObject -{ - /** - * Returns the value of the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Element</em>' reference isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Element</em>' reference. - * @see #setElement(EObject) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getGenRefSingleNonContained_Element() - * @model - * @generated - */ - EObject getElement(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained#getElement - * <em>Element</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' reference. - * @see #getElement() - * @generated - */ - void setElement(EObject value); - -} // GenRefSingleNonContained diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplContainedElementNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplContainedElementNPL.java deleted file mode 100644 index be8ac393bd..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplContainedElementNPL.java +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplContainedElementNPL.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Contained Element NPL</b></em>'. <!-- - * end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplContainedElementNPL() - * @model - * @generated - */ -public interface ImplContainedElementNPL extends IContainedElementNoParentLink, INamedElement -{ -} // ImplContainedElementNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainedElement.java deleted file mode 100644 index d4625cad49..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainedElement.java +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplMultiRefContainedElement.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Multi Ref Contained Element</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement#getName <em>Name</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefContainedElement() - * @model - * @generated - */ -public interface ImplMultiRefContainedElement extends IMultiRefContainedElement -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefContainedElement_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement#getName - * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // ImplMultiRefContainedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainer.java deleted file mode 100644 index 8e3fe67f25..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainer.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplMultiRefContainer.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Multi Ref Container</b></em>'. <!-- - * end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefContainer() - * @model - * @generated - */ -public interface ImplMultiRefContainer extends IMultiRefContainer -{ -} // ImplMultiRefContainer diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainerNPL.java deleted file mode 100644 index 563e867bda..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainerNPL.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplMultiRefContainerNPL.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Multi Ref Container NPL</b></em>'. <!-- - * end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefContainerNPL() - * @model - * @generated - */ -public interface ImplMultiRefContainerNPL extends IMultiRefContainerNPL -{ -} // ImplMultiRefContainerNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainedElement.java deleted file mode 100644 index 1cf249ccbf..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainedElement.java +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplMultiRefNonContainedElement.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Multi Ref Non Contained Element</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement#getName <em>Name</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefNonContainedElement() - * @model - * @generated - */ -public interface ImplMultiRefNonContainedElement extends IMultiRefNonContainedElement -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefNonContainedElement_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement#getName - * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // ImplMultiRefNonContainedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainer.java deleted file mode 100644 index d212f18423..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainer.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplMultiRefNonContainer.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Multi Ref Non Container</b></em>'. <!-- - * end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefNonContainer() - * @model - * @generated - */ -public interface ImplMultiRefNonContainer extends IMultiRefNonContainer -{ -} // ImplMultiRefNonContainer diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainerNPL.java deleted file mode 100644 index 87252475ed..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainerNPL.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplMultiRefNonContainerNPL.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Multi Ref Non Container NPL</b></em>'. <!-- - * end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplMultiRefNonContainerNPL() - * @model - * @generated - */ -public interface ImplMultiRefNonContainerNPL extends IMultiRefNonContainerNPL -{ -} // ImplMultiRefNonContainerNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainedElement.java deleted file mode 100644 index 1d60104815..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainedElement.java +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplSingleRefContainedElement.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Single Ref Contained Element</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement#getName <em>Name</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefContainedElement() - * @model - * @generated - */ -public interface ImplSingleRefContainedElement extends ISingleRefContainedElement -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefContainedElement_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement#getName - * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // ImplSingleRefContainedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainer.java deleted file mode 100644 index ad7833ac8d..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainer.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplSingleRefContainer.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Single Ref Container</b></em>'. <!-- - * end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefContainer() - * @model - * @generated - */ -public interface ImplSingleRefContainer extends ISingleRefContainer -{ -} // ImplSingleRefContainer diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainerNPL.java deleted file mode 100644 index 07fcaa9d99..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainerNPL.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplSingleRefContainerNPL.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Single Ref Container NPL</b></em>'. <!-- - * end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefContainerNPL() - * @model - * @generated - */ -public interface ImplSingleRefContainerNPL extends ISingleRefContainerNPL -{ -} // ImplSingleRefContainerNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainedElement.java deleted file mode 100644 index 9036f95c37..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainedElement.java +++ /dev/null @@ -1,59 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplSingleRefNonContainedElement.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Single Ref Non Contained Element</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement#getName <em>Name</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefNonContainedElement() - * @model - * @generated - */ -public interface ImplSingleRefNonContainedElement extends ISingleRefNonContainedElement -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefNonContainedElement_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement#getName - * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - -} // ImplSingleRefNonContainedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainer.java deleted file mode 100644 index 7d8f4483ec..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainer.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplSingleRefNonContainer.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Single Ref Non Container</b></em>'. <!-- - * end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefNonContainer() - * @model - * @generated - */ -public interface ImplSingleRefNonContainer extends ISingleRefNonContainer -{ -} // ImplSingleRefNonContainer diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainerNPL.java deleted file mode 100644 index dd3d3b7423..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainerNPL.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: ImplSingleRefNonContainerNPL.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Impl Single Ref Non Container NPL</b></em>'. - * <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getImplSingleRefNonContainerNPL() - * @model - * @generated - */ -public interface ImplSingleRefNonContainerNPL extends ISingleRefNonContainerNPL -{ -} // ImplSingleRefNonContainerNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/MultiContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/MultiContainedElement.java deleted file mode 100644 index e90aa83565..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/MultiContainedElement.java +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: MultiContainedElement.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Multi Contained Element</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getParent <em>Parent</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getMultiContainedElement() - * @model - * @generated - */ -public interface MultiContainedElement extends EObject -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getMultiContainedElement_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getName <em>Name</em>}' - * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Parent</b></em>' container reference. It is bidirectional and its opposite is ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained#getElements <em>Elements</em>}'. <!-- - * begin-user-doc --> - * <p> - * If the meaning of the '<em>Parent</em>' container reference isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Parent</em>' container reference. - * @see #setParent(RefMultiContained) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getMultiContainedElement_Parent() - * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained#getElements - * @model opposite="elements" transient="false" - * @generated - */ - RefMultiContained getParent(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getParent - * <em>Parent</em>}' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Parent</em>' container reference. - * @see #getParent() - * @generated - */ - void setParent(RefMultiContained value); - -} // MultiContainedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/MultiNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/MultiNonContainedElement.java deleted file mode 100644 index be116bb6ba..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/MultiNonContainedElement.java +++ /dev/null @@ -1,89 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: MultiNonContainedElement.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Multi Non Contained Element</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#getParent <em>Parent</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getMultiNonContainedElement() - * @model - * @generated - */ -public interface MultiNonContainedElement extends EObject -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getMultiNonContainedElement_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#getName - * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Parent</b></em>' reference. It is bidirectional and its opposite is ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained#getElements <em>Elements</em>}'. <!-- - * begin-user-doc --> - * <p> - * If the meaning of the '<em>Parent</em>' reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Parent</em>' reference. - * @see #setParent(RefMultiNonContained) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getMultiNonContainedElement_Parent() - * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained#getElements - * @model opposite="elements" - * @generated - */ - RefMultiNonContained getParent(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#getParent - * <em>Parent</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Parent</em>' reference. - * @see #getParent() - * @generated - */ - void setParent(RefMultiNonContained value); - -} // MultiNonContainedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiContained.java deleted file mode 100644 index b0ba6b4baf..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiContained.java +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: RefMultiContained.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Multi Contained</b></em>'. <!-- end-user-doc - * --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained#getElements <em>Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiContained() - * @model - * @generated - */ -public interface RefMultiContained extends EObject -{ - /** - * Returns the value of the '<em><b>Elements</b></em>' containment reference list. The list contents are of type - * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement}. It is bidirectional and its opposite is ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getParent <em>Parent</em>}'. <!-- - * begin-user-doc --> - * <p> - * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Elements</em>' containment reference list. - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiContained_Elements() - * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getParent - * @model opposite="parent" containment="true" - * @generated - */ - EList<MultiContainedElement> getElements(); - -} // RefMultiContained diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiContainedNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiContainedNPL.java deleted file mode 100644 index aa7e054186..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiContainedNPL.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: RefMultiContainedNPL.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Multi Contained NPL</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL#getElements <em>Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiContainedNPL() - * @model - * @generated - */ -public interface RefMultiContainedNPL extends EObject -{ - /** - * Returns the value of the '<em><b>Elements</b></em>' containment reference list. The list contents are of type - * {@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Elements</em>' containment reference list. - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiContainedNPL_Elements() - * @model containment="true" - * @generated - */ - EList<ContainedElementNoOpposite> getElements(); - -} // RefMultiContainedNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiNonContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiNonContained.java deleted file mode 100644 index c119d68e81..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiNonContained.java +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: RefMultiNonContained.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Multi Non Contained</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained#getElements <em>Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiNonContained() - * @model - * @generated - */ -public interface RefMultiNonContained extends EObject -{ - /** - * Returns the value of the '<em><b>Elements</b></em>' reference list. The list contents are of type - * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement}. It is bidirectional and its opposite is ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#getParent <em>Parent</em>}'. <!-- - * begin-user-doc --> - * <p> - * If the meaning of the '<em>Elements</em>' reference list isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Elements</em>' reference list. - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiNonContained_Elements() - * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#getParent - * @model opposite="parent" - * @generated - */ - EList<MultiNonContainedElement> getElements(); - -} // RefMultiNonContained diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiNonContainedNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiNonContainedNPL.java deleted file mode 100644 index 507d8a6d4f..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiNonContainedNPL.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: RefMultiNonContainedNPL.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.common.util.EList; -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Multi Non Contained NPL</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL#getElements <em>Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiNonContainedNPL() - * @model - * @generated - */ -public interface RefMultiNonContainedNPL extends EObject -{ - /** - * Returns the value of the '<em><b>Elements</b></em>' reference list. The list contents are of type - * {@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite}. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Elements</em>' reference list isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Elements</em>' reference list. - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefMultiNonContainedNPL_Elements() - * @model - * @generated - */ - EList<ContainedElementNoOpposite> getElements(); - -} // RefMultiNonContainedNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleContained.java deleted file mode 100644 index 788cb7514e..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleContained.java +++ /dev/null @@ -1,63 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: RefSingleContained.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Single Contained</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained#getElement <em>Element</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleContained() - * @model - * @generated - */ -public interface RefSingleContained extends EObject -{ - /** - * Returns the value of the '<em><b>Element</b></em>' containment reference. It is bidirectional and its opposite is ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getParent <em>Parent</em>}'. <!-- - * begin-user-doc --> - * <p> - * If the meaning of the '<em>Element</em>' containment reference isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Element</em>' containment reference. - * @see #setElement(SingleContainedElement) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleContained_Element() - * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getParent - * @model opposite="parent" containment="true" - * @generated - */ - SingleContainedElement getElement(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained#getElement - * <em>Element</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' containment reference. - * @see #getElement() - * @generated - */ - void setElement(SingleContainedElement value); - -} // RefSingleContained diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleContainedNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleContainedNPL.java deleted file mode 100644 index a80accd608..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleContainedNPL.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: RefSingleContainedNPL.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Single Contained NPL</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL#getElement <em>Element</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleContainedNPL() - * @model - * @generated - */ -public interface RefSingleContainedNPL extends EObject -{ - /** - * Returns the value of the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Element</em>' containment reference isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Element</em>' containment reference. - * @see #setElement(ContainedElementNoOpposite) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleContainedNPL_Element() - * @model containment="true" - * @generated - */ - ContainedElementNoOpposite getElement(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL#getElement - * <em>Element</em>}' containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' containment reference. - * @see #getElement() - * @generated - */ - void setElement(ContainedElementNoOpposite value); - -} // RefSingleContainedNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleNonContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleNonContained.java deleted file mode 100644 index 6abd61c8bd..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleNonContained.java +++ /dev/null @@ -1,63 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: RefSingleNonContained.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Single Non Contained</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained#getElement <em>Element</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleNonContained() - * @model - * @generated - */ -public interface RefSingleNonContained extends EObject -{ - /** - * Returns the value of the '<em><b>Element</b></em>' reference. It is bidirectional and its opposite is ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#getParent <em>Parent</em>}'. <!-- - * begin-user-doc --> - * <p> - * If the meaning of the '<em>Element</em>' reference isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Element</em>' reference. - * @see #setElement(SingleNonContainedElement) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleNonContained_Element() - * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#getParent - * @model opposite="parent" - * @generated - */ - SingleNonContainedElement getElement(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained#getElement - * <em>Element</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' reference. - * @see #getElement() - * @generated - */ - void setElement(SingleNonContainedElement value); - -} // RefSingleNonContained diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleNonContainedNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleNonContainedNPL.java deleted file mode 100644 index b0eba6e8c3..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleNonContainedNPL.java +++ /dev/null @@ -1,60 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: RefSingleNonContainedNPL.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Ref Single Non Contained NPL</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL#getElement <em>Element</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleNonContainedNPL() - * @model - * @generated - */ -public interface RefSingleNonContainedNPL extends EObject -{ - /** - * Returns the value of the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Element</em>' reference isn't clear, there really should be more of a description - * here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Element</em>' reference. - * @see #setElement(ContainedElementNoOpposite) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getRefSingleNonContainedNPL_Element() - * @model - * @generated - */ - ContainedElementNoOpposite getElement(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL#getElement - * <em>Element</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' reference. - * @see #getElement() - * @generated - */ - void setElement(ContainedElementNoOpposite value); - -} // RefSingleNonContainedNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/SingleContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/SingleContainedElement.java deleted file mode 100644 index 176fd1a0d6..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/SingleContainedElement.java +++ /dev/null @@ -1,90 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: SingleContainedElement.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Single Contained Element</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getParent <em>Parent</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getSingleContainedElement() - * @model - * @generated - */ -public interface SingleContainedElement extends EObject -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getSingleContainedElement_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getName <em>Name</em>} - * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Parent</b></em>' container reference. It is bidirectional and its opposite is ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained#getElement <em>Element</em>}'. <!-- - * begin-user-doc --> - * <p> - * If the meaning of the '<em>Parent</em>' container reference isn't clear, there really should be more of a - * description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Parent</em>' container reference. - * @see #setParent(RefSingleContained) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getSingleContainedElement_Parent() - * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained#getElement - * @model opposite="element" transient="false" - * @generated - */ - RefSingleContained getParent(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getParent - * <em>Parent</em>}' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Parent</em>' container reference. - * @see #getParent() - * @generated - */ - void setParent(RefSingleContained value); - -} // SingleContainedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/SingleNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/SingleNonContainedElement.java deleted file mode 100644 index c81425537f..0000000000 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/SingleNonContainedElement.java +++ /dev/null @@ -1,89 +0,0 @@ -/** - * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Eike Stepper - initial API and implementation - * - * $Id: SingleNonContainedElement.java,v 1.2 2009-08-22 09:34:58 estepper Exp $ - */ -package org.eclipse.emf.cdo.tests.legacy.model4; - -import org.eclipse.emf.ecore.EObject; - -/** - * <!-- begin-user-doc --> A representation of the model object '<em><b>Single Non Contained Element</b></em>'. <!-- - * end-user-doc --> - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#getParent <em>Parent</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getSingleNonContainedElement() - * @model - * @generated - */ -public interface SingleNonContainedElement extends EObject -{ - /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Name</em>' attribute. - * @see #setName(String) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getSingleNonContainedElement_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#getName - * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. - * @see #getName() - * @generated - */ - void setName(String value); - - /** - * Returns the value of the '<em><b>Parent</b></em>' reference. It is bidirectional and its opposite is ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained#getElement <em>Element</em>}'. <!-- - * begin-user-doc --> - * <p> - * If the meaning of the '<em>Parent</em>' reference isn't clear, there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * - * @return the value of the '<em>Parent</em>' reference. - * @see #setParent(RefSingleNonContained) - * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#getSingleNonContainedElement_Parent() - * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained#getElement - * @model opposite="element" - * @generated - */ - RefSingleNonContained getParent(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#getParent - * <em>Parent</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Parent</em>' reference. - * @see #getParent() - * @generated - */ - void setParent(RefSingleNonContained value); - -} // SingleNonContainedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ContainedElementNoOppositeImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ContainedElementNoOppositeImpl.java index b62380976f..a833c75d1a 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ContainedElementNoOppositeImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ContainedElementNoOppositeImpl.java @@ -8,12 +8,12 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ContainedElementNoOppositeImpl.java,v 1.5 2009-08-22 09:34:58 estepper Exp $ + * $Id: ContainedElementNoOppositeImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMapNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMapNonContainedImpl.java index 607fbaced2..37d2dc20f4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMapNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMapNonContainedImpl.java @@ -8,12 +8,12 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: GenRefMapNonContainedImpl.java,v 1.2 2009-08-22 09:34:57 estepper Exp $ + * $Id: GenRefMapNonContainedImpl.java,v 1.3 2010-01-08 19:43:49 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EMap; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiContainedImpl.java index cc8dab8e5a..1cc011ae04 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiContainedImpl.java @@ -8,12 +8,12 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: GenRefMultiContainedImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: GenRefMultiContainedImpl.java,v 1.6 2010-01-08 19:43:49 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiNUNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiNUNonContainedImpl.java index de34027ec2..48b0deba52 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiNUNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiNUNonContainedImpl.java @@ -8,12 +8,12 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: GenRefMultiNUNonContainedImpl.java,v 1.2 2009-08-22 09:34:57 estepper Exp $ + * $Id: GenRefMultiNUNonContainedImpl.java,v 1.3 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiNonContainedImpl.java index 3b18d686d7..e12e65645c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiNonContainedImpl.java @@ -8,12 +8,12 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: GenRefMultiNonContainedImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: GenRefMultiNonContainedImpl.java,v 1.6 2010-01-08 19:43:49 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefSingleContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefSingleContainedImpl.java index 9938ccbe62..2b984635b6 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefSingleContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefSingleContainedImpl.java @@ -8,12 +8,12 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: GenRefSingleContainedImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: GenRefSingleContainedImpl.java,v 1.6 2010-01-08 19:43:49 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.GenRefSingleContained; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefSingleNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefSingleNonContainedImpl.java index 25bb6ab14d..21c899a8c3 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefSingleNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefSingleNonContainedImpl.java @@ -8,12 +8,12 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: GenRefSingleNonContainedImpl.java,v 1.5 2009-08-22 09:34:58 estepper Exp $ + * $Id: GenRefSingleNonContainedImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplContainedElementNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplContainedElementNPLImpl.java index 6471058cf3..adf6c510dd 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplContainedElementNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplContainedElementNPLImpl.java @@ -8,14 +8,14 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplContainedElementNPLImpl.java,v 1.5 2009-08-22 09:34:58 estepper Exp $ + * $Id: ImplContainedElementNPLImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement; import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; +import org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.INamedElement; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainedElementImpl.java index 5d320ca4b5..04ae1d0d49 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainedElementImpl.java @@ -8,14 +8,14 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplMultiRefContainedElementImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: ImplMultiRefContainedElementImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer; import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainerImpl.java index 3eb3665545..19389ad922 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainerImpl.java @@ -8,14 +8,14 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplMultiRefContainerImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: ImplMultiRefContainerImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainerNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainerNPLImpl.java index 1947570a03..9e2f4d463c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainerNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainerNPLImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplMultiRefContainerNPLImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: ImplMultiRefContainerNPLImpl.java,v 1.6 2010-01-08 19:43:49 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainedElementImpl.java index 4df4758bb0..2cefc799b6 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainedElementImpl.java @@ -8,14 +8,14 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplMultiRefNonContainedElementImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: ImplMultiRefNonContainedElementImpl.java,v 1.6 2010-01-08 19:43:49 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer; import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainerImpl.java index 1b58864547..28f4ec3a12 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainerImpl.java @@ -8,14 +8,14 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplMultiRefNonContainerImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: ImplMultiRefNonContainerImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainerNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainerNPLImpl.java index f8d068eb42..1e19b8fcee 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainerNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainerNPLImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplMultiRefNonContainerNPLImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: ImplMultiRefNonContainerNPLImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainedElementImpl.java index 7683696135..0ec1534cbf 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainedElementImpl.java @@ -8,14 +8,14 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplSingleRefContainedElementImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: ImplSingleRefContainedElementImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer; import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainerImpl.java index ab4bb036e5..ca853da6a4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainerImpl.java @@ -8,14 +8,14 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplSingleRefContainerImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: ImplSingleRefContainerImpl.java,v 1.6 2010-01-08 19:43:49 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainerNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainerNPLImpl.java index 5a6798412d..69bf1e9cc7 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainerNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainerNPLImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplSingleRefContainerNPLImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: ImplSingleRefContainerNPLImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainedElementImpl.java index 77d7848ecb..67e2f216bd 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainedElementImpl.java @@ -8,14 +8,14 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplSingleRefNonContainedElementImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: ImplSingleRefNonContainedElementImpl.java,v 1.6 2010-01-08 19:43:49 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer; import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainerImpl.java index 09b0c6d3ab..7648ff810c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainerImpl.java @@ -8,14 +8,14 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplSingleRefNonContainerImpl.java,v 1.5 2009-08-22 09:34:58 estepper Exp $ + * $Id: ImplSingleRefNonContainerImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainerNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainerNPLImpl.java index 87821658de..10d5875d96 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainerNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainerNPLImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: ImplSingleRefNonContainerNPLImpl.java,v 1.5 2009-08-22 09:34:58 estepper Exp $ + * $Id: ImplSingleRefNonContainerNPLImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiContainedElementImpl.java index 718e3b25a3..b8454d9bd3 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiContainedElementImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: MultiContainedElementImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: MultiContainedElementImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.MultiContainedElement; +import org.eclipse.emf.cdo.tests.model4.RefMultiContained; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiNonContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiNonContainedElementImpl.java index cc8968162c..4d74c56163 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiNonContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiNonContainedElementImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: MultiNonContainedElementImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: MultiNonContainedElementImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiNonContainedUnsettableElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiNonContainedUnsettableElementImpl.java new file mode 100644 index 0000000000..20f6234d0b --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiNonContainedUnsettableElementImpl.java @@ -0,0 +1,399 @@ +/** + * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Eike Stepper - initial API and implementation + * + * $Id: MultiNonContainedUnsettableElementImpl.java,v 1.1 2010-01-08 19:43:50 mfluegge Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4.impl; + +import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedUnsettableElement; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedUnsettable; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.EObjectImpl; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Multi Non Contained Unsettable Element</b></em> + * '. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedUnsettableElementImpl#getName <em>Name</em>} + * </li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedUnsettableElementImpl#getParent <em>Parent + * </em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class MultiNonContainedUnsettableElementImpl extends EObjectImpl implements MultiNonContainedUnsettableElement +{ + /** + * The default value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc + * --> + * + * @see #getName() + * @generated + * @ordered + */ + protected static final String NAME_EDEFAULT = null; + + /** + * The cached value of the '{@link #getName() <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #getName() + * @generated + * @ordered + */ + protected String name = NAME_EDEFAULT; + + /** + * The cached value of the '{@link #getParent() <em>Parent</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc + * --> + * + * @see #getParent() + * @generated + * @ordered + */ + protected RefMultiNonContainedUnsettable parent; + + /** + * This is true if the Parent reference has been set. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + protected boolean parentESet; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected MultiNonContainedUnsettableElementImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public String getName() + { + return name; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setName(String newName) + { + String oldName = name; + name = newName; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__NAME, + oldName, name)); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public RefMultiNonContainedUnsettable getParent() + { + if (parent != null && parent.eIsProxy()) + { + InternalEObject oldParent = (InternalEObject)parent; + parent = (RefMultiNonContainedUnsettable)eResolveProxy(oldParent); + if (parent != oldParent) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT, oldParent, parent)); + } + } + return parent; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public RefMultiNonContainedUnsettable basicGetParent() + { + return parent; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public NotificationChain basicSetParent(RefMultiNonContainedUnsettable newParent, NotificationChain msgs) + { + RefMultiNonContainedUnsettable oldParent = parent; + parent = newParent; + boolean oldParentESet = parentESet; + parentESet = true; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT, oldParent, newParent, !oldParentESet); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void setParent(RefMultiNonContainedUnsettable newParent) + { + if (newParent != parent) + { + NotificationChain msgs = null; + if (parent != null) + msgs = ((InternalEObject)parent).eInverseRemove(this, + model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS, RefMultiNonContainedUnsettable.class, msgs); + if (newParent != null) + msgs = ((InternalEObject)newParent).eInverseAdd(this, + model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS, RefMultiNonContainedUnsettable.class, msgs); + msgs = basicSetParent(newParent, msgs); + if (msgs != null) + msgs.dispatch(); + } + else + { + boolean oldParentESet = parentESet; + parentESet = true; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT, newParent, newParent, !oldParentESet)); + } + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public NotificationChain basicUnsetParent(NotificationChain msgs) + { + RefMultiNonContainedUnsettable oldParent = parent; + parent = null; + boolean oldParentESet = parentESet; + parentESet = false; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.UNSET, + model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT, oldParent, null, oldParentESet); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetParent() + { + if (parent != null) + { + NotificationChain msgs = null; + msgs = ((InternalEObject)parent).eInverseRemove(this, model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS, + RefMultiNonContainedUnsettable.class, msgs); + msgs = basicUnsetParent(msgs); + if (msgs != null) + msgs.dispatch(); + } + else + { + boolean oldParentESet = parentESet; + parentESet = false; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.UNSET, + model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT, null, null, oldParentESet)); + } + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetParent() + { + return parentESet; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT: + if (parent != null) + msgs = ((InternalEObject)parent).eInverseRemove(this, + model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS, RefMultiNonContainedUnsettable.class, msgs); + return basicSetParent((RefMultiNonContainedUnsettable)otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT: + return basicUnsetParent(msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__NAME: + return getName(); + case model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT: + if (resolve) + return getParent(); + return basicGetParent(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__NAME: + setName((String)newValue); + return; + case model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT: + setParent((RefMultiNonContainedUnsettable)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__NAME: + setName(NAME_EDEFAULT); + return; + case model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT: + unsetParent(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT: + return isSetParent(); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public String toString() + { + if (eIsProxy()) + return super.toString(); + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (name: "); + result.append(name); + result.append(')'); + return result.toString(); + } + +} // MultiNonContainedUnsettableElementImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiContainedImpl.java index 37c464f233..e3db171e36 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiContainedImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: RefMultiContainedImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: RefMultiContainedImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.MultiContainedElement; +import org.eclipse.emf.cdo.tests.model4.RefMultiContained; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiContainedNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiContainedNPLImpl.java index 8bb22b78e6..543fe4a83a 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiContainedNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiContainedNPLImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: RefMultiContainedNPLImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: RefMultiContainedNPLImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite; +import org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedImpl.java index ad718b8e75..22cd22e990 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: RefMultiNonContainedImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: RefMultiNonContainedImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained; import org.eclipse.emf.common.notify.NotificationChain; import org.eclipse.emf.common.util.EList; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedNPLImpl.java index f7db60ca7c..c6759460ff 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedNPLImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: RefMultiNonContainedNPLImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: RefMultiNonContainedNPLImpl.java,v 1.6 2010-01-08 19:43:49 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EClass; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedUnsettableImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedUnsettableImpl.java new file mode 100644 index 0000000000..aff0d6d266 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedUnsettableImpl.java @@ -0,0 +1,213 @@ +/** + * Copyright (c) 2004 - 2009 Eike Stepper (Berlin, Germany) and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Eike Stepper - initial API and implementation + * + * $Id: RefMultiNonContainedUnsettableImpl.java,v 1.1 2010-01-08 19:43:50 mfluegge Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4.impl; + +import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedUnsettableElement; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedUnsettable; + +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +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.EObjectWithInverseResolvingEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> An implementation of the model object '<em><b>Ref Multi Non Contained Unsettable</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedUnsettableImpl#getElements <em>Elements + * </em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RefMultiNonContainedUnsettableImpl extends EObjectImpl implements RefMultiNonContainedUnsettable +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getElements() + * @generated + * @ordered + */ + protected EList<MultiNonContainedUnsettableElement> elements; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected RefMultiNonContainedUnsettableImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.REF_MULTI_NON_CONTAINED_UNSETTABLE; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EList<MultiNonContainedUnsettableElement> getElements() + { + if (elements == null) + { + elements = new EObjectWithInverseResolvingEList.Unsettable<MultiNonContainedUnsettableElement>( + MultiNonContainedUnsettableElement.class, this, model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS, + model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT); + } + return elements; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public void unsetElements() + { + if (elements != null) + ((InternalEList.Unsettable<?>)elements).unset(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public boolean isSetElements() + { + return elements != null && ((InternalEList.Unsettable<?>)elements).isSet(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS: + return ((InternalEList<InternalEObject>)(InternalEList<?>)getElements()).basicAdd(otherEnd, msgs); + } + return super.eInverseAdd(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS: + return ((InternalEList<?>)getElements()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS: + return getElements(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) + { + switch (featureID) + { + case model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection<? extends MultiNonContainedUnsettableElement>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS: + unsetElements(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS: + return isSetElements(); + } + return super.eIsSet(featureID); + } + +} // RefMultiNonContainedUnsettableImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleContainedImpl.java index a1175ce7cd..2ac6282676 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleContainedImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: RefSingleContainedImpl.java,v 1.5 2009-08-22 09:34:58 estepper Exp $ + * $Id: RefSingleContainedImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained; -import org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.RefSingleContained; +import org.eclipse.emf.cdo.tests.model4.SingleContainedElement; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleContainedNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleContainedNPLImpl.java index 3064ed9a8f..32274e2240 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleContainedNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleContainedNPLImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: RefSingleContainedNPLImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: RefSingleContainedNPLImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite; +import org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedImpl.java index ff6c6db2fa..3ca88ac2f4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: RefSingleNonContainedImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: RefSingleNonContainedImpl.java,v 1.6 2010-01-08 19:43:49 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained; +import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; 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 47b750ad86..d7857f4964 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 @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: RefSingleNonContainedNPLImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: RefSingleNonContainedNPLImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.ecore.EClass; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/SingleContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/SingleContainedElementImpl.java index 51c5ea76ec..f2707dc09a 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/SingleContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/SingleContainedElementImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: SingleContainedElementImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: SingleContainedElementImpl.java,v 1.6 2010-01-08 19:43:49 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained; -import org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.RefSingleContained; +import org.eclipse.emf.cdo.tests.model4.SingleContainedElement; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/SingleNonContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/SingleNonContainedElementImpl.java index 6c5e40f82a..0ea727c2ac 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/SingleNonContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/SingleNonContainedElementImpl.java @@ -8,13 +8,13 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: SingleNonContainedElementImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: SingleNonContainedElementImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained; +import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement; import org.eclipse.emf.common.notify.Notification; import org.eclipse.emf.common.notify.NotificationChain; diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/model4FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/model4FactoryImpl.java index 90a6134399..4fcdcc86cf 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/model4FactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/model4FactoryImpl.java @@ -8,44 +8,46 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: model4FactoryImpl.java,v 1.5 2009-08-22 09:34:58 estepper Exp $ + * $Id: model4FactoryImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4.model4Factory; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; +import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite; +import org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefSingleContained; +import org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained; +import org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4.MultiContainedElement; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedUnsettableElement; +import org.eclipse.emf.cdo.tests.model4.RefMultiContained; +import org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedUnsettable; +import org.eclipse.emf.cdo.tests.model4.RefSingleContained; +import org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL; +import org.eclipse.emf.cdo.tests.model4.SingleContainedElement; +import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; @@ -65,14 +67,14 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc --> * - * @generated + * @generated NOT */ public static model4Factory init() { try { model4Factory themodel4Factory = (model4Factory)EPackage.Registry.INSTANCE - .getEFactory("http://www.eclipse.org/emf/CDO/tests/model4/1.0.0"); + .getEFactory("http://www.eclipse.org/emf/CDO/tests/legacy/model4/1.0.0"); if (themodel4Factory != null) { return themodel4Factory; @@ -121,6 +123,10 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory return createRefMultiNonContained(); case model4Package.MULTI_NON_CONTAINED_ELEMENT: return createMultiNonContainedElement(); + case model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE: + return createRefMultiNonContainedUnsettable(); + case model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT: + return createMultiNonContainedUnsettableElement(); case model4Package.REF_SINGLE_CONTAINED_NPL: return createRefSingleContainedNPL(); case model4Package.REF_SINGLE_NON_CONTAINED_NPL: @@ -269,6 +275,28 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory * * @generated */ + public RefMultiNonContainedUnsettable createRefMultiNonContainedUnsettable() + { + RefMultiNonContainedUnsettableImpl refMultiNonContainedUnsettable = new RefMultiNonContainedUnsettableImpl(); + return refMultiNonContainedUnsettable; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public MultiNonContainedUnsettableElement createMultiNonContainedUnsettableElement() + { + MultiNonContainedUnsettableElementImpl multiNonContainedUnsettableElement = new MultiNonContainedUnsettableElementImpl(); + return multiNonContainedUnsettableElement; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ public RefSingleContainedNPL createRefSingleContainedNPL() { RefSingleContainedNPLImpl refSingleContainedNPL = new RefSingleContainedNPLImpl(); diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/model4PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/model4PackageImpl.java index bd1f482add..f56661a70f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/model4PackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/model4PackageImpl.java @@ -8,45 +8,47 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: model4PackageImpl.java,v 1.5 2009-08-22 09:34:57 estepper Exp $ + * $Id: model4PackageImpl.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.impl; -import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4.model4Factory; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; +import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite; +import org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefSingleContained; +import org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained; +import org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4.MultiContainedElement; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedUnsettableElement; +import org.eclipse.emf.cdo.tests.model4.RefMultiContained; +import org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedUnsettable; +import org.eclipse.emf.cdo.tests.model4.RefSingleContained; +import org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL; +import org.eclipse.emf.cdo.tests.model4.SingleContainedElement; +import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; @@ -124,6 +126,20 @@ public class model4PackageImpl extends EPackageImpl implements model4Package * * @generated */ + private EClass refMultiNonContainedUnsettableEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + private EClass multiNonContainedUnsettableElementEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ private EClass refSingleContainedNPLEClass = null; /** @@ -565,6 +581,56 @@ public class model4PackageImpl extends EPackageImpl implements model4Package * * @generated */ + public EClass getRefMultiNonContainedUnsettable() + { + return refMultiNonContainedUnsettableEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EReference getRefMultiNonContainedUnsettable_Elements() + { + return (EReference)refMultiNonContainedUnsettableEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EClass getMultiNonContainedUnsettableElement() + { + return multiNonContainedUnsettableElementEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EAttribute getMultiNonContainedUnsettableElement_Name() + { + return (EAttribute)multiNonContainedUnsettableElementEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public EReference getMultiNonContainedUnsettableElement_Parent() + { + return (EReference)multiNonContainedUnsettableElementEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ public EClass getRefSingleContainedNPL() { return refSingleContainedNPLEClass; @@ -1038,6 +1104,13 @@ public class model4PackageImpl extends EPackageImpl implements model4Package createEAttribute(multiNonContainedElementEClass, MULTI_NON_CONTAINED_ELEMENT__NAME); createEReference(multiNonContainedElementEClass, MULTI_NON_CONTAINED_ELEMENT__PARENT); + refMultiNonContainedUnsettableEClass = createEClass(REF_MULTI_NON_CONTAINED_UNSETTABLE); + createEReference(refMultiNonContainedUnsettableEClass, REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS); + + multiNonContainedUnsettableElementEClass = createEClass(MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT); + createEAttribute(multiNonContainedUnsettableElementEClass, MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__NAME); + createEReference(multiNonContainedUnsettableElementEClass, MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT); + refSingleContainedNPLEClass = createEClass(REF_SINGLE_CONTAINED_NPL); createEReference(refSingleContainedNPLEClass, REF_SINGLE_CONTAINED_NPL__ELEMENT); @@ -1226,6 +1299,23 @@ public class model4PackageImpl extends EPackageImpl implements model4Package !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEClass(refMultiNonContainedUnsettableEClass, RefMultiNonContainedUnsettable.class, + "RefMultiNonContainedUnsettable", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRefMultiNonContainedUnsettable_Elements(), this.getMultiNonContainedUnsettableElement(), this + .getMultiNonContainedUnsettableElement_Parent(), "elements", null, 0, -1, RefMultiNonContainedUnsettable.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + initEClass(multiNonContainedUnsettableElementEClass, MultiNonContainedUnsettableElement.class, + "MultiNonContainedUnsettableElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getMultiNonContainedUnsettableElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, + MultiNonContainedUnsettableElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getMultiNonContainedUnsettableElement_Parent(), this.getRefMultiNonContainedUnsettable(), this + .getRefMultiNonContainedUnsettable_Elements(), "parent", null, 0, 1, MultiNonContainedUnsettableElement.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, IS_UNSETTABLE, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEClass(refSingleContainedNPLEClass, RefSingleContainedNPL.class, "RefSingleContainedNPL", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); initEReference(getRefSingleContainedNPL_Element(), this.getContainedElementNoOpposite(), null, "element", null, 0, diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/model4Factory.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/model4Factory.java index 54acf1f573..80120000a7 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/model4Factory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/model4Factory.java @@ -8,11 +8,44 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: model4Factory.java,v 1.5 2009-08-22 09:34:58 estepper Exp $ + * $Id: model4Factory.java,v 1.6 2010-01-08 19:43:52 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4; -import org.eclipse.emf.ecore.EFactory; +import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite; +import org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefSingleContained; +import org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained; +import org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4.MultiContainedElement; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedUnsettableElement; +import org.eclipse.emf.cdo.tests.model4.RefMultiContained; +import org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedUnsettable; +import org.eclipse.emf.cdo.tests.model4.RefSingleContained; +import org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL; +import org.eclipse.emf.cdo.tests.model4.SingleContainedElement; +import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement; /** * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of @@ -21,7 +54,7 @@ import org.eclipse.emf.ecore.EFactory; * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package * @generated */ -public interface model4Factory extends EFactory +public interface model4Factory extends org.eclipse.emf.cdo.tests.model4.model4Factory { /** * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -96,6 +129,24 @@ public interface model4Factory extends EFactory MultiNonContainedElement createMultiNonContainedElement(); /** + * Returns a new object of class '<em>Ref Multi Non Contained Unsettable</em>'. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @return a new object of class '<em>Ref Multi Non Contained Unsettable</em>'. + * @generated + */ + RefMultiNonContainedUnsettable createRefMultiNonContainedUnsettable(); + + /** + * Returns a new object of class '<em>Multi Non Contained Unsettable Element</em>'. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @return a new object of class '<em>Multi Non Contained Unsettable Element</em>'. + * @generated + */ + MultiNonContainedUnsettableElement createMultiNonContainedUnsettableElement(); + + /** * Returns a new object of class '<em>Ref Single Contained NPL</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> * * @return a new object of class '<em>Ref Single Contained NPL</em>'. diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/model4Package.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/model4Package.java index b219d7a865..7dd017ddbe 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/model4Package.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/model4Package.java @@ -8,7 +8,7 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: model4Package.java,v 1.5 2009-08-22 09:34:58 estepper Exp $ + * $Id: model4Package.java,v 1.6 2010-01-08 19:43:50 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4; @@ -16,7 +16,6 @@ import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EPackage; import org.eclipse.emf.ecore.EReference; /** @@ -33,7 +32,7 @@ import org.eclipse.emf.ecore.EReference; * @model kind="package" * @generated */ -public interface model4Package extends EPackage +public interface model4Package extends org.eclipse.emf.cdo.tests.model4.model4Package { /** * The package name. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -45,9 +44,9 @@ public interface model4Package extends EPackage /** * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc --> * - * @generated + * @generated NOT */ - String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model4/1.0.0"; + String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model4/1.0.0"; /** * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -314,6 +313,69 @@ public interface model4Package extends EPackage int MULTI_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 2; /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedUnsettableImpl + * <em>Ref Multi Non Contained Unsettable</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedUnsettableImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContainedUnsettable() + * @generated + */ + int REF_MULTI_NON_CONTAINED_UNSETTABLE = 8; + + /** + * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS = 0; + + /** + * The number of structural features of the '<em>Ref Multi Non Contained Unsettable</em>' class. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int REF_MULTI_NON_CONTAINED_UNSETTABLE_FEATURE_COUNT = 1; + + /** + * The meta object id for the ' + * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedUnsettableElementImpl + * <em>Multi Non Contained Unsettable Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedUnsettableElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiNonContainedUnsettableElement() + * @generated + */ + int MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT = 9; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__NAME = 0; + + /** + * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT = 1; + + /** + * The number of structural features of the '<em>Multi Non Contained Unsettable Element</em>' class. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT_FEATURE_COUNT = 2; + + /** * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl * <em>Ref Single Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> * @@ -321,7 +383,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContainedNPL() * @generated */ - int REF_SINGLE_CONTAINED_NPL = 8; + int REF_SINGLE_CONTAINED_NPL = 10; /** * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc @@ -349,7 +411,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContainedNPL() * @generated */ - int REF_SINGLE_NON_CONTAINED_NPL = 9; + int REF_SINGLE_NON_CONTAINED_NPL = 11; /** * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -376,7 +438,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContainedNPL() * @generated */ - int REF_MULTI_CONTAINED_NPL = 10; + int REF_MULTI_CONTAINED_NPL = 12; /** * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- @@ -404,7 +466,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContainedNPL() * @generated */ - int REF_MULTI_NON_CONTAINED_NPL = 11; + int REF_MULTI_NON_CONTAINED_NPL = 13; /** * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -431,7 +493,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getContainedElementNoOpposite() * @generated */ - int CONTAINED_ELEMENT_NO_OPPOSITE = 12; + int CONTAINED_ELEMENT_NO_OPPOSITE = 14; /** * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -458,7 +520,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleContained() * @generated */ - int GEN_REF_SINGLE_CONTAINED = 13; + int GEN_REF_SINGLE_CONTAINED = 15; /** * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc @@ -486,7 +548,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleNonContained() * @generated */ - int GEN_REF_SINGLE_NON_CONTAINED = 14; + int GEN_REF_SINGLE_NON_CONTAINED = 16; /** * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -513,7 +575,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiContained() * @generated */ - int GEN_REF_MULTI_CONTAINED = 15; + int GEN_REF_MULTI_CONTAINED = 17; /** * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- @@ -541,7 +603,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNonContained() * @generated */ - int GEN_REF_MULTI_NON_CONTAINED = 16; + int GEN_REF_MULTI_NON_CONTAINED = 18; /** * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -568,7 +630,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainer() * @generated */ - int IMPL_SINGLE_REF_CONTAINER = 17; + int IMPL_SINGLE_REF_CONTAINER = 19; /** * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc @@ -596,7 +658,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainedElement() * @generated */ - int IMPL_SINGLE_REF_CONTAINED_ELEMENT = 18; + int IMPL_SINGLE_REF_CONTAINED_ELEMENT = 20; /** * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -631,7 +693,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainer() * @generated */ - int IMPL_SINGLE_REF_NON_CONTAINER = 19; + int IMPL_SINGLE_REF_NON_CONTAINER = 21; /** * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -659,7 +721,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainedElement() * @generated */ - int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT = 20; + int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT = 22; /** * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -694,7 +756,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainer() * @generated */ - int IMPL_MULTI_REF_NON_CONTAINER = 21; + int IMPL_MULTI_REF_NON_CONTAINER = 23; /** * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -722,7 +784,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainedElement() * @generated */ - int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT = 22; + int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT = 24; /** * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -757,7 +819,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainer() * @generated */ - int IMPL_MULTI_REF_CONTAINER = 23; + int IMPL_MULTI_REF_CONTAINER = 25; /** * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- @@ -785,7 +847,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainedElement() * @generated */ - int IMPL_MULTI_REF_CONTAINED_ELEMENT = 24; + int IMPL_MULTI_REF_CONTAINED_ELEMENT = 26; /** * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -820,7 +882,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainerNPL() * @generated */ - int IMPL_SINGLE_REF_CONTAINER_NPL = 25; + int IMPL_SINGLE_REF_CONTAINER_NPL = 27; /** * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc @@ -848,7 +910,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainerNPL() * @generated */ - int IMPL_SINGLE_REF_NON_CONTAINER_NPL = 26; + int IMPL_SINGLE_REF_NON_CONTAINER_NPL = 28; /** * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -875,7 +937,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainerNPL() * @generated */ - int IMPL_MULTI_REF_CONTAINER_NPL = 27; + int IMPL_MULTI_REF_CONTAINER_NPL = 29; /** * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- @@ -903,7 +965,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainerNPL() * @generated */ - int IMPL_MULTI_REF_NON_CONTAINER_NPL = 28; + int IMPL_MULTI_REF_NON_CONTAINER_NPL = 30; /** * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -930,7 +992,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplContainedElementNPL() * @generated */ - int IMPL_CONTAINED_ELEMENT_NPL = 29; + int IMPL_CONTAINED_ELEMENT_NPL = 31; /** * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -957,7 +1019,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNUNonContained() * @generated */ - int GEN_REF_MULTI_NU_NON_CONTAINED = 30; + int GEN_REF_MULTI_NU_NON_CONTAINED = 32; /** * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -984,7 +1046,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMapNonContained() * @generated */ - int GEN_REF_MAP_NON_CONTAINED = 31; + int GEN_REF_MAP_NON_CONTAINED = 33; /** * The feature id for the '<em><b>Elements</b></em>' map. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -1011,7 +1073,7 @@ public interface model4Package extends EPackage * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getStringToEObject() * @generated */ - int STRING_TO_EOBJECT = 32; + int STRING_TO_EOBJECT = 34; /** * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> @@ -1263,6 +1325,63 @@ public interface model4Package extends EPackage EReference getMultiNonContainedElement_Parent(); /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedUnsettable + * <em>Ref Multi Non Contained Unsettable</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return the meta object for class '<em>Ref Multi Non Contained Unsettable</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedUnsettable + * @generated + */ + EClass getRefMultiNonContainedUnsettable(); + + /** + * Returns the meta object for the reference list ' + * {@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedUnsettable#getElements <em>Elements</em>}'. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @return the meta object for the reference list '<em>Elements</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedUnsettable#getElements() + * @see #getRefMultiNonContainedUnsettable() + * @generated + */ + EReference getRefMultiNonContainedUnsettable_Elements(); + + /** + * Returns the meta object for class ' + * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedUnsettableElement + * <em>Multi Non Contained Unsettable Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return the meta object for class '<em>Multi Non Contained Unsettable Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedUnsettableElement + * @generated + */ + EClass getMultiNonContainedUnsettableElement(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedUnsettableElement#getName <em>Name</em>}'. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @return the meta object for the attribute '<em>Name</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedUnsettableElement#getName() + * @see #getMultiNonContainedUnsettableElement() + * @generated + */ + EAttribute getMultiNonContainedUnsettableElement_Name(); + + /** + * Returns the meta object for the reference ' + * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedUnsettableElement#getParent <em>Parent</em>}'. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @return the meta object for the reference '<em>Parent</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedUnsettableElement#getParent() + * @see #getMultiNonContainedUnsettableElement() + * @generated + */ + EReference getMultiNonContainedUnsettableElement_Parent(); + + /** * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL * <em>Ref Single Contained NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> * @@ -1917,6 +2036,53 @@ public interface model4Package extends EPackage EReference MULTI_NON_CONTAINED_ELEMENT__PARENT = eINSTANCE.getMultiNonContainedElement_Parent(); /** + * The meta object literal for the ' + * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedUnsettableImpl + * <em>Ref Multi Non Contained Unsettable</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedUnsettableImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContainedUnsettable() + * @generated + */ + EClass REF_MULTI_NON_CONTAINED_UNSETTABLE = eINSTANCE.getRefMultiNonContainedUnsettable(); + + /** + * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @generated + */ + EReference REF_MULTI_NON_CONTAINED_UNSETTABLE__ELEMENTS = eINSTANCE.getRefMultiNonContainedUnsettable_Elements(); + + /** + * The meta object literal for the ' + * {@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedUnsettableElementImpl + * <em>Multi Non Contained Unsettable Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedUnsettableElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiNonContainedUnsettableElement() + * @generated + */ + EClass MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT = eINSTANCE.getMultiNonContainedUnsettableElement(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @generated + */ + EAttribute MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__NAME = eINSTANCE.getMultiNonContainedUnsettableElement_Name(); + + /** + * The meta object literal for the '<em><b>Parent</b></em>' reference feature. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @generated + */ + EReference MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT__PARENT = eINSTANCE + .getMultiNonContainedUnsettableElement_Parent(); + + /** * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl * <em>Ref Single Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> * diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/util/model4AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/util/model4AdapterFactory.java index 8f328061d8..8a87afde56 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/util/model4AdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/util/model4AdapterFactory.java @@ -8,57 +8,59 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: model4AdapterFactory.java,v 1.5 2009-08-22 09:34:59 estepper Exp $ + * $Id: model4AdapterFactory.java,v 1.6 2010-01-08 19:43:53 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.util; -import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite; +import org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefSingleContained; +import org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained; +import org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4.MultiContainedElement; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedUnsettableElement; +import org.eclipse.emf.cdo.tests.model4.RefMultiContained; +import org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedUnsettable; +import org.eclipse.emf.cdo.tests.model4.RefSingleContained; +import org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL; +import org.eclipse.emf.cdo.tests.model4.SingleContainedElement; +import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.INamedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL; import org.eclipse.emf.common.notify.Adapter; import org.eclipse.emf.common.notify.Notifier; @@ -174,6 +176,18 @@ public class model4AdapterFactory extends AdapterFactoryImpl } @Override + public Adapter caseRefMultiNonContainedUnsettable(RefMultiNonContainedUnsettable object) + { + return createRefMultiNonContainedUnsettableAdapter(); + } + + @Override + public Adapter caseMultiNonContainedUnsettableElement(MultiNonContainedUnsettableElement object) + { + return createMultiNonContainedUnsettableElementAdapter(); + } + + @Override public Adapter caseRefSingleContainedNPL(RefSingleContainedNPL object) { return createRefSingleContainedNPLAdapter(); @@ -549,6 +563,38 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** + * Creates a new adapter for an object of class ' + * {@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedUnsettable + * <em>Ref Multi Non Contained Unsettable</em>}'. <!-- begin-user-doc --> This default implementation returns null so + * that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedUnsettable + * @generated + */ + public Adapter createRefMultiNonContainedUnsettableAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class ' + * {@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedUnsettableElement + * <em>Multi Non Contained Unsettable Element</em>}'. <!-- begin-user-doc --> This default implementation returns null + * so that we can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedUnsettableElement + * @generated + */ + public Adapter createMultiNonContainedUnsettableElementAdapter() + { + return null; + } + + /** * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL * <em>Ref Single Contained NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we * can easily ignore cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!-- diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/util/model4Switch.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/util/model4Switch.java index 7ced8c4904..e181bd53d5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/util/model4Switch.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/util/model4Switch.java @@ -8,57 +8,59 @@ * Contributors: * Eike Stepper - initial API and implementation * - * $Id: model4Switch.java,v 1.5 2009-08-22 09:34:59 estepper Exp $ + * $Id: model4Switch.java,v 1.6 2010-01-08 19:43:53 mfluegge Exp $ */ package org.eclipse.emf.cdo.tests.legacy.model4.util; -import org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained; -import org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer; -import org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained; -import org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL; -import org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement; import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite; +import org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained; +import org.eclipse.emf.cdo.tests.model4.GenRefSingleContained; +import org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained; +import org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer; +import org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer; +import org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4.MultiContainedElement; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement; +import org.eclipse.emf.cdo.tests.model4.MultiNonContainedUnsettableElement; +import org.eclipse.emf.cdo.tests.model4.RefMultiContained; +import org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContained; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedUnsettable; +import org.eclipse.emf.cdo.tests.model4.RefSingleContained; +import org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContained; +import org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL; +import org.eclipse.emf.cdo.tests.model4.SingleContainedElement; +import org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.INamedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer; +import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL; import org.eclipse.emf.ecore.EClass; import org.eclipse.emf.ecore.EObject; @@ -204,6 +206,22 @@ public class model4Switch<T> result = defaultCase(theEObject); return result; } + case model4Package.REF_MULTI_NON_CONTAINED_UNSETTABLE: + { + RefMultiNonContainedUnsettable refMultiNonContainedUnsettable = (RefMultiNonContainedUnsettable)theEObject; + T result = caseRefMultiNonContainedUnsettable(refMultiNonContainedUnsettable); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.MULTI_NON_CONTAINED_UNSETTABLE_ELEMENT: + { + MultiNonContainedUnsettableElement multiNonContainedUnsettableElement = (MultiNonContainedUnsettableElement)theEObject; + T result = caseMultiNonContainedUnsettableElement(multiNonContainedUnsettableElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } case model4Package.REF_SINGLE_CONTAINED_NPL: { RefSingleContainedNPL refSingleContainedNPL = (RefSingleContainedNPL)theEObject; @@ -566,6 +584,38 @@ public class model4Switch<T> } /** + * Returns the result of interpreting the object as an instance of '<em>Ref Multi Non Contained Unsettable</em>'. <!-- + * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Ref Multi Non Contained Unsettable</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRefMultiNonContainedUnsettable(RefMultiNonContainedUnsettable object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Multi Non Contained Unsettable Element</em>'. + * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. + * <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Multi Non Contained Unsettable Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMultiNonContainedUnsettableElement(MultiNonContainedUnsettableElement object) + { + return null; + } + + /** * Returns the result of interpreting the object as an instance of '<em>Ref Single Contained NPL</em>'. <!-- * begin-user-doc --> This implementation returns null; returning a non-null result will terminate the switch. <!-- * end-user-doc --> |