diff options
author | Eike Stepper | 2009-08-12 17:16:39 +0000 |
---|---|---|
committer | Eike Stepper | 2009-08-12 17:16:39 +0000 |
commit | fcd33409206c1bda9a386ffe05fb212715681016 (patch) | |
tree | 5b731127fe0ba48e8bacc2e140f360fe63167d17 /plugins/org.eclipse.emf.cdo.tests.model4 | |
parent | 943b517446574677ec50cdf7e9cf49b16b470eb3 (diff) | |
download | cdo-fcd33409206c1bda9a386ffe05fb212715681016.tar.gz cdo-fcd33409206c1bda9a386ffe05fb212715681016.tar.xz cdo-fcd33409206c1bda9a386ffe05fb212715681016.zip |
Upgraded all models
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model4')
142 files changed, 17052 insertions, 1423 deletions
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 new file mode 100644 index 0000000000..cf5325a025 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ContainedElementNoOpposite.java @@ -0,0 +1,61 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..3220b078e4 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMapNonContained.java @@ -0,0 +1,53 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..3b64d22081 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiContained.java @@ -0,0 +1,52 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..14e29f4e30 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiNUNonContained.java @@ -0,0 +1,52 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..adc74c094a --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefMultiNonContained.java @@ -0,0 +1,52 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..4aed6610f6 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefSingleContained.java @@ -0,0 +1,61 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..bd03c7b72e --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/GenRefSingleNonContained.java @@ -0,0 +1,61 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..7cdfefecf2 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplContainedElementNPL.java @@ -0,0 +1,30 @@ +/** + * 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.1 2009-08-12 17:15:32 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 new file mode 100644 index 0000000000..d503d08f57 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainedElement.java @@ -0,0 +1,61 @@ +/** + * 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.1 2009-08-12 17:15:32 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 new file mode 100644 index 0000000000..c7d16f8b0e --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainer.java @@ -0,0 +1,29 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..05f6e9e66b --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefContainerNPL.java @@ -0,0 +1,29 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..a60fff912d --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainedElement.java @@ -0,0 +1,61 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..cf38dec56f --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainer.java @@ -0,0 +1,29 @@ +/** + * 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.1 2009-08-12 17:15:32 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 new file mode 100644 index 0000000000..503e8a1dc7 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplMultiRefNonContainerNPL.java @@ -0,0 +1,29 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..48bd939991 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainedElement.java @@ -0,0 +1,61 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..e5f3bda70e --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainer.java @@ -0,0 +1,29 @@ +/** + * 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.1 2009-08-12 17:15:32 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 new file mode 100644 index 0000000000..89c268ef31 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefContainerNPL.java @@ -0,0 +1,29 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..692b13d6fd --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainedElement.java @@ -0,0 +1,61 @@ +/** + * 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.1 2009-08-12 17:15:32 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 new file mode 100644 index 0000000000..93cf1ce202 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainer.java @@ -0,0 +1,29 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..7490618d60 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/ImplSingleRefNonContainerNPL.java @@ -0,0 +1,29 @@ +/** + * 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.1 2009-08-12 17:15:32 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 new file mode 100644 index 0000000000..2ef0eb1330 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/MultiContainedElement.java @@ -0,0 +1,90 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..d8016e4c2e --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/MultiNonContainedElement.java @@ -0,0 +1,90 @@ +/** + * 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.1 2009-08-12 17:15:32 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 new file mode 100644 index 0000000000..9047564fe1 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiContained.java @@ -0,0 +1,54 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..192bce6bc2 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiContainedNPL.java @@ -0,0 +1,52 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..f170daaead --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiNonContained.java @@ -0,0 +1,54 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..ed20fb168b --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefMultiNonContainedNPL.java @@ -0,0 +1,52 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..ce38d66605 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleContained.java @@ -0,0 +1,63 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..6ca237d81f --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleContainedNPL.java @@ -0,0 +1,61 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..63a3937cf2 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleNonContained.java @@ -0,0 +1,63 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..6656c14577 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/RefSingleNonContainedNPL.java @@ -0,0 +1,61 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..5e1c1bcf76 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/SingleContainedElement.java @@ -0,0 +1,90 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..458c0fa783 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/SingleNonContainedElement.java @@ -0,0 +1,90 @@ +/** + * 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.1 2009-08-12 17:15:31 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 new file mode 100644 index 0000000000..679ced4954 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ContainedElementNoOppositeImpl.java @@ -0,0 +1,187 @@ +/** + * 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: ContainedElementNoOppositeImpl.java,v 1.4 2009-08-12 17:15:31 estepper 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.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +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>Contained Element No Opposite</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ContainedElementNoOppositeImpl extends EObjectImpl implements ContainedElementNoOpposite +{ + /** + * 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; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ContainedElementNoOppositeImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.CONTAINED_ELEMENT_NO_OPPOSITE; + } + + /** + * <!-- 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.CONTAINED_ELEMENT_NO_OPPOSITE__NAME, oldName, + name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.CONTAINED_ELEMENT_NO_OPPOSITE__NAME: + return getName(); + } + 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.CONTAINED_ELEMENT_NO_OPPOSITE__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.CONTAINED_ELEMENT_NO_OPPOSITE__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.CONTAINED_ELEMENT_NO_OPPOSITE__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + 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(); + } + +} //ContainedElementNoOppositeImpl 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 new file mode 100644 index 0000000000..5b10cf6e8a --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMapNonContainedImpl.java @@ -0,0 +1,174 @@ +/** + * 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: GenRefMapNonContainedImpl.java,v 1.1 2009-08-12 17:15:30 estepper 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.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EMap; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EcoreEMap; +import org.eclipse.emf.ecore.util.InternalEList; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Gen Ref Map Non Contained</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class GenRefMapNonContainedImpl extends EObjectImpl implements GenRefMapNonContained +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' map. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElements() + * @generated + * @ordered + */ + protected EMap<String, EObject> elements; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected GenRefMapNonContainedImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.GEN_REF_MAP_NON_CONTAINED; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EMap<String, EObject> getElements() + { + if (elements == null) + { + elements = new EcoreEMap<String, EObject>(model4Package.Literals.STRING_TO_EOBJECT, StringToEObjectImpl.class, + this, model4Package.GEN_REF_MAP_NON_CONTAINED__ELEMENTS); + } + return elements; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.GEN_REF_MAP_NON_CONTAINED__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.GEN_REF_MAP_NON_CONTAINED__ELEMENTS: + if (coreType) + return getElements(); + else + return getElements().map(); + } + 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.GEN_REF_MAP_NON_CONTAINED__ELEMENTS: + ((EStructuralFeature.Setting)getElements()).set(newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.GEN_REF_MAP_NON_CONTAINED__ELEMENTS: + getElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.GEN_REF_MAP_NON_CONTAINED__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //GenRefMapNonContainedImpl 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 new file mode 100644 index 0000000000..da61429d65 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiContainedImpl.java @@ -0,0 +1,174 @@ +/** + * 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: GenRefMultiContainedImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Gen Ref Multi Contained</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class GenRefMultiContainedImpl extends EObjectImpl implements GenRefMultiContained +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElements() + * @generated + * @ordered + */ + protected EList<EObject> elements; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected GenRefMultiContainedImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.GEN_REF_MULTI_CONTAINED; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<EObject> getElements() + { + if (elements == null) + { + elements = new EObjectContainmentEList<EObject>(EObject.class, this, + model4Package.GEN_REF_MULTI_CONTAINED__ELEMENTS); + } + return elements; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.GEN_REF_MULTI_CONTAINED__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.GEN_REF_MULTI_CONTAINED__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.GEN_REF_MULTI_CONTAINED__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection<? extends EObject>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.GEN_REF_MULTI_CONTAINED__ELEMENTS: + getElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.GEN_REF_MULTI_CONTAINED__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //GenRefMultiContainedImpl 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 new file mode 100644 index 0000000000..fc12c8f250 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiNUNonContainedImpl.java @@ -0,0 +1,154 @@ +/** + * 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: GenRefMultiNUNonContainedImpl.java,v 1.1 2009-08-12 17:15:31 estepper 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.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Gen Ref Multi NU Non Contained</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class GenRefMultiNUNonContainedImpl extends EObjectImpl implements GenRefMultiNUNonContained +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElements() + * @generated + * @ordered + */ + protected EList<EObject> elements; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected GenRefMultiNUNonContainedImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.GEN_REF_MULTI_NU_NON_CONTAINED; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<EObject> getElements() + { + if (elements == null) + { + elements = new EObjectEList<EObject>(EObject.class, this, model4Package.GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS); + } + return elements; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.GEN_REF_MULTI_NU_NON_CONTAINED__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.GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection<? extends EObject>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS: + getElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //GenRefMultiNUNonContainedImpl 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 new file mode 100644 index 0000000000..e47e8cf3fd --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefMultiNonContainedImpl.java @@ -0,0 +1,155 @@ +/** + * 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: GenRefMultiNonContainedImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Gen Ref Multi Non Contained</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class GenRefMultiNonContainedImpl extends EObjectImpl implements GenRefMultiNonContained +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElements() + * @generated + * @ordered + */ + protected EList<EObject> elements; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected GenRefMultiNonContainedImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.GEN_REF_MULTI_NON_CONTAINED; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<EObject> getElements() + { + if (elements == null) + { + elements = new EObjectResolvingEList<EObject>(EObject.class, this, + model4Package.GEN_REF_MULTI_NON_CONTAINED__ELEMENTS); + } + return elements; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.GEN_REF_MULTI_NON_CONTAINED__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.GEN_REF_MULTI_NON_CONTAINED__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection<? extends EObject>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.GEN_REF_MULTI_NON_CONTAINED__ELEMENTS: + getElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.GEN_REF_MULTI_NON_CONTAINED__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //GenRefMultiNonContainedImpl 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 new file mode 100644 index 0000000000..ed1aa20328 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefSingleContainedImpl.java @@ -0,0 +1,210 @@ +/** + * 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: GenRefSingleContainedImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +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>Gen Ref Single Contained</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class GenRefSingleContainedImpl extends EObjectImpl implements GenRefSingleContained +{ + /** + * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElement() + * @generated + * @ordered + */ + protected EObject element; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected GenRefSingleContainedImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.GEN_REF_SINGLE_CONTAINED; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EObject getElement() + { + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetElement(EObject newElement, NotificationChain msgs) + { + EObject oldElement = element; + element = newElement; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + model4Package.GEN_REF_SINGLE_CONTAINED__ELEMENT, oldElement, newElement); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setElement(EObject newElement) + { + if (newElement != element) + { + NotificationChain msgs = null; + if (element != null) + msgs = ((InternalEObject)element).eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - model4Package.GEN_REF_SINGLE_CONTAINED__ELEMENT, null, msgs); + if (newElement != null) + msgs = ((InternalEObject)newElement).eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - model4Package.GEN_REF_SINGLE_CONTAINED__ELEMENT, null, msgs); + msgs = basicSetElement(newElement, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.GEN_REF_SINGLE_CONTAINED__ELEMENT, + newElement, newElement)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.GEN_REF_SINGLE_CONTAINED__ELEMENT: + return basicSetElement(null, 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.GEN_REF_SINGLE_CONTAINED__ELEMENT: + return getElement(); + } + 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.GEN_REF_SINGLE_CONTAINED__ELEMENT: + setElement((EObject)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.GEN_REF_SINGLE_CONTAINED__ELEMENT: + setElement((EObject)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.GEN_REF_SINGLE_CONTAINED__ELEMENT: + return element != null; + } + return super.eIsSet(featureID); + } + +} //GenRefSingleContainedImpl 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 new file mode 100644 index 0000000000..52c815f136 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/GenRefSingleNonContainedImpl.java @@ -0,0 +1,184 @@ +/** + * 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: GenRefSingleNonContainedImpl.java,v 1.4 2009-08-12 17:15:31 estepper 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.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +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>Gen Ref Single Non Contained</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class GenRefSingleNonContainedImpl extends EObjectImpl implements GenRefSingleNonContained +{ + /** + * The cached value of the '{@link #getElement() <em>Element</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElement() + * @generated + * @ordered + */ + protected EObject element; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected GenRefSingleNonContainedImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.GEN_REF_SINGLE_NON_CONTAINED; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EObject getElement() + { + if (element != null && element.eIsProxy()) + { + InternalEObject oldElement = (InternalEObject)element; + element = eResolveProxy(oldElement); + if (element != oldElement) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + model4Package.GEN_REF_SINGLE_NON_CONTAINED__ELEMENT, oldElement, element)); + } + } + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EObject basicGetElement() + { + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setElement(EObject newElement) + { + EObject oldElement = element; + element = newElement; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.GEN_REF_SINGLE_NON_CONTAINED__ELEMENT, + oldElement, element)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.GEN_REF_SINGLE_NON_CONTAINED__ELEMENT: + if (resolve) + return getElement(); + return basicGetElement(); + } + 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.GEN_REF_SINGLE_NON_CONTAINED__ELEMENT: + setElement((EObject)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.GEN_REF_SINGLE_NON_CONTAINED__ELEMENT: + setElement((EObject)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.GEN_REF_SINGLE_NON_CONTAINED__ELEMENT: + return element != null; + } + return super.eIsSet(featureID); + } + +} //GenRefSingleNonContainedImpl 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 new file mode 100644 index 0000000000..33224f7781 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplContainedElementNPLImpl.java @@ -0,0 +1,231 @@ +/** + * 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: ImplContainedElementNPLImpl.java,v 1.4 2009-08-12 17:15:31 estepper 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.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +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>Impl Contained Element NPL</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplContainedElementNPLImpl extends EObjectImpl implements ImplContainedElementNPL +{ + /** + * 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; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplContainedElementNPLImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_CONTAINED_ELEMENT_NPL; + } + + /** + * <!-- 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.IMPL_CONTAINED_ELEMENT_NPL__NAME, oldName, + name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.IMPL_CONTAINED_ELEMENT_NPL__NAME: + return getName(); + } + 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.IMPL_CONTAINED_ELEMENT_NPL__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_CONTAINED_ELEMENT_NPL__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_CONTAINED_ELEMENT_NPL__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) + { + if (baseClass == INamedElement.class) + { + switch (derivedFeatureID) + { + case model4Package.IMPL_CONTAINED_ELEMENT_NPL__NAME: + return model4interfacesPackage.INAMED_ELEMENT__NAME; + default: + return -1; + } + } + return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) + { + if (baseClass == INamedElement.class) + { + switch (baseFeatureID) + { + case model4interfacesPackage.INAMED_ELEMENT__NAME: + return model4Package.IMPL_CONTAINED_ELEMENT_NPL__NAME; + default: + return -1; + } + } + return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass); + } + + /** + * <!-- 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(); + } + +} //ImplContainedElementNPLImpl 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 new file mode 100644 index 0000000000..0310b38366 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainedElementImpl.java @@ -0,0 +1,304 @@ +/** + * 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: ImplMultiRefContainedElementImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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; +import org.eclipse.emf.ecore.util.EcoreUtil; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Impl Multi Ref Contained Element</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplMultiRefContainedElementImpl extends EObjectImpl implements ImplMultiRefContainedElement +{ + /** + * 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; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplMultiRefContainedElementImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_MULTI_REF_CONTAINED_ELEMENT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IMultiRefContainer getParent() + { + if (eContainerFeatureID() != model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT) + return null; + return (IMultiRefContainer)eContainer(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetParent(IMultiRefContainer newParent, NotificationChain msgs) + { + msgs = eBasicSetContainer((InternalEObject)newParent, model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT, msgs); + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParent(IMultiRefContainer newParent) + { + if (newParent != eInternalContainer() + || (eContainerFeatureID() != model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT && newParent != null)) + { + if (EcoreUtil.isAncestor(this, newParent)) + throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); + NotificationChain msgs = null; + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + if (newParent != null) + msgs = ((InternalEObject)newParent).eInverseAdd(this, model4interfacesPackage.IMULTI_REF_CONTAINER__ELEMENTS, + IMultiRefContainer.class, msgs); + msgs = basicSetParent(newParent, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT, + newParent, newParent)); + } + + /** + * <!-- 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.IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME, + oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT: + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + return basicSetParent((IMultiRefContainer)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.IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT: + return basicSetParent(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) + { + switch (eContainerFeatureID()) + { + case model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT: + return eInternalContainer().eInverseRemove(this, model4interfacesPackage.IMULTI_REF_CONTAINER__ELEMENTS, + IMultiRefContainer.class, msgs); + } + return super.eBasicRemoveFromContainerFeature(msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT: + return getParent(); + case model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME: + return getName(); + } + 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.IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT: + setParent((IMultiRefContainer)newValue); + return; + case model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT: + setParent((IMultiRefContainer)null); + return; + case model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT: + return getParent() != null; + case model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + 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(); + } + +} //ImplMultiRefContainedElementImpl 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 new file mode 100644 index 0000000000..a1de3fab4d --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainerImpl.java @@ -0,0 +1,193 @@ +/** + * 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: ImplMultiRefContainerImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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.EObjectContainmentWithInverseEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Impl Multi Ref Container</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplMultiRefContainerImpl extends EObjectImpl implements ImplMultiRefContainer +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElements() + * @generated + * @ordered + */ + protected EList<IMultiRefContainedElement> elements; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplMultiRefContainerImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_MULTI_REF_CONTAINER; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<IMultiRefContainedElement> getElements() + { + if (elements == null) + { + elements = new EObjectContainmentWithInverseEList<IMultiRefContainedElement>(IMultiRefContainedElement.class, + this, model4Package.IMPL_MULTI_REF_CONTAINER__ELEMENTS, + model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT__PARENT); + } + return elements; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_CONTAINER__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.IMPL_MULTI_REF_CONTAINER__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.IMPL_MULTI_REF_CONTAINER__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.IMPL_MULTI_REF_CONTAINER__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection<? extends IMultiRefContainedElement>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_CONTAINER__ELEMENTS: + getElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_CONTAINER__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ImplMultiRefContainerImpl 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 new file mode 100644 index 0000000000..ddcdb3d242 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefContainerNPLImpl.java @@ -0,0 +1,174 @@ +/** + * 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: ImplMultiRefContainerNPLImpl.java,v 1.4 2009-08-12 17:15:31 estepper 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.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.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Impl Multi Ref Container NPL</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplMultiRefContainerNPLImpl extends EObjectImpl implements ImplMultiRefContainerNPL +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElements() + * @generated + * @ordered + */ + protected EList<IContainedElementNoParentLink> elements; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplMultiRefContainerNPLImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_MULTI_REF_CONTAINER_NPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<IContainedElementNoParentLink> getElements() + { + if (elements == null) + { + elements = new EObjectContainmentEList<IContainedElementNoParentLink>(IContainedElementNoParentLink.class, this, + model4Package.IMPL_MULTI_REF_CONTAINER_NPL__ELEMENTS); + } + return elements; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_CONTAINER_NPL__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.IMPL_MULTI_REF_CONTAINER_NPL__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.IMPL_MULTI_REF_CONTAINER_NPL__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection<? extends IContainedElementNoParentLink>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_CONTAINER_NPL__ELEMENTS: + getElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_CONTAINER_NPL__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ImplMultiRefContainerNPLImpl 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 new file mode 100644 index 0000000000..19ed7acd2c --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainedElementImpl.java @@ -0,0 +1,326 @@ +/** + * 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: ImplMultiRefNonContainedElementImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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>Impl Multi Ref Non Contained Element</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplMultiRefNonContainedElementImpl extends EObjectImpl implements ImplMultiRefNonContainedElement +{ + /** + * The cached value of the '{@link #getParent() <em>Parent</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getParent() + * @generated + * @ordered + */ + protected IMultiRefNonContainer parent; + + /** + * 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; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplMultiRefNonContainedElementImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IMultiRefNonContainer getParent() + { + if (parent != null && parent.eIsProxy()) + { + InternalEObject oldParent = (InternalEObject)parent; + parent = (IMultiRefNonContainer)eResolveProxy(oldParent); + if (parent != oldParent) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT, oldParent, parent)); + } + } + return parent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IMultiRefNonContainer basicGetParent() + { + return parent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetParent(IMultiRefNonContainer newParent, NotificationChain msgs) + { + IMultiRefNonContainer oldParent = parent; + parent = newParent; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT, oldParent, newParent); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParent(IMultiRefNonContainer newParent) + { + if (newParent != parent) + { + NotificationChain msgs = null; + if (parent != null) + msgs = ((InternalEObject)parent).eInverseRemove(this, + model4interfacesPackage.IMULTI_REF_NON_CONTAINER__ELEMENTS, IMultiRefNonContainer.class, msgs); + if (newParent != null) + msgs = ((InternalEObject)newParent).eInverseAdd(this, + model4interfacesPackage.IMULTI_REF_NON_CONTAINER__ELEMENTS, IMultiRefNonContainer.class, msgs); + msgs = basicSetParent(newParent, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT, + newParent, newParent)); + } + + /** + * <!-- 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.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME, + oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT: + if (parent != null) + msgs = ((InternalEObject)parent).eInverseRemove(this, + model4interfacesPackage.IMULTI_REF_NON_CONTAINER__ELEMENTS, IMultiRefNonContainer.class, msgs); + return basicSetParent((IMultiRefNonContainer)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.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT: + return basicSetParent(null, 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.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT: + if (resolve) + return getParent(); + return basicGetParent(); + case model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME: + return getName(); + } + 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.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT: + setParent((IMultiRefNonContainer)newValue); + return; + case model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT: + setParent((IMultiRefNonContainer)null); + return; + case model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT: + return parent != null; + case model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + 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(); + } + +} //ImplMultiRefNonContainedElementImpl 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 new file mode 100644 index 0000000000..aefaea8522 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainerImpl.java @@ -0,0 +1,193 @@ +/** + * 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: ImplMultiRefNonContainerImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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>Impl Multi Ref Non Container</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplMultiRefNonContainerImpl extends EObjectImpl implements ImplMultiRefNonContainer +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElements() + * @generated + * @ordered + */ + protected EList<IMultiRefNonContainedElement> elements; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplMultiRefNonContainerImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_MULTI_REF_NON_CONTAINER; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<IMultiRefNonContainedElement> getElements() + { + if (elements == null) + { + elements = new EObjectWithInverseResolvingEList<IMultiRefNonContainedElement>(IMultiRefNonContainedElement.class, + this, model4Package.IMPL_MULTI_REF_NON_CONTAINER__ELEMENTS, + model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT); + } + return elements; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_NON_CONTAINER__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.IMPL_MULTI_REF_NON_CONTAINER__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.IMPL_MULTI_REF_NON_CONTAINER__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.IMPL_MULTI_REF_NON_CONTAINER__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection<? extends IMultiRefNonContainedElement>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_NON_CONTAINER__ELEMENTS: + getElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_NON_CONTAINER__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ImplMultiRefNonContainerImpl 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 new file mode 100644 index 0000000000..0af65f928c --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplMultiRefNonContainerNPLImpl.java @@ -0,0 +1,155 @@ +/** + * 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: ImplMultiRefNonContainerNPLImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Impl Multi Ref Non Container NPL</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplMultiRefNonContainerNPLImpl extends EObjectImpl implements ImplMultiRefNonContainerNPL +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElements() + * @generated + * @ordered + */ + protected EList<IContainedElementNoParentLink> elements; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplMultiRefNonContainerNPLImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_MULTI_REF_NON_CONTAINER_NPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<IContainedElementNoParentLink> getElements() + { + if (elements == null) + { + elements = new EObjectResolvingEList<IContainedElementNoParentLink>(IContainedElementNoParentLink.class, this, + model4Package.IMPL_MULTI_REF_NON_CONTAINER_NPL__ELEMENTS); + } + return elements; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_NON_CONTAINER_NPL__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.IMPL_MULTI_REF_NON_CONTAINER_NPL__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection<? extends IContainedElementNoParentLink>)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_NON_CONTAINER_NPL__ELEMENTS: + getElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_MULTI_REF_NON_CONTAINER_NPL__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //ImplMultiRefNonContainerNPLImpl 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 new file mode 100644 index 0000000000..202ba76eeb --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainedElementImpl.java @@ -0,0 +1,304 @@ +/** + * 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: ImplSingleRefContainedElementImpl.java,v 1.4 2009-08-12 17:15:31 estepper 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.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; +import org.eclipse.emf.ecore.util.EcoreUtil; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Impl Single Ref Contained Element</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplSingleRefContainedElementImpl extends EObjectImpl implements ImplSingleRefContainedElement +{ + /** + * 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; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplSingleRefContainedElementImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_SINGLE_REF_CONTAINED_ELEMENT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ISingleRefContainer getParent() + { + if (eContainerFeatureID() != model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT) + return null; + return (ISingleRefContainer)eContainer(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetParent(ISingleRefContainer newParent, NotificationChain msgs) + { + msgs = eBasicSetContainer((InternalEObject)newParent, model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT, msgs); + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParent(ISingleRefContainer newParent) + { + if (newParent != eInternalContainer() + || (eContainerFeatureID() != model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT && newParent != null)) + { + if (EcoreUtil.isAncestor(this, newParent)) + throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); + NotificationChain msgs = null; + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + if (newParent != null) + msgs = ((InternalEObject)newParent).eInverseAdd(this, model4interfacesPackage.ISINGLE_REF_CONTAINER__ELEMENT, + ISingleRefContainer.class, msgs); + msgs = basicSetParent(newParent, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT, + newParent, newParent)); + } + + /** + * <!-- 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.IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME, + oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT: + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + return basicSetParent((ISingleRefContainer)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.IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT: + return basicSetParent(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) + { + switch (eContainerFeatureID()) + { + case model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT: + return eInternalContainer().eInverseRemove(this, model4interfacesPackage.ISINGLE_REF_CONTAINER__ELEMENT, + ISingleRefContainer.class, msgs); + } + return super.eBasicRemoveFromContainerFeature(msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT: + return getParent(); + case model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME: + return getName(); + } + 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.IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT: + setParent((ISingleRefContainer)newValue); + return; + case model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT: + setParent((ISingleRefContainer)null); + return; + case model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT: + return getParent() != null; + case model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + 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(); + } + +} //ImplSingleRefContainedElementImpl 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 new file mode 100644 index 0000000000..d9d036a637 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainerImpl.java @@ -0,0 +1,230 @@ +/** + * 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: ImplSingleRefContainerImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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>Impl Single Ref Container</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplSingleRefContainerImpl extends EObjectImpl implements ImplSingleRefContainer +{ + /** + * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElement() + * @generated + * @ordered + */ + protected ISingleRefContainedElement element; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplSingleRefContainerImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_SINGLE_REF_CONTAINER; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ISingleRefContainedElement getElement() + { + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetElement(ISingleRefContainedElement newElement, NotificationChain msgs) + { + ISingleRefContainedElement oldElement = element; + element = newElement; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + model4Package.IMPL_SINGLE_REF_CONTAINER__ELEMENT, oldElement, newElement); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setElement(ISingleRefContainedElement newElement) + { + if (newElement != element) + { + NotificationChain msgs = null; + if (element != null) + msgs = ((InternalEObject)element).eInverseRemove(this, + model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT__PARENT, ISingleRefContainedElement.class, msgs); + if (newElement != null) + msgs = ((InternalEObject)newElement).eInverseAdd(this, + model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT__PARENT, ISingleRefContainedElement.class, msgs); + msgs = basicSetElement(newElement, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.IMPL_SINGLE_REF_CONTAINER__ELEMENT, + newElement, newElement)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_CONTAINER__ELEMENT: + if (element != null) + msgs = ((InternalEObject)element).eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - model4Package.IMPL_SINGLE_REF_CONTAINER__ELEMENT, null, msgs); + return basicSetElement((ISingleRefContainedElement)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.IMPL_SINGLE_REF_CONTAINER__ELEMENT: + return basicSetElement(null, 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.IMPL_SINGLE_REF_CONTAINER__ELEMENT: + return getElement(); + } + 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.IMPL_SINGLE_REF_CONTAINER__ELEMENT: + setElement((ISingleRefContainedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_CONTAINER__ELEMENT: + setElement((ISingleRefContainedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_CONTAINER__ELEMENT: + return element != null; + } + return super.eIsSet(featureID); + } + +} //ImplSingleRefContainerImpl 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 new file mode 100644 index 0000000000..25cfbe5346 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefContainerNPLImpl.java @@ -0,0 +1,210 @@ +/** + * 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: ImplSingleRefContainerNPLImpl.java,v 1.4 2009-08-12 17:15:31 estepper 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.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>Impl Single Ref Container NPL</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplSingleRefContainerNPLImpl extends EObjectImpl implements ImplSingleRefContainerNPL +{ + /** + * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElement() + * @generated + * @ordered + */ + protected IContainedElementNoParentLink element; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplSingleRefContainerNPLImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_SINGLE_REF_CONTAINER_NPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IContainedElementNoParentLink getElement() + { + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetElement(IContainedElementNoParentLink newElement, NotificationChain msgs) + { + IContainedElementNoParentLink oldElement = element; + element = newElement; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + model4Package.IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT, oldElement, newElement); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setElement(IContainedElementNoParentLink newElement) + { + if (newElement != element) + { + NotificationChain msgs = null; + if (element != null) + msgs = ((InternalEObject)element).eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - model4Package.IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT, null, msgs); + if (newElement != null) + msgs = ((InternalEObject)newElement).eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - model4Package.IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT, null, msgs); + msgs = basicSetElement(newElement, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT, + newElement, newElement)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT: + return basicSetElement(null, 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.IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT: + return getElement(); + } + 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.IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT: + setElement((IContainedElementNoParentLink)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT: + setElement((IContainedElementNoParentLink)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT: + return element != null; + } + return super.eIsSet(featureID); + } + +} //ImplSingleRefContainerNPLImpl 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 new file mode 100644 index 0000000000..6f5ec84962 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainedElementImpl.java @@ -0,0 +1,326 @@ +/** + * 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: ImplSingleRefNonContainedElementImpl.java,v 1.4 2009-08-12 17:15:31 estepper 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.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>Impl Single Ref Non Contained Element</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplSingleRefNonContainedElementImpl extends EObjectImpl implements ImplSingleRefNonContainedElement +{ + /** + * The cached value of the '{@link #getParent() <em>Parent</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getParent() + * @generated + * @ordered + */ + protected ISingleRefNonContainer parent; + + /** + * 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; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplSingleRefNonContainedElementImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ISingleRefNonContainer getParent() + { + if (parent != null && parent.eIsProxy()) + { + InternalEObject oldParent = (InternalEObject)parent; + parent = (ISingleRefNonContainer)eResolveProxy(oldParent); + if (parent != oldParent) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT, oldParent, parent)); + } + } + return parent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ISingleRefNonContainer basicGetParent() + { + return parent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetParent(ISingleRefNonContainer newParent, NotificationChain msgs) + { + ISingleRefNonContainer oldParent = parent; + parent = newParent; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT, oldParent, newParent); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParent(ISingleRefNonContainer newParent) + { + if (newParent != parent) + { + NotificationChain msgs = null; + if (parent != null) + msgs = ((InternalEObject)parent).eInverseRemove(this, + model4interfacesPackage.ISINGLE_REF_NON_CONTAINER__ELEMENT, ISingleRefNonContainer.class, msgs); + if (newParent != null) + msgs = ((InternalEObject)newParent).eInverseAdd(this, + model4interfacesPackage.ISINGLE_REF_NON_CONTAINER__ELEMENT, ISingleRefNonContainer.class, msgs); + msgs = basicSetParent(newParent, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, + model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT, newParent, newParent)); + } + + /** + * <!-- 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.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__NAME, + oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT: + if (parent != null) + msgs = ((InternalEObject)parent).eInverseRemove(this, + model4interfacesPackage.ISINGLE_REF_NON_CONTAINER__ELEMENT, ISingleRefNonContainer.class, msgs); + return basicSetParent((ISingleRefNonContainer)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.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT: + return basicSetParent(null, 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.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT: + if (resolve) + return getParent(); + return basicGetParent(); + case model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__NAME: + return getName(); + } + 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.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT: + setParent((ISingleRefNonContainer)newValue); + return; + case model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__NAME: + setName((String)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT: + setParent((ISingleRefNonContainer)null); + return; + case model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__NAME: + setName(NAME_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT: + return parent != null; + case model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + } + 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(); + } + +} //ImplSingleRefNonContainedElementImpl 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 new file mode 100644 index 0000000000..ae915e8d57 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainerImpl.java @@ -0,0 +1,256 @@ +/** + * 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: ImplSingleRefNonContainerImpl.java,v 1.4 2009-08-12 17:15:31 estepper 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.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>Impl Single Ref Non Container</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplSingleRefNonContainerImpl extends EObjectImpl implements ImplSingleRefNonContainer +{ + /** + * The cached value of the '{@link #getElement() <em>Element</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElement() + * @generated + * @ordered + */ + protected ISingleRefNonContainedElement element; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplSingleRefNonContainerImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_SINGLE_REF_NON_CONTAINER; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ISingleRefNonContainedElement getElement() + { + if (element != null && element.eIsProxy()) + { + InternalEObject oldElement = (InternalEObject)element; + element = (ISingleRefNonContainedElement)eResolveProxy(oldElement); + if (element != oldElement) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + model4Package.IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT, oldElement, element)); + } + } + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ISingleRefNonContainedElement basicGetElement() + { + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetElement(ISingleRefNonContainedElement newElement, NotificationChain msgs) + { + ISingleRefNonContainedElement oldElement = element; + element = newElement; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + model4Package.IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT, oldElement, newElement); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setElement(ISingleRefNonContainedElement newElement) + { + if (newElement != element) + { + NotificationChain msgs = null; + if (element != null) + msgs = ((InternalEObject)element).eInverseRemove(this, + model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT, ISingleRefNonContainedElement.class, + msgs); + if (newElement != null) + msgs = ((InternalEObject)newElement).eInverseAdd(this, + model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT, ISingleRefNonContainedElement.class, + msgs); + msgs = basicSetElement(newElement, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT, + newElement, newElement)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT: + if (element != null) + msgs = ((InternalEObject)element).eInverseRemove(this, + model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT, ISingleRefNonContainedElement.class, + msgs); + return basicSetElement((ISingleRefNonContainedElement)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.IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT: + return basicSetElement(null, 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.IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT: + if (resolve) + return getElement(); + return basicGetElement(); + } + 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.IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT: + setElement((ISingleRefNonContainedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT: + setElement((ISingleRefNonContainedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT: + return element != null; + } + return super.eIsSet(featureID); + } + +} //ImplSingleRefNonContainerImpl 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 new file mode 100644 index 0000000000..bbe2ade1aa --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/ImplSingleRefNonContainerNPLImpl.java @@ -0,0 +1,184 @@ +/** + * 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: ImplSingleRefNonContainerNPLImpl.java,v 1.4 2009-08-12 17:15:31 estepper 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.common.notify.Notification; +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>Impl Single Ref Non Container NPL</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class ImplSingleRefNonContainerNPLImpl extends EObjectImpl implements ImplSingleRefNonContainerNPL +{ + /** + * The cached value of the '{@link #getElement() <em>Element</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElement() + * @generated + * @ordered + */ + protected IContainedElementNoParentLink element; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected ImplSingleRefNonContainerNPLImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.IMPL_SINGLE_REF_NON_CONTAINER_NPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IContainedElementNoParentLink getElement() + { + if (element != null && element.eIsProxy()) + { + InternalEObject oldElement = (InternalEObject)element; + element = (IContainedElementNoParentLink)eResolveProxy(oldElement); + if (element != oldElement) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + model4Package.IMPL_SINGLE_REF_NON_CONTAINER_NPL__ELEMENT, oldElement, element)); + } + } + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public IContainedElementNoParentLink basicGetElement() + { + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setElement(IContainedElementNoParentLink newElement) + { + IContainedElementNoParentLink oldElement = element; + element = newElement; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.IMPL_SINGLE_REF_NON_CONTAINER_NPL__ELEMENT, + oldElement, element)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_NON_CONTAINER_NPL__ELEMENT: + if (resolve) + return getElement(); + return basicGetElement(); + } + 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.IMPL_SINGLE_REF_NON_CONTAINER_NPL__ELEMENT: + setElement((IContainedElementNoParentLink)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_NON_CONTAINER_NPL__ELEMENT: + setElement((IContainedElementNoParentLink)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.IMPL_SINGLE_REF_NON_CONTAINER_NPL__ELEMENT: + return element != null; + } + return super.eIsSet(featureID); + } + +} //ImplSingleRefNonContainerNPLImpl 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 new file mode 100644 index 0000000000..ef9a91558c --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiContainedElementImpl.java @@ -0,0 +1,302 @@ +/** + * 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: MultiContainedElementImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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; +import org.eclipse.emf.ecore.util.EcoreUtil; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Multi Contained Element</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl#getParent <em>Parent</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class MultiContainedElementImpl extends EObjectImpl implements MultiContainedElement +{ + /** + * 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; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected MultiContainedElementImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.MULTI_CONTAINED_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_CONTAINED_ELEMENT__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefMultiContained getParent() + { + if (eContainerFeatureID() != model4Package.MULTI_CONTAINED_ELEMENT__PARENT) + return null; + return (RefMultiContained)eContainer(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetParent(RefMultiContained newParent, NotificationChain msgs) + { + msgs = eBasicSetContainer((InternalEObject)newParent, model4Package.MULTI_CONTAINED_ELEMENT__PARENT, msgs); + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParent(RefMultiContained newParent) + { + if (newParent != eInternalContainer() + || (eContainerFeatureID() != model4Package.MULTI_CONTAINED_ELEMENT__PARENT && newParent != null)) + { + if (EcoreUtil.isAncestor(this, newParent)) + throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); + NotificationChain msgs = null; + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + if (newParent != null) + msgs = ((InternalEObject)newParent).eInverseAdd(this, model4Package.REF_MULTI_CONTAINED__ELEMENTS, + RefMultiContained.class, msgs); + msgs = basicSetParent(newParent, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.MULTI_CONTAINED_ELEMENT__PARENT, newParent, + newParent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.MULTI_CONTAINED_ELEMENT__PARENT: + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + return basicSetParent((RefMultiContained)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_CONTAINED_ELEMENT__PARENT: + return basicSetParent(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) + { + switch (eContainerFeatureID()) + { + case model4Package.MULTI_CONTAINED_ELEMENT__PARENT: + return eInternalContainer().eInverseRemove(this, model4Package.REF_MULTI_CONTAINED__ELEMENTS, + RefMultiContained.class, msgs); + } + return super.eBasicRemoveFromContainerFeature(msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.MULTI_CONTAINED_ELEMENT__NAME: + return getName(); + case model4Package.MULTI_CONTAINED_ELEMENT__PARENT: + return getParent(); + } + 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_CONTAINED_ELEMENT__NAME: + setName((String)newValue); + return; + case model4Package.MULTI_CONTAINED_ELEMENT__PARENT: + setParent((RefMultiContained)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.MULTI_CONTAINED_ELEMENT__NAME: + setName(NAME_EDEFAULT); + return; + case model4Package.MULTI_CONTAINED_ELEMENT__PARENT: + setParent((RefMultiContained)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.MULTI_CONTAINED_ELEMENT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case model4Package.MULTI_CONTAINED_ELEMENT__PARENT: + return getParent() != null; + } + 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(); + } + +} //MultiContainedElementImpl 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 new file mode 100644 index 0000000000..1b2d6d3289 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/MultiNonContainedElementImpl.java @@ -0,0 +1,325 @@ +/** + * 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: MultiNonContainedElementImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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 Element</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl#getParent <em>Parent</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class MultiNonContainedElementImpl extends EObjectImpl implements MultiNonContainedElement +{ + /** + * 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 RefMultiNonContained parent; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected MultiNonContainedElementImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.MULTI_NON_CONTAINED_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_ELEMENT__NAME, oldName, + name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefMultiNonContained getParent() + { + if (parent != null && parent.eIsProxy()) + { + InternalEObject oldParent = (InternalEObject)parent; + parent = (RefMultiNonContained)eResolveProxy(oldParent); + if (parent != oldParent) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, model4Package.MULTI_NON_CONTAINED_ELEMENT__PARENT, + oldParent, parent)); + } + } + return parent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefMultiNonContained basicGetParent() + { + return parent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetParent(RefMultiNonContained newParent, NotificationChain msgs) + { + RefMultiNonContained oldParent = parent; + parent = newParent; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + model4Package.MULTI_NON_CONTAINED_ELEMENT__PARENT, oldParent, newParent); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParent(RefMultiNonContained newParent) + { + if (newParent != parent) + { + NotificationChain msgs = null; + if (parent != null) + msgs = ((InternalEObject)parent).eInverseRemove(this, model4Package.REF_MULTI_NON_CONTAINED__ELEMENTS, + RefMultiNonContained.class, msgs); + if (newParent != null) + msgs = ((InternalEObject)newParent).eInverseAdd(this, model4Package.REF_MULTI_NON_CONTAINED__ELEMENTS, + RefMultiNonContained.class, msgs); + msgs = basicSetParent(newParent, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.MULTI_NON_CONTAINED_ELEMENT__PARENT, + newParent, newParent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.MULTI_NON_CONTAINED_ELEMENT__PARENT: + if (parent != null) + msgs = ((InternalEObject)parent).eInverseRemove(this, model4Package.REF_MULTI_NON_CONTAINED__ELEMENTS, + RefMultiNonContained.class, msgs); + return basicSetParent((RefMultiNonContained)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_ELEMENT__PARENT: + return basicSetParent(null, 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_ELEMENT__NAME: + return getName(); + case model4Package.MULTI_NON_CONTAINED_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_ELEMENT__NAME: + setName((String)newValue); + return; + case model4Package.MULTI_NON_CONTAINED_ELEMENT__PARENT: + setParent((RefMultiNonContained)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_ELEMENT__NAME: + setName(NAME_EDEFAULT); + return; + case model4Package.MULTI_NON_CONTAINED_ELEMENT__PARENT: + setParent((RefMultiNonContained)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.MULTI_NON_CONTAINED_ELEMENT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case model4Package.MULTI_NON_CONTAINED_ELEMENT__PARENT: + return parent != null; + } + 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(); + } + +} //MultiNonContainedElementImpl 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 new file mode 100644 index 0000000000..1155476f30 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiContainedImpl.java @@ -0,0 +1,191 @@ +/** + * 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: RefMultiContainedImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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.EObjectContainmentWithInverseEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Ref Multi Contained</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RefMultiContainedImpl extends EObjectImpl implements RefMultiContained +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElements() + * @generated + * @ordered + */ + protected EList<MultiContainedElement> elements; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RefMultiContainedImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.REF_MULTI_CONTAINED; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<MultiContainedElement> getElements() + { + if (elements == null) + { + elements = new EObjectContainmentWithInverseEList<MultiContainedElement>(MultiContainedElement.class, this, + model4Package.REF_MULTI_CONTAINED__ELEMENTS, model4Package.MULTI_CONTAINED_ELEMENT__PARENT); + } + return elements; + } + + /** + * <!-- 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_CONTAINED__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_CONTAINED__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_CONTAINED__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_CONTAINED__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection<? extends MultiContainedElement>)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_CONTAINED__ELEMENTS: + getElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.REF_MULTI_CONTAINED__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //RefMultiContainedImpl 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 new file mode 100644 index 0000000000..0bebe0f468 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiContainedNPLImpl.java @@ -0,0 +1,174 @@ +/** + * 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: RefMultiContainedNPLImpl.java,v 1.4 2009-08-12 17:15:31 estepper 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.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.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Ref Multi Contained NPL</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RefMultiContainedNPLImpl extends EObjectImpl implements RefMultiContainedNPL +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElements() + * @generated + * @ordered + */ + protected EList<ContainedElementNoOpposite> elements; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RefMultiContainedNPLImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.REF_MULTI_CONTAINED_NPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<ContainedElementNoOpposite> getElements() + { + if (elements == null) + { + elements = new EObjectContainmentEList<ContainedElementNoOpposite>(ContainedElementNoOpposite.class, this, + model4Package.REF_MULTI_CONTAINED_NPL__ELEMENTS); + } + return elements; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.REF_MULTI_CONTAINED_NPL__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_CONTAINED_NPL__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_CONTAINED_NPL__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection<? extends ContainedElementNoOpposite>)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_CONTAINED_NPL__ELEMENTS: + getElements().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.REF_MULTI_CONTAINED_NPL__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //RefMultiContainedNPLImpl 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 new file mode 100644 index 0000000000..c1242938f8 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedImpl.java @@ -0,0 +1,191 @@ +/** + * 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: RefMultiNonContainedImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RefMultiNonContainedImpl extends EObjectImpl implements RefMultiNonContained +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElements() + * @generated + * @ordered + */ + protected EList<MultiNonContainedElement> elements; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RefMultiNonContainedImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.REF_MULTI_NON_CONTAINED; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<MultiNonContainedElement> getElements() + { + if (elements == null) + { + elements = new EObjectWithInverseResolvingEList<MultiNonContainedElement>(MultiNonContainedElement.class, this, + model4Package.REF_MULTI_NON_CONTAINED__ELEMENTS, model4Package.MULTI_NON_CONTAINED_ELEMENT__PARENT); + } + return elements; + } + + /** + * <!-- 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__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__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__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__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection<? extends MultiNonContainedElement>)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__ELEMENTS: + getElements().clear(); + 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__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //RefMultiNonContainedImpl 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 new file mode 100644 index 0000000000..8ae9d240d2 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefMultiNonContainedNPLImpl.java @@ -0,0 +1,155 @@ +/** + * 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: RefMultiNonContainedNPLImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.EObjectImpl; +import org.eclipse.emf.ecore.util.EObjectResolvingEList; + +import java.util.Collection; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Ref Multi Non Contained NPL</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RefMultiNonContainedNPLImpl extends EObjectImpl implements RefMultiNonContainedNPL +{ + /** + * The cached value of the '{@link #getElements() <em>Elements</em>}' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElements() + * @generated + * @ordered + */ + protected EList<ContainedElementNoOpposite> elements; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RefMultiNonContainedNPLImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.REF_MULTI_NON_CONTAINED_NPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EList<ContainedElementNoOpposite> getElements() + { + if (elements == null) + { + elements = new EObjectResolvingEList<ContainedElementNoOpposite>(ContainedElementNoOpposite.class, this, + model4Package.REF_MULTI_NON_CONTAINED_NPL__ELEMENTS); + } + return elements; + } + + /** + * <!-- 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_NPL__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_NPL__ELEMENTS: + getElements().clear(); + getElements().addAll((Collection<? extends ContainedElementNoOpposite>)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_NPL__ELEMENTS: + getElements().clear(); + 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_NPL__ELEMENTS: + return elements != null && !elements.isEmpty(); + } + return super.eIsSet(featureID); + } + +} //RefMultiNonContainedNPLImpl 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 new file mode 100644 index 0000000000..dc074a9bc3 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleContainedImpl.java @@ -0,0 +1,229 @@ +/** + * 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: RefSingleContainedImpl.java,v 1.4 2009-08-12 17:15:31 estepper 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.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>Ref Single Contained</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RefSingleContainedImpl extends EObjectImpl implements RefSingleContained +{ + /** + * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElement() + * @generated + * @ordered + */ + protected SingleContainedElement element; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RefSingleContainedImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.REF_SINGLE_CONTAINED; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SingleContainedElement getElement() + { + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetElement(SingleContainedElement newElement, NotificationChain msgs) + { + SingleContainedElement oldElement = element; + element = newElement; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + model4Package.REF_SINGLE_CONTAINED__ELEMENT, oldElement, newElement); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setElement(SingleContainedElement newElement) + { + if (newElement != element) + { + NotificationChain msgs = null; + if (element != null) + msgs = ((InternalEObject)element).eInverseRemove(this, model4Package.SINGLE_CONTAINED_ELEMENT__PARENT, + SingleContainedElement.class, msgs); + if (newElement != null) + msgs = ((InternalEObject)newElement).eInverseAdd(this, model4Package.SINGLE_CONTAINED_ELEMENT__PARENT, + SingleContainedElement.class, msgs); + msgs = basicSetElement(newElement, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.REF_SINGLE_CONTAINED__ELEMENT, newElement, + newElement)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.REF_SINGLE_CONTAINED__ELEMENT: + if (element != null) + msgs = ((InternalEObject)element).eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - model4Package.REF_SINGLE_CONTAINED__ELEMENT, null, msgs); + return basicSetElement((SingleContainedElement)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_SINGLE_CONTAINED__ELEMENT: + return basicSetElement(null, 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_SINGLE_CONTAINED__ELEMENT: + return getElement(); + } + 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.REF_SINGLE_CONTAINED__ELEMENT: + setElement((SingleContainedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.REF_SINGLE_CONTAINED__ELEMENT: + setElement((SingleContainedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.REF_SINGLE_CONTAINED__ELEMENT: + return element != null; + } + return super.eIsSet(featureID); + } + +} //RefSingleContainedImpl 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 new file mode 100644 index 0000000000..b65d6bfeac --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleContainedNPLImpl.java @@ -0,0 +1,210 @@ +/** + * 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: RefSingleContainedNPLImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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>Ref Single Contained NPL</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RefSingleContainedNPLImpl extends EObjectImpl implements RefSingleContainedNPL +{ + /** + * The cached value of the '{@link #getElement() <em>Element</em>}' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElement() + * @generated + * @ordered + */ + protected ContainedElementNoOpposite element; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RefSingleContainedNPLImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.REF_SINGLE_CONTAINED_NPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ContainedElementNoOpposite getElement() + { + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetElement(ContainedElementNoOpposite newElement, NotificationChain msgs) + { + ContainedElementNoOpposite oldElement = element; + element = newElement; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + model4Package.REF_SINGLE_CONTAINED_NPL__ELEMENT, oldElement, newElement); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setElement(ContainedElementNoOpposite newElement) + { + if (newElement != element) + { + NotificationChain msgs = null; + if (element != null) + msgs = ((InternalEObject)element).eInverseRemove(this, EOPPOSITE_FEATURE_BASE + - model4Package.REF_SINGLE_CONTAINED_NPL__ELEMENT, null, msgs); + if (newElement != null) + msgs = ((InternalEObject)newElement).eInverseAdd(this, EOPPOSITE_FEATURE_BASE + - model4Package.REF_SINGLE_CONTAINED_NPL__ELEMENT, null, msgs); + msgs = basicSetElement(newElement, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.REF_SINGLE_CONTAINED_NPL__ELEMENT, + newElement, newElement)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.REF_SINGLE_CONTAINED_NPL__ELEMENT: + return basicSetElement(null, 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_SINGLE_CONTAINED_NPL__ELEMENT: + return getElement(); + } + 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.REF_SINGLE_CONTAINED_NPL__ELEMENT: + setElement((ContainedElementNoOpposite)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.REF_SINGLE_CONTAINED_NPL__ELEMENT: + setElement((ContainedElementNoOpposite)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.REF_SINGLE_CONTAINED_NPL__ELEMENT: + return element != null; + } + return super.eIsSet(featureID); + } + +} //RefSingleContainedNPLImpl 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 new file mode 100644 index 0000000000..b83c8489e9 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedImpl.java @@ -0,0 +1,252 @@ +/** + * 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: RefSingleNonContainedImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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>Ref Single Non Contained</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RefSingleNonContainedImpl extends EObjectImpl implements RefSingleNonContained +{ + /** + * The cached value of the '{@link #getElement() <em>Element</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElement() + * @generated + * @ordered + */ + protected SingleNonContainedElement element; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RefSingleNonContainedImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.REF_SINGLE_NON_CONTAINED; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SingleNonContainedElement getElement() + { + if (element != null && element.eIsProxy()) + { + InternalEObject oldElement = (InternalEObject)element; + element = (SingleNonContainedElement)eResolveProxy(oldElement); + if (element != oldElement) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, model4Package.REF_SINGLE_NON_CONTAINED__ELEMENT, + oldElement, element)); + } + } + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SingleNonContainedElement basicGetElement() + { + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetElement(SingleNonContainedElement newElement, NotificationChain msgs) + { + SingleNonContainedElement oldElement = element; + element = newElement; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + model4Package.REF_SINGLE_NON_CONTAINED__ELEMENT, oldElement, newElement); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setElement(SingleNonContainedElement newElement) + { + if (newElement != element) + { + NotificationChain msgs = null; + if (element != null) + msgs = ((InternalEObject)element).eInverseRemove(this, model4Package.SINGLE_NON_CONTAINED_ELEMENT__PARENT, + SingleNonContainedElement.class, msgs); + if (newElement != null) + msgs = ((InternalEObject)newElement).eInverseAdd(this, model4Package.SINGLE_NON_CONTAINED_ELEMENT__PARENT, + SingleNonContainedElement.class, msgs); + msgs = basicSetElement(newElement, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.REF_SINGLE_NON_CONTAINED__ELEMENT, + newElement, newElement)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.REF_SINGLE_NON_CONTAINED__ELEMENT: + if (element != null) + msgs = ((InternalEObject)element).eInverseRemove(this, model4Package.SINGLE_NON_CONTAINED_ELEMENT__PARENT, + SingleNonContainedElement.class, msgs); + return basicSetElement((SingleNonContainedElement)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_SINGLE_NON_CONTAINED__ELEMENT: + return basicSetElement(null, 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_SINGLE_NON_CONTAINED__ELEMENT: + if (resolve) + return getElement(); + return basicGetElement(); + } + 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.REF_SINGLE_NON_CONTAINED__ELEMENT: + setElement((SingleNonContainedElement)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.REF_SINGLE_NON_CONTAINED__ELEMENT: + setElement((SingleNonContainedElement)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.REF_SINGLE_NON_CONTAINED__ELEMENT: + return element != null; + } + return super.eIsSet(featureID); + } + +} //RefSingleNonContainedImpl 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 new file mode 100644 index 0000000000..9ef7452189 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/RefSingleNonContainedNPLImpl.java @@ -0,0 +1,184 @@ +/** + * 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: RefSingleNonContainedNPLImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.common.notify.Notification; +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>Ref Single Non Contained NPL</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class RefSingleNonContainedNPLImpl extends EObjectImpl implements RefSingleNonContainedNPL +{ + /** + * The cached value of the '{@link #getElement() <em>Element</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getElement() + * @generated + * @ordered + */ + protected ContainedElementNoOpposite element; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected RefSingleNonContainedNPLImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.REF_SINGLE_NON_CONTAINED_NPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ContainedElementNoOpposite getElement() + { + if (element != null && element.eIsProxy()) + { + InternalEObject oldElement = (InternalEObject)element; + element = (ContainedElementNoOpposite)eResolveProxy(oldElement); + if (element != oldElement) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, + model4Package.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT, oldElement, element)); + } + } + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ContainedElementNoOpposite basicGetElement() + { + return element; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setElement(ContainedElementNoOpposite newElement) + { + ContainedElementNoOpposite oldElement = element; + element = newElement; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT, + oldElement, element)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT: + if (resolve) + return getElement(); + return basicGetElement(); + } + 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.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT: + setElement((ContainedElementNoOpposite)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT: + setElement((ContainedElementNoOpposite)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.REF_SINGLE_NON_CONTAINED_NPL__ELEMENT: + return element != null; + } + return super.eIsSet(featureID); + } + +} //RefSingleNonContainedNPLImpl 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 new file mode 100644 index 0000000000..3f5970dd38 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/SingleContainedElementImpl.java @@ -0,0 +1,302 @@ +/** + * 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: SingleContainedElementImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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; +import org.eclipse.emf.ecore.util.EcoreUtil; + +/** + * <!-- begin-user-doc --> + * An implementation of the model object '<em><b>Single Contained Element</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl#getParent <em>Parent</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class SingleContainedElementImpl extends EObjectImpl implements SingleContainedElement +{ + /** + * 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; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected SingleContainedElementImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.SINGLE_CONTAINED_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.SINGLE_CONTAINED_ELEMENT__NAME, oldName, name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefSingleContained getParent() + { + if (eContainerFeatureID() != model4Package.SINGLE_CONTAINED_ELEMENT__PARENT) + return null; + return (RefSingleContained)eContainer(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetParent(RefSingleContained newParent, NotificationChain msgs) + { + msgs = eBasicSetContainer((InternalEObject)newParent, model4Package.SINGLE_CONTAINED_ELEMENT__PARENT, msgs); + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParent(RefSingleContained newParent) + { + if (newParent != eInternalContainer() + || (eContainerFeatureID() != model4Package.SINGLE_CONTAINED_ELEMENT__PARENT && newParent != null)) + { + if (EcoreUtil.isAncestor(this, newParent)) + throw new IllegalArgumentException("Recursive containment not allowed for " + toString()); + NotificationChain msgs = null; + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + if (newParent != null) + msgs = ((InternalEObject)newParent).eInverseAdd(this, model4Package.REF_SINGLE_CONTAINED__ELEMENT, + RefSingleContained.class, msgs); + msgs = basicSetParent(newParent, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.SINGLE_CONTAINED_ELEMENT__PARENT, newParent, + newParent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.SINGLE_CONTAINED_ELEMENT__PARENT: + if (eInternalContainer() != null) + msgs = eBasicRemoveFromContainer(msgs); + return basicSetParent((RefSingleContained)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.SINGLE_CONTAINED_ELEMENT__PARENT: + return basicSetParent(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) + { + switch (eContainerFeatureID()) + { + case model4Package.SINGLE_CONTAINED_ELEMENT__PARENT: + return eInternalContainer().eInverseRemove(this, model4Package.REF_SINGLE_CONTAINED__ELEMENT, + RefSingleContained.class, msgs); + } + return super.eBasicRemoveFromContainerFeature(msgs); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.SINGLE_CONTAINED_ELEMENT__NAME: + return getName(); + case model4Package.SINGLE_CONTAINED_ELEMENT__PARENT: + return getParent(); + } + 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.SINGLE_CONTAINED_ELEMENT__NAME: + setName((String)newValue); + return; + case model4Package.SINGLE_CONTAINED_ELEMENT__PARENT: + setParent((RefSingleContained)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.SINGLE_CONTAINED_ELEMENT__NAME: + setName(NAME_EDEFAULT); + return; + case model4Package.SINGLE_CONTAINED_ELEMENT__PARENT: + setParent((RefSingleContained)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.SINGLE_CONTAINED_ELEMENT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case model4Package.SINGLE_CONTAINED_ELEMENT__PARENT: + return getParent() != null; + } + 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(); + } + +} //SingleContainedElementImpl 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 new file mode 100644 index 0000000000..ef880dbc19 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/SingleNonContainedElementImpl.java @@ -0,0 +1,325 @@ +/** + * 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: SingleNonContainedElementImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.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>Single Non Contained Element</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl#getParent <em>Parent</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class SingleNonContainedElementImpl extends EObjectImpl implements SingleNonContainedElement +{ + /** + * 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 RefSingleNonContained parent; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected SingleNonContainedElementImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.SINGLE_NON_CONTAINED_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.SINGLE_NON_CONTAINED_ELEMENT__NAME, oldName, + name)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefSingleNonContained getParent() + { + if (parent != null && parent.eIsProxy()) + { + InternalEObject oldParent = (InternalEObject)parent; + parent = (RefSingleNonContained)eResolveProxy(oldParent); + if (parent != oldParent) + { + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.RESOLVE, model4Package.SINGLE_NON_CONTAINED_ELEMENT__PARENT, + oldParent, parent)); + } + } + return parent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefSingleNonContained basicGetParent() + { + return parent; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public NotificationChain basicSetParent(RefSingleNonContained newParent, NotificationChain msgs) + { + RefSingleNonContained oldParent = parent; + parent = newParent; + if (eNotificationRequired()) + { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, + model4Package.SINGLE_NON_CONTAINED_ELEMENT__PARENT, oldParent, newParent); + if (msgs == null) + msgs = notification; + else + msgs.add(notification); + } + return msgs; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setParent(RefSingleNonContained newParent) + { + if (newParent != parent) + { + NotificationChain msgs = null; + if (parent != null) + msgs = ((InternalEObject)parent).eInverseRemove(this, model4Package.REF_SINGLE_NON_CONTAINED__ELEMENT, + RefSingleNonContained.class, msgs); + if (newParent != null) + msgs = ((InternalEObject)newParent).eInverseAdd(this, model4Package.REF_SINGLE_NON_CONTAINED__ELEMENT, + RefSingleNonContained.class, msgs); + msgs = basicSetParent(newParent, msgs); + if (msgs != null) + msgs.dispatch(); + } + else if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.SINGLE_NON_CONTAINED_ELEMENT__PARENT, + newParent, newParent)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) + { + switch (featureID) + { + case model4Package.SINGLE_NON_CONTAINED_ELEMENT__PARENT: + if (parent != null) + msgs = ((InternalEObject)parent).eInverseRemove(this, model4Package.REF_SINGLE_NON_CONTAINED__ELEMENT, + RefSingleNonContained.class, msgs); + return basicSetParent((RefSingleNonContained)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.SINGLE_NON_CONTAINED_ELEMENT__PARENT: + return basicSetParent(null, 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.SINGLE_NON_CONTAINED_ELEMENT__NAME: + return getName(); + case model4Package.SINGLE_NON_CONTAINED_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.SINGLE_NON_CONTAINED_ELEMENT__NAME: + setName((String)newValue); + return; + case model4Package.SINGLE_NON_CONTAINED_ELEMENT__PARENT: + setParent((RefSingleNonContained)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.SINGLE_NON_CONTAINED_ELEMENT__NAME: + setName(NAME_EDEFAULT); + return; + case model4Package.SINGLE_NON_CONTAINED_ELEMENT__PARENT: + setParent((RefSingleNonContained)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.SINGLE_NON_CONTAINED_ELEMENT__NAME: + return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name); + case model4Package.SINGLE_NON_CONTAINED_ELEMENT__PARENT: + return parent != null; + } + 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(); + } + +} //SingleNonContainedElementImpl diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/StringToEObjectImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/StringToEObjectImpl.java new file mode 100644 index 0000000000..e7378422c5 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/StringToEObjectImpl.java @@ -0,0 +1,318 @@ +/** + * 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: StringToEObjectImpl.java,v 1.1 2009-08-12 17:15:30 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4.impl; + +import org.eclipse.emf.cdo.tests.legacy.model4.model4Package; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.BasicEMap; +import org.eclipse.emf.common.util.EMap; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +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>String To EObject</b></em>'. + * <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl#getTypedKey <em>Key</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl#getTypedValue <em>Value</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class StringToEObjectImpl extends EObjectImpl implements BasicEMap.Entry<String, EObject> +{ + /** + * The default value of the '{@link #getTypedKey() <em>Key</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTypedKey() + * @generated + * @ordered + */ + protected static final String KEY_EDEFAULT = null; + + /** + * The cached value of the '{@link #getTypedKey() <em>Key</em>}' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTypedKey() + * @generated + * @ordered + */ + protected String key = KEY_EDEFAULT; + + /** + * The cached value of the '{@link #getTypedValue() <em>Value</em>}' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #getTypedValue() + * @generated + * @ordered + */ + protected EObject value; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected StringToEObjectImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + protected EClass eStaticClass() + { + return model4Package.Literals.STRING_TO_EOBJECT; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getTypedKey() + { + return key; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTypedKey(String newKey) + { + String oldKey = key; + key = newKey; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.STRING_TO_EOBJECT__KEY, oldKey, key)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EObject getTypedValue() + { + return value; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setTypedValue(EObject newValue) + { + EObject oldValue = value; + value = newValue; + if (eNotificationRequired()) + eNotify(new ENotificationImpl(this, Notification.SET, model4Package.STRING_TO_EOBJECT__VALUE, oldValue, value)); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) + { + switch (featureID) + { + case model4Package.STRING_TO_EOBJECT__KEY: + return getTypedKey(); + case model4Package.STRING_TO_EOBJECT__VALUE: + return getTypedValue(); + } + 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.STRING_TO_EOBJECT__KEY: + setTypedKey((String)newValue); + return; + case model4Package.STRING_TO_EOBJECT__VALUE: + setTypedValue((EObject)newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public void eUnset(int featureID) + { + switch (featureID) + { + case model4Package.STRING_TO_EOBJECT__KEY: + setTypedKey(KEY_EDEFAULT); + return; + case model4Package.STRING_TO_EOBJECT__VALUE: + setTypedValue((EObject)null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public boolean eIsSet(int featureID) + { + switch (featureID) + { + case model4Package.STRING_TO_EOBJECT__KEY: + return KEY_EDEFAULT == null ? key != null : !KEY_EDEFAULT.equals(key); + case model4Package.STRING_TO_EOBJECT__VALUE: + return value != null; + } + 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(" (key: "); + result.append(key); + result.append(')'); + return result.toString(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected int hash = -1; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public int getHash() + { + if (hash == -1) + { + Object theKey = getKey(); + hash = (theKey == null ? 0 : theKey.hashCode()); + } + return hash; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setHash(int hash) + { + this.hash = hash; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public String getKey() + { + return getTypedKey(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void setKey(String key) + { + setTypedKey(key); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EObject getValue() + { + return getTypedValue(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EObject setValue(EObject value) + { + EObject oldValue = getValue(); + setTypedValue(value); + return oldValue; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @SuppressWarnings("unchecked") + public EMap<String, EObject> getEMap() + { + EObject container = eContainer(); + return container == null ? null : (EMap<String, EObject>)container.eGet(eContainmentFeature()); + } + +} //StringToEObjectImpl 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 new file mode 100644 index 0000000000..4145d13844 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/model4FactoryImpl.java @@ -0,0 +1,567 @@ +/** + * 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: model4FactoryImpl.java,v 1.4 2009-08-12 17:15:31 estepper 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.ecore.EClass; +import org.eclipse.emf.ecore.EObject; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.impl.EFactoryImpl; +import org.eclipse.emf.ecore.plugin.EcorePlugin; + +import java.util.Map; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Factory</b>. + * <!-- end-user-doc --> + * @generated + */ +public class model4FactoryImpl extends EFactoryImpl implements model4Factory +{ + /** + * Creates the default factory implementation. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public static model4Factory init() + { + try + { + model4Factory themodel4Factory = (model4Factory)EPackage.Registry.INSTANCE + .getEFactory("http://www.eclipse.org/emf/CDO/tests/model4/1.0.0"); + if (themodel4Factory != null) + { + return themodel4Factory; + } + } + catch (Exception exception) + { + EcorePlugin.INSTANCE.log(exception); + } + return new model4FactoryImpl(); + } + + /** + * Creates an instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public model4FactoryImpl() + { + super(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + @Override + public EObject create(EClass eClass) + { + switch (eClass.getClassifierID()) + { + case model4Package.REF_SINGLE_CONTAINED: + return createRefSingleContained(); + case model4Package.SINGLE_CONTAINED_ELEMENT: + return createSingleContainedElement(); + case model4Package.REF_SINGLE_NON_CONTAINED: + return createRefSingleNonContained(); + case model4Package.SINGLE_NON_CONTAINED_ELEMENT: + return createSingleNonContainedElement(); + case model4Package.REF_MULTI_CONTAINED: + return createRefMultiContained(); + case model4Package.MULTI_CONTAINED_ELEMENT: + return createMultiContainedElement(); + case model4Package.REF_MULTI_NON_CONTAINED: + return createRefMultiNonContained(); + case model4Package.MULTI_NON_CONTAINED_ELEMENT: + return createMultiNonContainedElement(); + case model4Package.REF_SINGLE_CONTAINED_NPL: + return createRefSingleContainedNPL(); + case model4Package.REF_SINGLE_NON_CONTAINED_NPL: + return createRefSingleNonContainedNPL(); + case model4Package.REF_MULTI_CONTAINED_NPL: + return createRefMultiContainedNPL(); + case model4Package.REF_MULTI_NON_CONTAINED_NPL: + return createRefMultiNonContainedNPL(); + case model4Package.CONTAINED_ELEMENT_NO_OPPOSITE: + return createContainedElementNoOpposite(); + case model4Package.GEN_REF_SINGLE_CONTAINED: + return createGenRefSingleContained(); + case model4Package.GEN_REF_SINGLE_NON_CONTAINED: + return createGenRefSingleNonContained(); + case model4Package.GEN_REF_MULTI_CONTAINED: + return createGenRefMultiContained(); + case model4Package.GEN_REF_MULTI_NON_CONTAINED: + return createGenRefMultiNonContained(); + case model4Package.IMPL_SINGLE_REF_CONTAINER: + return createImplSingleRefContainer(); + case model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT: + return createImplSingleRefContainedElement(); + case model4Package.IMPL_SINGLE_REF_NON_CONTAINER: + return createImplSingleRefNonContainer(); + case model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT: + return createImplSingleRefNonContainedElement(); + case model4Package.IMPL_MULTI_REF_NON_CONTAINER: + return createImplMultiRefNonContainer(); + case model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT: + return createImplMultiRefNonContainedElement(); + case model4Package.IMPL_MULTI_REF_CONTAINER: + return createImplMultiRefContainer(); + case model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT: + return createImplMultiRefContainedElement(); + case model4Package.IMPL_SINGLE_REF_CONTAINER_NPL: + return createImplSingleRefContainerNPL(); + case model4Package.IMPL_SINGLE_REF_NON_CONTAINER_NPL: + return createImplSingleRefNonContainerNPL(); + case model4Package.IMPL_MULTI_REF_CONTAINER_NPL: + return createImplMultiRefContainerNPL(); + case model4Package.IMPL_MULTI_REF_NON_CONTAINER_NPL: + return createImplMultiRefNonContainerNPL(); + case model4Package.IMPL_CONTAINED_ELEMENT_NPL: + return createImplContainedElementNPL(); + case model4Package.GEN_REF_MULTI_NU_NON_CONTAINED: + return createGenRefMultiNUNonContained(); + case model4Package.GEN_REF_MAP_NON_CONTAINED: + return createGenRefMapNonContained(); + case model4Package.STRING_TO_EOBJECT: + return (EObject)createStringToEObject(); + default: + throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); + } + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefSingleContained createRefSingleContained() + { + RefSingleContainedImpl refSingleContained = new RefSingleContainedImpl(); + return refSingleContained; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SingleContainedElement createSingleContainedElement() + { + SingleContainedElementImpl singleContainedElement = new SingleContainedElementImpl(); + return singleContainedElement; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefSingleNonContained createRefSingleNonContained() + { + RefSingleNonContainedImpl refSingleNonContained = new RefSingleNonContainedImpl(); + return refSingleNonContained; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public SingleNonContainedElement createSingleNonContainedElement() + { + SingleNonContainedElementImpl singleNonContainedElement = new SingleNonContainedElementImpl(); + return singleNonContainedElement; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefMultiContained createRefMultiContained() + { + RefMultiContainedImpl refMultiContained = new RefMultiContainedImpl(); + return refMultiContained; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MultiContainedElement createMultiContainedElement() + { + MultiContainedElementImpl multiContainedElement = new MultiContainedElementImpl(); + return multiContainedElement; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefMultiNonContained createRefMultiNonContained() + { + RefMultiNonContainedImpl refMultiNonContained = new RefMultiNonContainedImpl(); + return refMultiNonContained; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public MultiNonContainedElement createMultiNonContainedElement() + { + MultiNonContainedElementImpl multiNonContainedElement = new MultiNonContainedElementImpl(); + return multiNonContainedElement; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefSingleContainedNPL createRefSingleContainedNPL() + { + RefSingleContainedNPLImpl refSingleContainedNPL = new RefSingleContainedNPLImpl(); + return refSingleContainedNPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefSingleNonContainedNPL createRefSingleNonContainedNPL() + { + RefSingleNonContainedNPLImpl refSingleNonContainedNPL = new RefSingleNonContainedNPLImpl(); + return refSingleNonContainedNPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefMultiContainedNPL createRefMultiContainedNPL() + { + RefMultiContainedNPLImpl refMultiContainedNPL = new RefMultiContainedNPLImpl(); + return refMultiContainedNPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public RefMultiNonContainedNPL createRefMultiNonContainedNPL() + { + RefMultiNonContainedNPLImpl refMultiNonContainedNPL = new RefMultiNonContainedNPLImpl(); + return refMultiNonContainedNPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ContainedElementNoOpposite createContainedElementNoOpposite() + { + ContainedElementNoOppositeImpl containedElementNoOpposite = new ContainedElementNoOppositeImpl(); + return containedElementNoOpposite; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public GenRefSingleContained createGenRefSingleContained() + { + GenRefSingleContainedImpl genRefSingleContained = new GenRefSingleContainedImpl(); + return genRefSingleContained; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public GenRefSingleNonContained createGenRefSingleNonContained() + { + GenRefSingleNonContainedImpl genRefSingleNonContained = new GenRefSingleNonContainedImpl(); + return genRefSingleNonContained; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public GenRefMultiContained createGenRefMultiContained() + { + GenRefMultiContainedImpl genRefMultiContained = new GenRefMultiContainedImpl(); + return genRefMultiContained; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public GenRefMultiNonContained createGenRefMultiNonContained() + { + GenRefMultiNonContainedImpl genRefMultiNonContained = new GenRefMultiNonContainedImpl(); + return genRefMultiNonContained; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplSingleRefContainer createImplSingleRefContainer() + { + ImplSingleRefContainerImpl implSingleRefContainer = new ImplSingleRefContainerImpl(); + return implSingleRefContainer; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplSingleRefContainedElement createImplSingleRefContainedElement() + { + ImplSingleRefContainedElementImpl implSingleRefContainedElement = new ImplSingleRefContainedElementImpl(); + return implSingleRefContainedElement; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplSingleRefNonContainer createImplSingleRefNonContainer() + { + ImplSingleRefNonContainerImpl implSingleRefNonContainer = new ImplSingleRefNonContainerImpl(); + return implSingleRefNonContainer; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplSingleRefNonContainedElement createImplSingleRefNonContainedElement() + { + ImplSingleRefNonContainedElementImpl implSingleRefNonContainedElement = new ImplSingleRefNonContainedElementImpl(); + return implSingleRefNonContainedElement; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplMultiRefNonContainer createImplMultiRefNonContainer() + { + ImplMultiRefNonContainerImpl implMultiRefNonContainer = new ImplMultiRefNonContainerImpl(); + return implMultiRefNonContainer; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplMultiRefNonContainedElement createImplMultiRefNonContainedElement() + { + ImplMultiRefNonContainedElementImpl implMultiRefNonContainedElement = new ImplMultiRefNonContainedElementImpl(); + return implMultiRefNonContainedElement; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplMultiRefContainer createImplMultiRefContainer() + { + ImplMultiRefContainerImpl implMultiRefContainer = new ImplMultiRefContainerImpl(); + return implMultiRefContainer; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplMultiRefContainedElement createImplMultiRefContainedElement() + { + ImplMultiRefContainedElementImpl implMultiRefContainedElement = new ImplMultiRefContainedElementImpl(); + return implMultiRefContainedElement; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplSingleRefContainerNPL createImplSingleRefContainerNPL() + { + ImplSingleRefContainerNPLImpl implSingleRefContainerNPL = new ImplSingleRefContainerNPLImpl(); + return implSingleRefContainerNPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplSingleRefNonContainerNPL createImplSingleRefNonContainerNPL() + { + ImplSingleRefNonContainerNPLImpl implSingleRefNonContainerNPL = new ImplSingleRefNonContainerNPLImpl(); + return implSingleRefNonContainerNPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplMultiRefContainerNPL createImplMultiRefContainerNPL() + { + ImplMultiRefContainerNPLImpl implMultiRefContainerNPL = new ImplMultiRefContainerNPLImpl(); + return implMultiRefContainerNPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplMultiRefNonContainerNPL createImplMultiRefNonContainerNPL() + { + ImplMultiRefNonContainerNPLImpl implMultiRefNonContainerNPL = new ImplMultiRefNonContainerNPLImpl(); + return implMultiRefNonContainerNPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public ImplContainedElementNPL createImplContainedElementNPL() + { + ImplContainedElementNPLImpl implContainedElementNPL = new ImplContainedElementNPLImpl(); + return implContainedElementNPL; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public GenRefMultiNUNonContained createGenRefMultiNUNonContained() + { + GenRefMultiNUNonContainedImpl genRefMultiNUNonContained = new GenRefMultiNUNonContainedImpl(); + return genRefMultiNUNonContained; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public GenRefMapNonContained createGenRefMapNonContained() + { + GenRefMapNonContainedImpl genRefMapNonContained = new GenRefMapNonContainedImpl(); + return genRefMapNonContained; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public Map.Entry<String, EObject> createStringToEObject() + { + StringToEObjectImpl stringToEObject = new StringToEObjectImpl(); + return stringToEObject; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public model4Package getmodel4Package() + { + return (model4Package)getEPackage(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @deprecated + * @generated + */ + @Deprecated + public static model4Package getPackage() + { + return model4Package.eINSTANCE; + } + +} //model4FactoryImpl 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 new file mode 100644 index 0000000000..2d187cb281 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/impl/model4PackageImpl.java @@ -0,0 +1,1363 @@ +/** + * 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: model4PackageImpl.java,v 1.4 2009-08-12 17:15:30 estepper 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.ecore.EAttribute; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.EPackage; +import org.eclipse.emf.ecore.EReference; +import org.eclipse.emf.ecore.impl.EPackageImpl; + +import java.util.Map; + +/** + * <!-- begin-user-doc --> + * An implementation of the model <b>Package</b>. + * <!-- end-user-doc --> + * @generated + */ +public class model4PackageImpl extends EPackageImpl implements model4Package +{ + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass refSingleContainedEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass singleContainedElementEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass refSingleNonContainedEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass singleNonContainedElementEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass refMultiContainedEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass multiContainedElementEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass refMultiNonContainedEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass multiNonContainedElementEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass refSingleContainedNPLEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass refSingleNonContainedNPLEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass refMultiContainedNPLEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass refMultiNonContainedNPLEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass containedElementNoOppositeEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass genRefSingleContainedEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass genRefSingleNonContainedEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass genRefMultiContainedEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass genRefMultiNonContainedEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implSingleRefContainerEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implSingleRefContainedElementEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implSingleRefNonContainerEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implSingleRefNonContainedElementEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implMultiRefNonContainerEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implMultiRefNonContainedElementEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implMultiRefContainerEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implMultiRefContainedElementEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implSingleRefContainerNPLEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implSingleRefNonContainerNPLEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implMultiRefContainerNPLEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implMultiRefNonContainerNPLEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass implContainedElementNPLEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass genRefMultiNUNonContainedEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass genRefMapNonContainedEClass = null; + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private EClass stringToEObjectEClass = null; + + /** + * Creates an instance of the model <b>Package</b>, registered with + * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package + * package URI value. + * <p>Note: the correct way to create the package is via the static + * factory method {@link #init init()}, which also performs + * initialization of the package, or returns the registered package, + * if one already exists. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.ecore.EPackage.Registry + * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package#eNS_URI + * @see #init() + * @generated + */ + private model4PackageImpl() + { + super(eNS_URI, model4Factory.eINSTANCE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private static boolean isInited = false; + + /** + * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. + * + * <p>This method is used to initialize {@link model4Package#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see #eNS_URI + * @see #createPackageContents() + * @see #initializePackageContents() + * @generated + */ + public static model4Package init() + { + if (isInited) + return (model4Package)EPackage.Registry.INSTANCE.getEPackage(model4Package.eNS_URI); + + // Obtain or create and register package + model4PackageImpl themodel4Package = (model4PackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof model4PackageImpl ? EPackage.Registry.INSTANCE + .get(eNS_URI) + : new model4PackageImpl()); + + isInited = true; + + // Initialize simple dependencies + model4interfacesPackage.eINSTANCE.eClass(); + + // Create package meta-data objects + themodel4Package.createPackageContents(); + + // Initialize created meta-data + themodel4Package.initializePackageContents(); + + // Mark meta-data to indicate it can't be changed + themodel4Package.freeze(); + + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(model4Package.eNS_URI, themodel4Package); + return themodel4Package; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRefSingleContained() + { + return refSingleContainedEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRefSingleContained_Element() + { + return (EReference)refSingleContainedEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getSingleContainedElement() + { + return singleContainedElementEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getSingleContainedElement_Name() + { + return (EAttribute)singleContainedElementEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getSingleContainedElement_Parent() + { + return (EReference)singleContainedElementEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRefSingleNonContained() + { + return refSingleNonContainedEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRefSingleNonContained_Element() + { + return (EReference)refSingleNonContainedEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getSingleNonContainedElement() + { + return singleNonContainedElementEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getSingleNonContainedElement_Name() + { + return (EAttribute)singleNonContainedElementEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getSingleNonContainedElement_Parent() + { + return (EReference)singleNonContainedElementEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRefMultiContained() + { + return refMultiContainedEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRefMultiContained_Elements() + { + return (EReference)refMultiContainedEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getMultiContainedElement() + { + return multiContainedElementEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getMultiContainedElement_Name() + { + return (EAttribute)multiContainedElementEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getMultiContainedElement_Parent() + { + return (EReference)multiContainedElementEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRefMultiNonContained() + { + return refMultiNonContainedEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRefMultiNonContained_Elements() + { + return (EReference)refMultiNonContainedEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getMultiNonContainedElement() + { + return multiNonContainedElementEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getMultiNonContainedElement_Name() + { + return (EAttribute)multiNonContainedElementEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getMultiNonContainedElement_Parent() + { + return (EReference)multiNonContainedElementEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRefSingleContainedNPL() + { + return refSingleContainedNPLEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRefSingleContainedNPL_Element() + { + return (EReference)refSingleContainedNPLEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRefSingleNonContainedNPL() + { + return refSingleNonContainedNPLEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRefSingleNonContainedNPL_Element() + { + return (EReference)refSingleNonContainedNPLEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRefMultiContainedNPL() + { + return refMultiContainedNPLEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRefMultiContainedNPL_Elements() + { + return (EReference)refMultiContainedNPLEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getRefMultiNonContainedNPL() + { + return refMultiNonContainedNPLEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getRefMultiNonContainedNPL_Elements() + { + return (EReference)refMultiNonContainedNPLEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getContainedElementNoOpposite() + { + return containedElementNoOppositeEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getContainedElementNoOpposite_Name() + { + return (EAttribute)containedElementNoOppositeEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getGenRefSingleContained() + { + return genRefSingleContainedEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getGenRefSingleContained_Element() + { + return (EReference)genRefSingleContainedEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getGenRefSingleNonContained() + { + return genRefSingleNonContainedEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getGenRefSingleNonContained_Element() + { + return (EReference)genRefSingleNonContainedEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getGenRefMultiContained() + { + return genRefMultiContainedEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getGenRefMultiContained_Elements() + { + return (EReference)genRefMultiContainedEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getGenRefMultiNonContained() + { + return genRefMultiNonContainedEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getGenRefMultiNonContained_Elements() + { + return (EReference)genRefMultiNonContainedEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplSingleRefContainer() + { + return implSingleRefContainerEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplSingleRefContainedElement() + { + return implSingleRefContainedElementEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getImplSingleRefContainedElement_Name() + { + return (EAttribute)implSingleRefContainedElementEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplSingleRefNonContainer() + { + return implSingleRefNonContainerEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplSingleRefNonContainedElement() + { + return implSingleRefNonContainedElementEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getImplSingleRefNonContainedElement_Name() + { + return (EAttribute)implSingleRefNonContainedElementEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplMultiRefNonContainer() + { + return implMultiRefNonContainerEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplMultiRefNonContainedElement() + { + return implMultiRefNonContainedElementEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getImplMultiRefNonContainedElement_Name() + { + return (EAttribute)implMultiRefNonContainedElementEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplMultiRefContainer() + { + return implMultiRefContainerEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplMultiRefContainedElement() + { + return implMultiRefContainedElementEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getImplMultiRefContainedElement_Name() + { + return (EAttribute)implMultiRefContainedElementEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplSingleRefContainerNPL() + { + return implSingleRefContainerNPLEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplSingleRefNonContainerNPL() + { + return implSingleRefNonContainerNPLEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplMultiRefContainerNPL() + { + return implMultiRefContainerNPLEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplMultiRefNonContainerNPL() + { + return implMultiRefNonContainerNPLEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getImplContainedElementNPL() + { + return implContainedElementNPLEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getGenRefMultiNUNonContained() + { + return genRefMultiNUNonContainedEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getGenRefMultiNUNonContained_Elements() + { + return (EReference)genRefMultiNUNonContainedEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getGenRefMapNonContained() + { + return genRefMapNonContainedEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getGenRefMapNonContained_Elements() + { + return (EReference)genRefMapNonContainedEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EClass getStringToEObject() + { + return stringToEObjectEClass; + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EAttribute getStringToEObject_Key() + { + return (EAttribute)stringToEObjectEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public EReference getStringToEObject_Value() + { + return (EReference)stringToEObjectEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public model4Factory getmodel4Factory() + { + return (model4Factory)getEFactoryInstance(); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isCreated = false; + + /** + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void createPackageContents() + { + if (isCreated) + return; + isCreated = true; + + // Create classes and their features + refSingleContainedEClass = createEClass(REF_SINGLE_CONTAINED); + createEReference(refSingleContainedEClass, REF_SINGLE_CONTAINED__ELEMENT); + + singleContainedElementEClass = createEClass(SINGLE_CONTAINED_ELEMENT); + createEAttribute(singleContainedElementEClass, SINGLE_CONTAINED_ELEMENT__NAME); + createEReference(singleContainedElementEClass, SINGLE_CONTAINED_ELEMENT__PARENT); + + refSingleNonContainedEClass = createEClass(REF_SINGLE_NON_CONTAINED); + createEReference(refSingleNonContainedEClass, REF_SINGLE_NON_CONTAINED__ELEMENT); + + singleNonContainedElementEClass = createEClass(SINGLE_NON_CONTAINED_ELEMENT); + createEAttribute(singleNonContainedElementEClass, SINGLE_NON_CONTAINED_ELEMENT__NAME); + createEReference(singleNonContainedElementEClass, SINGLE_NON_CONTAINED_ELEMENT__PARENT); + + refMultiContainedEClass = createEClass(REF_MULTI_CONTAINED); + createEReference(refMultiContainedEClass, REF_MULTI_CONTAINED__ELEMENTS); + + multiContainedElementEClass = createEClass(MULTI_CONTAINED_ELEMENT); + createEAttribute(multiContainedElementEClass, MULTI_CONTAINED_ELEMENT__NAME); + createEReference(multiContainedElementEClass, MULTI_CONTAINED_ELEMENT__PARENT); + + refMultiNonContainedEClass = createEClass(REF_MULTI_NON_CONTAINED); + createEReference(refMultiNonContainedEClass, REF_MULTI_NON_CONTAINED__ELEMENTS); + + multiNonContainedElementEClass = createEClass(MULTI_NON_CONTAINED_ELEMENT); + createEAttribute(multiNonContainedElementEClass, MULTI_NON_CONTAINED_ELEMENT__NAME); + createEReference(multiNonContainedElementEClass, MULTI_NON_CONTAINED_ELEMENT__PARENT); + + refSingleContainedNPLEClass = createEClass(REF_SINGLE_CONTAINED_NPL); + createEReference(refSingleContainedNPLEClass, REF_SINGLE_CONTAINED_NPL__ELEMENT); + + refSingleNonContainedNPLEClass = createEClass(REF_SINGLE_NON_CONTAINED_NPL); + createEReference(refSingleNonContainedNPLEClass, REF_SINGLE_NON_CONTAINED_NPL__ELEMENT); + + refMultiContainedNPLEClass = createEClass(REF_MULTI_CONTAINED_NPL); + createEReference(refMultiContainedNPLEClass, REF_MULTI_CONTAINED_NPL__ELEMENTS); + + refMultiNonContainedNPLEClass = createEClass(REF_MULTI_NON_CONTAINED_NPL); + createEReference(refMultiNonContainedNPLEClass, REF_MULTI_NON_CONTAINED_NPL__ELEMENTS); + + containedElementNoOppositeEClass = createEClass(CONTAINED_ELEMENT_NO_OPPOSITE); + createEAttribute(containedElementNoOppositeEClass, CONTAINED_ELEMENT_NO_OPPOSITE__NAME); + + genRefSingleContainedEClass = createEClass(GEN_REF_SINGLE_CONTAINED); + createEReference(genRefSingleContainedEClass, GEN_REF_SINGLE_CONTAINED__ELEMENT); + + genRefSingleNonContainedEClass = createEClass(GEN_REF_SINGLE_NON_CONTAINED); + createEReference(genRefSingleNonContainedEClass, GEN_REF_SINGLE_NON_CONTAINED__ELEMENT); + + genRefMultiContainedEClass = createEClass(GEN_REF_MULTI_CONTAINED); + createEReference(genRefMultiContainedEClass, GEN_REF_MULTI_CONTAINED__ELEMENTS); + + genRefMultiNonContainedEClass = createEClass(GEN_REF_MULTI_NON_CONTAINED); + createEReference(genRefMultiNonContainedEClass, GEN_REF_MULTI_NON_CONTAINED__ELEMENTS); + + implSingleRefContainerEClass = createEClass(IMPL_SINGLE_REF_CONTAINER); + + implSingleRefContainedElementEClass = createEClass(IMPL_SINGLE_REF_CONTAINED_ELEMENT); + createEAttribute(implSingleRefContainedElementEClass, IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME); + + implSingleRefNonContainerEClass = createEClass(IMPL_SINGLE_REF_NON_CONTAINER); + + implSingleRefNonContainedElementEClass = createEClass(IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT); + createEAttribute(implSingleRefNonContainedElementEClass, IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__NAME); + + implMultiRefNonContainerEClass = createEClass(IMPL_MULTI_REF_NON_CONTAINER); + + implMultiRefNonContainedElementEClass = createEClass(IMPL_MULTI_REF_NON_CONTAINED_ELEMENT); + createEAttribute(implMultiRefNonContainedElementEClass, IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME); + + implMultiRefContainerEClass = createEClass(IMPL_MULTI_REF_CONTAINER); + + implMultiRefContainedElementEClass = createEClass(IMPL_MULTI_REF_CONTAINED_ELEMENT); + createEAttribute(implMultiRefContainedElementEClass, IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME); + + implSingleRefContainerNPLEClass = createEClass(IMPL_SINGLE_REF_CONTAINER_NPL); + + implSingleRefNonContainerNPLEClass = createEClass(IMPL_SINGLE_REF_NON_CONTAINER_NPL); + + implMultiRefContainerNPLEClass = createEClass(IMPL_MULTI_REF_CONTAINER_NPL); + + implMultiRefNonContainerNPLEClass = createEClass(IMPL_MULTI_REF_NON_CONTAINER_NPL); + + implContainedElementNPLEClass = createEClass(IMPL_CONTAINED_ELEMENT_NPL); + + genRefMultiNUNonContainedEClass = createEClass(GEN_REF_MULTI_NU_NON_CONTAINED); + createEReference(genRefMultiNUNonContainedEClass, GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS); + + genRefMapNonContainedEClass = createEClass(GEN_REF_MAP_NON_CONTAINED); + createEReference(genRefMapNonContainedEClass, GEN_REF_MAP_NON_CONTAINED__ELEMENTS); + + stringToEObjectEClass = createEClass(STRING_TO_EOBJECT); + createEAttribute(stringToEObjectEClass, STRING_TO_EOBJECT__KEY); + createEReference(stringToEObjectEClass, STRING_TO_EOBJECT__VALUE); + } + + /** + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + private boolean isInitialized = false; + + /** + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public void initializePackageContents() + { + if (isInitialized) + return; + isInitialized = true; + + // Initialize package + setName(eNAME); + setNsPrefix(eNS_PREFIX); + setNsURI(eNS_URI); + + // Obtain other dependent packages + model4interfacesPackage themodel4interfacesPackage = (model4interfacesPackage)EPackage.Registry.INSTANCE + .getEPackage(model4interfacesPackage.eNS_URI); + + // Create type parameters + + // Set bounds for type parameters + + // Add supertypes to classes + implSingleRefContainerEClass.getESuperTypes().add(themodel4interfacesPackage.getISingleRefContainer()); + implSingleRefContainedElementEClass.getESuperTypes() + .add(themodel4interfacesPackage.getISingleRefContainedElement()); + implSingleRefNonContainerEClass.getESuperTypes().add(themodel4interfacesPackage.getISingleRefNonContainer()); + implSingleRefNonContainedElementEClass.getESuperTypes().add( + themodel4interfacesPackage.getISingleRefNonContainedElement()); + implMultiRefNonContainerEClass.getESuperTypes().add(themodel4interfacesPackage.getIMultiRefNonContainer()); + implMultiRefNonContainedElementEClass.getESuperTypes().add( + themodel4interfacesPackage.getIMultiRefNonContainedElement()); + implMultiRefContainerEClass.getESuperTypes().add(themodel4interfacesPackage.getIMultiRefContainer()); + implMultiRefContainedElementEClass.getESuperTypes().add(themodel4interfacesPackage.getIMultiRefContainedElement()); + implSingleRefContainerNPLEClass.getESuperTypes().add(themodel4interfacesPackage.getISingleRefContainerNPL()); + implSingleRefNonContainerNPLEClass.getESuperTypes().add(themodel4interfacesPackage.getISingleRefNonContainerNPL()); + implMultiRefContainerNPLEClass.getESuperTypes().add(themodel4interfacesPackage.getIMultiRefContainerNPL()); + implMultiRefNonContainerNPLEClass.getESuperTypes().add(themodel4interfacesPackage.getIMultiRefNonContainerNPL()); + implContainedElementNPLEClass.getESuperTypes().add(themodel4interfacesPackage.getIContainedElementNoParentLink()); + implContainedElementNPLEClass.getESuperTypes().add(themodel4interfacesPackage.getINamedElement()); + + // Initialize classes and features; add operations and parameters + initEClass(refSingleContainedEClass, RefSingleContained.class, "RefSingleContained", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getRefSingleContained_Element(), this.getSingleContainedElement(), this + .getSingleContainedElement_Parent(), "element", null, 0, 1, RefSingleContained.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(singleContainedElementEClass, SingleContainedElement.class, "SingleContainedElement", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSingleContainedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, + SingleContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getSingleContainedElement_Parent(), this.getRefSingleContained(), this + .getRefSingleContained_Element(), "parent", null, 0, 1, SingleContainedElement.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(refSingleNonContainedEClass, RefSingleNonContained.class, "RefSingleNonContained", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRefSingleNonContained_Element(), this.getSingleNonContainedElement(), this + .getSingleNonContainedElement_Parent(), "element", null, 0, 1, RefSingleNonContained.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(singleNonContainedElementEClass, SingleNonContainedElement.class, "SingleNonContainedElement", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getSingleNonContainedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, + SingleNonContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getSingleNonContainedElement_Parent(), this.getRefSingleNonContained(), this + .getRefSingleNonContained_Element(), "parent", null, 0, 1, SingleNonContainedElement.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(refMultiContainedEClass, RefMultiContained.class, "RefMultiContained", !IS_ABSTRACT, !IS_INTERFACE, + IS_GENERATED_INSTANCE_CLASS); + initEReference(getRefMultiContained_Elements(), this.getMultiContainedElement(), this + .getMultiContainedElement_Parent(), "elements", null, 0, -1, RefMultiContained.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(multiContainedElementEClass, MultiContainedElement.class, "MultiContainedElement", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getMultiContainedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, + MultiContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getMultiContainedElement_Parent(), this.getRefMultiContained(), + this.getRefMultiContained_Elements(), "parent", null, 0, 1, MultiContainedElement.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(refMultiNonContainedEClass, RefMultiNonContained.class, "RefMultiNonContained", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRefMultiNonContained_Elements(), this.getMultiNonContainedElement(), this + .getMultiNonContainedElement_Parent(), "elements", null, 0, -1, RefMultiNonContained.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); + + initEClass(multiNonContainedElementEClass, MultiNonContainedElement.class, "MultiNonContainedElement", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getMultiNonContainedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, + MultiNonContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + initEReference(getMultiNonContainedElement_Parent(), this.getRefMultiNonContained(), this + .getRefMultiNonContained_Elements(), "parent", null, 0, 1, MultiNonContainedElement.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, + 1, RefSingleContainedNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(refSingleNonContainedNPLEClass, RefSingleNonContainedNPL.class, "RefSingleNonContainedNPL", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRefSingleNonContainedNPL_Element(), this.getContainedElementNoOpposite(), null, "element", null, + 0, 1, RefSingleNonContainedNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(refMultiContainedNPLEClass, RefMultiContainedNPL.class, "RefMultiContainedNPL", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRefMultiContainedNPL_Elements(), this.getContainedElementNoOpposite(), null, "elements", null, 0, + -1, RefMultiContainedNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(refMultiNonContainedNPLEClass, RefMultiNonContainedNPL.class, "RefMultiNonContainedNPL", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getRefMultiNonContainedNPL_Elements(), this.getContainedElementNoOpposite(), null, "elements", null, + 0, -1, RefMultiNonContainedNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(containedElementNoOppositeEClass, ContainedElementNoOpposite.class, "ContainedElementNoOpposite", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getContainedElementNoOpposite_Name(), ecorePackage.getEString(), "name", null, 0, 1, + ContainedElementNoOpposite.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(genRefSingleContainedEClass, GenRefSingleContained.class, "GenRefSingleContained", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGenRefSingleContained_Element(), ecorePackage.getEObject(), null, "element", null, 0, 1, + GenRefSingleContained.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(genRefSingleNonContainedEClass, GenRefSingleNonContained.class, "GenRefSingleNonContained", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGenRefSingleNonContained_Element(), ecorePackage.getEObject(), null, "element", null, 0, 1, + GenRefSingleNonContained.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(genRefMultiContainedEClass, GenRefMultiContained.class, "GenRefMultiContained", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGenRefMultiContained_Elements(), ecorePackage.getEObject(), null, "elements", null, 0, -1, + GenRefMultiContained.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(genRefMultiNonContainedEClass, GenRefMultiNonContained.class, "GenRefMultiNonContained", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGenRefMultiNonContained_Elements(), ecorePackage.getEObject(), null, "elements", null, 0, -1, + GenRefMultiNonContained.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(implSingleRefContainerEClass, ImplSingleRefContainer.class, "ImplSingleRefContainer", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(implSingleRefContainedElementEClass, ImplSingleRefContainedElement.class, + "ImplSingleRefContainedElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getImplSingleRefContainedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, + ImplSingleRefContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(implSingleRefNonContainerEClass, ImplSingleRefNonContainer.class, "ImplSingleRefNonContainer", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(implSingleRefNonContainedElementEClass, ImplSingleRefNonContainedElement.class, + "ImplSingleRefNonContainedElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getImplSingleRefNonContainedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, + ImplSingleRefNonContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(implMultiRefNonContainerEClass, ImplMultiRefNonContainer.class, "ImplMultiRefNonContainer", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(implMultiRefNonContainedElementEClass, ImplMultiRefNonContainedElement.class, + "ImplMultiRefNonContainedElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getImplMultiRefNonContainedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, + ImplMultiRefNonContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(implMultiRefContainerEClass, ImplMultiRefContainer.class, "ImplMultiRefContainer", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(implMultiRefContainedElementEClass, ImplMultiRefContainedElement.class, "ImplMultiRefContainedElement", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getImplMultiRefContainedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, + ImplMultiRefContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, + IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(implSingleRefContainerNPLEClass, ImplSingleRefContainerNPL.class, "ImplSingleRefContainerNPL", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(implSingleRefNonContainerNPLEClass, ImplSingleRefNonContainerNPL.class, "ImplSingleRefNonContainerNPL", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(implMultiRefContainerNPLEClass, ImplMultiRefContainerNPL.class, "ImplMultiRefContainerNPL", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(implMultiRefNonContainerNPLEClass, ImplMultiRefNonContainerNPL.class, "ImplMultiRefNonContainerNPL", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(implContainedElementNPLEClass, ImplContainedElementNPL.class, "ImplContainedElementNPL", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + + initEClass(genRefMultiNUNonContainedEClass, GenRefMultiNUNonContained.class, "GenRefMultiNUNonContained", + !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGenRefMultiNUNonContained_Elements(), ecorePackage.getEObject(), null, "elements", null, 0, -1, + GenRefMultiNUNonContained.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(genRefMapNonContainedEClass, GenRefMapNonContained.class, "GenRefMapNonContained", !IS_ABSTRACT, + !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); + initEReference(getGenRefMapNonContained_Elements(), this.getStringToEObject(), null, "elements", null, 0, -1, + GenRefMapNonContained.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, + !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + + initEClass(stringToEObjectEClass, Map.Entry.class, "StringToEObject", !IS_ABSTRACT, !IS_INTERFACE, + !IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getStringToEObject_Key(), ecorePackage.getEString(), "key", null, 0, 1, Map.Entry.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getStringToEObject_Value(), ecorePackage.getEObject(), null, "value", null, 0, 1, Map.Entry.class, + !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, !IS_UNIQUE, + !IS_DERIVED, IS_ORDERED); + + // Create resource + createResource(eNS_URI); + } + +} //model4PackageImpl 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 new file mode 100644 index 0000000000..2b8b061f04 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/model4Factory.java @@ -0,0 +1,332 @@ +/** + * 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: model4Factory.java,v 1.4 2009-08-12 17:15:31 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4; + +import org.eclipse.emf.ecore.EFactory; + +/** + * <!-- begin-user-doc --> + * The <b>Factory</b> for the model. + * It provides a create method for each non-abstract class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package + * @generated + */ +public interface model4Factory extends EFactory +{ + /** + * The singleton instance of the factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + model4Factory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model4.impl.model4FactoryImpl.init(); + + /** + * Returns a new object of class '<em>Ref Single Contained</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Ref Single Contained</em>'. + * @generated + */ + RefSingleContained createRefSingleContained(); + + /** + * Returns a new object of class '<em>Single Contained Element</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Single Contained Element</em>'. + * @generated + */ + SingleContainedElement createSingleContainedElement(); + + /** + * Returns a new object of class '<em>Ref Single Non Contained</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Ref Single Non Contained</em>'. + * @generated + */ + RefSingleNonContained createRefSingleNonContained(); + + /** + * Returns a new object of class '<em>Single Non Contained Element</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Single Non Contained Element</em>'. + * @generated + */ + SingleNonContainedElement createSingleNonContainedElement(); + + /** + * Returns a new object of class '<em>Ref Multi Contained</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Ref Multi Contained</em>'. + * @generated + */ + RefMultiContained createRefMultiContained(); + + /** + * Returns a new object of class '<em>Multi Contained Element</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Multi Contained Element</em>'. + * @generated + */ + MultiContainedElement createMultiContainedElement(); + + /** + * Returns a new object of class '<em>Ref Multi Non Contained</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Ref Multi Non Contained</em>'. + * @generated + */ + RefMultiNonContained createRefMultiNonContained(); + + /** + * Returns a new object of class '<em>Multi Non Contained Element</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Multi Non Contained Element</em>'. + * @generated + */ + MultiNonContainedElement createMultiNonContainedElement(); + + /** + * 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>'. + * @generated + */ + RefSingleContainedNPL createRefSingleContainedNPL(); + + /** + * Returns a new object of class '<em>Ref Single Non Contained NPL</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Ref Single Non Contained NPL</em>'. + * @generated + */ + RefSingleNonContainedNPL createRefSingleNonContainedNPL(); + + /** + * Returns a new object of class '<em>Ref Multi Contained NPL</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Ref Multi Contained NPL</em>'. + * @generated + */ + RefMultiContainedNPL createRefMultiContainedNPL(); + + /** + * Returns a new object of class '<em>Ref Multi Non Contained NPL</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Ref Multi Non Contained NPL</em>'. + * @generated + */ + RefMultiNonContainedNPL createRefMultiNonContainedNPL(); + + /** + * Returns a new object of class '<em>Contained Element No Opposite</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Contained Element No Opposite</em>'. + * @generated + */ + ContainedElementNoOpposite createContainedElementNoOpposite(); + + /** + * Returns a new object of class '<em>Gen Ref Single Contained</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Gen Ref Single Contained</em>'. + * @generated + */ + GenRefSingleContained createGenRefSingleContained(); + + /** + * Returns a new object of class '<em>Gen Ref Single Non Contained</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Gen Ref Single Non Contained</em>'. + * @generated + */ + GenRefSingleNonContained createGenRefSingleNonContained(); + + /** + * Returns a new object of class '<em>Gen Ref Multi Contained</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Gen Ref Multi Contained</em>'. + * @generated + */ + GenRefMultiContained createGenRefMultiContained(); + + /** + * Returns a new object of class '<em>Gen Ref Multi Non Contained</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Gen Ref Multi Non Contained</em>'. + * @generated + */ + GenRefMultiNonContained createGenRefMultiNonContained(); + + /** + * Returns a new object of class '<em>Impl Single Ref Container</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Single Ref Container</em>'. + * @generated + */ + ImplSingleRefContainer createImplSingleRefContainer(); + + /** + * Returns a new object of class '<em>Impl Single Ref Contained Element</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Single Ref Contained Element</em>'. + * @generated + */ + ImplSingleRefContainedElement createImplSingleRefContainedElement(); + + /** + * Returns a new object of class '<em>Impl Single Ref Non Container</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Single Ref Non Container</em>'. + * @generated + */ + ImplSingleRefNonContainer createImplSingleRefNonContainer(); + + /** + * Returns a new object of class '<em>Impl Single Ref Non Contained Element</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Single Ref Non Contained Element</em>'. + * @generated + */ + ImplSingleRefNonContainedElement createImplSingleRefNonContainedElement(); + + /** + * Returns a new object of class '<em>Impl Multi Ref Non Container</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Multi Ref Non Container</em>'. + * @generated + */ + ImplMultiRefNonContainer createImplMultiRefNonContainer(); + + /** + * Returns a new object of class '<em>Impl Multi Ref Non Contained Element</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Multi Ref Non Contained Element</em>'. + * @generated + */ + ImplMultiRefNonContainedElement createImplMultiRefNonContainedElement(); + + /** + * Returns a new object of class '<em>Impl Multi Ref Container</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Multi Ref Container</em>'. + * @generated + */ + ImplMultiRefContainer createImplMultiRefContainer(); + + /** + * Returns a new object of class '<em>Impl Multi Ref Contained Element</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Multi Ref Contained Element</em>'. + * @generated + */ + ImplMultiRefContainedElement createImplMultiRefContainedElement(); + + /** + * Returns a new object of class '<em>Impl Single Ref Container NPL</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Single Ref Container NPL</em>'. + * @generated + */ + ImplSingleRefContainerNPL createImplSingleRefContainerNPL(); + + /** + * Returns a new object of class '<em>Impl Single Ref Non Container NPL</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Single Ref Non Container NPL</em>'. + * @generated + */ + ImplSingleRefNonContainerNPL createImplSingleRefNonContainerNPL(); + + /** + * Returns a new object of class '<em>Impl Multi Ref Container NPL</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Multi Ref Container NPL</em>'. + * @generated + */ + ImplMultiRefContainerNPL createImplMultiRefContainerNPL(); + + /** + * Returns a new object of class '<em>Impl Multi Ref Non Container NPL</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Multi Ref Non Container NPL</em>'. + * @generated + */ + ImplMultiRefNonContainerNPL createImplMultiRefNonContainerNPL(); + + /** + * Returns a new object of class '<em>Impl Contained Element NPL</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Impl Contained Element NPL</em>'. + * @generated + */ + ImplContainedElementNPL createImplContainedElementNPL(); + + /** + * Returns a new object of class '<em>Gen Ref Multi NU Non Contained</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Gen Ref Multi NU Non Contained</em>'. + * @generated + */ + GenRefMultiNUNonContained createGenRefMultiNUNonContained(); + + /** + * Returns a new object of class '<em>Gen Ref Map Non Contained</em>'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return a new object of class '<em>Gen Ref Map Non Contained</em>'. + * @generated + */ + GenRefMapNonContained createGenRefMapNonContained(); + + /** + * Returns the package supported by this factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the package supported by this factory. + * @generated + */ + model4Package getmodel4Package(); + +} //model4Factory 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 new file mode 100644 index 0000000000..22d6d4b8e9 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/model4Package.java @@ -0,0 +1,2314 @@ +/** + * 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: model4Package.java,v 1.4 2009-08-12 17:15:31 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4; + +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; + +/** + * <!-- begin-user-doc --> + * The <b>Package</b> for the model. + * It contains accessors for the meta objects to represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Factory + * @model kind="package" + * @generated + */ +public interface model4Package extends EPackage +{ + /** + * The package name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNAME = "model4"; + + /** + * The package namespace URI. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model4/1.0.0"; + + /** + * The package namespace name. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + String eNS_PREFIX = "model4"; + + /** + * The singleton instance of the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + model4Package eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl.init(); + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl <em>Ref Single Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContained() + * @generated + */ + int REF_SINGLE_CONTAINED = 0; + + /** + * The feature id for the '<em><b>Element</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_SINGLE_CONTAINED__ELEMENT = 0; + + /** + * The number of structural features of the '<em>Ref Single Contained</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_SINGLE_CONTAINED_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl <em>Single Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getSingleContainedElement() + * @generated + */ + int SINGLE_CONTAINED_ELEMENT = 1; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SINGLE_CONTAINED_ELEMENT__NAME = 0; + + /** + * The feature id for the '<em><b>Parent</b></em>' container reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SINGLE_CONTAINED_ELEMENT__PARENT = 1; + + /** + * The number of structural features of the '<em>Single Contained Element</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SINGLE_CONTAINED_ELEMENT_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl <em>Ref Single Non Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContained() + * @generated + */ + int REF_SINGLE_NON_CONTAINED = 2; + + /** + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_SINGLE_NON_CONTAINED__ELEMENT = 0; + + /** + * The number of structural features of the '<em>Ref Single Non Contained</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_SINGLE_NON_CONTAINED_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl <em>Single Non Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getSingleNonContainedElement() + * @generated + */ + int SINGLE_NON_CONTAINED_ELEMENT = 3; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SINGLE_NON_CONTAINED_ELEMENT__NAME = 0; + + /** + * The feature id for the '<em><b>Parent</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SINGLE_NON_CONTAINED_ELEMENT__PARENT = 1; + + /** + * The number of structural features of the '<em>Single Non Contained Element</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int SINGLE_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl <em>Ref Multi Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContained() + * @generated + */ + int REF_MULTI_CONTAINED = 4; + + /** + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_MULTI_CONTAINED__ELEMENTS = 0; + + /** + * The number of structural features of the '<em>Ref Multi Contained</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_MULTI_CONTAINED_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl <em>Multi Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiContainedElement() + * @generated + */ + int MULTI_CONTAINED_ELEMENT = 5; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MULTI_CONTAINED_ELEMENT__NAME = 0; + + /** + * The feature id for the '<em><b>Parent</b></em>' container reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MULTI_CONTAINED_ELEMENT__PARENT = 1; + + /** + * The number of structural features of the '<em>Multi Contained Element</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MULTI_CONTAINED_ELEMENT_FEATURE_COUNT = 2; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl <em>Ref Multi Non Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContained() + * @generated + */ + int REF_MULTI_NON_CONTAINED = 6; + + /** + * 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__ELEMENTS = 0; + + /** + * The number of structural features of the '<em>Ref Multi Non Contained</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_MULTI_NON_CONTAINED_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl <em>Multi Non Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiNonContainedElement() + * @generated + */ + int MULTI_NON_CONTAINED_ELEMENT = 7; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MULTI_NON_CONTAINED_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_ELEMENT__PARENT = 1; + + /** + * The number of structural features of the '<em>Multi Non Contained Element</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int MULTI_NON_CONTAINED_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 --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContainedNPL() + * @generated + */ + int REF_SINGLE_CONTAINED_NPL = 8; + + /** + * The feature id for the '<em><b>Element</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_SINGLE_CONTAINED_NPL__ELEMENT = 0; + + /** + * The number of structural features of the '<em>Ref Single Contained NPL</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_SINGLE_CONTAINED_NPL_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl <em>Ref Single Non Contained NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContainedNPL() + * @generated + */ + int REF_SINGLE_NON_CONTAINED_NPL = 9; + + /** + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_SINGLE_NON_CONTAINED_NPL__ELEMENT = 0; + + /** + * The number of structural features of the '<em>Ref Single Non Contained NPL</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_SINGLE_NON_CONTAINED_NPL_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl <em>Ref Multi Contained NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContainedNPL() + * @generated + */ + int REF_MULTI_CONTAINED_NPL = 10; + + /** + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_MULTI_CONTAINED_NPL__ELEMENTS = 0; + + /** + * The number of structural features of the '<em>Ref Multi Contained NPL</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_MULTI_CONTAINED_NPL_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl <em>Ref Multi Non Contained NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContainedNPL() + * @generated + */ + int REF_MULTI_NON_CONTAINED_NPL = 11; + + /** + * 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_NPL__ELEMENTS = 0; + + /** + * The number of structural features of the '<em>Ref Multi Non Contained NPL</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int REF_MULTI_NON_CONTAINED_NPL_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl <em>Contained Element No Opposite</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getContainedElementNoOpposite() + * @generated + */ + int CONTAINED_ELEMENT_NO_OPPOSITE = 12; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTAINED_ELEMENT_NO_OPPOSITE__NAME = 0; + + /** + * The number of structural features of the '<em>Contained Element No Opposite</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int CONTAINED_ELEMENT_NO_OPPOSITE_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl <em>Gen Ref Single Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleContained() + * @generated + */ + int GEN_REF_SINGLE_CONTAINED = 13; + + /** + * The feature id for the '<em><b>Element</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GEN_REF_SINGLE_CONTAINED__ELEMENT = 0; + + /** + * The number of structural features of the '<em>Gen Ref Single Contained</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GEN_REF_SINGLE_CONTAINED_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl <em>Gen Ref Single Non Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleNonContained() + * @generated + */ + int GEN_REF_SINGLE_NON_CONTAINED = 14; + + /** + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GEN_REF_SINGLE_NON_CONTAINED__ELEMENT = 0; + + /** + * The number of structural features of the '<em>Gen Ref Single Non Contained</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GEN_REF_SINGLE_NON_CONTAINED_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl <em>Gen Ref Multi Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiContained() + * @generated + */ + int GEN_REF_MULTI_CONTAINED = 15; + + /** + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GEN_REF_MULTI_CONTAINED__ELEMENTS = 0; + + /** + * The number of structural features of the '<em>Gen Ref Multi Contained</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GEN_REF_MULTI_CONTAINED_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl <em>Gen Ref Multi Non Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNonContained() + * @generated + */ + int GEN_REF_MULTI_NON_CONTAINED = 16; + + /** + * The feature id for the '<em><b>Elements</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GEN_REF_MULTI_NON_CONTAINED__ELEMENTS = 0; + + /** + * The number of structural features of the '<em>Gen Ref Multi Non Contained</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GEN_REF_MULTI_NON_CONTAINED_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl <em>Impl Single Ref Container</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainer() + * @generated + */ + int IMPL_SINGLE_REF_CONTAINER = 17; + + /** + * The feature id for the '<em><b>Element</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_CONTAINER__ELEMENT = model4interfacesPackage.ISINGLE_REF_CONTAINER__ELEMENT; + + /** + * The number of structural features of the '<em>Impl Single Ref Container</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_CONTAINER_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_CONTAINER_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl <em>Impl Single Ref Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainedElement() + * @generated + */ + int IMPL_SINGLE_REF_CONTAINED_ELEMENT = 18; + + /** + * The feature id for the '<em><b>Parent</b></em>' container reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT__PARENT; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME = model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Impl Single Ref Contained Element</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl <em>Impl Single Ref Non Container</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainer() + * @generated + */ + int IMPL_SINGLE_REF_NON_CONTAINER = 19; + + /** + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER__ELEMENT; + + /** + * The number of structural features of the '<em>Impl Single Ref Non Container</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_NON_CONTAINER_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl <em>Impl Single Ref Non Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainedElement() + * @generated + */ + int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT = 20; + + /** + * The feature id for the '<em><b>Parent</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__NAME = model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Impl Single Ref Non Contained Element</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl <em>Impl Multi Ref Non Container</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainer() + * @generated + */ + int IMPL_MULTI_REF_NON_CONTAINER = 21; + + /** + * The feature id for the '<em><b>Elements</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_NON_CONTAINER__ELEMENTS = model4interfacesPackage.IMULTI_REF_NON_CONTAINER__ELEMENTS; + + /** + * The number of structural features of the '<em>Impl Multi Ref Non Container</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_NON_CONTAINER_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_NON_CONTAINER_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl <em>Impl Multi Ref Non Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainedElement() + * @generated + */ + int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT = 22; + + /** + * The feature id for the '<em><b>Parent</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME = model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Impl Multi Ref Non Contained Element</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl <em>Impl Multi Ref Container</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainer() + * @generated + */ + int IMPL_MULTI_REF_CONTAINER = 23; + + /** + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_CONTAINER__ELEMENTS = model4interfacesPackage.IMULTI_REF_CONTAINER__ELEMENTS; + + /** + * The number of structural features of the '<em>Impl Multi Ref Container</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_CONTAINER_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_CONTAINER_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl <em>Impl Multi Ref Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainedElement() + * @generated + */ + int IMPL_MULTI_REF_CONTAINED_ELEMENT = 24; + + /** + * The feature id for the '<em><b>Parent</b></em>' container reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT__PARENT; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME = model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Impl Multi Ref Contained Element</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl <em>Impl Single Ref Container NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainerNPL() + * @generated + */ + int IMPL_SINGLE_REF_CONTAINER_NPL = 25; + + /** + * The feature id for the '<em><b>Element</b></em>' containment reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT = model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL__ELEMENT; + + /** + * The number of structural features of the '<em>Impl Single Ref Container NPL</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl <em>Impl Single Ref Non Container NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainerNPL() + * @generated + */ + int IMPL_SINGLE_REF_NON_CONTAINER_NPL = 26; + + /** + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_NON_CONTAINER_NPL__ELEMENT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT; + + /** + * The number of structural features of the '<em>Impl Single Ref Non Container NPL</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_SINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl <em>Impl Multi Ref Container NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainerNPL() + * @generated + */ + int IMPL_MULTI_REF_CONTAINER_NPL = 27; + + /** + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_CONTAINER_NPL__ELEMENTS = model4interfacesPackage.IMULTI_REF_CONTAINER_NPL__ELEMENTS; + + /** + * The number of structural features of the '<em>Impl Multi Ref Container NPL</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_CONTAINER_NPL_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl <em>Impl Multi Ref Non Container NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainerNPL() + * @generated + */ + int IMPL_MULTI_REF_NON_CONTAINER_NPL = 28; + + /** + * The feature id for the '<em><b>Elements</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_NON_CONTAINER_NPL__ELEMENTS = model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS; + + /** + * The number of structural features of the '<em>Impl Multi Ref Non Container NPL</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_MULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT + 0; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl <em>Impl Contained Element NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplContainedElementNPL() + * @generated + */ + int IMPL_CONTAINED_ELEMENT_NPL = 29; + + /** + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_CONTAINED_ELEMENT_NPL__NAME = model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT + 0; + + /** + * The number of structural features of the '<em>Impl Contained Element NPL</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int IMPL_CONTAINED_ELEMENT_NPL_FEATURE_COUNT = model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT + 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl <em>Gen Ref Multi NU Non Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNUNonContained() + * @generated + */ + int GEN_REF_MULTI_NU_NON_CONTAINED = 30; + + /** + * The feature id for the '<em><b>Elements</b></em>' reference list. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS = 0; + + /** + * The number of structural features of the '<em>Gen Ref Multi NU Non Contained</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GEN_REF_MULTI_NU_NON_CONTAINED_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl <em>Gen Ref Map Non Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMapNonContained() + * @generated + */ + int GEN_REF_MAP_NON_CONTAINED = 31; + + /** + * The feature id for the '<em><b>Elements</b></em>' map. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GEN_REF_MAP_NON_CONTAINED__ELEMENTS = 0; + + /** + * The number of structural features of the '<em>Gen Ref Map Non Contained</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int GEN_REF_MAP_NON_CONTAINED_FEATURE_COUNT = 1; + + /** + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl <em>String To EObject</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getStringToEObject() + * @generated + */ + int STRING_TO_EOBJECT = 32; + + /** + * The feature id for the '<em><b>Key</b></em>' attribute. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STRING_TO_EOBJECT__KEY = 0; + + /** + * The feature id for the '<em><b>Value</b></em>' reference. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STRING_TO_EOBJECT__VALUE = 1; + + /** + * The number of structural features of the '<em>String To EObject</em>' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + * @ordered + */ + int STRING_TO_EOBJECT_FEATURE_COUNT = 2; + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained <em>Ref Single Contained</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Ref Single Contained</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained + * @generated + */ + EClass getRefSingleContained(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained#getElement <em>Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained#getElement() + * @see #getRefSingleContained() + * @generated + */ + EReference getRefSingleContained_Element(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement <em>Single Contained Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Single Contained Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement + * @generated + */ + EClass getSingleContainedElement(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#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.SingleContainedElement#getName() + * @see #getSingleContainedElement() + * @generated + */ + EAttribute getSingleContainedElement_Name(); + + /** + * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getParent <em>Parent</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the container reference '<em>Parent</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement#getParent() + * @see #getSingleContainedElement() + * @generated + */ + EReference getSingleContainedElement_Parent(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained <em>Ref Single Non Contained</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Ref Single Non Contained</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained + * @generated + */ + EClass getRefSingleNonContained(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained#getElement <em>Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained#getElement() + * @see #getRefSingleNonContained() + * @generated + */ + EReference getRefSingleNonContained_Element(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement <em>Single Non Contained Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Single Non Contained Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement + * @generated + */ + EClass getSingleNonContainedElement(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#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.SingleNonContainedElement#getName() + * @see #getSingleNonContainedElement() + * @generated + */ + EAttribute getSingleNonContainedElement_Name(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement#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.SingleNonContainedElement#getParent() + * @see #getSingleNonContainedElement() + * @generated + */ + EReference getSingleNonContainedElement_Parent(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained <em>Ref Multi Contained</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Ref Multi Contained</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained + * @generated + */ + EClass getRefMultiContained(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained#getElements <em>Elements</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Elements</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained#getElements() + * @see #getRefMultiContained() + * @generated + */ + EReference getRefMultiContained_Elements(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement <em>Multi Contained Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Multi Contained Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement + * @generated + */ + EClass getMultiContainedElement(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#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.MultiContainedElement#getName() + * @see #getMultiContainedElement() + * @generated + */ + EAttribute getMultiContainedElement_Name(); + + /** + * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getParent <em>Parent</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the container reference '<em>Parent</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement#getParent() + * @see #getMultiContainedElement() + * @generated + */ + EReference getMultiContainedElement_Parent(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained <em>Ref Multi Non Contained</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Ref Multi Non Contained</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained + * @generated + */ + EClass getRefMultiNonContained(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained#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.RefMultiNonContained#getElements() + * @see #getRefMultiNonContained() + * @generated + */ + EReference getRefMultiNonContained_Elements(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement <em>Multi Non Contained Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Multi Non Contained Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement + * @generated + */ + EClass getMultiNonContainedElement(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#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.MultiNonContainedElement#getName() + * @see #getMultiNonContainedElement() + * @generated + */ + EAttribute getMultiNonContainedElement_Name(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement#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.MultiNonContainedElement#getParent() + * @see #getMultiNonContainedElement() + * @generated + */ + EReference getMultiNonContainedElement_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 --> + * @return the meta object for class '<em>Ref Single Contained NPL</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL + * @generated + */ + EClass getRefSingleContainedNPL(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL#getElement <em>Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL#getElement() + * @see #getRefSingleContainedNPL() + * @generated + */ + EReference getRefSingleContainedNPL_Element(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL <em>Ref Single Non Contained NPL</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Ref Single Non Contained NPL</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL + * @generated + */ + EClass getRefSingleNonContainedNPL(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL#getElement <em>Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL#getElement() + * @see #getRefSingleNonContainedNPL() + * @generated + */ + EReference getRefSingleNonContainedNPL_Element(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL <em>Ref Multi Contained NPL</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Ref Multi Contained NPL</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL + * @generated + */ + EClass getRefMultiContainedNPL(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL#getElements <em>Elements</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Elements</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL#getElements() + * @see #getRefMultiContainedNPL() + * @generated + */ + EReference getRefMultiContainedNPL_Elements(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL <em>Ref Multi Non Contained NPL</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Ref Multi Non Contained NPL</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL + * @generated + */ + EClass getRefMultiNonContainedNPL(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL#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.RefMultiNonContainedNPL#getElements() + * @see #getRefMultiNonContainedNPL() + * @generated + */ + EReference getRefMultiNonContainedNPL_Elements(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite <em>Contained Element No Opposite</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Contained Element No Opposite</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite + * @generated + */ + EClass getContainedElementNoOpposite(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite#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.ContainedElementNoOpposite#getName() + * @see #getContainedElementNoOpposite() + * @generated + */ + EAttribute getContainedElementNoOpposite_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained <em>Gen Ref Single Contained</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Gen Ref Single Contained</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained + * @generated + */ + EClass getGenRefSingleContained(); + + /** + * Returns the meta object for the containment reference '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained#getElement <em>Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference '<em>Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained#getElement() + * @see #getGenRefSingleContained() + * @generated + */ + EReference getGenRefSingleContained_Element(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained <em>Gen Ref Single Non Contained</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Gen Ref Single Non Contained</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained + * @generated + */ + EClass getGenRefSingleNonContained(); + + /** + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained#getElement <em>Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained#getElement() + * @see #getGenRefSingleNonContained() + * @generated + */ + EReference getGenRefSingleNonContained_Element(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained <em>Gen Ref Multi Contained</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Gen Ref Multi Contained</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained + * @generated + */ + EClass getGenRefMultiContained(); + + /** + * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained#getElements <em>Elements</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the containment reference list '<em>Elements</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained#getElements() + * @see #getGenRefMultiContained() + * @generated + */ + EReference getGenRefMultiContained_Elements(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained <em>Gen Ref Multi Non Contained</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Gen Ref Multi Non Contained</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained + * @generated + */ + EClass getGenRefMultiNonContained(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained#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.GenRefMultiNonContained#getElements() + * @see #getGenRefMultiNonContained() + * @generated + */ + EReference getGenRefMultiNonContained_Elements(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer <em>Impl Single Ref Container</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Single Ref Container</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer + * @generated + */ + EClass getImplSingleRefContainer(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement <em>Impl Single Ref Contained Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Single Ref Contained Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement + * @generated + */ + EClass getImplSingleRefContainedElement(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement#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.ImplSingleRefContainedElement#getName() + * @see #getImplSingleRefContainedElement() + * @generated + */ + EAttribute getImplSingleRefContainedElement_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer <em>Impl Single Ref Non Container</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Single Ref Non Container</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer + * @generated + */ + EClass getImplSingleRefNonContainer(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement <em>Impl Single Ref Non Contained Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Single Ref Non Contained Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement + * @generated + */ + EClass getImplSingleRefNonContainedElement(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement#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.ImplSingleRefNonContainedElement#getName() + * @see #getImplSingleRefNonContainedElement() + * @generated + */ + EAttribute getImplSingleRefNonContainedElement_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer <em>Impl Multi Ref Non Container</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Multi Ref Non Container</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer + * @generated + */ + EClass getImplMultiRefNonContainer(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement <em>Impl Multi Ref Non Contained Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Multi Ref Non Contained Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement + * @generated + */ + EClass getImplMultiRefNonContainedElement(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement#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.ImplMultiRefNonContainedElement#getName() + * @see #getImplMultiRefNonContainedElement() + * @generated + */ + EAttribute getImplMultiRefNonContainedElement_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer <em>Impl Multi Ref Container</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Multi Ref Container</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer + * @generated + */ + EClass getImplMultiRefContainer(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement <em>Impl Multi Ref Contained Element</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Multi Ref Contained Element</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement + * @generated + */ + EClass getImplMultiRefContainedElement(); + + /** + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement#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.ImplMultiRefContainedElement#getName() + * @see #getImplMultiRefContainedElement() + * @generated + */ + EAttribute getImplMultiRefContainedElement_Name(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL <em>Impl Single Ref Container NPL</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Single Ref Container NPL</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL + * @generated + */ + EClass getImplSingleRefContainerNPL(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL <em>Impl Single Ref Non Container NPL</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Single Ref Non Container NPL</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL + * @generated + */ + EClass getImplSingleRefNonContainerNPL(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL <em>Impl Multi Ref Container NPL</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Multi Ref Container NPL</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL + * @generated + */ + EClass getImplMultiRefContainerNPL(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL <em>Impl Multi Ref Non Container NPL</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Multi Ref Non Container NPL</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL + * @generated + */ + EClass getImplMultiRefNonContainerNPL(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL <em>Impl Contained Element NPL</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Impl Contained Element NPL</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL + * @generated + */ + EClass getImplContainedElementNPL(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained <em>Gen Ref Multi NU Non Contained</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Gen Ref Multi NU Non Contained</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained + * @generated + */ + EClass getGenRefMultiNUNonContained(); + + /** + * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained#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.GenRefMultiNUNonContained#getElements() + * @see #getGenRefMultiNUNonContained() + * @generated + */ + EReference getGenRefMultiNUNonContained_Elements(); + + /** + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained <em>Gen Ref Map Non Contained</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>Gen Ref Map Non Contained</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained + * @generated + */ + EClass getGenRefMapNonContained(); + + /** + * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained#getElements <em>Elements</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the map '<em>Elements</em>'. + * @see org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained#getElements() + * @see #getGenRefMapNonContained() + * @generated + */ + EReference getGenRefMapNonContained_Elements(); + + /** + * Returns the meta object for class '{@link java.util.Map.Entry <em>String To EObject</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for class '<em>String To EObject</em>'. + * @see java.util.Map.Entry + * @model keyDataType="org.eclipse.emf.ecore.EString" + * valueType="org.eclipse.emf.ecore.EObject" valueResolveProxies="false" + * @generated + */ + EClass getStringToEObject(); + + /** + * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the attribute '<em>Key</em>'. + * @see java.util.Map.Entry + * @see #getStringToEObject() + * @generated + */ + EAttribute getStringToEObject_Key(); + + /** + * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Value</em>}'. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the meta object for the reference '<em>Value</em>'. + * @see java.util.Map.Entry + * @see #getStringToEObject() + * @generated + */ + EReference getStringToEObject_Value(); + + /** + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the factory that creates the instances of the model. + * @generated + */ + model4Factory getmodel4Factory(); + + /** + * <!-- begin-user-doc --> + * Defines literals for the meta objects that represent + * <ul> + * <li>each class,</li> + * <li>each feature of each class,</li> + * <li>each enum,</li> + * <li>and each data type</li> + * </ul> + * <!-- end-user-doc --> + * @generated + */ + interface Literals + { + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl <em>Ref Single Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContained() + * @generated + */ + EClass REF_SINGLE_CONTAINED = eINSTANCE.getRefSingleContained(); + + /** + * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference REF_SINGLE_CONTAINED__ELEMENT = eINSTANCE.getRefSingleContained_Element(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl <em>Single Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getSingleContainedElement() + * @generated + */ + EClass SINGLE_CONTAINED_ELEMENT = eINSTANCE.getSingleContainedElement(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SINGLE_CONTAINED_ELEMENT__NAME = eINSTANCE.getSingleContainedElement_Name(); + + /** + * The meta object literal for the '<em><b>Parent</b></em>' container reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SINGLE_CONTAINED_ELEMENT__PARENT = eINSTANCE.getSingleContainedElement_Parent(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl <em>Ref Single Non Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContained() + * @generated + */ + EClass REF_SINGLE_NON_CONTAINED = eINSTANCE.getRefSingleNonContained(); + + /** + * The meta object literal for the '<em><b>Element</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference REF_SINGLE_NON_CONTAINED__ELEMENT = eINSTANCE.getRefSingleNonContained_Element(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl <em>Single Non Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.SingleNonContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getSingleNonContainedElement() + * @generated + */ + EClass SINGLE_NON_CONTAINED_ELEMENT = eINSTANCE.getSingleNonContainedElement(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute SINGLE_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getSingleNonContainedElement_Name(); + + /** + * The meta object literal for the '<em><b>Parent</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference SINGLE_NON_CONTAINED_ELEMENT__PARENT = eINSTANCE.getSingleNonContainedElement_Parent(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl <em>Ref Multi Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContained() + * @generated + */ + EClass REF_MULTI_CONTAINED = eINSTANCE.getRefMultiContained(); + + /** + * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference REF_MULTI_CONTAINED__ELEMENTS = eINSTANCE.getRefMultiContained_Elements(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl <em>Multi Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiContainedElement() + * @generated + */ + EClass MULTI_CONTAINED_ELEMENT = eINSTANCE.getMultiContainedElement(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute MULTI_CONTAINED_ELEMENT__NAME = eINSTANCE.getMultiContainedElement_Name(); + + /** + * The meta object literal for the '<em><b>Parent</b></em>' container reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference MULTI_CONTAINED_ELEMENT__PARENT = eINSTANCE.getMultiContainedElement_Parent(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl <em>Ref Multi Non Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContained() + * @generated + */ + EClass REF_MULTI_NON_CONTAINED = eINSTANCE.getRefMultiNonContained(); + + /** + * 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__ELEMENTS = eINSTANCE.getRefMultiNonContained_Elements(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl <em>Multi Non Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.MultiNonContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getMultiNonContainedElement() + * @generated + */ + EClass MULTI_NON_CONTAINED_ELEMENT = eINSTANCE.getMultiNonContainedElement(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute MULTI_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getMultiNonContainedElement_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_ELEMENT__PARENT = eINSTANCE.getMultiNonContainedElement_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 --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleContainedNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleContainedNPL() + * @generated + */ + EClass REF_SINGLE_CONTAINED_NPL = eINSTANCE.getRefSingleContainedNPL(); + + /** + * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference REF_SINGLE_CONTAINED_NPL__ELEMENT = eINSTANCE.getRefSingleContainedNPL_Element(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl <em>Ref Single Non Contained NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefSingleNonContainedNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefSingleNonContainedNPL() + * @generated + */ + EClass REF_SINGLE_NON_CONTAINED_NPL = eINSTANCE.getRefSingleNonContainedNPL(); + + /** + * The meta object literal for the '<em><b>Element</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference REF_SINGLE_NON_CONTAINED_NPL__ELEMENT = eINSTANCE.getRefSingleNonContainedNPL_Element(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl <em>Ref Multi Contained NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiContainedNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiContainedNPL() + * @generated + */ + EClass REF_MULTI_CONTAINED_NPL = eINSTANCE.getRefMultiContainedNPL(); + + /** + * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference REF_MULTI_CONTAINED_NPL__ELEMENTS = eINSTANCE.getRefMultiContainedNPL_Elements(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl <em>Ref Multi Non Contained NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.RefMultiNonContainedNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getRefMultiNonContainedNPL() + * @generated + */ + EClass REF_MULTI_NON_CONTAINED_NPL = eINSTANCE.getRefMultiNonContainedNPL(); + + /** + * 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_NPL__ELEMENTS = eINSTANCE.getRefMultiNonContainedNPL_Elements(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl <em>Contained Element No Opposite</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ContainedElementNoOppositeImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getContainedElementNoOpposite() + * @generated + */ + EClass CONTAINED_ELEMENT_NO_OPPOSITE = eINSTANCE.getContainedElementNoOpposite(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute CONTAINED_ELEMENT_NO_OPPOSITE__NAME = eINSTANCE.getContainedElementNoOpposite_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl <em>Gen Ref Single Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleContained() + * @generated + */ + EClass GEN_REF_SINGLE_CONTAINED = eINSTANCE.getGenRefSingleContained(); + + /** + * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference GEN_REF_SINGLE_CONTAINED__ELEMENT = eINSTANCE.getGenRefSingleContained_Element(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl <em>Gen Ref Single Non Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefSingleNonContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefSingleNonContained() + * @generated + */ + EClass GEN_REF_SINGLE_NON_CONTAINED = eINSTANCE.getGenRefSingleNonContained(); + + /** + * The meta object literal for the '<em><b>Element</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference GEN_REF_SINGLE_NON_CONTAINED__ELEMENT = eINSTANCE.getGenRefSingleNonContained_Element(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl <em>Gen Ref Multi Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiContained() + * @generated + */ + EClass GEN_REF_MULTI_CONTAINED = eINSTANCE.getGenRefMultiContained(); + + /** + * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference GEN_REF_MULTI_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMultiContained_Elements(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl <em>Gen Ref Multi Non Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNonContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNonContained() + * @generated + */ + EClass GEN_REF_MULTI_NON_CONTAINED = eINSTANCE.getGenRefMultiNonContained(); + + /** + * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference GEN_REF_MULTI_NON_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMultiNonContained_Elements(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl <em>Impl Single Ref Container</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainer() + * @generated + */ + EClass IMPL_SINGLE_REF_CONTAINER = eINSTANCE.getImplSingleRefContainer(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl <em>Impl Single Ref Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainedElement() + * @generated + */ + EClass IMPL_SINGLE_REF_CONTAINED_ELEMENT = eINSTANCE.getImplSingleRefContainedElement(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplSingleRefContainedElement_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl <em>Impl Single Ref Non Container</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainer() + * @generated + */ + EClass IMPL_SINGLE_REF_NON_CONTAINER = eINSTANCE.getImplSingleRefNonContainer(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl <em>Impl Single Ref Non Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainedElement() + * @generated + */ + EClass IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT = eINSTANCE.getImplSingleRefNonContainedElement(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplSingleRefNonContainedElement_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl <em>Impl Multi Ref Non Container</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainer() + * @generated + */ + EClass IMPL_MULTI_REF_NON_CONTAINER = eINSTANCE.getImplMultiRefNonContainer(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl <em>Impl Multi Ref Non Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainedElement() + * @generated + */ + EClass IMPL_MULTI_REF_NON_CONTAINED_ELEMENT = eINSTANCE.getImplMultiRefNonContainedElement(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplMultiRefNonContainedElement_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl <em>Impl Multi Ref Container</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainer() + * @generated + */ + EClass IMPL_MULTI_REF_CONTAINER = eINSTANCE.getImplMultiRefContainer(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl <em>Impl Multi Ref Contained Element</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainedElementImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainedElement() + * @generated + */ + EClass IMPL_MULTI_REF_CONTAINED_ELEMENT = eINSTANCE.getImplMultiRefContainedElement(); + + /** + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplMultiRefContainedElement_Name(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl <em>Impl Single Ref Container NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefContainerNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefContainerNPL() + * @generated + */ + EClass IMPL_SINGLE_REF_CONTAINER_NPL = eINSTANCE.getImplSingleRefContainerNPL(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl <em>Impl Single Ref Non Container NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplSingleRefNonContainerNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplSingleRefNonContainerNPL() + * @generated + */ + EClass IMPL_SINGLE_REF_NON_CONTAINER_NPL = eINSTANCE.getImplSingleRefNonContainerNPL(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl <em>Impl Multi Ref Container NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefContainerNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefContainerNPL() + * @generated + */ + EClass IMPL_MULTI_REF_CONTAINER_NPL = eINSTANCE.getImplMultiRefContainerNPL(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl <em>Impl Multi Ref Non Container NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplMultiRefNonContainerNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplMultiRefNonContainerNPL() + * @generated + */ + EClass IMPL_MULTI_REF_NON_CONTAINER_NPL = eINSTANCE.getImplMultiRefNonContainerNPL(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl <em>Impl Contained Element NPL</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.ImplContainedElementNPLImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getImplContainedElementNPL() + * @generated + */ + EClass IMPL_CONTAINED_ELEMENT_NPL = eINSTANCE.getImplContainedElementNPL(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl <em>Gen Ref Multi NU Non Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMultiNUNonContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMultiNUNonContained() + * @generated + */ + EClass GEN_REF_MULTI_NU_NON_CONTAINED = eINSTANCE.getGenRefMultiNUNonContained(); + + /** + * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMultiNUNonContained_Elements(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl <em>Gen Ref Map Non Contained</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.GenRefMapNonContainedImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getGenRefMapNonContained() + * @generated + */ + EClass GEN_REF_MAP_NON_CONTAINED = eINSTANCE.getGenRefMapNonContained(); + + /** + * The meta object literal for the '<em><b>Elements</b></em>' map feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference GEN_REF_MAP_NON_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMapNonContained_Elements(); + + /** + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl <em>String To EObject</em>}' class. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.StringToEObjectImpl + * @see org.eclipse.emf.cdo.tests.legacy.model4.impl.model4PackageImpl#getStringToEObject() + * @generated + */ + EClass STRING_TO_EOBJECT = eINSTANCE.getStringToEObject(); + + /** + * The meta object literal for the '<em><b>Key</b></em>' attribute feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EAttribute STRING_TO_EOBJECT__KEY = eINSTANCE.getStringToEObject_Key(); + + /** + * The meta object literal for the '<em><b>Value</b></em>' reference feature. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + EReference STRING_TO_EOBJECT__VALUE = eINSTANCE.getStringToEObject_Value(); + + } + +} //model4Package 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 new file mode 100644 index 0000000000..90154b63de --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/util/model4AdapterFactory.java @@ -0,0 +1,1153 @@ +/** + * 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: model4AdapterFactory.java,v 1.4 2009-08-12 17:15:33 estepper 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.common.notify.Adapter; +import org.eclipse.emf.common.notify.Notifier; +import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; +import org.eclipse.emf.ecore.EObject; + +import java.util.Map; + +/** + * <!-- begin-user-doc --> + * The <b>Adapter Factory</b> for the model. + * It provides an adapter <code>createXXX</code> method for each class of the model. + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package + * @generated + */ +public class model4AdapterFactory extends AdapterFactoryImpl +{ + /** + * The cached model package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static model4Package modelPackage; + + /** + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public model4AdapterFactory() + { + if (modelPackage == null) + { + modelPackage = model4Package.eINSTANCE; + } + } + + /** + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> + * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. + * <!-- end-user-doc --> + * @return whether this factory is applicable for the type of the object. + * @generated + */ + @Override + public boolean isFactoryForType(Object object) + { + if (object == modelPackage) + { + return true; + } + if (object instanceof EObject) + { + return ((EObject)object).eClass().getEPackage() == modelPackage; + } + return false; + } + + /** + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected model4Switch<Adapter> modelSwitch = new model4Switch<Adapter>() + { + @Override + public Adapter caseRefSingleContained(RefSingleContained object) + { + return createRefSingleContainedAdapter(); + } + + @Override + public Adapter caseSingleContainedElement(SingleContainedElement object) + { + return createSingleContainedElementAdapter(); + } + + @Override + public Adapter caseRefSingleNonContained(RefSingleNonContained object) + { + return createRefSingleNonContainedAdapter(); + } + + @Override + public Adapter caseSingleNonContainedElement(SingleNonContainedElement object) + { + return createSingleNonContainedElementAdapter(); + } + + @Override + public Adapter caseRefMultiContained(RefMultiContained object) + { + return createRefMultiContainedAdapter(); + } + + @Override + public Adapter caseMultiContainedElement(MultiContainedElement object) + { + return createMultiContainedElementAdapter(); + } + + @Override + public Adapter caseRefMultiNonContained(RefMultiNonContained object) + { + return createRefMultiNonContainedAdapter(); + } + + @Override + public Adapter caseMultiNonContainedElement(MultiNonContainedElement object) + { + return createMultiNonContainedElementAdapter(); + } + + @Override + public Adapter caseRefSingleContainedNPL(RefSingleContainedNPL object) + { + return createRefSingleContainedNPLAdapter(); + } + + @Override + public Adapter caseRefSingleNonContainedNPL(RefSingleNonContainedNPL object) + { + return createRefSingleNonContainedNPLAdapter(); + } + + @Override + public Adapter caseRefMultiContainedNPL(RefMultiContainedNPL object) + { + return createRefMultiContainedNPLAdapter(); + } + + @Override + public Adapter caseRefMultiNonContainedNPL(RefMultiNonContainedNPL object) + { + return createRefMultiNonContainedNPLAdapter(); + } + + @Override + public Adapter caseContainedElementNoOpposite(ContainedElementNoOpposite object) + { + return createContainedElementNoOppositeAdapter(); + } + + @Override + public Adapter caseGenRefSingleContained(GenRefSingleContained object) + { + return createGenRefSingleContainedAdapter(); + } + + @Override + public Adapter caseGenRefSingleNonContained(GenRefSingleNonContained object) + { + return createGenRefSingleNonContainedAdapter(); + } + + @Override + public Adapter caseGenRefMultiContained(GenRefMultiContained object) + { + return createGenRefMultiContainedAdapter(); + } + + @Override + public Adapter caseGenRefMultiNonContained(GenRefMultiNonContained object) + { + return createGenRefMultiNonContainedAdapter(); + } + + @Override + public Adapter caseImplSingleRefContainer(ImplSingleRefContainer object) + { + return createImplSingleRefContainerAdapter(); + } + + @Override + public Adapter caseImplSingleRefContainedElement(ImplSingleRefContainedElement object) + { + return createImplSingleRefContainedElementAdapter(); + } + + @Override + public Adapter caseImplSingleRefNonContainer(ImplSingleRefNonContainer object) + { + return createImplSingleRefNonContainerAdapter(); + } + + @Override + public Adapter caseImplSingleRefNonContainedElement(ImplSingleRefNonContainedElement object) + { + return createImplSingleRefNonContainedElementAdapter(); + } + + @Override + public Adapter caseImplMultiRefNonContainer(ImplMultiRefNonContainer object) + { + return createImplMultiRefNonContainerAdapter(); + } + + @Override + public Adapter caseImplMultiRefNonContainedElement(ImplMultiRefNonContainedElement object) + { + return createImplMultiRefNonContainedElementAdapter(); + } + + @Override + public Adapter caseImplMultiRefContainer(ImplMultiRefContainer object) + { + return createImplMultiRefContainerAdapter(); + } + + @Override + public Adapter caseImplMultiRefContainedElement(ImplMultiRefContainedElement object) + { + return createImplMultiRefContainedElementAdapter(); + } + + @Override + public Adapter caseImplSingleRefContainerNPL(ImplSingleRefContainerNPL object) + { + return createImplSingleRefContainerNPLAdapter(); + } + + @Override + public Adapter caseImplSingleRefNonContainerNPL(ImplSingleRefNonContainerNPL object) + { + return createImplSingleRefNonContainerNPLAdapter(); + } + + @Override + public Adapter caseImplMultiRefContainerNPL(ImplMultiRefContainerNPL object) + { + return createImplMultiRefContainerNPLAdapter(); + } + + @Override + public Adapter caseImplMultiRefNonContainerNPL(ImplMultiRefNonContainerNPL object) + { + return createImplMultiRefNonContainerNPLAdapter(); + } + + @Override + public Adapter caseImplContainedElementNPL(ImplContainedElementNPL object) + { + return createImplContainedElementNPLAdapter(); + } + + @Override + public Adapter caseGenRefMultiNUNonContained(GenRefMultiNUNonContained object) + { + return createGenRefMultiNUNonContainedAdapter(); + } + + @Override + public Adapter caseGenRefMapNonContained(GenRefMapNonContained object) + { + return createGenRefMapNonContainedAdapter(); + } + + @Override + public Adapter caseStringToEObject(Map.Entry<String, EObject> object) + { + return createStringToEObjectAdapter(); + } + + @Override + public Adapter caseISingleRefContainer(ISingleRefContainer object) + { + return createISingleRefContainerAdapter(); + } + + @Override + public Adapter caseISingleRefContainedElement(ISingleRefContainedElement object) + { + return createISingleRefContainedElementAdapter(); + } + + @Override + public Adapter caseISingleRefNonContainer(ISingleRefNonContainer object) + { + return createISingleRefNonContainerAdapter(); + } + + @Override + public Adapter caseISingleRefNonContainedElement(ISingleRefNonContainedElement object) + { + return createISingleRefNonContainedElementAdapter(); + } + + @Override + public Adapter caseIMultiRefNonContainer(IMultiRefNonContainer object) + { + return createIMultiRefNonContainerAdapter(); + } + + @Override + public Adapter caseIMultiRefNonContainedElement(IMultiRefNonContainedElement object) + { + return createIMultiRefNonContainedElementAdapter(); + } + + @Override + public Adapter caseIMultiRefContainer(IMultiRefContainer object) + { + return createIMultiRefContainerAdapter(); + } + + @Override + public Adapter caseIMultiRefContainedElement(IMultiRefContainedElement object) + { + return createIMultiRefContainedElementAdapter(); + } + + @Override + public Adapter caseISingleRefContainerNPL(ISingleRefContainerNPL object) + { + return createISingleRefContainerNPLAdapter(); + } + + @Override + public Adapter caseISingleRefNonContainerNPL(ISingleRefNonContainerNPL object) + { + return createISingleRefNonContainerNPLAdapter(); + } + + @Override + public Adapter caseIMultiRefContainerNPL(IMultiRefContainerNPL object) + { + return createIMultiRefContainerNPLAdapter(); + } + + @Override + public Adapter caseIMultiRefNonContainerNPL(IMultiRefNonContainerNPL object) + { + return createIMultiRefNonContainerNPLAdapter(); + } + + @Override + public Adapter caseIContainedElementNoParentLink(IContainedElementNoParentLink object) + { + return createIContainedElementNoParentLinkAdapter(); + } + + @Override + public Adapter caseINamedElement(INamedElement object) + { + return createINamedElementAdapter(); + } + + @Override + public Adapter defaultCase(EObject object) + { + return createEObjectAdapter(); + } + }; + + /** + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @param target the object to adapt. + * @return the adapter for the <code>target</code>. + * @generated + */ + @Override + public Adapter createAdapter(Notifier target) + { + return modelSwitch.doSwitch((EObject)target); + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContained <em>Ref Single Contained</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.RefSingleContained + * @generated + */ + public Adapter createRefSingleContainedAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleContainedElement <em>Single Contained 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.SingleContainedElement + * @generated + */ + public Adapter createSingleContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContained <em>Ref Single Non Contained</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.RefSingleNonContained + * @generated + */ + public Adapter createRefSingleNonContainedAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.SingleNonContainedElement <em>Single Non Contained 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.SingleNonContainedElement + * @generated + */ + public Adapter createSingleNonContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContained <em>Ref Multi Contained</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.RefMultiContained + * @generated + */ + public Adapter createRefMultiContainedAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiContainedElement <em>Multi Contained 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.MultiContainedElement + * @generated + */ + public Adapter createMultiContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContained <em>Ref Multi Non Contained</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.RefMultiNonContained + * @generated + */ + public Adapter createRefMultiNonContainedAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.MultiNonContainedElement <em>Multi Non Contained 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.MultiNonContainedElement + * @generated + */ + public Adapter createMultiNonContainedElementAdapter() + { + 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleContainedNPL + * @generated + */ + public Adapter createRefSingleContainedNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL <em>Ref Single Non 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefSingleNonContainedNPL + * @generated + */ + public Adapter createRefSingleNonContainedNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL <em>Ref Multi 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiContainedNPL + * @generated + */ + public Adapter createRefMultiContainedNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL <em>Ref Multi Non 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4.RefMultiNonContainedNPL + * @generated + */ + public Adapter createRefMultiNonContainedNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ContainedElementNoOpposite <em>Contained Element No Opposite</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.ContainedElementNoOpposite + * @generated + */ + public Adapter createContainedElementNoOppositeAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleContained <em>Gen Ref Single Contained</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.GenRefSingleContained + * @generated + */ + public Adapter createGenRefSingleContainedAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefSingleNonContained <em>Gen Ref Single Non Contained</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.GenRefSingleNonContained + * @generated + */ + public Adapter createGenRefSingleNonContainedAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiContained <em>Gen Ref Multi Contained</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.GenRefMultiContained + * @generated + */ + public Adapter createGenRefMultiContainedAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNonContained <em>Gen Ref Multi Non Contained</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.GenRefMultiNonContained + * @generated + */ + public Adapter createGenRefMultiNonContainedAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainer <em>Impl Single Ref Container</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.ImplSingleRefContainer + * @generated + */ + public Adapter createImplSingleRefContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainedElement <em>Impl Single Ref Contained 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.ImplSingleRefContainedElement + * @generated + */ + public Adapter createImplSingleRefContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainer <em>Impl Single Ref Non Container</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.ImplSingleRefNonContainer + * @generated + */ + public Adapter createImplSingleRefNonContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainedElement <em>Impl Single Ref Non Contained 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.ImplSingleRefNonContainedElement + * @generated + */ + public Adapter createImplSingleRefNonContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainer <em>Impl Multi Ref Non Container</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.ImplMultiRefNonContainer + * @generated + */ + public Adapter createImplMultiRefNonContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainedElement <em>Impl Multi Ref Non Contained 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.ImplMultiRefNonContainedElement + * @generated + */ + public Adapter createImplMultiRefNonContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainer <em>Impl Multi Ref Container</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.ImplMultiRefContainer + * @generated + */ + public Adapter createImplMultiRefContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainedElement <em>Impl Multi Ref Contained 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.ImplMultiRefContainedElement + * @generated + */ + public Adapter createImplMultiRefContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL <em>Impl Single Ref Container 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefContainerNPL + * @generated + */ + public Adapter createImplSingleRefContainerNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL <em>Impl Single Ref Non Container 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplSingleRefNonContainerNPL + * @generated + */ + public Adapter createImplSingleRefNonContainerNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL <em>Impl Multi Ref Container 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefContainerNPL + * @generated + */ + public Adapter createImplMultiRefContainerNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL <em>Impl Multi Ref Non Container 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplMultiRefNonContainerNPL + * @generated + */ + public Adapter createImplMultiRefNonContainerNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL <em>Impl Contained Element 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4.ImplContainedElementNPL + * @generated + */ + public Adapter createImplContainedElementNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMultiNUNonContained <em>Gen Ref Multi NU Non Contained</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.GenRefMultiNUNonContained + * @generated + */ + public Adapter createGenRefMultiNUNonContainedAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4.GenRefMapNonContained <em>Gen Ref Map Non Contained</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.GenRefMapNonContained + * @generated + */ + public Adapter createGenRefMapNonContainedAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>String To EObject</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 java.util.Map.Entry + * @generated + */ + public Adapter createStringToEObjectAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer <em>ISingle Ref Container</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.model4interfaces.ISingleRefContainer + * @generated + */ + public Adapter createISingleRefContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement <em>ISingle Ref Contained 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.model4interfaces.ISingleRefContainedElement + * @generated + */ + public Adapter createISingleRefContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer <em>ISingle Ref Non Container</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.model4interfaces.ISingleRefNonContainer + * @generated + */ + public Adapter createISingleRefNonContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement <em>ISingle Ref Non Contained 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.model4interfaces.ISingleRefNonContainedElement + * @generated + */ + public Adapter createISingleRefNonContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer <em>IMulti Ref Non Container</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.model4interfaces.IMultiRefNonContainer + * @generated + */ + public Adapter createIMultiRefNonContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement <em>IMulti Ref Non Contained 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.model4interfaces.IMultiRefNonContainedElement + * @generated + */ + public Adapter createIMultiRefNonContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer <em>IMulti Ref Container</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.model4interfaces.IMultiRefContainer + * @generated + */ + public Adapter createIMultiRefContainerAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained 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.model4interfaces.IMultiRefContainedElement + * @generated + */ + public Adapter createIMultiRefContainedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL <em>ISingle Ref Container 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL + * @generated + */ + public Adapter createISingleRefContainerNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL + * @generated + */ + public Adapter createISingleRefNonContainerNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL <em>IMulti Ref Container 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL + * @generated + */ + public Adapter createIMultiRefContainerNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container 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. + * <!-- end-user-doc --> + * @return the new adapter. + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL + * @generated + */ + public Adapter createIMultiRefNonContainerNPLAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink <em>IContained Element No Parent Link</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.model4interfaces.IContainedElementNoParentLink + * @generated + */ + public Adapter createIContainedElementNoParentLinkAdapter() + { + return null; + } + + /** + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement <em>INamed 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.model4interfaces.INamedElement + * @generated + */ + public Adapter createINamedElementAdapter() + { + return null; + } + + /** + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> + * This default implementation returns null. + * <!-- end-user-doc --> + * @return the new adapter. + * @generated + */ + public Adapter createEObjectAdapter() + { + return null; + } + +} //model4AdapterFactory 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 new file mode 100644 index 0000000000..7eb30f4099 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/legacy/model4/util/model4Switch.java @@ -0,0 +1,1215 @@ +/** + * 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: model4Switch.java,v 1.4 2009-08-12 17:15:33 estepper 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.ecore.EClass; +import org.eclipse.emf.ecore.EObject; + +import java.util.List; +import java.util.Map; + +/** + * <!-- begin-user-doc --> + * The <b>Switch</b> for the model's inheritance hierarchy. + * It supports the call {@link #doSwitch(EObject) doSwitch(object)} + * to invoke the <code>caseXXX</code> method for each class of the model, + * starting with the actual class of the object + * and proceeding up the inheritance hierarchy + * until a non-null result is returned, + * which is the result of the switch. + * <!-- end-user-doc --> + * @see org.eclipse.emf.cdo.tests.legacy.model4.model4Package + * @generated + */ +public class model4Switch<T> +{ + /** + * The cached model package + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + protected static model4Package modelPackage; + + /** + * Creates an instance of the switch. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @generated + */ + public model4Switch() + { + if (modelPackage == null) + { + modelPackage = model4Package.eINSTANCE; + } + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + public T doSwitch(EObject theEObject) + { + return doSwitch(theEObject.eClass(), theEObject); + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + protected T doSwitch(EClass theEClass, EObject theEObject) + { + if (theEClass.eContainer() == modelPackage) + { + return doSwitch(theEClass.getClassifierID(), theEObject); + } + else + { + List<EClass> eSuperTypes = theEClass.getESuperTypes(); + return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject); + } + } + + /** + * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> + * @return the first non-null result returned by a <code>caseXXX</code> call. + * @generated + */ + protected T doSwitch(int classifierID, EObject theEObject) + { + switch (classifierID) + { + case model4Package.REF_SINGLE_CONTAINED: + { + RefSingleContained refSingleContained = (RefSingleContained)theEObject; + T result = caseRefSingleContained(refSingleContained); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.SINGLE_CONTAINED_ELEMENT: + { + SingleContainedElement singleContainedElement = (SingleContainedElement)theEObject; + T result = caseSingleContainedElement(singleContainedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.REF_SINGLE_NON_CONTAINED: + { + RefSingleNonContained refSingleNonContained = (RefSingleNonContained)theEObject; + T result = caseRefSingleNonContained(refSingleNonContained); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.SINGLE_NON_CONTAINED_ELEMENT: + { + SingleNonContainedElement singleNonContainedElement = (SingleNonContainedElement)theEObject; + T result = caseSingleNonContainedElement(singleNonContainedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.REF_MULTI_CONTAINED: + { + RefMultiContained refMultiContained = (RefMultiContained)theEObject; + T result = caseRefMultiContained(refMultiContained); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.MULTI_CONTAINED_ELEMENT: + { + MultiContainedElement multiContainedElement = (MultiContainedElement)theEObject; + T result = caseMultiContainedElement(multiContainedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.REF_MULTI_NON_CONTAINED: + { + RefMultiNonContained refMultiNonContained = (RefMultiNonContained)theEObject; + T result = caseRefMultiNonContained(refMultiNonContained); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.MULTI_NON_CONTAINED_ELEMENT: + { + MultiNonContainedElement multiNonContainedElement = (MultiNonContainedElement)theEObject; + T result = caseMultiNonContainedElement(multiNonContainedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.REF_SINGLE_CONTAINED_NPL: + { + RefSingleContainedNPL refSingleContainedNPL = (RefSingleContainedNPL)theEObject; + T result = caseRefSingleContainedNPL(refSingleContainedNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.REF_SINGLE_NON_CONTAINED_NPL: + { + RefSingleNonContainedNPL refSingleNonContainedNPL = (RefSingleNonContainedNPL)theEObject; + T result = caseRefSingleNonContainedNPL(refSingleNonContainedNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.REF_MULTI_CONTAINED_NPL: + { + RefMultiContainedNPL refMultiContainedNPL = (RefMultiContainedNPL)theEObject; + T result = caseRefMultiContainedNPL(refMultiContainedNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.REF_MULTI_NON_CONTAINED_NPL: + { + RefMultiNonContainedNPL refMultiNonContainedNPL = (RefMultiNonContainedNPL)theEObject; + T result = caseRefMultiNonContainedNPL(refMultiNonContainedNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.CONTAINED_ELEMENT_NO_OPPOSITE: + { + ContainedElementNoOpposite containedElementNoOpposite = (ContainedElementNoOpposite)theEObject; + T result = caseContainedElementNoOpposite(containedElementNoOpposite); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.GEN_REF_SINGLE_CONTAINED: + { + GenRefSingleContained genRefSingleContained = (GenRefSingleContained)theEObject; + T result = caseGenRefSingleContained(genRefSingleContained); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.GEN_REF_SINGLE_NON_CONTAINED: + { + GenRefSingleNonContained genRefSingleNonContained = (GenRefSingleNonContained)theEObject; + T result = caseGenRefSingleNonContained(genRefSingleNonContained); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.GEN_REF_MULTI_CONTAINED: + { + GenRefMultiContained genRefMultiContained = (GenRefMultiContained)theEObject; + T result = caseGenRefMultiContained(genRefMultiContained); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.GEN_REF_MULTI_NON_CONTAINED: + { + GenRefMultiNonContained genRefMultiNonContained = (GenRefMultiNonContained)theEObject; + T result = caseGenRefMultiNonContained(genRefMultiNonContained); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_SINGLE_REF_CONTAINER: + { + ImplSingleRefContainer implSingleRefContainer = (ImplSingleRefContainer)theEObject; + T result = caseImplSingleRefContainer(implSingleRefContainer); + if (result == null) + result = caseISingleRefContainer(implSingleRefContainer); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_SINGLE_REF_CONTAINED_ELEMENT: + { + ImplSingleRefContainedElement implSingleRefContainedElement = (ImplSingleRefContainedElement)theEObject; + T result = caseImplSingleRefContainedElement(implSingleRefContainedElement); + if (result == null) + result = caseISingleRefContainedElement(implSingleRefContainedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_SINGLE_REF_NON_CONTAINER: + { + ImplSingleRefNonContainer implSingleRefNonContainer = (ImplSingleRefNonContainer)theEObject; + T result = caseImplSingleRefNonContainer(implSingleRefNonContainer); + if (result == null) + result = caseISingleRefNonContainer(implSingleRefNonContainer); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT: + { + ImplSingleRefNonContainedElement implSingleRefNonContainedElement = (ImplSingleRefNonContainedElement)theEObject; + T result = caseImplSingleRefNonContainedElement(implSingleRefNonContainedElement); + if (result == null) + result = caseISingleRefNonContainedElement(implSingleRefNonContainedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_MULTI_REF_NON_CONTAINER: + { + ImplMultiRefNonContainer implMultiRefNonContainer = (ImplMultiRefNonContainer)theEObject; + T result = caseImplMultiRefNonContainer(implMultiRefNonContainer); + if (result == null) + result = caseIMultiRefNonContainer(implMultiRefNonContainer); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_MULTI_REF_NON_CONTAINED_ELEMENT: + { + ImplMultiRefNonContainedElement implMultiRefNonContainedElement = (ImplMultiRefNonContainedElement)theEObject; + T result = caseImplMultiRefNonContainedElement(implMultiRefNonContainedElement); + if (result == null) + result = caseIMultiRefNonContainedElement(implMultiRefNonContainedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_MULTI_REF_CONTAINER: + { + ImplMultiRefContainer implMultiRefContainer = (ImplMultiRefContainer)theEObject; + T result = caseImplMultiRefContainer(implMultiRefContainer); + if (result == null) + result = caseIMultiRefContainer(implMultiRefContainer); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_MULTI_REF_CONTAINED_ELEMENT: + { + ImplMultiRefContainedElement implMultiRefContainedElement = (ImplMultiRefContainedElement)theEObject; + T result = caseImplMultiRefContainedElement(implMultiRefContainedElement); + if (result == null) + result = caseIMultiRefContainedElement(implMultiRefContainedElement); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_SINGLE_REF_CONTAINER_NPL: + { + ImplSingleRefContainerNPL implSingleRefContainerNPL = (ImplSingleRefContainerNPL)theEObject; + T result = caseImplSingleRefContainerNPL(implSingleRefContainerNPL); + if (result == null) + result = caseISingleRefContainerNPL(implSingleRefContainerNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_SINGLE_REF_NON_CONTAINER_NPL: + { + ImplSingleRefNonContainerNPL implSingleRefNonContainerNPL = (ImplSingleRefNonContainerNPL)theEObject; + T result = caseImplSingleRefNonContainerNPL(implSingleRefNonContainerNPL); + if (result == null) + result = caseISingleRefNonContainerNPL(implSingleRefNonContainerNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_MULTI_REF_CONTAINER_NPL: + { + ImplMultiRefContainerNPL implMultiRefContainerNPL = (ImplMultiRefContainerNPL)theEObject; + T result = caseImplMultiRefContainerNPL(implMultiRefContainerNPL); + if (result == null) + result = caseIMultiRefContainerNPL(implMultiRefContainerNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_MULTI_REF_NON_CONTAINER_NPL: + { + ImplMultiRefNonContainerNPL implMultiRefNonContainerNPL = (ImplMultiRefNonContainerNPL)theEObject; + T result = caseImplMultiRefNonContainerNPL(implMultiRefNonContainerNPL); + if (result == null) + result = caseIMultiRefNonContainerNPL(implMultiRefNonContainerNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.IMPL_CONTAINED_ELEMENT_NPL: + { + ImplContainedElementNPL implContainedElementNPL = (ImplContainedElementNPL)theEObject; + T result = caseImplContainedElementNPL(implContainedElementNPL); + if (result == null) + result = caseIContainedElementNoParentLink(implContainedElementNPL); + if (result == null) + result = caseINamedElement(implContainedElementNPL); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.GEN_REF_MULTI_NU_NON_CONTAINED: + { + GenRefMultiNUNonContained genRefMultiNUNonContained = (GenRefMultiNUNonContained)theEObject; + T result = caseGenRefMultiNUNonContained(genRefMultiNUNonContained); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.GEN_REF_MAP_NON_CONTAINED: + { + GenRefMapNonContained genRefMapNonContained = (GenRefMapNonContained)theEObject; + T result = caseGenRefMapNonContained(genRefMapNonContained); + if (result == null) + result = defaultCase(theEObject); + return result; + } + case model4Package.STRING_TO_EOBJECT: + { + @SuppressWarnings("unchecked") + Map.Entry<String, EObject> stringToEObject = (Map.Entry<String, EObject>)theEObject; + T result = caseStringToEObject(stringToEObject); + if (result == null) + result = defaultCase(theEObject); + return result; + } + default: + return defaultCase(theEObject); + } + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Ref Single Contained</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 Single Contained</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRefSingleContained(RefSingleContained object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Single Contained 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>Single Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSingleContainedElement(SingleContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Ref Single Non Contained</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 Single Non Contained</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRefSingleNonContained(RefSingleNonContained object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Single Non Contained 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>Single Non Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseSingleNonContainedElement(SingleNonContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Ref Multi Contained</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 Contained</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRefMultiContained(RefMultiContained object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Multi Contained 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 Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMultiContainedElement(MultiContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Ref Multi Non Contained</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</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRefMultiNonContained(RefMultiNonContained object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Multi Non Contained 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 Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseMultiNonContainedElement(MultiNonContainedElement 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 --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>Ref Single Contained NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRefSingleContainedNPL(RefSingleContainedNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Ref Single Non Contained NPL</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 Single Non Contained NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRefSingleNonContainedNPL(RefSingleNonContainedNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Ref Multi Contained NPL</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 Contained NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRefMultiContainedNPL(RefMultiContainedNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Ref Multi Non Contained NPL</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 NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseRefMultiNonContainedNPL(RefMultiNonContainedNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Contained Element No Opposite</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>Contained Element No Opposite</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseContainedElementNoOpposite(ContainedElementNoOpposite object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Gen Ref Single Contained</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>Gen Ref Single Contained</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGenRefSingleContained(GenRefSingleContained object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Gen Ref Single Non Contained</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>Gen Ref Single Non Contained</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGenRefSingleNonContained(GenRefSingleNonContained object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Gen Ref Multi Contained</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>Gen Ref Multi Contained</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGenRefMultiContained(GenRefMultiContained object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Gen Ref Multi Non Contained</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>Gen Ref Multi Non Contained</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGenRefMultiNonContained(GenRefMultiNonContained object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Single Ref Container</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>Impl Single Ref Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplSingleRefContainer(ImplSingleRefContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Single Ref Contained 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>Impl Single Ref Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplSingleRefContainedElement(ImplSingleRefContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Single Ref Non Container</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>Impl Single Ref Non Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplSingleRefNonContainer(ImplSingleRefNonContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Single Ref Non Contained 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>Impl Single Ref Non Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplSingleRefNonContainedElement(ImplSingleRefNonContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Multi Ref Non Container</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>Impl Multi Ref Non Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplMultiRefNonContainer(ImplMultiRefNonContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Multi Ref Non Contained 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>Impl Multi Ref Non Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplMultiRefNonContainedElement(ImplMultiRefNonContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Multi Ref Container</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>Impl Multi Ref Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplMultiRefContainer(ImplMultiRefContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Multi Ref Contained 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>Impl Multi Ref Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplMultiRefContainedElement(ImplMultiRefContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Single Ref Container NPL</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>Impl Single Ref Container NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplSingleRefContainerNPL(ImplSingleRefContainerNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Single Ref Non Container NPL</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>Impl Single Ref Non Container NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplSingleRefNonContainerNPL(ImplSingleRefNonContainerNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Multi Ref Container NPL</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>Impl Multi Ref Container NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplMultiRefContainerNPL(ImplMultiRefContainerNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Multi Ref Non Container NPL</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>Impl Multi Ref Non Container NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplMultiRefNonContainerNPL(ImplMultiRefNonContainerNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Impl Contained Element NPL</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>Impl Contained Element NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseImplContainedElementNPL(ImplContainedElementNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Gen Ref Multi NU Non Contained</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>Gen Ref Multi NU Non Contained</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGenRefMultiNUNonContained(GenRefMultiNUNonContained object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>Gen Ref Map Non Contained</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>Gen Ref Map Non Contained</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseGenRefMapNonContained(GenRefMapNonContained object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>String To EObject</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>String To EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseStringToEObject(Map.Entry<String, EObject> object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Container</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>ISingle Ref Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseISingleRefContainer(ISingleRefContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Contained 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>ISingle Ref Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseISingleRefContainedElement(ISingleRefContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Non Container</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>ISingle Ref Non Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseISingleRefNonContainer(ISingleRefNonContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Non Contained 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>ISingle Ref Non Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseISingleRefNonContainedElement(ISingleRefNonContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Non Container</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>IMulti Ref Non Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIMultiRefNonContainer(IMultiRefNonContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Non Contained 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>IMulti Ref Non Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIMultiRefNonContainedElement(IMultiRefNonContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Container</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>IMulti Ref Container</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIMultiRefContainer(IMultiRefContainer object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Contained 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>IMulti Ref Contained Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIMultiRefContainedElement(IMultiRefContainedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Container NPL</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>ISingle Ref Container NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseISingleRefContainerNPL(ISingleRefContainerNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>ISingle Ref Non Container NPL</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>ISingle Ref Non Container NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseISingleRefNonContainerNPL(ISingleRefNonContainerNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Container NPL</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>IMulti Ref Container NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIMultiRefContainerNPL(IMultiRefContainerNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IMulti Ref Non Container NPL</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>IMulti Ref Non Container NPL</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIMultiRefNonContainerNPL(IMultiRefNonContainerNPL object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>IContained Element No Parent Link</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>IContained Element No Parent Link</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseIContainedElementNoParentLink(IContainedElementNoParentLink object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>INamed 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>INamed Element</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseINamedElement(INamedElement object) + { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> + * This implementation returns null; + * returning a non-null result will terminate the switch, but this is the last case anyway. + * <!-- end-user-doc --> + * @param object the target of the switch. + * @return the result of interpreting the object as an instance of '<em>EObject</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) + * @generated + */ + public T defaultCase(EObject object) + { + return null; + } + +} //model4Switch diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ContainedElementNoOpposite.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ContainedElementNoOpposite.java index e5d128933e..ace115410f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ContainedElementNoOpposite.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ContainedElementNoOpposite.java @@ -15,13 +15,14 @@ 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.model4.ContainedElementNoOpposite#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite#getName <em>Name</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getContainedElementNoOpposite() * @model * @generated @@ -29,12 +30,12 @@ import org.eclipse.emf.ecore.EObject; public interface ContainedElementNoOpposite extends EObject { /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> + * 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.model4.model4Package#getContainedElementNoOpposite_Name() @@ -44,11 +45,9 @@ public interface ContainedElementNoOpposite extends EObject String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite#getName <em>Name</em>}' - * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMapNonContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMapNonContained.java index 7f3cfd9af4..7223dc9a80 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMapNonContained.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMapNonContained.java @@ -16,13 +16,14 @@ 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.model4.GenRefMapNonContained#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getGenRefMapNonContained() * @model * @generated @@ -30,18 +31,18 @@ import org.eclipse.emf.ecore.EObject; 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 --> + * 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>' 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>' map. * @see org.eclipse.emf.cdo.tests.model4.model4Package#getGenRefMapNonContained_Elements() - * @model mapType= - * "org.eclipse.emf.cdo.tests.model4.StringToEObject<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EObject>" + * @model mapType="org.eclipse.emf.cdo.tests.model4.StringToEObject<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EObject>" * @generated */ EMap<String, EObject> getElements(); diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMultiContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMultiContained.java index b12c6062e1..f9d77ca734 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMultiContained.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMultiContained.java @@ -16,13 +16,14 @@ 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.model4.GenRefMultiContained#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiContained#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getGenRefMultiContained() * @model * @generated @@ -30,14 +31,14 @@ import org.eclipse.emf.ecore.EObject; 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 --> + * 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.model4.model4Package#getGenRefMultiContained_Elements() * @model containment="true" diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMultiNUNonContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMultiNUNonContained.java index ba2cedf77c..f13982eedc 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMultiNUNonContained.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMultiNUNonContained.java @@ -16,13 +16,14 @@ 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.model4.GenRefMultiNUNonContained#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getGenRefMultiNUNonContained() * @model * @generated @@ -30,14 +31,14 @@ import org.eclipse.emf.ecore.EObject; 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 --> + * 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.model4.model4Package#getGenRefMultiNUNonContained_Elements() * @model resolveProxies="false" diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMultiNonContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMultiNonContained.java index e731210e53..75e569cc9b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMultiNonContained.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefMultiNonContained.java @@ -16,13 +16,14 @@ 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.model4.GenRefMultiNonContained#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getGenRefMultiNonContained() * @model * @generated @@ -30,14 +31,14 @@ import org.eclipse.emf.ecore.EObject; 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 --> + * 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.model4.model4Package#getGenRefMultiNonContained_Elements() * @model diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefSingleContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefSingleContained.java index ce248a0c61..24a2e56dfe 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefSingleContained.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefSingleContained.java @@ -15,13 +15,14 @@ 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.model4.GenRefSingleContained#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleContained#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getGenRefSingleContained() * @model * @generated @@ -29,13 +30,13 @@ import org.eclipse.emf.ecore.EObject; public interface GenRefSingleContained extends EObject { /** - * Returns the value of the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> + * 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.model4.model4Package#getGenRefSingleContained_Element() @@ -45,11 +46,9 @@ public interface GenRefSingleContained extends EObject EObject getElement(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefSingleNonContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefSingleNonContained.java index 2fc6886f69..21710579af 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefSingleNonContained.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/GenRefSingleNonContained.java @@ -15,13 +15,14 @@ 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.model4.GenRefSingleNonContained#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getGenRefSingleNonContained() * @model * @generated @@ -29,13 +30,13 @@ import org.eclipse.emf.ecore.EObject; public interface GenRefSingleNonContained extends EObject { /** - * Returns the value of the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> + * 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.model4.model4Package#getGenRefSingleNonContained_Element() @@ -45,11 +46,9 @@ public interface GenRefSingleNonContained extends EObject EObject getElement(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained#getElement - * <em>Element</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplContainedElementNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplContainedElementNPL.java index 6aa8f4d085..b78639d3f8 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplContainedElementNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplContainedElementNPL.java @@ -16,7 +16,8 @@ import org.eclipse.emf.cdo.tests.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.model4.model4Package#getImplContainedElementNPL() * @model * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefContainedElement.java index 2316fdaf22..d3e7f253a0 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefContainedElement.java @@ -15,13 +15,14 @@ import org.eclipse.emf.cdo.tests.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.model4.ImplMultiRefContainedElement#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement#getName <em>Name</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getImplMultiRefContainedElement() * @model * @generated @@ -29,12 +30,12 @@ import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement; public interface ImplMultiRefContainedElement extends IMultiRefContainedElement { /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> + * 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.model4.model4Package#getImplMultiRefContainedElement_Name() @@ -44,11 +45,9 @@ public interface ImplMultiRefContainedElement extends IMultiRefContainedElement String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement#getName <em>Name</em>}' - * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefContainer.java index 3d243c403e..f859a1c8cd 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefContainer.java @@ -15,7 +15,8 @@ import org.eclipse.emf.cdo.tests.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.model4.model4Package#getImplMultiRefContainer() * @model * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefContainerNPL.java index 3b258a3821..1fc7c442e1 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefContainerNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefContainerNPL.java @@ -15,7 +15,8 @@ import org.eclipse.emf.cdo.tests.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.model4.model4Package#getImplMultiRefContainerNPL() * @model * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefNonContainedElement.java index 9e618746c6..5af5693583 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefNonContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefNonContainedElement.java @@ -15,13 +15,14 @@ import org.eclipse.emf.cdo.tests.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.model4.ImplMultiRefNonContainedElement#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement#getName <em>Name</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getImplMultiRefNonContainedElement() * @model * @generated @@ -29,12 +30,12 @@ import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement; public interface ImplMultiRefNonContainedElement extends IMultiRefNonContainedElement { /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> + * 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.model4.model4Package#getImplMultiRefNonContainedElement_Name() @@ -44,11 +45,9 @@ public interface ImplMultiRefNonContainedElement extends IMultiRefNonContainedEl String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement#getName - * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefNonContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefNonContainer.java index 19ed8ccc88..aa659e170b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefNonContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefNonContainer.java @@ -15,7 +15,8 @@ import org.eclipse.emf.cdo.tests.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.model4.model4Package#getImplMultiRefNonContainer() * @model * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefNonContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefNonContainerNPL.java index 9dfbc12819..bda39aafa7 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefNonContainerNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplMultiRefNonContainerNPL.java @@ -15,7 +15,8 @@ import org.eclipse.emf.cdo.tests.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.model4.model4Package#getImplMultiRefNonContainerNPL() * @model * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefContainedElement.java index 60adb4810f..778a58fb63 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefContainedElement.java @@ -15,13 +15,14 @@ import org.eclipse.emf.cdo.tests.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.model4.ImplSingleRefContainedElement#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement#getName <em>Name</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getImplSingleRefContainedElement() * @model * @generated @@ -29,12 +30,12 @@ import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement; public interface ImplSingleRefContainedElement extends ISingleRefContainedElement { /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> + * 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.model4.model4Package#getImplSingleRefContainedElement_Name() @@ -44,11 +45,9 @@ public interface ImplSingleRefContainedElement extends ISingleRefContainedElemen String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement#getName <em>Name</em>} - * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefContainer.java index 58e223545b..c62966e944 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefContainer.java @@ -15,7 +15,8 @@ import org.eclipse.emf.cdo.tests.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.model4.model4Package#getImplSingleRefContainer() * @model * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefContainerNPL.java index 3cd24e4853..352e6ce66e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefContainerNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefContainerNPL.java @@ -15,7 +15,8 @@ import org.eclipse.emf.cdo.tests.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.model4.model4Package#getImplSingleRefContainerNPL() * @model * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefNonContainedElement.java index c4bcab1551..a18d9a5149 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefNonContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefNonContainedElement.java @@ -15,13 +15,14 @@ import org.eclipse.emf.cdo.tests.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.model4.ImplSingleRefNonContainedElement#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement#getName <em>Name</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getImplSingleRefNonContainedElement() * @model * @generated @@ -29,12 +30,12 @@ import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement; public interface ImplSingleRefNonContainedElement extends ISingleRefNonContainedElement { /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> + * 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.model4.model4Package#getImplSingleRefNonContainedElement_Name() @@ -44,11 +45,9 @@ public interface ImplSingleRefNonContainedElement extends ISingleRefNonContained String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement#getName - * <em>Name</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefNonContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefNonContainer.java index 22942f720f..70b959441a 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefNonContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefNonContainer.java @@ -15,7 +15,8 @@ import org.eclipse.emf.cdo.tests.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.model4.model4Package#getImplSingleRefNonContainer() * @model * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefNonContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefNonContainerNPL.java index c34372dc46..b873599cb5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefNonContainerNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/ImplSingleRefNonContainerNPL.java @@ -15,7 +15,8 @@ import org.eclipse.emf.cdo.tests.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.model4.model4Package#getImplSingleRefNonContainerNPL() * @model * @generated diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/MultiContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/MultiContainedElement.java index b8ebd76a5e..5cefa6321a 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/MultiContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/MultiContainedElement.java @@ -15,14 +15,15 @@ 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.model4.MultiContainedElement#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement#getParent <em>Parent</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getMultiContainedElement() * @model * @generated @@ -30,12 +31,12 @@ import org.eclipse.emf.ecore.EObject; public interface MultiContainedElement extends EObject { /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> + * 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.model4.model4Package#getMultiContainedElement_Name() @@ -45,25 +46,23 @@ public interface MultiContainedElement extends EObject String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement#getName <em>Name</em>}' - * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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.model4.RefMultiContained#getElements <em>Elements</em>}'. <!-- begin-user-doc --> + * 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.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.model4.model4Package#getMultiContainedElement_Parent() @@ -74,11 +73,9 @@ public interface MultiContainedElement extends EObject RefMultiContained getParent(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/MultiNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/MultiNonContainedElement.java index 4f1cf62f71..6c356543e5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/MultiNonContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/MultiNonContainedElement.java @@ -15,14 +15,15 @@ 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.model4.MultiNonContainedElement#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement#getParent <em>Parent</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getMultiNonContainedElement() * @model * @generated @@ -30,12 +31,12 @@ import org.eclipse.emf.ecore.EObject; public interface MultiNonContainedElement extends EObject { /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> + * 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.model4.model4Package#getMultiNonContainedElement_Name() @@ -45,26 +46,24 @@ public interface MultiNonContainedElement extends EObject String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement#getName <em>Name</em>}' - * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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.model4.RefMultiNonContained#getElements <em>Elements</em>}'. <!-- begin-user-doc + * Returns the value of the '<em><b>Parent</b></em>' reference. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContained#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>' reference. * @see #setParent(RefMultiNonContained) * @see org.eclipse.emf.cdo.tests.model4.model4Package#getMultiNonContainedElement_Parent() @@ -75,11 +74,9 @@ public interface MultiNonContainedElement extends EObject RefMultiNonContained getParent(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement#getParent <em>Parent</em>}' - * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Parent</em>' reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiContained.java index 5157a5bdd6..bb8022fa30 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiContained.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiContained.java @@ -30,15 +30,15 @@ import org.eclipse.emf.ecore.EObject; 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.model4.MultiContainedElement}. It is bidirectional and its opposite is ' - * {@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement#getParent <em>Parent</em>}'. <!-- begin-user-doc --> + * 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.model4.MultiContainedElement}. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.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.model4.model4Package#getRefMultiContained_Elements() * @see org.eclipse.emf.cdo.tests.model4.MultiContainedElement#getParent diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiContainedNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiContainedNPL.java index cbdad1f4f8..2ee9518e60 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiContainedNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiContainedNPL.java @@ -16,13 +16,14 @@ 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.model4.RefMultiContainedNPL#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getRefMultiContainedNPL() * @model * @generated @@ -30,14 +31,14 @@ import org.eclipse.emf.ecore.EObject; 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.model4.ContainedElementNoOpposite}. <!-- begin-user-doc --> + * 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.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.model4.model4Package#getRefMultiContainedNPL_Elements() * @model containment="true" diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiNonContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiNonContained.java index 589e50eda8..4ce739d66a 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiNonContained.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiNonContained.java @@ -16,13 +16,14 @@ 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.model4.RefMultiNonContained#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContained#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getRefMultiNonContained() * @model * @generated @@ -30,16 +31,16 @@ import org.eclipse.emf.ecore.EObject; 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.model4.MultiNonContainedElement}. It is bidirectional and its opposite is ' - * {@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement#getParent <em>Parent</em>}'. <!-- begin-user-doc + * Returns the value of the '<em><b>Elements</b></em>' reference list. + * The list contents are of type {@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement}. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement#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>' reference list. * @see org.eclipse.emf.cdo.tests.model4.model4Package#getRefMultiNonContained_Elements() * @see org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement#getParent diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiNonContainedNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiNonContainedNPL.java index 55318c8afc..c688ed8477 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiNonContainedNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefMultiNonContainedNPL.java @@ -16,13 +16,14 @@ 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.model4.RefMultiNonContainedNPL#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getRefMultiNonContainedNPL() * @model * @generated @@ -30,14 +31,14 @@ import org.eclipse.emf.ecore.EObject; 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.model4.ContainedElementNoOpposite}. <!-- begin-user-doc --> + * Returns the value of the '<em><b>Elements</b></em>' reference list. + * The list contents are of type {@link org.eclipse.emf.cdo.tests.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.model4.model4Package#getRefMultiNonContainedNPL_Elements() * @model diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleContained.java index 5b0633771a..95979cf6b6 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleContained.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleContained.java @@ -15,13 +15,14 @@ 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.model4.RefSingleContained#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.RefSingleContained#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getRefSingleContained() * @model * @generated @@ -29,14 +30,14 @@ import org.eclipse.emf.ecore.EObject; 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.model4.SingleContainedElement#getParent <em>Parent</em>}'. <!-- begin-user-doc --> + * 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.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.model4.model4Package#getRefSingleContained_Element() @@ -47,11 +48,9 @@ public interface RefSingleContained extends EObject SingleContainedElement getElement(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleContainedNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleContainedNPL.java index 6ba901bcf0..55c2efff51 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleContainedNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleContainedNPL.java @@ -15,13 +15,14 @@ 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.model4.RefSingleContainedNPL#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getRefSingleContainedNPL() * @model * @generated @@ -29,13 +30,13 @@ import org.eclipse.emf.ecore.EObject; public interface RefSingleContainedNPL extends EObject { /** - * Returns the value of the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> + * 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.model4.model4Package#getRefSingleContainedNPL_Element() @@ -45,11 +46,9 @@ public interface RefSingleContainedNPL extends EObject ContainedElementNoOpposite getElement(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleNonContained.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleNonContained.java index dc0345f992..9b92f92f89 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleNonContained.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleNonContained.java @@ -15,13 +15,14 @@ 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.model4.RefSingleNonContained#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContained#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getRefSingleNonContained() * @model * @generated @@ -29,15 +30,15 @@ import org.eclipse.emf.ecore.EObject; 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.model4.SingleNonContainedElement#getParent <em>Parent</em>}'. <!-- begin-user-doc + * Returns the value of the '<em><b>Element</b></em>' reference. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.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.model4.model4Package#getRefSingleNonContained_Element() @@ -48,11 +49,9 @@ public interface RefSingleNonContained extends EObject SingleNonContainedElement getElement(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContained#getElement <em>Element</em>}' - * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleNonContainedNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleNonContainedNPL.java index 06827d415d..0afe49243e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleNonContainedNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/RefSingleNonContainedNPL.java @@ -15,13 +15,14 @@ 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.model4.RefSingleNonContainedNPL#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getRefSingleNonContainedNPL() * @model * @generated @@ -29,13 +30,13 @@ import org.eclipse.emf.ecore.EObject; public interface RefSingleNonContainedNPL extends EObject { /** - * Returns the value of the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> + * 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.model4.model4Package#getRefSingleNonContainedNPL_Element() @@ -45,11 +46,9 @@ public interface RefSingleNonContainedNPL extends EObject ContainedElementNoOpposite getElement(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL#getElement - * <em>Element</em>}' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Element</em>' reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/SingleContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/SingleContainedElement.java index 797fe71d4a..26a9c52277 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/SingleContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/SingleContainedElement.java @@ -15,14 +15,15 @@ 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.model4.SingleContainedElement#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement#getParent <em>Parent</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getSingleContainedElement() * @model * @generated @@ -30,12 +31,12 @@ import org.eclipse.emf.ecore.EObject; public interface SingleContainedElement extends EObject { /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> + * 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.model4.model4Package#getSingleContainedElement_Name() @@ -45,25 +46,23 @@ public interface SingleContainedElement extends EObject String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement#getName <em>Name</em>}' - * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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.model4.RefSingleContained#getElement <em>Element</em>}'. <!-- begin-user-doc --> + * 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.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.model4.model4Package#getSingleContainedElement_Parent() @@ -74,11 +73,9 @@ public interface SingleContainedElement extends EObject RefSingleContained getParent(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/SingleNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/SingleNonContainedElement.java index c11294da98..c9a6bd2222 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/SingleNonContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/SingleNonContainedElement.java @@ -15,14 +15,15 @@ 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.model4.SingleNonContainedElement#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement#getParent <em>Parent</em>}</li> * </ul> * </p> - * + * * @see org.eclipse.emf.cdo.tests.model4.model4Package#getSingleNonContainedElement() * @model * @generated @@ -30,12 +31,12 @@ import org.eclipse.emf.ecore.EObject; public interface SingleNonContainedElement extends EObject { /** - * Returns the value of the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> + * 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.model4.model4Package#getSingleNonContainedElement_Name() @@ -45,25 +46,23 @@ public interface SingleNonContainedElement extends EObject String getName(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement#getName <em>Name</em>}' - * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Name</em>' attribute. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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.model4.RefSingleNonContained#getElement <em>Element</em>}'. <!-- begin-user-doc + * Returns the value of the '<em><b>Parent</b></em>' reference. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.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.model4.model4Package#getSingleNonContainedElement_Parent() @@ -74,11 +73,9 @@ public interface SingleNonContainedElement extends EObject RefSingleNonContained getParent(); /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement#getParent <em>Parent</em>} - * ' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param value - * the new value of the '<em>Parent</em>' reference. + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ContainedElementNoOppositeImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ContainedElementNoOppositeImpl.java index 1ef13264ce..483742aafd 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ContainedElementNoOppositeImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ContainedElementNoOppositeImpl.java @@ -23,17 +23,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ContainedElementNoOppositeImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ContainedElementNoOppositeImpl#getName <em>Name</em>}</li> * </ul> * </p> - * + * * @generated */ public class ContainedElementNoOppositeImpl extends CDOObjectImpl implements ContainedElementNoOpposite { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ContainedElementNoOppositeImpl() @@ -43,7 +42,6 @@ public class ContainedElementNoOppositeImpl extends CDOObjectImpl implements Con /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -54,7 +52,6 @@ public class ContainedElementNoOppositeImpl extends CDOObjectImpl implements Con /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -65,7 +62,6 @@ public class ContainedElementNoOppositeImpl extends CDOObjectImpl implements Con /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public String getName() @@ -75,7 +71,6 @@ public class ContainedElementNoOppositeImpl extends CDOObjectImpl implements Con /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setName(String newName) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMapNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMapNonContainedImpl.java index 1462332bf0..33edff012f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMapNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMapNonContainedImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EObject; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMapNonContainedImpl#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMapNonContainedImpl#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @generated */ public class GenRefMapNonContainedImpl extends CDOObjectImpl implements GenRefMapNonContained { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected GenRefMapNonContainedImpl() @@ -45,7 +44,6 @@ public class GenRefMapNonContainedImpl extends CDOObjectImpl implements GenRefMa /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class GenRefMapNonContainedImpl extends CDOObjectImpl implements GenRefMa /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class GenRefMapNonContainedImpl extends CDOObjectImpl implements GenRefMa /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMultiContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMultiContainedImpl.java index c72d6838f9..7390f95387 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMultiContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMultiContainedImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EObject; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiContainedImpl#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiContainedImpl#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @generated */ public class GenRefMultiContainedImpl extends CDOObjectImpl implements GenRefMultiContained { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected GenRefMultiContainedImpl() @@ -45,7 +44,6 @@ public class GenRefMultiContainedImpl extends CDOObjectImpl implements GenRefMul /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class GenRefMultiContainedImpl extends CDOObjectImpl implements GenRefMul /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class GenRefMultiContainedImpl extends CDOObjectImpl implements GenRefMul /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMultiNUNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMultiNUNonContainedImpl.java index 13f9e1818e..dfd15b5cb2 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMultiNUNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMultiNUNonContainedImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EObject; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNUNonContainedImpl#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNUNonContainedImpl#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @generated */ public class GenRefMultiNUNonContainedImpl extends CDOObjectImpl implements GenRefMultiNUNonContained { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected GenRefMultiNUNonContainedImpl() @@ -45,7 +44,6 @@ public class GenRefMultiNUNonContainedImpl extends CDOObjectImpl implements GenR /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class GenRefMultiNUNonContainedImpl extends CDOObjectImpl implements GenR /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class GenRefMultiNUNonContainedImpl extends CDOObjectImpl implements GenR /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMultiNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMultiNonContainedImpl.java index 4046cdf413..87db2bec9b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMultiNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefMultiNonContainedImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EObject; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNonContainedImpl#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNonContainedImpl#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @generated */ public class GenRefMultiNonContainedImpl extends CDOObjectImpl implements GenRefMultiNonContained { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected GenRefMultiNonContainedImpl() @@ -45,7 +44,6 @@ public class GenRefMultiNonContainedImpl extends CDOObjectImpl implements GenRef /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class GenRefMultiNonContainedImpl extends CDOObjectImpl implements GenRef /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class GenRefMultiNonContainedImpl extends CDOObjectImpl implements GenRef /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefSingleContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefSingleContainedImpl.java index 35286c8408..348b6d2154 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefSingleContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefSingleContainedImpl.java @@ -24,17 +24,16 @@ import org.eclipse.emf.ecore.EObject; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleContainedImpl#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleContainedImpl#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @generated */ public class GenRefSingleContainedImpl extends CDOObjectImpl implements GenRefSingleContained { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected GenRefSingleContainedImpl() @@ -44,7 +43,6 @@ public class GenRefSingleContainedImpl extends CDOObjectImpl implements GenRefSi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -55,7 +53,6 @@ public class GenRefSingleContainedImpl extends CDOObjectImpl implements GenRefSi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -66,7 +63,6 @@ public class GenRefSingleContainedImpl extends CDOObjectImpl implements GenRefSi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EObject getElement() @@ -76,7 +72,6 @@ public class GenRefSingleContainedImpl extends CDOObjectImpl implements GenRefSi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setElement(EObject newElement) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefSingleNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefSingleNonContainedImpl.java index c5cbde81a6..5f7ea56908 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefSingleNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/GenRefSingleNonContainedImpl.java @@ -24,17 +24,16 @@ import org.eclipse.emf.ecore.EObject; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleNonContainedImpl#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleNonContainedImpl#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @generated */ public class GenRefSingleNonContainedImpl extends CDOObjectImpl implements GenRefSingleNonContained { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected GenRefSingleNonContainedImpl() @@ -44,7 +43,6 @@ public class GenRefSingleNonContainedImpl extends CDOObjectImpl implements GenRe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -55,7 +53,6 @@ public class GenRefSingleNonContainedImpl extends CDOObjectImpl implements GenRe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -66,7 +63,6 @@ public class GenRefSingleNonContainedImpl extends CDOObjectImpl implements GenRe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EObject getElement() @@ -76,7 +72,6 @@ public class GenRefSingleNonContainedImpl extends CDOObjectImpl implements GenRe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setElement(EObject newElement) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplContainedElementNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplContainedElementNPLImpl.java index 8529893750..8d8f503aad 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplContainedElementNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplContainedElementNPLImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplContainedElementNPLImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplContainedElementNPLImpl#getName <em>Name</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplContainedElementNPLImpl extends CDOObjectImpl implements ImplContainedElementNPL { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplContainedElementNPLImpl() @@ -45,7 +44,6 @@ public class ImplContainedElementNPLImpl extends CDOObjectImpl implements ImplCo /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class ImplContainedElementNPLImpl extends CDOObjectImpl implements ImplCo /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class ImplContainedElementNPLImpl extends CDOObjectImpl implements ImplCo /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public String getName() @@ -77,7 +73,6 @@ public class ImplContainedElementNPLImpl extends CDOObjectImpl implements ImplCo /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setName(String newName) @@ -87,7 +82,6 @@ public class ImplContainedElementNPLImpl extends CDOObjectImpl implements ImplCo /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -108,7 +102,6 @@ public class ImplContainedElementNPLImpl extends CDOObjectImpl implements ImplCo /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefContainedElementImpl.java index 4067c851d0..e80373842f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefContainedElementImpl.java @@ -25,18 +25,17 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainedElementImpl#getParent <em>Parent</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainedElementImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainedElementImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainedElementImpl#getName <em>Name</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplMultiRefContainedElementImpl extends CDOObjectImpl implements ImplMultiRefContainedElement { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplMultiRefContainedElementImpl() @@ -46,7 +45,6 @@ public class ImplMultiRefContainedElementImpl extends CDOObjectImpl implements I /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -57,7 +55,6 @@ public class ImplMultiRefContainedElementImpl extends CDOObjectImpl implements I /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -68,7 +65,6 @@ public class ImplMultiRefContainedElementImpl extends CDOObjectImpl implements I /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public IMultiRefContainer getParent() @@ -78,7 +74,6 @@ public class ImplMultiRefContainedElementImpl extends CDOObjectImpl implements I /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setParent(IMultiRefContainer newParent) @@ -88,7 +83,6 @@ public class ImplMultiRefContainedElementImpl extends CDOObjectImpl implements I /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public String getName() @@ -98,7 +92,6 @@ public class ImplMultiRefContainedElementImpl extends CDOObjectImpl implements I /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setName(String newName) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefContainerImpl.java index 3d6a5588b5..6151a193a3 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefContainerImpl.java @@ -26,17 +26,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerImpl#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerImpl#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplMultiRefContainerImpl extends CDOObjectImpl implements ImplMultiRefContainer { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplMultiRefContainerImpl() @@ -46,7 +45,6 @@ public class ImplMultiRefContainerImpl extends CDOObjectImpl implements ImplMult /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -57,7 +55,6 @@ public class ImplMultiRefContainerImpl extends CDOObjectImpl implements ImplMult /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -68,7 +65,6 @@ public class ImplMultiRefContainerImpl extends CDOObjectImpl implements ImplMult /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefContainerNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefContainerNPLImpl.java index 029b744d5b..99c962654b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefContainerNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefContainerNPLImpl.java @@ -26,17 +26,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerNPLImpl#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerNPLImpl#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplMultiRefContainerNPLImpl extends CDOObjectImpl implements ImplMultiRefContainerNPL { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplMultiRefContainerNPLImpl() @@ -46,7 +45,6 @@ public class ImplMultiRefContainerNPLImpl extends CDOObjectImpl implements ImplM /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -57,7 +55,6 @@ public class ImplMultiRefContainerNPLImpl extends CDOObjectImpl implements ImplM /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -68,7 +65,6 @@ public class ImplMultiRefContainerNPLImpl extends CDOObjectImpl implements ImplM /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefNonContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefNonContainedElementImpl.java index a36c5b431f..7653994146 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefNonContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefNonContainedElementImpl.java @@ -25,18 +25,17 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainedElementImpl#getParent <em>Parent</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainedElementImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainedElementImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainedElementImpl#getName <em>Name</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplMultiRefNonContainedElementImpl extends CDOObjectImpl implements ImplMultiRefNonContainedElement { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplMultiRefNonContainedElementImpl() @@ -46,7 +45,6 @@ public class ImplMultiRefNonContainedElementImpl extends CDOObjectImpl implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -57,7 +55,6 @@ public class ImplMultiRefNonContainedElementImpl extends CDOObjectImpl implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -68,7 +65,6 @@ public class ImplMultiRefNonContainedElementImpl extends CDOObjectImpl implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public IMultiRefNonContainer getParent() @@ -78,7 +74,6 @@ public class ImplMultiRefNonContainedElementImpl extends CDOObjectImpl implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setParent(IMultiRefNonContainer newParent) @@ -88,7 +83,6 @@ public class ImplMultiRefNonContainedElementImpl extends CDOObjectImpl implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public String getName() @@ -98,7 +92,6 @@ public class ImplMultiRefNonContainedElementImpl extends CDOObjectImpl implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setName(String newName) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefNonContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefNonContainerImpl.java index 662fd5b7b6..38dd1b0d5c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefNonContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefNonContainerImpl.java @@ -26,17 +26,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerImpl#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerImpl#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplMultiRefNonContainerImpl extends CDOObjectImpl implements ImplMultiRefNonContainer { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplMultiRefNonContainerImpl() @@ -46,7 +45,6 @@ public class ImplMultiRefNonContainerImpl extends CDOObjectImpl implements ImplM /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -57,7 +55,6 @@ public class ImplMultiRefNonContainerImpl extends CDOObjectImpl implements ImplM /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -68,7 +65,6 @@ public class ImplMultiRefNonContainerImpl extends CDOObjectImpl implements ImplM /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefNonContainerNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefNonContainerNPLImpl.java index 76ea0cf6b8..02444955c1 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefNonContainerNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplMultiRefNonContainerNPLImpl.java @@ -26,17 +26,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerNPLImpl#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerNPLImpl#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplMultiRefNonContainerNPLImpl extends CDOObjectImpl implements ImplMultiRefNonContainerNPL { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplMultiRefNonContainerNPLImpl() @@ -46,7 +45,6 @@ public class ImplMultiRefNonContainerNPLImpl extends CDOObjectImpl implements Im /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -57,7 +55,6 @@ public class ImplMultiRefNonContainerNPLImpl extends CDOObjectImpl implements Im /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -68,7 +65,6 @@ public class ImplMultiRefNonContainerNPLImpl extends CDOObjectImpl implements Im /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefContainedElementImpl.java index be61260d83..16a3a3c33d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefContainedElementImpl.java @@ -25,18 +25,17 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainedElementImpl#getParent <em>Parent</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainedElementImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainedElementImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainedElementImpl#getName <em>Name</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplSingleRefContainedElementImpl extends CDOObjectImpl implements ImplSingleRefContainedElement { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplSingleRefContainedElementImpl() @@ -46,7 +45,6 @@ public class ImplSingleRefContainedElementImpl extends CDOObjectImpl implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -57,7 +55,6 @@ public class ImplSingleRefContainedElementImpl extends CDOObjectImpl implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -68,7 +65,6 @@ public class ImplSingleRefContainedElementImpl extends CDOObjectImpl implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ISingleRefContainer getParent() @@ -78,7 +74,6 @@ public class ImplSingleRefContainedElementImpl extends CDOObjectImpl implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setParent(ISingleRefContainer newParent) @@ -88,7 +83,6 @@ public class ImplSingleRefContainedElementImpl extends CDOObjectImpl implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public String getName() @@ -98,7 +92,6 @@ public class ImplSingleRefContainedElementImpl extends CDOObjectImpl implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setName(String newName) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefContainerImpl.java index de610f0f08..dd674b12fd 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefContainerImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerImpl#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerImpl#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplSingleRefContainerImpl extends CDOObjectImpl implements ImplSingleRefContainer { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplSingleRefContainerImpl() @@ -45,7 +44,6 @@ public class ImplSingleRefContainerImpl extends CDOObjectImpl implements ImplSin /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class ImplSingleRefContainerImpl extends CDOObjectImpl implements ImplSin /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class ImplSingleRefContainerImpl extends CDOObjectImpl implements ImplSin /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ISingleRefContainedElement getElement() @@ -77,7 +73,6 @@ public class ImplSingleRefContainerImpl extends CDOObjectImpl implements ImplSin /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setElement(ISingleRefContainedElement newElement) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefContainerNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefContainerNPLImpl.java index 0e32ab741c..7a98da9cbe 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefContainerNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefContainerNPLImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerNPLImpl#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerNPLImpl#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplSingleRefContainerNPLImpl extends CDOObjectImpl implements ImplSingleRefContainerNPL { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplSingleRefContainerNPLImpl() @@ -45,7 +44,6 @@ public class ImplSingleRefContainerNPLImpl extends CDOObjectImpl implements Impl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class ImplSingleRefContainerNPLImpl extends CDOObjectImpl implements Impl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class ImplSingleRefContainerNPLImpl extends CDOObjectImpl implements Impl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public IContainedElementNoParentLink getElement() @@ -78,7 +74,6 @@ public class ImplSingleRefContainerNPLImpl extends CDOObjectImpl implements Impl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setElement(IContainedElementNoParentLink newElement) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefNonContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefNonContainedElementImpl.java index 190fff8e94..47afb4e861 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefNonContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefNonContainedElementImpl.java @@ -25,18 +25,17 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainedElementImpl#getParent <em>Parent</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainedElementImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainedElementImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainedElementImpl#getName <em>Name</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplSingleRefNonContainedElementImpl extends CDOObjectImpl implements ImplSingleRefNonContainedElement { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplSingleRefNonContainedElementImpl() @@ -46,7 +45,6 @@ public class ImplSingleRefNonContainedElementImpl extends CDOObjectImpl implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -57,7 +55,6 @@ public class ImplSingleRefNonContainedElementImpl extends CDOObjectImpl implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -68,7 +65,6 @@ public class ImplSingleRefNonContainedElementImpl extends CDOObjectImpl implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ISingleRefNonContainer getParent() @@ -79,7 +75,6 @@ public class ImplSingleRefNonContainedElementImpl extends CDOObjectImpl implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setParent(ISingleRefNonContainer newParent) @@ -89,7 +84,6 @@ public class ImplSingleRefNonContainedElementImpl extends CDOObjectImpl implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public String getName() @@ -99,7 +93,6 @@ public class ImplSingleRefNonContainedElementImpl extends CDOObjectImpl implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setName(String newName) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefNonContainerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefNonContainerImpl.java index 735c992710..fe0f6708d4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefNonContainerImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefNonContainerImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerImpl#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerImpl#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplSingleRefNonContainerImpl extends CDOObjectImpl implements ImplSingleRefNonContainer { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplSingleRefNonContainerImpl() @@ -45,7 +44,6 @@ public class ImplSingleRefNonContainerImpl extends CDOObjectImpl implements Impl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class ImplSingleRefNonContainerImpl extends CDOObjectImpl implements Impl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class ImplSingleRefNonContainerImpl extends CDOObjectImpl implements Impl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ISingleRefNonContainedElement getElement() @@ -78,7 +74,6 @@ public class ImplSingleRefNonContainerImpl extends CDOObjectImpl implements Impl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setElement(ISingleRefNonContainedElement newElement) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefNonContainerNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefNonContainerNPLImpl.java index 2d66750957..49751cfb7b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefNonContainerNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/ImplSingleRefNonContainerNPLImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerNPLImpl#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerNPLImpl#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @generated */ public class ImplSingleRefNonContainerNPLImpl extends CDOObjectImpl implements ImplSingleRefNonContainerNPL { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected ImplSingleRefNonContainerNPLImpl() @@ -45,7 +44,6 @@ public class ImplSingleRefNonContainerNPLImpl extends CDOObjectImpl implements I /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class ImplSingleRefNonContainerNPLImpl extends CDOObjectImpl implements I /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class ImplSingleRefNonContainerNPLImpl extends CDOObjectImpl implements I /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public IContainedElementNoParentLink getElement() @@ -78,7 +74,6 @@ public class ImplSingleRefNonContainerNPLImpl extends CDOObjectImpl implements I /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setElement(IContainedElementNoParentLink newElement) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/MultiContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/MultiContainedElementImpl.java index 8ace06e40c..6ef65d45b6 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/MultiContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/MultiContainedElementImpl.java @@ -24,18 +24,17 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.MultiContainedElementImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.MultiContainedElementImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.MultiContainedElementImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.MultiContainedElementImpl#getParent <em>Parent</em>}</li> * </ul> * </p> - * + * * @generated */ public class MultiContainedElementImpl extends CDOObjectImpl implements MultiContainedElement { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected MultiContainedElementImpl() @@ -45,7 +44,6 @@ public class MultiContainedElementImpl extends CDOObjectImpl implements MultiCon /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class MultiContainedElementImpl extends CDOObjectImpl implements MultiCon /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class MultiContainedElementImpl extends CDOObjectImpl implements MultiCon /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public String getName() @@ -77,7 +73,6 @@ public class MultiContainedElementImpl extends CDOObjectImpl implements MultiCon /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setName(String newName) @@ -87,7 +82,6 @@ public class MultiContainedElementImpl extends CDOObjectImpl implements MultiCon /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public RefMultiContained getParent() @@ -97,7 +91,6 @@ public class MultiContainedElementImpl extends CDOObjectImpl implements MultiCon /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setParent(RefMultiContained newParent) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/MultiNonContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/MultiNonContainedElementImpl.java index cac9a3fff8..185c85601d 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/MultiNonContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/MultiNonContainedElementImpl.java @@ -24,18 +24,17 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.MultiNonContainedElementImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.MultiNonContainedElementImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.MultiNonContainedElementImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.MultiNonContainedElementImpl#getParent <em>Parent</em>}</li> * </ul> * </p> - * + * * @generated */ public class MultiNonContainedElementImpl extends CDOObjectImpl implements MultiNonContainedElement { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected MultiNonContainedElementImpl() @@ -45,7 +44,6 @@ public class MultiNonContainedElementImpl extends CDOObjectImpl implements Multi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class MultiNonContainedElementImpl extends CDOObjectImpl implements Multi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class MultiNonContainedElementImpl extends CDOObjectImpl implements Multi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public String getName() @@ -77,7 +73,6 @@ public class MultiNonContainedElementImpl extends CDOObjectImpl implements Multi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setName(String newName) @@ -87,7 +82,6 @@ public class MultiNonContainedElementImpl extends CDOObjectImpl implements Multi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public RefMultiNonContained getParent() @@ -97,7 +91,6 @@ public class MultiNonContainedElementImpl extends CDOObjectImpl implements Multi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setParent(RefMultiNonContained newParent) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiContainedImpl.java index c49b8166e5..b909b6eedb 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiContainedImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedImpl#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedImpl#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @generated */ public class RefMultiContainedImpl extends CDOObjectImpl implements RefMultiContained { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected RefMultiContainedImpl() @@ -45,7 +44,6 @@ public class RefMultiContainedImpl extends CDOObjectImpl implements RefMultiCont /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class RefMultiContainedImpl extends CDOObjectImpl implements RefMultiCont /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class RefMultiContainedImpl extends CDOObjectImpl implements RefMultiCont /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiContainedNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiContainedNPLImpl.java index f5ffe5f1e5..f41709779c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiContainedNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiContainedNPLImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedNPLImpl#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedNPLImpl#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @generated */ public class RefMultiContainedNPLImpl extends CDOObjectImpl implements RefMultiContainedNPL { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected RefMultiContainedNPLImpl() @@ -45,7 +44,6 @@ public class RefMultiContainedNPLImpl extends CDOObjectImpl implements RefMultiC /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class RefMultiContainedNPLImpl extends CDOObjectImpl implements RefMultiC /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class RefMultiContainedNPLImpl extends CDOObjectImpl implements RefMultiC /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiNonContainedImpl.java index 4287541677..d5099e8115 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiNonContainedImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedImpl#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedImpl#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @generated */ public class RefMultiNonContainedImpl extends CDOObjectImpl implements RefMultiNonContained { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected RefMultiNonContainedImpl() @@ -45,7 +44,6 @@ public class RefMultiNonContainedImpl extends CDOObjectImpl implements RefMultiN /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class RefMultiNonContainedImpl extends CDOObjectImpl implements RefMultiN /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class RefMultiNonContainedImpl extends CDOObjectImpl implements RefMultiN /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiNonContainedNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiNonContainedNPLImpl.java index 187fa1f7e7..31b23defb3 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiNonContainedNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefMultiNonContainedNPLImpl.java @@ -25,17 +25,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedNPLImpl#getElements <em>Elements</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedNPLImpl#getElements <em>Elements</em>}</li> * </ul> * </p> - * + * * @generated */ public class RefMultiNonContainedNPLImpl extends CDOObjectImpl implements RefMultiNonContainedNPL { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected RefMultiNonContainedNPLImpl() @@ -45,7 +44,6 @@ public class RefMultiNonContainedNPLImpl extends CDOObjectImpl implements RefMul /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class RefMultiNonContainedNPLImpl extends CDOObjectImpl implements RefMul /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class RefMultiNonContainedNPLImpl extends CDOObjectImpl implements RefMul /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleContainedImpl.java index 50129ffab8..daa20f61ec 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleContainedImpl.java @@ -24,17 +24,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedImpl#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedImpl#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @generated */ public class RefSingleContainedImpl extends CDOObjectImpl implements RefSingleContained { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected RefSingleContainedImpl() @@ -44,7 +43,6 @@ public class RefSingleContainedImpl extends CDOObjectImpl implements RefSingleCo /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -55,7 +53,6 @@ public class RefSingleContainedImpl extends CDOObjectImpl implements RefSingleCo /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -66,7 +63,6 @@ public class RefSingleContainedImpl extends CDOObjectImpl implements RefSingleCo /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public SingleContainedElement getElement() @@ -76,7 +72,6 @@ public class RefSingleContainedImpl extends CDOObjectImpl implements RefSingleCo /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setElement(SingleContainedElement newElement) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleContainedNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleContainedNPLImpl.java index 810d372042..1e25d9d79f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleContainedNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleContainedNPLImpl.java @@ -24,17 +24,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedNPLImpl#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedNPLImpl#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @generated */ public class RefSingleContainedNPLImpl extends CDOObjectImpl implements RefSingleContainedNPL { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected RefSingleContainedNPLImpl() @@ -44,7 +43,6 @@ public class RefSingleContainedNPLImpl extends CDOObjectImpl implements RefSingl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -55,7 +53,6 @@ public class RefSingleContainedNPLImpl extends CDOObjectImpl implements RefSingl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -66,7 +63,6 @@ public class RefSingleContainedNPLImpl extends CDOObjectImpl implements RefSingl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ContainedElementNoOpposite getElement() @@ -76,7 +72,6 @@ public class RefSingleContainedNPLImpl extends CDOObjectImpl implements RefSingl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setElement(ContainedElementNoOpposite newElement) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleNonContainedImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleNonContainedImpl.java index 49049df055..1323f519f8 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleNonContainedImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleNonContainedImpl.java @@ -24,17 +24,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedImpl#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedImpl#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @generated */ public class RefSingleNonContainedImpl extends CDOObjectImpl implements RefSingleNonContained { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected RefSingleNonContainedImpl() @@ -44,7 +43,6 @@ public class RefSingleNonContainedImpl extends CDOObjectImpl implements RefSingl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -55,7 +53,6 @@ public class RefSingleNonContainedImpl extends CDOObjectImpl implements RefSingl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -66,7 +63,6 @@ public class RefSingleNonContainedImpl extends CDOObjectImpl implements RefSingl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public SingleNonContainedElement getElement() @@ -76,7 +72,6 @@ public class RefSingleNonContainedImpl extends CDOObjectImpl implements RefSingl /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setElement(SingleNonContainedElement newElement) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleNonContainedNPLImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleNonContainedNPLImpl.java index 8004b02513..37a371f9f4 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleNonContainedNPLImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/RefSingleNonContainedNPLImpl.java @@ -24,17 +24,16 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedNPLImpl#getElement <em>Element</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedNPLImpl#getElement <em>Element</em>}</li> * </ul> * </p> - * + * * @generated */ public class RefSingleNonContainedNPLImpl extends CDOObjectImpl implements RefSingleNonContainedNPL { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected RefSingleNonContainedNPLImpl() @@ -44,7 +43,6 @@ public class RefSingleNonContainedNPLImpl extends CDOObjectImpl implements RefSi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -55,7 +53,6 @@ public class RefSingleNonContainedNPLImpl extends CDOObjectImpl implements RefSi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -66,7 +63,6 @@ public class RefSingleNonContainedNPLImpl extends CDOObjectImpl implements RefSi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ContainedElementNoOpposite getElement() @@ -76,7 +72,6 @@ public class RefSingleNonContainedNPLImpl extends CDOObjectImpl implements RefSi /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setElement(ContainedElementNoOpposite newElement) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/SingleContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/SingleContainedElementImpl.java index 1b230ca2a6..a22575143f 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/SingleContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/SingleContainedElementImpl.java @@ -24,18 +24,17 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.SingleContainedElementImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.SingleContainedElementImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.SingleContainedElementImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.SingleContainedElementImpl#getParent <em>Parent</em>}</li> * </ul> * </p> - * + * * @generated */ public class SingleContainedElementImpl extends CDOObjectImpl implements SingleContainedElement { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected SingleContainedElementImpl() @@ -45,7 +44,6 @@ public class SingleContainedElementImpl extends CDOObjectImpl implements SingleC /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class SingleContainedElementImpl extends CDOObjectImpl implements SingleC /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class SingleContainedElementImpl extends CDOObjectImpl implements SingleC /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public String getName() @@ -77,7 +73,6 @@ public class SingleContainedElementImpl extends CDOObjectImpl implements SingleC /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setName(String newName) @@ -87,7 +82,6 @@ public class SingleContainedElementImpl extends CDOObjectImpl implements SingleC /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public RefSingleContained getParent() @@ -97,7 +91,6 @@ public class SingleContainedElementImpl extends CDOObjectImpl implements SingleC /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setParent(RefSingleContained newParent) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/SingleNonContainedElementImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/SingleNonContainedElementImpl.java index f3ba495907..e6cc6d84ad 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/SingleNonContainedElementImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/SingleNonContainedElementImpl.java @@ -24,18 +24,17 @@ import org.eclipse.emf.ecore.EClass; * <p> * The following features are implemented: * <ul> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.SingleNonContainedElementImpl#getName <em>Name</em>}</li> - * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.SingleNonContainedElementImpl#getParent <em>Parent</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.SingleNonContainedElementImpl#getName <em>Name</em>}</li> + * <li>{@link org.eclipse.emf.cdo.tests.model4.impl.SingleNonContainedElementImpl#getParent <em>Parent</em>}</li> * </ul> * </p> - * + * * @generated */ public class SingleNonContainedElementImpl extends CDOObjectImpl implements SingleNonContainedElement { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected SingleNonContainedElementImpl() @@ -45,7 +44,6 @@ public class SingleNonContainedElementImpl extends CDOObjectImpl implements Sing /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -56,7 +54,6 @@ public class SingleNonContainedElementImpl extends CDOObjectImpl implements Sing /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -67,7 +64,6 @@ public class SingleNonContainedElementImpl extends CDOObjectImpl implements Sing /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public String getName() @@ -77,7 +73,6 @@ public class SingleNonContainedElementImpl extends CDOObjectImpl implements Sing /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setName(String newName) @@ -87,7 +82,6 @@ public class SingleNonContainedElementImpl extends CDOObjectImpl implements Sing /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public RefSingleNonContained getParent() @@ -97,7 +91,6 @@ public class SingleNonContainedElementImpl extends CDOObjectImpl implements Sing /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setParent(RefSingleNonContained newParent) diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/StringToEObjectImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/StringToEObjectImpl.java index ad54931f0d..74cc880110 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/StringToEObjectImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/StringToEObjectImpl.java @@ -36,7 +36,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected StringToEObjectImpl() @@ -46,7 +45,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -57,7 +55,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -68,7 +65,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public String getTypedKey() @@ -78,7 +74,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setTypedKey(String newKey) @@ -88,7 +83,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EObject getTypedValue() @@ -98,7 +92,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setTypedValue(EObject newValue) @@ -108,14 +101,12 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ protected int hash = -1; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public int getHash() @@ -130,7 +121,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setHash(int hash) @@ -140,7 +130,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public String getKey() @@ -150,7 +139,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public void setKey(String key) @@ -160,7 +148,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EObject getValue() @@ -170,7 +157,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EObject setValue(EObject value) @@ -182,7 +168,6 @@ public class StringToEObjectImpl extends CDOObjectImpl implements BasicEMap.Entr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @SuppressWarnings("unchecked") diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/model4FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/model4FactoryImpl.java index 438d3248e0..1a492bfbc3 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/model4FactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/model4FactoryImpl.java @@ -55,14 +55,13 @@ import java.util.Map; /** * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc --> - * * @generated */ public class model4FactoryImpl extends EFactoryImpl implements model4Factory { /** - * Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Creates the default factory implementation. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public static model4Factory init() @@ -84,8 +83,8 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory } /** - * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Creates an instance of the factory. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public model4FactoryImpl() @@ -95,7 +94,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -176,7 +174,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public RefSingleContained createRefSingleContained() @@ -187,7 +184,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public SingleContainedElement createSingleContainedElement() @@ -198,7 +194,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public RefSingleNonContained createRefSingleNonContained() @@ -209,7 +204,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public SingleNonContainedElement createSingleNonContainedElement() @@ -220,7 +214,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public RefMultiContained createRefMultiContained() @@ -231,7 +224,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public MultiContainedElement createMultiContainedElement() @@ -242,7 +234,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public RefMultiNonContained createRefMultiNonContained() @@ -253,7 +244,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public MultiNonContainedElement createMultiNonContainedElement() @@ -264,7 +254,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public RefSingleContainedNPL createRefSingleContainedNPL() @@ -275,7 +264,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public RefSingleNonContainedNPL createRefSingleNonContainedNPL() @@ -286,7 +274,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public RefMultiContainedNPL createRefMultiContainedNPL() @@ -297,7 +284,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public RefMultiNonContainedNPL createRefMultiNonContainedNPL() @@ -308,7 +294,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ContainedElementNoOpposite createContainedElementNoOpposite() @@ -319,7 +304,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public GenRefSingleContained createGenRefSingleContained() @@ -330,7 +314,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public GenRefSingleNonContained createGenRefSingleNonContained() @@ -341,7 +324,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public GenRefMultiContained createGenRefMultiContained() @@ -352,7 +334,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public GenRefMultiNonContained createGenRefMultiNonContained() @@ -363,7 +344,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplSingleRefContainer createImplSingleRefContainer() @@ -374,7 +354,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplSingleRefContainedElement createImplSingleRefContainedElement() @@ -385,7 +364,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplSingleRefNonContainer createImplSingleRefNonContainer() @@ -396,7 +374,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplSingleRefNonContainedElement createImplSingleRefNonContainedElement() @@ -407,7 +384,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplMultiRefNonContainer createImplMultiRefNonContainer() @@ -418,7 +394,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplMultiRefNonContainedElement createImplMultiRefNonContainedElement() @@ -429,7 +404,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplMultiRefContainer createImplMultiRefContainer() @@ -440,7 +414,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplMultiRefContainedElement createImplMultiRefContainedElement() @@ -451,7 +424,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplSingleRefContainerNPL createImplSingleRefContainerNPL() @@ -462,7 +434,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplSingleRefNonContainerNPL createImplSingleRefNonContainerNPL() @@ -473,7 +444,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplMultiRefContainerNPL createImplMultiRefContainerNPL() @@ -484,7 +454,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplMultiRefNonContainerNPL createImplMultiRefNonContainerNPL() @@ -495,7 +464,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public ImplContainedElementNPL createImplContainedElementNPL() @@ -506,7 +474,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public GenRefMultiNUNonContained createGenRefMultiNUNonContained() @@ -517,7 +484,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public GenRefMapNonContained createGenRefMapNonContained() @@ -528,7 +494,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public Map.Entry<String, EObject> createStringToEObject() @@ -539,7 +504,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public model4Package getmodel4Package() @@ -549,7 +513,6 @@ public class model4FactoryImpl extends EFactoryImpl implements model4Factory /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @deprecated * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/model4PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/model4PackageImpl.java index 00aadb1f69..ffd838d05b 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/model4PackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/impl/model4PackageImpl.java @@ -56,238 +56,204 @@ import java.util.Map; /** * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc --> - * * @generated */ public class model4PackageImpl extends EPackageImpl implements model4Package { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass refSingleContainedEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass singleContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass refSingleNonContainedEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass singleNonContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass refMultiContainedEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass multiContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass refMultiNonContainedEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass multiNonContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass refSingleContainedNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass refSingleNonContainedNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass refMultiContainedNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass refMultiNonContainedNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass containedElementNoOppositeEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass genRefSingleContainedEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass genRefSingleNonContainedEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass genRefMultiContainedEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass genRefMultiNonContainedEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implSingleRefContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implSingleRefContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implSingleRefNonContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implSingleRefNonContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implMultiRefNonContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implMultiRefNonContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implMultiRefContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implMultiRefContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implSingleRefContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implSingleRefNonContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implMultiRefContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implMultiRefNonContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass implContainedElementNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass genRefMultiNUNonContainedEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass genRefMapNonContainedEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass stringToEObjectEClass = null; @@ -312,18 +278,17 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private static boolean isInited = false; /** * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * <p> - * This method is used to initialize {@link model4Package#eINSTANCE} when that field is accessed. Clients should not - * invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> - * <!-- end-user-doc --> * + * <p>This method is used to initialize {@link model4Package#eINSTANCE} when that field is accessed. + * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. + * <!-- begin-user-doc --> + * <!-- end-user-doc --> * @see #eNS_URI * @see #createPackageContents() * @see #initializePackageContents() @@ -360,7 +325,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getRefSingleContained() @@ -370,7 +334,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getRefSingleContained_Element() @@ -380,7 +343,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getSingleContainedElement() @@ -390,7 +352,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getSingleContainedElement_Name() @@ -400,7 +361,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getSingleContainedElement_Parent() @@ -410,7 +370,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getRefSingleNonContained() @@ -420,7 +379,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getRefSingleNonContained_Element() @@ -430,7 +388,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getSingleNonContainedElement() @@ -440,7 +397,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getSingleNonContainedElement_Name() @@ -450,7 +406,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getSingleNonContainedElement_Parent() @@ -460,7 +415,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getRefMultiContained() @@ -470,7 +424,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getRefMultiContained_Elements() @@ -480,7 +433,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getMultiContainedElement() @@ -490,7 +442,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getMultiContainedElement_Name() @@ -500,7 +451,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getMultiContainedElement_Parent() @@ -510,7 +460,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getRefMultiNonContained() @@ -520,7 +469,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getRefMultiNonContained_Elements() @@ -530,7 +478,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getMultiNonContainedElement() @@ -540,7 +487,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getMultiNonContainedElement_Name() @@ -550,7 +496,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getMultiNonContainedElement_Parent() @@ -560,7 +505,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getRefSingleContainedNPL() @@ -570,7 +514,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getRefSingleContainedNPL_Element() @@ -580,7 +523,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getRefSingleNonContainedNPL() @@ -590,7 +532,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getRefSingleNonContainedNPL_Element() @@ -600,7 +541,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getRefMultiContainedNPL() @@ -610,7 +550,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getRefMultiContainedNPL_Elements() @@ -620,7 +559,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getRefMultiNonContainedNPL() @@ -630,7 +568,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getRefMultiNonContainedNPL_Elements() @@ -640,7 +577,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getContainedElementNoOpposite() @@ -650,7 +586,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getContainedElementNoOpposite_Name() @@ -660,7 +595,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getGenRefSingleContained() @@ -670,7 +604,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getGenRefSingleContained_Element() @@ -680,7 +613,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getGenRefSingleNonContained() @@ -690,7 +622,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getGenRefSingleNonContained_Element() @@ -700,7 +631,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getGenRefMultiContained() @@ -710,7 +640,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getGenRefMultiContained_Elements() @@ -720,7 +649,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getGenRefMultiNonContained() @@ -730,7 +658,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getGenRefMultiNonContained_Elements() @@ -740,7 +667,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplSingleRefContainer() @@ -750,7 +676,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplSingleRefContainedElement() @@ -760,7 +685,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getImplSingleRefContainedElement_Name() @@ -770,7 +694,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplSingleRefNonContainer() @@ -780,7 +703,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplSingleRefNonContainedElement() @@ -790,7 +712,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getImplSingleRefNonContainedElement_Name() @@ -800,7 +721,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplMultiRefNonContainer() @@ -810,7 +730,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplMultiRefNonContainedElement() @@ -820,7 +739,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getImplMultiRefNonContainedElement_Name() @@ -830,7 +748,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplMultiRefContainer() @@ -840,7 +757,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplMultiRefContainedElement() @@ -850,7 +766,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getImplMultiRefContainedElement_Name() @@ -860,7 +775,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplSingleRefContainerNPL() @@ -870,7 +784,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplSingleRefNonContainerNPL() @@ -880,7 +793,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplMultiRefContainerNPL() @@ -890,7 +802,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplMultiRefNonContainerNPL() @@ -900,7 +811,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getImplContainedElementNPL() @@ -910,7 +820,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getGenRefMultiNUNonContained() @@ -920,7 +829,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getGenRefMultiNUNonContained_Elements() @@ -930,7 +838,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getGenRefMapNonContained() @@ -940,7 +847,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getGenRefMapNonContained_Elements() @@ -950,7 +856,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getStringToEObject() @@ -960,7 +865,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getStringToEObject_Key() @@ -970,7 +874,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getStringToEObject_Value() @@ -980,7 +883,6 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public model4Factory getmodel4Factory() @@ -990,15 +892,14 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private boolean isCreated = false; /** - * Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its - * first. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Creates the meta-model objects for the package. This method is + * guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public void createPackageContents() @@ -1106,15 +1007,14 @@ public class model4PackageImpl extends EPackageImpl implements model4Package /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private boolean isInitialized = false; /** - * Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any - * invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Complete the initialization of the package and its meta-model. This + * method is guarded to have no affect on any invocation but its first. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public void initializePackageContents() diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/model4Factory.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/model4Factory.java index 124fc32f75..dec4e3391c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/model4Factory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/model4Factory.java @@ -15,38 +15,37 @@ import org.eclipse.emf.ecore.EFactory; /** * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of * the model. <!-- end-user-doc --> - * * @see org.eclipse.emf.cdo.tests.model4.model4Package * @generated */ public interface model4Factory extends EFactory { /** - * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The singleton instance of the factory. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ model4Factory eINSTANCE = org.eclipse.emf.cdo.tests.model4.impl.model4FactoryImpl.init(); /** - * Returns a new object of class '<em>Ref Single Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Ref Single Contained</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Ref Single Contained</em>'. * @generated */ RefSingleContained createRefSingleContained(); /** - * Returns a new object of class '<em>Single Contained Element</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Single Contained Element</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Single Contained Element</em>'. * @generated */ SingleContainedElement createSingleContainedElement(); /** - * Returns a new object of class '<em>Ref Single Non Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Ref Single Non Contained</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Ref Single Non Contained</em>'. * @generated */ @@ -62,40 +61,40 @@ public interface model4Factory extends EFactory SingleNonContainedElement createSingleNonContainedElement(); /** - * Returns a new object of class '<em>Ref Multi Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Ref Multi Contained</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Ref Multi Contained</em>'. * @generated */ RefMultiContained createRefMultiContained(); /** - * Returns a new object of class '<em>Multi Contained Element</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Multi Contained Element</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Multi Contained Element</em>'. * @generated */ MultiContainedElement createMultiContainedElement(); /** - * Returns a new object of class '<em>Ref Multi Non Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Ref Multi Non Contained</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Ref Multi Non Contained</em>'. * @generated */ RefMultiNonContained createRefMultiNonContained(); /** - * Returns a new object of class '<em>Multi Non Contained Element</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Multi Non Contained Element</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Multi Non Contained Element</em>'. * @generated */ MultiNonContainedElement createMultiNonContainedElement(); /** - * Returns a new object of class '<em>Ref Single Contained NPL</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * 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>'. * @generated */ @@ -111,16 +110,16 @@ public interface model4Factory extends EFactory RefSingleNonContainedNPL createRefSingleNonContainedNPL(); /** - * Returns a new object of class '<em>Ref Multi Contained NPL</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Ref Multi Contained NPL</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Ref Multi Contained NPL</em>'. * @generated */ RefMultiContainedNPL createRefMultiContainedNPL(); /** - * Returns a new object of class '<em>Ref Multi Non Contained NPL</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Ref Multi Non Contained NPL</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Ref Multi Non Contained NPL</em>'. * @generated */ @@ -136,8 +135,8 @@ public interface model4Factory extends EFactory ContainedElementNoOpposite createContainedElementNoOpposite(); /** - * Returns a new object of class '<em>Gen Ref Single Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Gen Ref Single Contained</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Gen Ref Single Contained</em>'. * @generated */ @@ -153,33 +152,33 @@ public interface model4Factory extends EFactory GenRefSingleNonContained createGenRefSingleNonContained(); /** - * Returns a new object of class '<em>Gen Ref Multi Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Gen Ref Multi Contained</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Gen Ref Multi Contained</em>'. * @generated */ GenRefMultiContained createGenRefMultiContained(); /** - * Returns a new object of class '<em>Gen Ref Multi Non Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Gen Ref Multi Non Contained</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Gen Ref Multi Non Contained</em>'. * @generated */ GenRefMultiNonContained createGenRefMultiNonContained(); /** - * Returns a new object of class '<em>Impl Single Ref Container</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Impl Single Ref Container</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Impl Single Ref Container</em>'. * @generated */ ImplSingleRefContainer createImplSingleRefContainer(); /** - * Returns a new object of class '<em>Impl Single Ref Contained Element</em>'. <!-- begin-user-doc --> <!-- + * Returns a new object of class '<em>Impl Single Ref Contained Element</em>'. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @return a new object of class '<em>Impl Single Ref Contained Element</em>'. * @generated */ @@ -195,9 +194,9 @@ public interface model4Factory extends EFactory ImplSingleRefNonContainer createImplSingleRefNonContainer(); /** - * Returns a new object of class '<em>Impl Single Ref Non Contained Element</em>'. <!-- begin-user-doc --> <!-- + * Returns a new object of class '<em>Impl Single Ref Non Contained Element</em>'. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @return a new object of class '<em>Impl Single Ref Non Contained Element</em>'. * @generated */ @@ -213,26 +212,26 @@ public interface model4Factory extends EFactory ImplMultiRefNonContainer createImplMultiRefNonContainer(); /** - * Returns a new object of class '<em>Impl Multi Ref Non Contained Element</em>'. <!-- begin-user-doc --> <!-- + * Returns a new object of class '<em>Impl Multi Ref Non Contained Element</em>'. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @return a new object of class '<em>Impl Multi Ref Non Contained Element</em>'. * @generated */ ImplMultiRefNonContainedElement createImplMultiRefNonContainedElement(); /** - * Returns a new object of class '<em>Impl Multi Ref Container</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Impl Multi Ref Container</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Impl Multi Ref Container</em>'. * @generated */ ImplMultiRefContainer createImplMultiRefContainer(); /** - * Returns a new object of class '<em>Impl Multi Ref Contained Element</em>'. <!-- begin-user-doc --> <!-- + * Returns a new object of class '<em>Impl Multi Ref Contained Element</em>'. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @return a new object of class '<em>Impl Multi Ref Contained Element</em>'. * @generated */ @@ -248,9 +247,9 @@ public interface model4Factory extends EFactory ImplSingleRefContainerNPL createImplSingleRefContainerNPL(); /** - * Returns a new object of class '<em>Impl Single Ref Non Container NPL</em>'. <!-- begin-user-doc --> <!-- + * Returns a new object of class '<em>Impl Single Ref Non Container NPL</em>'. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @return a new object of class '<em>Impl Single Ref Non Container NPL</em>'. * @generated */ @@ -266,17 +265,17 @@ public interface model4Factory extends EFactory ImplMultiRefContainerNPL createImplMultiRefContainerNPL(); /** - * Returns a new object of class '<em>Impl Multi Ref Non Container NPL</em>'. <!-- begin-user-doc --> <!-- + * Returns a new object of class '<em>Impl Multi Ref Non Container NPL</em>'. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @return a new object of class '<em>Impl Multi Ref Non Container NPL</em>'. * @generated */ ImplMultiRefNonContainerNPL createImplMultiRefNonContainerNPL(); /** - * Returns a new object of class '<em>Impl Contained Element NPL</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Impl Contained Element NPL</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Impl Contained Element NPL</em>'. * @generated */ @@ -292,16 +291,16 @@ public interface model4Factory extends EFactory GenRefMultiNUNonContained createGenRefMultiNUNonContained(); /** - * Returns a new object of class '<em>Gen Ref Map Non Contained</em>'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns a new object of class '<em>Gen Ref Map Non Contained</em>'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return a new object of class '<em>Gen Ref Map Non Contained</em>'. * @generated */ GenRefMapNonContained createGenRefMapNonContained(); /** - * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the package supported by this factory. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the package supported by this factory. * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/model4Package.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/model4Package.java index bb390dcfb5..f206afeecf 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/model4Package.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/model4Package.java @@ -26,7 +26,6 @@ import org.eclipse.emf.ecore.EReference; * <li>and each data type</li> * </ul> * <!-- end-user-doc --> - * * @see org.eclipse.emf.cdo.tests.model4.model4Factory * @model kind="package" * @generated @@ -34,37 +33,36 @@ import org.eclipse.emf.ecore.EReference; public interface model4Package extends EPackage { /** - * The package name. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The package name. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ String eNAME = "model4"; /** - * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The package namespace URI. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model4/1.0.0"; /** - * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The package namespace name. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ String eNS_PREFIX = "model4"; /** - * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The singleton instance of the package. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ model4Package eINSTANCE = org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl.init(); /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedImpl - * <em>Ref Single Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedImpl <em>Ref Single Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefSingleContained() * @generated @@ -81,18 +79,17 @@ public interface model4Package extends EPackage int REF_SINGLE_CONTAINED__ELEMENT = 0; /** - * The number of structural features of the '<em>Ref Single Contained</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Ref Single Contained</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int REF_SINGLE_CONTAINED_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.SingleContainedElementImpl - * <em>Single Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.SingleContainedElementImpl <em>Single Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.SingleContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getSingleContainedElement() * @generated @@ -100,34 +97,33 @@ public interface model4Package extends EPackage int SINGLE_CONTAINED_ELEMENT = 1; /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int SINGLE_CONTAINED_ELEMENT__NAME = 0; /** - * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' container reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int SINGLE_CONTAINED_ELEMENT__PARENT = 1; /** - * The number of structural features of the '<em>Single Contained Element</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Single Contained Element</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int SINGLE_CONTAINED_ELEMENT_FEATURE_COUNT = 2; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedImpl - * <em>Ref Single Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedImpl <em>Ref Single Non Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefSingleNonContained() * @generated @@ -135,26 +131,25 @@ public interface model4Package extends EPackage int REF_SINGLE_NON_CONTAINED = 2; /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int REF_SINGLE_NON_CONTAINED__ELEMENT = 0; /** - * The number of structural features of the '<em>Ref Single Non Contained</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Ref Single Non Contained</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int REF_SINGLE_NON_CONTAINED_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.SingleNonContainedElementImpl - * <em>Single Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.SingleNonContainedElementImpl <em>Single Non Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.SingleNonContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getSingleNonContainedElement() * @generated @@ -162,34 +157,33 @@ public interface model4Package extends EPackage int SINGLE_NON_CONTAINED_ELEMENT = 3; /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int SINGLE_NON_CONTAINED_ELEMENT__NAME = 0; /** - * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int SINGLE_NON_CONTAINED_ELEMENT__PARENT = 1; /** - * The number of structural features of the '<em>Single Non Contained Element</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>Single Non Contained Element</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int SINGLE_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 2; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedImpl - * <em>Ref Multi Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedImpl <em>Ref Multi Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefMultiContained() * @generated @@ -197,27 +191,26 @@ public interface model4Package extends EPackage int REF_MULTI_CONTAINED = 4; /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int REF_MULTI_CONTAINED__ELEMENTS = 0; /** - * The number of structural features of the '<em>Ref Multi Contained</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Ref Multi Contained</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int REF_MULTI_CONTAINED_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.MultiContainedElementImpl - * <em>Multi Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.MultiContainedElementImpl <em>Multi Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.MultiContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getMultiContainedElement() * @generated @@ -225,34 +218,33 @@ public interface model4Package extends EPackage int MULTI_CONTAINED_ELEMENT = 5; /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int MULTI_CONTAINED_ELEMENT__NAME = 0; /** - * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' container reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int MULTI_CONTAINED_ELEMENT__PARENT = 1; /** - * The number of structural features of the '<em>Multi Contained Element</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Multi Contained Element</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int MULTI_CONTAINED_ELEMENT_FEATURE_COUNT = 2; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedImpl - * <em>Ref Multi Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedImpl <em>Ref Multi Non Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefMultiNonContained() * @generated @@ -260,26 +252,25 @@ public interface model4Package extends EPackage int REF_MULTI_NON_CONTAINED = 6; /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * 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__ELEMENTS = 0; /** - * The number of structural features of the '<em>Ref Multi Non Contained</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Ref Multi Non Contained</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int REF_MULTI_NON_CONTAINED_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.MultiNonContainedElementImpl - * <em>Multi Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.MultiNonContainedElementImpl <em>Multi Non Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.MultiNonContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getMultiNonContainedElement() * @generated @@ -287,34 +278,33 @@ public interface model4Package extends EPackage int MULTI_NON_CONTAINED_ELEMENT = 7; /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int MULTI_NON_CONTAINED_ELEMENT__NAME = 0; /** - * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int MULTI_NON_CONTAINED_ELEMENT__PARENT = 1; /** - * The number of structural features of the '<em>Multi Non Contained Element</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Multi Non Contained Element</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int MULTI_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 2; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedNPLImpl - * <em>Ref Single Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedNPLImpl <em>Ref Single Contained NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefSingleContainedNPL() * @generated @@ -331,18 +321,17 @@ public interface model4Package extends EPackage int REF_SINGLE_CONTAINED_NPL__ELEMENT = 0; /** - * The number of structural features of the '<em>Ref Single Contained NPL</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Ref Single Contained NPL</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int REF_SINGLE_CONTAINED_NPL_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedNPLImpl - * <em>Ref Single Non Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedNPLImpl <em>Ref Single Non Contained NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefSingleNonContainedNPL() * @generated @@ -350,26 +339,25 @@ public interface model4Package extends EPackage int REF_SINGLE_NON_CONTAINED_NPL = 9; /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int REF_SINGLE_NON_CONTAINED_NPL__ELEMENT = 0; /** - * The number of structural features of the '<em>Ref Single Non Contained NPL</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>Ref Single Non Contained NPL</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int REF_SINGLE_NON_CONTAINED_NPL_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedNPLImpl - * <em>Ref Multi Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedNPLImpl <em>Ref Multi Contained NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefMultiContainedNPL() * @generated @@ -377,27 +365,26 @@ public interface model4Package extends EPackage int REF_MULTI_CONTAINED_NPL = 10; /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int REF_MULTI_CONTAINED_NPL__ELEMENTS = 0; /** - * The number of structural features of the '<em>Ref Multi Contained NPL</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Ref Multi Contained NPL</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int REF_MULTI_CONTAINED_NPL_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedNPLImpl - * <em>Ref Multi Non Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedNPLImpl <em>Ref Multi Non Contained NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefMultiNonContainedNPL() * @generated @@ -405,26 +392,25 @@ public interface model4Package extends EPackage int REF_MULTI_NON_CONTAINED_NPL = 11; /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * 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_NPL__ELEMENTS = 0; /** - * The number of structural features of the '<em>Ref Multi Non Contained NPL</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Ref Multi Non Contained NPL</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int REF_MULTI_NON_CONTAINED_NPL_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ContainedElementNoOppositeImpl - * <em>Contained Element No Opposite</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ContainedElementNoOppositeImpl <em>Contained Element No Opposite</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ContainedElementNoOppositeImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getContainedElementNoOpposite() * @generated @@ -432,26 +418,25 @@ public interface model4Package extends EPackage int CONTAINED_ELEMENT_NO_OPPOSITE = 12; /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int CONTAINED_ELEMENT_NO_OPPOSITE__NAME = 0; /** - * The number of structural features of the '<em>Contained Element No Opposite</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>Contained Element No Opposite</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int CONTAINED_ELEMENT_NO_OPPOSITE_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleContainedImpl - * <em>Gen Ref Single Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleContainedImpl <em>Gen Ref Single Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getGenRefSingleContained() * @generated @@ -468,18 +453,17 @@ public interface model4Package extends EPackage int GEN_REF_SINGLE_CONTAINED__ELEMENT = 0; /** - * The number of structural features of the '<em>Gen Ref Single Contained</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Gen Ref Single Contained</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int GEN_REF_SINGLE_CONTAINED_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleNonContainedImpl - * <em>Gen Ref Single Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleNonContainedImpl <em>Gen Ref Single Non Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleNonContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getGenRefSingleNonContained() * @generated @@ -487,26 +471,25 @@ public interface model4Package extends EPackage int GEN_REF_SINGLE_NON_CONTAINED = 14; /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int GEN_REF_SINGLE_NON_CONTAINED__ELEMENT = 0; /** - * The number of structural features of the '<em>Gen Ref Single Non Contained</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>Gen Ref Single Non Contained</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int GEN_REF_SINGLE_NON_CONTAINED_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiContainedImpl - * <em>Gen Ref Multi Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiContainedImpl <em>Gen Ref Multi Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getGenRefMultiContained() * @generated @@ -514,27 +497,26 @@ public interface model4Package extends EPackage int GEN_REF_MULTI_CONTAINED = 15; /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int GEN_REF_MULTI_CONTAINED__ELEMENTS = 0; /** - * The number of structural features of the '<em>Gen Ref Multi Contained</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Gen Ref Multi Contained</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int GEN_REF_MULTI_CONTAINED_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNonContainedImpl - * <em>Gen Ref Multi Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNonContainedImpl <em>Gen Ref Multi Non Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNonContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getGenRefMultiNonContained() * @generated @@ -542,26 +524,25 @@ public interface model4Package extends EPackage int GEN_REF_MULTI_NON_CONTAINED = 16; /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Elements</b></em>' reference list. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int GEN_REF_MULTI_NON_CONTAINED__ELEMENTS = 0; /** - * The number of structural features of the '<em>Gen Ref Multi Non Contained</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Gen Ref Multi Non Contained</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int GEN_REF_MULTI_NON_CONTAINED_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerImpl - * <em>Impl Single Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerImpl <em>Impl Single Ref Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplSingleRefContainer() * @generated @@ -578,18 +559,17 @@ public interface model4Package extends EPackage int IMPL_SINGLE_REF_CONTAINER__ELEMENT = model4interfacesPackage.ISINGLE_REF_CONTAINER__ELEMENT; /** - * The number of structural features of the '<em>Impl Single Ref Container</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Impl Single Ref Container</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMPL_SINGLE_REF_CONTAINER_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_CONTAINER_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainedElementImpl - * <em>Impl Single Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainedElementImpl <em>Impl Single Ref Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplSingleRefContainedElement() * @generated @@ -597,34 +577,33 @@ public interface model4Package extends EPackage int IMPL_SINGLE_REF_CONTAINED_ELEMENT = 18; /** - * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' container reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMPL_SINGLE_REF_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT__PARENT; /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME = model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 0; /** - * The number of structural features of the '<em>Impl Single Ref Contained Element</em>' class. <!-- begin-user-doc + * The number of structural features of the '<em>Impl Single Ref Contained Element</em>' class. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @generated * @ordered */ int IMPL_SINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerImpl - * <em>Impl Single Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerImpl <em>Impl Single Ref Non Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplSingleRefNonContainer() * @generated @@ -632,26 +611,25 @@ public interface model4Package extends EPackage int IMPL_SINGLE_REF_NON_CONTAINER = 19; /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMPL_SINGLE_REF_NON_CONTAINER__ELEMENT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER__ELEMENT; /** - * The number of structural features of the '<em>Impl Single Ref Non Container</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>Impl Single Ref Non Container</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int IMPL_SINGLE_REF_NON_CONTAINER_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainedElementImpl - * <em>Impl Single Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainedElementImpl <em>Impl Single Ref Non Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplSingleRefNonContainedElement() * @generated @@ -659,16 +637,16 @@ public interface model4Package extends EPackage int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT = 20; /** - * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT; /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ @@ -684,9 +662,8 @@ public interface model4Package extends EPackage int IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerImpl - * <em>Impl Multi Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerImpl <em>Impl Multi Ref Non Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplMultiRefNonContainer() * @generated @@ -694,26 +671,25 @@ public interface model4Package extends EPackage int IMPL_MULTI_REF_NON_CONTAINER = 21; /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Elements</b></em>' reference list. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMPL_MULTI_REF_NON_CONTAINER__ELEMENTS = model4interfacesPackage.IMULTI_REF_NON_CONTAINER__ELEMENTS; /** - * The number of structural features of the '<em>Impl Multi Ref Non Container</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>Impl Multi Ref Non Container</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int IMPL_MULTI_REF_NON_CONTAINER_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_NON_CONTAINER_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainedElementImpl - * <em>Impl Multi Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainedElementImpl <em>Impl Multi Ref Non Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplMultiRefNonContainedElement() * @generated @@ -721,34 +697,33 @@ public interface model4Package extends EPackage int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT = 22; /** - * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT; /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME = model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 0; /** - * The number of structural features of the '<em>Impl Multi Ref Non Contained Element</em>' class. <!-- begin-user-doc + * The number of structural features of the '<em>Impl Multi Ref Non Contained Element</em>' class. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @generated * @ordered */ int IMPL_MULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT + 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerImpl - * <em>Impl Multi Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerImpl <em>Impl Multi Ref Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplMultiRefContainer() * @generated @@ -756,27 +731,26 @@ public interface model4Package extends EPackage int IMPL_MULTI_REF_CONTAINER = 23; /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMPL_MULTI_REF_CONTAINER__ELEMENTS = model4interfacesPackage.IMULTI_REF_CONTAINER__ELEMENTS; /** - * The number of structural features of the '<em>Impl Multi Ref Container</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Impl Multi Ref Container</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMPL_MULTI_REF_CONTAINER_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_CONTAINER_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainedElementImpl - * <em>Impl Multi Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainedElementImpl <em>Impl Multi Ref Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplMultiRefContainedElement() * @generated @@ -784,34 +758,33 @@ public interface model4Package extends EPackage int IMPL_MULTI_REF_CONTAINED_ELEMENT = 24; /** - * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Parent</b></em>' container reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMPL_MULTI_REF_CONTAINED_ELEMENT__PARENT = model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT__PARENT; /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME = model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 0; /** - * The number of structural features of the '<em>Impl Multi Ref Contained Element</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>Impl Multi Ref Contained Element</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int IMPL_MULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT + 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerNPLImpl - * <em>Impl Single Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerNPLImpl <em>Impl Single Ref Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplSingleRefContainerNPL() * @generated @@ -828,18 +801,17 @@ public interface model4Package extends EPackage int IMPL_SINGLE_REF_CONTAINER_NPL__ELEMENT = model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL__ELEMENT; /** - * The number of structural features of the '<em>Impl Single Ref Container NPL</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>Impl Single Ref Container NPL</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int IMPL_SINGLE_REF_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerNPLImpl - * <em>Impl Single Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerNPLImpl <em>Impl Single Ref Non Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplSingleRefNonContainerNPL() * @generated @@ -847,26 +819,25 @@ public interface model4Package extends EPackage int IMPL_SINGLE_REF_NON_CONTAINER_NPL = 26; /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Element</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMPL_SINGLE_REF_NON_CONTAINER_NPL__ELEMENT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT; /** - * The number of structural features of the '<em>Impl Single Ref Non Container NPL</em>' class. <!-- begin-user-doc + * The number of structural features of the '<em>Impl Single Ref Non Container NPL</em>' class. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @generated * @ordered */ int IMPL_SINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerNPLImpl - * <em>Impl Multi Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerNPLImpl <em>Impl Multi Ref Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplMultiRefContainerNPL() * @generated @@ -874,27 +845,26 @@ public interface model4Package extends EPackage int IMPL_MULTI_REF_CONTAINER_NPL = 27; /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- + * The feature id for the '<em><b>Elements</b></em>' containment reference list. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMPL_MULTI_REF_CONTAINER_NPL__ELEMENTS = model4interfacesPackage.IMULTI_REF_CONTAINER_NPL__ELEMENTS; /** - * The number of structural features of the '<em>Impl Multi Ref Container NPL</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>Impl Multi Ref Container NPL</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int IMPL_MULTI_REF_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_CONTAINER_NPL_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerNPLImpl - * <em>Impl Multi Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerNPLImpl <em>Impl Multi Ref Non Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplMultiRefNonContainerNPL() * @generated @@ -902,26 +872,25 @@ public interface model4Package extends EPackage int IMPL_MULTI_REF_NON_CONTAINER_NPL = 28; /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Elements</b></em>' reference list. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMPL_MULTI_REF_NON_CONTAINER_NPL__ELEMENTS = model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS; /** - * The number of structural features of the '<em>Impl Multi Ref Non Container NPL</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>Impl Multi Ref Non Container NPL</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int IMPL_MULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT = model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT + 0; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplContainedElementNPLImpl - * <em>Impl Contained Element NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplContainedElementNPLImpl <em>Impl Contained Element NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplContainedElementNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplContainedElementNPL() * @generated @@ -929,26 +898,25 @@ public interface model4Package extends EPackage int IMPL_CONTAINED_ELEMENT_NPL = 29; /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Name</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int IMPL_CONTAINED_ELEMENT_NPL__NAME = model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT + 0; /** - * The number of structural features of the '<em>Impl Contained Element NPL</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Impl Contained Element NPL</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int IMPL_CONTAINED_ELEMENT_NPL_FEATURE_COUNT = model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT + 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNUNonContainedImpl - * <em>Gen Ref Multi NU Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNUNonContainedImpl <em>Gen Ref Multi NU Non Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNUNonContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getGenRefMultiNUNonContained() * @generated @@ -956,26 +924,25 @@ public interface model4Package extends EPackage int GEN_REF_MULTI_NU_NON_CONTAINED = 30; /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Elements</b></em>' reference list. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS = 0; /** - * The number of structural features of the '<em>Gen Ref Multi NU Non Contained</em>' class. <!-- begin-user-doc --> + * The number of structural features of the '<em>Gen Ref Multi NU Non Contained</em>' class. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated * @ordered */ int GEN_REF_MULTI_NU_NON_CONTAINED_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMapNonContainedImpl - * <em>Gen Ref Map Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMapNonContainedImpl <em>Gen Ref Map Non Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.GenRefMapNonContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getGenRefMapNonContained() * @generated @@ -983,26 +950,25 @@ public interface model4Package extends EPackage int GEN_REF_MAP_NON_CONTAINED = 31; /** - * The feature id for the '<em><b>Elements</b></em>' map. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Elements</b></em>' map. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int GEN_REF_MAP_NON_CONTAINED__ELEMENTS = 0; /** - * The number of structural features of the '<em>Gen Ref Map Non Contained</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>Gen Ref Map Non Contained</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int GEN_REF_MAP_NON_CONTAINED_FEATURE_COUNT = 1; /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.StringToEObjectImpl - * <em>String To EObject</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4.impl.StringToEObjectImpl <em>String To EObject</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.StringToEObjectImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getStringToEObject() * @generated @@ -1010,34 +976,33 @@ public interface model4Package extends EPackage int STRING_TO_EOBJECT = 32; /** - * The feature id for the '<em><b>Key</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Key</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int STRING_TO_EOBJECT__KEY = 0; /** - * The feature id for the '<em><b>Value</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The feature id for the '<em><b>Value</b></em>' reference. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated * @ordered */ int STRING_TO_EOBJECT__VALUE = 1; /** - * The number of structural features of the '<em>String To EObject</em>' class. <!-- begin-user-doc --> <!-- + * The number of structural features of the '<em>String To EObject</em>' class. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated * @ordered */ int STRING_TO_EOBJECT_FEATURE_COUNT = 2; /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContained - * <em>Ref Single Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContained <em>Ref Single Contained</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Ref Single Contained</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefSingleContained * @generated @@ -1045,10 +1010,9 @@ public interface model4Package extends EPackage EClass getRefSingleContained(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.emf.cdo.tests.model4.RefSingleContained#getElement <em>Element</em>}'. <!-- begin-user-doc --> + * Returns the meta object for the containment reference '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContained#getElement <em>Element</em>}'. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @return the meta object for the containment reference '<em>Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefSingleContained#getElement() * @see #getRefSingleContained() @@ -1057,9 +1021,8 @@ public interface model4Package extends EPackage EReference getRefSingleContained_Element(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement - * <em>Single Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement <em>Single Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Single Contained Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.SingleContainedElement * @generated @@ -1067,9 +1030,8 @@ public interface model4Package extends EPackage EClass getSingleContainedElement(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement#getName - * <em>Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement#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.model4.SingleContainedElement#getName() * @see #getSingleContainedElement() @@ -1078,10 +1040,9 @@ public interface model4Package extends EPackage EAttribute getSingleContainedElement_Name(); /** - * Returns the meta object for the container reference ' - * {@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement#getParent <em>Parent</em>}'. <!-- begin-user-doc --> + * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement#getParent <em>Parent</em>}'. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @return the meta object for the container reference '<em>Parent</em>'. * @see org.eclipse.emf.cdo.tests.model4.SingleContainedElement#getParent() * @see #getSingleContainedElement() @@ -1090,9 +1051,8 @@ public interface model4Package extends EPackage EReference getSingleContainedElement_Parent(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContained - * <em>Ref Single Non Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContained <em>Ref Single Non Contained</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Ref Single Non Contained</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefSingleNonContained * @generated @@ -1100,10 +1060,9 @@ public interface model4Package extends EPackage EClass getRefSingleNonContained(); /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContained#getElement <em>Element</em>}'. <!-- begin-user-doc + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContained#getElement <em>Element</em>}'. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @return the meta object for the reference '<em>Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefSingleNonContained#getElement() * @see #getRefSingleNonContained() @@ -1112,9 +1071,8 @@ public interface model4Package extends EPackage EReference getRefSingleNonContained_Element(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement - * <em>Single Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement <em>Single Non Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Single Non Contained Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement * @generated @@ -1122,10 +1080,9 @@ public interface model4Package extends EPackage EClass getSingleNonContainedElement(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement#getName <em>Name</em>}'. <!-- begin-user-doc --> + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement#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.model4.SingleNonContainedElement#getName() * @see #getSingleNonContainedElement() @@ -1134,10 +1091,9 @@ public interface model4Package extends EPackage EAttribute getSingleNonContainedElement_Name(); /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement#getParent <em>Parent</em>}'. <!-- begin-user-doc + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement#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.model4.SingleNonContainedElement#getParent() * @see #getSingleNonContainedElement() @@ -1146,9 +1102,8 @@ public interface model4Package extends EPackage EReference getSingleNonContainedElement_Parent(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContained - * <em>Ref Multi Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContained <em>Ref Multi Contained</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Ref Multi Contained</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefMultiContained * @generated @@ -1156,10 +1111,9 @@ public interface model4Package extends EPackage EClass getRefMultiContained(); /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.emf.cdo.tests.model4.RefMultiContained#getElements <em>Elements</em>}'. <!-- begin-user-doc --> + * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContained#getElements <em>Elements</em>}'. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @return the meta object for the containment reference list '<em>Elements</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefMultiContained#getElements() * @see #getRefMultiContained() @@ -1168,9 +1122,8 @@ public interface model4Package extends EPackage EReference getRefMultiContained_Elements(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement - * <em>Multi Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement <em>Multi Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Multi Contained Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.MultiContainedElement * @generated @@ -1178,9 +1131,8 @@ public interface model4Package extends EPackage EClass getMultiContainedElement(); /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement#getName - * <em>Name</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement#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.model4.MultiContainedElement#getName() * @see #getMultiContainedElement() @@ -1189,10 +1141,9 @@ public interface model4Package extends EPackage EAttribute getMultiContainedElement_Name(); /** - * Returns the meta object for the container reference ' - * {@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement#getParent <em>Parent</em>}'. <!-- begin-user-doc --> + * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement#getParent <em>Parent</em>}'. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @return the meta object for the container reference '<em>Parent</em>'. * @see org.eclipse.emf.cdo.tests.model4.MultiContainedElement#getParent() * @see #getMultiContainedElement() @@ -1201,9 +1152,8 @@ public interface model4Package extends EPackage EReference getMultiContainedElement_Parent(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContained - * <em>Ref Multi Non Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContained <em>Ref Multi Non Contained</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Ref Multi Non Contained</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefMultiNonContained * @generated @@ -1211,10 +1161,9 @@ public interface model4Package extends EPackage EClass getRefMultiNonContained(); /** - * Returns the meta object for the reference list ' - * {@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContained#getElements <em>Elements</em>}'. <!-- begin-user-doc + * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContained#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.model4.RefMultiNonContained#getElements() * @see #getRefMultiNonContained() @@ -1223,9 +1172,8 @@ public interface model4Package extends EPackage EReference getRefMultiNonContained_Elements(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement - * <em>Multi Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement <em>Multi Non Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Multi Non Contained Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement * @generated @@ -1233,10 +1181,9 @@ public interface model4Package extends EPackage EClass getMultiNonContainedElement(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement#getName <em>Name</em>}'. <!-- begin-user-doc --> + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement#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.model4.MultiNonContainedElement#getName() * @see #getMultiNonContainedElement() @@ -1245,10 +1192,9 @@ public interface model4Package extends EPackage EAttribute getMultiNonContainedElement_Name(); /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement#getParent <em>Parent</em>}'. <!-- begin-user-doc + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement#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.model4.MultiNonContainedElement#getParent() * @see #getMultiNonContainedElement() @@ -1257,9 +1203,8 @@ public interface model4Package extends EPackage EReference getMultiNonContainedElement_Parent(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL - * <em>Ref Single Contained NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL <em>Ref Single Contained NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Ref Single Contained NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL * @generated @@ -1267,10 +1212,9 @@ public interface model4Package extends EPackage EClass getRefSingleContainedNPL(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL#getElement <em>Element</em>}'. <!-- begin-user-doc + * Returns the meta object for the containment reference '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL#getElement <em>Element</em>}'. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @return the meta object for the containment reference '<em>Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL#getElement() * @see #getRefSingleContainedNPL() @@ -1279,9 +1223,8 @@ public interface model4Package extends EPackage EReference getRefSingleContainedNPL_Element(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL - * <em>Ref Single Non Contained NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL <em>Ref Single Non Contained NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Ref Single Non Contained NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL * @generated @@ -1289,10 +1232,9 @@ public interface model4Package extends EPackage EClass getRefSingleNonContainedNPL(); /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL#getElement <em>Element</em>}'. <!-- begin-user-doc + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL#getElement <em>Element</em>}'. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @return the meta object for the reference '<em>Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL#getElement() * @see #getRefSingleNonContainedNPL() @@ -1301,9 +1243,8 @@ public interface model4Package extends EPackage EReference getRefSingleNonContainedNPL_Element(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL - * <em>Ref Multi Contained NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL <em>Ref Multi Contained NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Ref Multi Contained NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL * @generated @@ -1311,10 +1252,9 @@ public interface model4Package extends EPackage EClass getRefMultiContainedNPL(); /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL#getElements <em>Elements</em>}'. <!-- begin-user-doc + * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL#getElements <em>Elements</em>}'. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @return the meta object for the containment reference list '<em>Elements</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL#getElements() * @see #getRefMultiContainedNPL() @@ -1323,9 +1263,8 @@ public interface model4Package extends EPackage EReference getRefMultiContainedNPL_Elements(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL - * <em>Ref Multi Non Contained NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL <em>Ref Multi Non Contained NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Ref Multi Non Contained NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL * @generated @@ -1345,9 +1284,8 @@ public interface model4Package extends EPackage EReference getRefMultiNonContainedNPL_Elements(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite - * <em>Contained Element No Opposite</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite <em>Contained Element No Opposite</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Contained Element No Opposite</em>'. * @see org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite * @generated @@ -1355,10 +1293,9 @@ public interface model4Package extends EPackage EClass getContainedElementNoOpposite(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite#getName <em>Name</em>}'. <!-- begin-user-doc --> + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite#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.model4.ContainedElementNoOpposite#getName() * @see #getContainedElementNoOpposite() @@ -1367,9 +1304,8 @@ public interface model4Package extends EPackage EAttribute getContainedElementNoOpposite_Name(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleContained - * <em>Gen Ref Single Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleContained <em>Gen Ref Single Contained</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Gen Ref Single Contained</em>'. * @see org.eclipse.emf.cdo.tests.model4.GenRefSingleContained * @generated @@ -1377,10 +1313,9 @@ public interface model4Package extends EPackage EClass getGenRefSingleContained(); /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.emf.cdo.tests.model4.GenRefSingleContained#getElement <em>Element</em>}'. <!-- begin-user-doc + * Returns the meta object for the containment reference '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleContained#getElement <em>Element</em>}'. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @return the meta object for the containment reference '<em>Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.GenRefSingleContained#getElement() * @see #getGenRefSingleContained() @@ -1389,9 +1324,8 @@ public interface model4Package extends EPackage EReference getGenRefSingleContained_Element(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained - * <em>Gen Ref Single Non Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained <em>Gen Ref Single Non Contained</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Gen Ref Single Non Contained</em>'. * @see org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained * @generated @@ -1399,10 +1333,9 @@ public interface model4Package extends EPackage EClass getGenRefSingleNonContained(); /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained#getElement <em>Element</em>}'. <!-- begin-user-doc + * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained#getElement <em>Element</em>}'. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @return the meta object for the reference '<em>Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained#getElement() * @see #getGenRefSingleNonContained() @@ -1411,9 +1344,8 @@ public interface model4Package extends EPackage EReference getGenRefSingleNonContained_Element(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiContained - * <em>Gen Ref Multi Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiContained <em>Gen Ref Multi Contained</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Gen Ref Multi Contained</em>'. * @see org.eclipse.emf.cdo.tests.model4.GenRefMultiContained * @generated @@ -1421,10 +1353,9 @@ public interface model4Package extends EPackage EClass getGenRefMultiContained(); /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.emf.cdo.tests.model4.GenRefMultiContained#getElements <em>Elements</em>}'. <!-- begin-user-doc + * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiContained#getElements <em>Elements</em>}'. + * <!-- begin-user-doc * --> <!-- end-user-doc --> - * * @return the meta object for the containment reference list '<em>Elements</em>'. * @see org.eclipse.emf.cdo.tests.model4.GenRefMultiContained#getElements() * @see #getGenRefMultiContained() @@ -1433,9 +1364,8 @@ public interface model4Package extends EPackage EReference getGenRefMultiContained_Elements(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained - * <em>Gen Ref Multi Non Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained <em>Gen Ref Multi Non Contained</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Gen Ref Multi Non Contained</em>'. * @see org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained * @generated @@ -1455,9 +1385,8 @@ public interface model4Package extends EPackage EReference getGenRefMultiNonContained_Elements(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer - * <em>Impl Single Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer <em>Impl Single Ref Container</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Single Ref Container</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer * @generated @@ -1465,9 +1394,8 @@ public interface model4Package extends EPackage EClass getImplSingleRefContainer(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement - * <em>Impl Single Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement <em>Impl Single Ref Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Single Ref Contained Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement * @generated @@ -1475,10 +1403,9 @@ public interface model4Package extends EPackage EClass getImplSingleRefContainedElement(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement#getName <em>Name</em>}'. <!-- begin-user-doc + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement#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.model4.ImplSingleRefContainedElement#getName() * @see #getImplSingleRefContainedElement() @@ -1487,9 +1414,8 @@ public interface model4Package extends EPackage EAttribute getImplSingleRefContainedElement_Name(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer - * <em>Impl Single Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer <em>Impl Single Ref Non Container</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Single Ref Non Container</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer * @generated @@ -1497,9 +1423,8 @@ public interface model4Package extends EPackage EClass getImplSingleRefNonContainer(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement - * <em>Impl Single Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement <em>Impl Single Ref Non Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Single Ref Non Contained Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement * @generated @@ -1519,9 +1444,8 @@ public interface model4Package extends EPackage EAttribute getImplSingleRefNonContainedElement_Name(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer - * <em>Impl Multi Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer <em>Impl Multi Ref Non Container</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Multi Ref Non Container</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer * @generated @@ -1529,9 +1453,8 @@ public interface model4Package extends EPackage EClass getImplMultiRefNonContainer(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement - * <em>Impl Multi Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement <em>Impl Multi Ref Non Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Multi Ref Non Contained Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement * @generated @@ -1551,9 +1474,8 @@ public interface model4Package extends EPackage EAttribute getImplMultiRefNonContainedElement_Name(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer - * <em>Impl Multi Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer <em>Impl Multi Ref Container</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Multi Ref Container</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer * @generated @@ -1561,9 +1483,8 @@ public interface model4Package extends EPackage EClass getImplMultiRefContainer(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement - * <em>Impl Multi Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement <em>Impl Multi Ref Contained Element</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Multi Ref Contained Element</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement * @generated @@ -1571,10 +1492,9 @@ public interface model4Package extends EPackage EClass getImplMultiRefContainedElement(); /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement#getName <em>Name</em>}'. <!-- begin-user-doc + * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement#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.model4.ImplMultiRefContainedElement#getName() * @see #getImplMultiRefContainedElement() @@ -1583,9 +1503,8 @@ public interface model4Package extends EPackage EAttribute getImplMultiRefContainedElement_Name(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL - * <em>Impl Single Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL <em>Impl Single Ref Container NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Single Ref Container NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL * @generated @@ -1593,9 +1512,8 @@ public interface model4Package extends EPackage EClass getImplSingleRefContainerNPL(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL - * <em>Impl Single Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL <em>Impl Single Ref Non Container NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Single Ref Non Container NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL * @generated @@ -1603,9 +1521,8 @@ public interface model4Package extends EPackage EClass getImplSingleRefNonContainerNPL(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL - * <em>Impl Multi Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL <em>Impl Multi Ref Container NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Multi Ref Container NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL * @generated @@ -1613,9 +1530,8 @@ public interface model4Package extends EPackage EClass getImplMultiRefContainerNPL(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL - * <em>Impl Multi Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL <em>Impl Multi Ref Non Container NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Multi Ref Non Container NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL * @generated @@ -1623,9 +1539,8 @@ public interface model4Package extends EPackage EClass getImplMultiRefNonContainerNPL(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL - * <em>Impl Contained Element NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL <em>Impl Contained Element NPL</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Impl Contained Element NPL</em>'. * @see org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL * @generated @@ -1633,9 +1548,8 @@ public interface model4Package extends EPackage EClass getImplContainedElementNPL(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained - * <em>Gen Ref Multi NU Non Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained <em>Gen Ref Multi NU Non Contained</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Gen Ref Multi NU Non Contained</em>'. * @see org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained * @generated @@ -1655,9 +1569,8 @@ public interface model4Package extends EPackage EReference getGenRefMultiNUNonContained_Elements(); /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained - * <em>Gen Ref Map Non Contained</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained <em>Gen Ref Map Non Contained</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for class '<em>Gen Ref Map Non Contained</em>'. * @see org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained * @generated @@ -1665,9 +1578,8 @@ public interface model4Package extends EPackage EClass getGenRefMapNonContained(); /** - * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained#getElements - * <em>Elements</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained#getElements <em>Elements</em>}'. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the meta object for the map '<em>Elements</em>'. * @see org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained#getElements() * @see #getGenRefMapNonContained() @@ -1676,21 +1588,21 @@ public interface model4Package extends EPackage EReference getGenRefMapNonContained_Elements(); /** - * Returns the meta object for class '{@link java.util.Map.Entry <em>String To EObject</em>}'. <!-- begin-user-doc --> + * Returns the meta object for class '{@link java.util.Map.Entry <em>String To EObject</em>}'. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @return the meta object for class '<em>String To EObject</em>'. * @see java.util.Map.Entry - * @model keyDataType="org.eclipse.emf.ecore.EString" valueType="org.eclipse.emf.ecore.EObject" - * valueResolveProxies="false" + * @model keyDataType="org.eclipse.emf.ecore.EString" + * valueType="org.eclipse.emf.ecore.EObject" valueResolveProxies="false" * @generated */ EClass getStringToEObject(); /** - * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. <!-- begin-user-doc --> <!-- + * Returns the meta object for the attribute '{@link java.util.Map.Entry <em>Key</em>}'. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @return the meta object for the attribute '<em>Key</em>'. * @see java.util.Map.Entry * @see #getStringToEObject() @@ -1699,9 +1611,9 @@ public interface model4Package extends EPackage EAttribute getStringToEObject_Key(); /** - * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Value</em>}'. <!-- begin-user-doc --> + * Returns the meta object for the reference '{@link java.util.Map.Entry <em>Value</em>}'. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @return the meta object for the reference '<em>Value</em>'. * @see java.util.Map.Entry * @see #getStringToEObject() @@ -1710,8 +1622,8 @@ public interface model4Package extends EPackage EReference getStringToEObject_Value(); /** - * Returns the factory that creates the instances of the model. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Returns the factory that creates the instances of the model. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @return the factory that creates the instances of the model. * @generated */ @@ -1726,15 +1638,13 @@ public interface model4Package extends EPackage * <li>and each data type</li> * </ul> * <!-- end-user-doc --> - * * @generated */ interface Literals { /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedImpl - * <em>Ref Single Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedImpl <em>Ref Single Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefSingleContained() * @generated @@ -1742,17 +1652,16 @@ public interface model4Package extends EPackage EClass REF_SINGLE_CONTAINED = eINSTANCE.getRefSingleContained(); /** - * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. <!-- begin-user-doc --> + * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ EReference REF_SINGLE_CONTAINED__ELEMENT = eINSTANCE.getRefSingleContained_Element(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.SingleContainedElementImpl - * <em>Single Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.SingleContainedElementImpl <em>Single Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.SingleContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getSingleContainedElement() * @generated @@ -1760,25 +1669,24 @@ public interface model4Package extends EPackage EClass SINGLE_CONTAINED_ELEMENT = eINSTANCE.getSingleContainedElement(); /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EAttribute SINGLE_CONTAINED_ELEMENT__NAME = eINSTANCE.getSingleContainedElement_Name(); /** - * The meta object literal for the '<em><b>Parent</b></em>' container reference feature. <!-- begin-user-doc --> + * The meta object literal for the '<em><b>Parent</b></em>' container reference feature. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ EReference SINGLE_CONTAINED_ELEMENT__PARENT = eINSTANCE.getSingleContainedElement_Parent(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedImpl - * <em>Ref Single Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedImpl <em>Ref Single Non Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefSingleNonContained() * @generated @@ -1786,17 +1694,16 @@ public interface model4Package extends EPackage EClass REF_SINGLE_NON_CONTAINED = eINSTANCE.getRefSingleNonContained(); /** - * The meta object literal for the '<em><b>Element</b></em>' reference feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Element</b></em>' reference feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EReference REF_SINGLE_NON_CONTAINED__ELEMENT = eINSTANCE.getRefSingleNonContained_Element(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.SingleNonContainedElementImpl - * <em>Single Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.SingleNonContainedElementImpl <em>Single Non Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.SingleNonContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getSingleNonContainedElement() * @generated @@ -1804,25 +1711,24 @@ public interface model4Package extends EPackage EClass SINGLE_NON_CONTAINED_ELEMENT = eINSTANCE.getSingleNonContainedElement(); /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EAttribute SINGLE_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getSingleNonContainedElement_Name(); /** - * The meta object literal for the '<em><b>Parent</b></em>' reference feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Parent</b></em>' reference feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EReference SINGLE_NON_CONTAINED_ELEMENT__PARENT = eINSTANCE.getSingleNonContainedElement_Parent(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedImpl - * <em>Ref Multi Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedImpl <em>Ref Multi Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefMultiContained() * @generated @@ -1838,9 +1744,8 @@ public interface model4Package extends EPackage EReference REF_MULTI_CONTAINED__ELEMENTS = eINSTANCE.getRefMultiContained_Elements(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.MultiContainedElementImpl - * <em>Multi Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.MultiContainedElementImpl <em>Multi Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.MultiContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getMultiContainedElement() * @generated @@ -1848,25 +1753,24 @@ public interface model4Package extends EPackage EClass MULTI_CONTAINED_ELEMENT = eINSTANCE.getMultiContainedElement(); /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EAttribute MULTI_CONTAINED_ELEMENT__NAME = eINSTANCE.getMultiContainedElement_Name(); /** - * The meta object literal for the '<em><b>Parent</b></em>' container reference feature. <!-- begin-user-doc --> + * The meta object literal for the '<em><b>Parent</b></em>' container reference feature. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ EReference MULTI_CONTAINED_ELEMENT__PARENT = eINSTANCE.getMultiContainedElement_Parent(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedImpl - * <em>Ref Multi Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedImpl <em>Ref Multi Non Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefMultiNonContained() * @generated @@ -1882,9 +1786,8 @@ public interface model4Package extends EPackage EReference REF_MULTI_NON_CONTAINED__ELEMENTS = eINSTANCE.getRefMultiNonContained_Elements(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.MultiNonContainedElementImpl - * <em>Multi Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.MultiNonContainedElementImpl <em>Multi Non Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.MultiNonContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getMultiNonContainedElement() * @generated @@ -1892,25 +1795,24 @@ public interface model4Package extends EPackage EClass MULTI_NON_CONTAINED_ELEMENT = eINSTANCE.getMultiNonContainedElement(); /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EAttribute MULTI_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getMultiNonContainedElement_Name(); /** - * The meta object literal for the '<em><b>Parent</b></em>' reference feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Parent</b></em>' reference feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EReference MULTI_NON_CONTAINED_ELEMENT__PARENT = eINSTANCE.getMultiNonContainedElement_Parent(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedNPLImpl - * <em>Ref Single Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedNPLImpl <em>Ref Single Contained NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefSingleContainedNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefSingleContainedNPL() * @generated @@ -1918,17 +1820,16 @@ public interface model4Package extends EPackage EClass REF_SINGLE_CONTAINED_NPL = eINSTANCE.getRefSingleContainedNPL(); /** - * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. <!-- begin-user-doc --> + * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ EReference REF_SINGLE_CONTAINED_NPL__ELEMENT = eINSTANCE.getRefSingleContainedNPL_Element(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedNPLImpl - * <em>Ref Single Non Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedNPLImpl <em>Ref Single Non Contained NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefSingleNonContainedNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefSingleNonContainedNPL() * @generated @@ -1936,17 +1837,16 @@ public interface model4Package extends EPackage EClass REF_SINGLE_NON_CONTAINED_NPL = eINSTANCE.getRefSingleNonContainedNPL(); /** - * The meta object literal for the '<em><b>Element</b></em>' reference feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Element</b></em>' reference feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EReference REF_SINGLE_NON_CONTAINED_NPL__ELEMENT = eINSTANCE.getRefSingleNonContainedNPL_Element(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedNPLImpl - * <em>Ref Multi Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedNPLImpl <em>Ref Multi Contained NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefMultiContainedNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefMultiContainedNPL() * @generated @@ -1962,9 +1862,8 @@ public interface model4Package extends EPackage EReference REF_MULTI_CONTAINED_NPL__ELEMENTS = eINSTANCE.getRefMultiContainedNPL_Elements(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedNPLImpl - * <em>Ref Multi Non Contained NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedNPLImpl <em>Ref Multi Non Contained NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.RefMultiNonContainedNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getRefMultiNonContainedNPL() * @generated @@ -1972,17 +1871,16 @@ public interface model4Package extends EPackage EClass REF_MULTI_NON_CONTAINED_NPL = eINSTANCE.getRefMultiNonContainedNPL(); /** - * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. <!-- begin-user-doc --> <!-- + * 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_NPL__ELEMENTS = eINSTANCE.getRefMultiNonContainedNPL_Elements(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ContainedElementNoOppositeImpl - * <em>Contained Element No Opposite</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ContainedElementNoOppositeImpl <em>Contained Element No Opposite</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ContainedElementNoOppositeImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getContainedElementNoOpposite() * @generated @@ -1990,17 +1888,16 @@ public interface model4Package extends EPackage EClass CONTAINED_ELEMENT_NO_OPPOSITE = eINSTANCE.getContainedElementNoOpposite(); /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EAttribute CONTAINED_ELEMENT_NO_OPPOSITE__NAME = eINSTANCE.getContainedElementNoOpposite_Name(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleContainedImpl - * <em>Gen Ref Single Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleContainedImpl <em>Gen Ref Single Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getGenRefSingleContained() * @generated @@ -2008,17 +1905,16 @@ public interface model4Package extends EPackage EClass GEN_REF_SINGLE_CONTAINED = eINSTANCE.getGenRefSingleContained(); /** - * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. <!-- begin-user-doc --> + * The meta object literal for the '<em><b>Element</b></em>' containment reference feature. + * <!-- begin-user-doc --> * <!-- end-user-doc --> - * * @generated */ EReference GEN_REF_SINGLE_CONTAINED__ELEMENT = eINSTANCE.getGenRefSingleContained_Element(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleNonContainedImpl - * <em>Gen Ref Single Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleNonContainedImpl <em>Gen Ref Single Non Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.GenRefSingleNonContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getGenRefSingleNonContained() * @generated @@ -2026,17 +1922,16 @@ public interface model4Package extends EPackage EClass GEN_REF_SINGLE_NON_CONTAINED = eINSTANCE.getGenRefSingleNonContained(); /** - * The meta object literal for the '<em><b>Element</b></em>' reference feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Element</b></em>' reference feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EReference GEN_REF_SINGLE_NON_CONTAINED__ELEMENT = eINSTANCE.getGenRefSingleNonContained_Element(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiContainedImpl - * <em>Gen Ref Multi Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiContainedImpl <em>Gen Ref Multi Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getGenRefMultiContained() * @generated @@ -2052,9 +1947,8 @@ public interface model4Package extends EPackage EReference GEN_REF_MULTI_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMultiContained_Elements(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNonContainedImpl - * <em>Gen Ref Multi Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNonContainedImpl <em>Gen Ref Multi Non Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNonContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getGenRefMultiNonContained() * @generated @@ -2062,17 +1956,16 @@ public interface model4Package extends EPackage EClass GEN_REF_MULTI_NON_CONTAINED = eINSTANCE.getGenRefMultiNonContained(); /** - * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EReference GEN_REF_MULTI_NON_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMultiNonContained_Elements(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerImpl - * <em>Impl Single Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerImpl <em>Impl Single Ref Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplSingleRefContainer() * @generated @@ -2080,9 +1973,8 @@ public interface model4Package extends EPackage EClass IMPL_SINGLE_REF_CONTAINER = eINSTANCE.getImplSingleRefContainer(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainedElementImpl - * <em>Impl Single Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainedElementImpl <em>Impl Single Ref Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplSingleRefContainedElement() * @generated @@ -2090,17 +1982,16 @@ public interface model4Package extends EPackage EClass IMPL_SINGLE_REF_CONTAINED_ELEMENT = eINSTANCE.getImplSingleRefContainedElement(); /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EAttribute IMPL_SINGLE_REF_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplSingleRefContainedElement_Name(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerImpl - * <em>Impl Single Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerImpl <em>Impl Single Ref Non Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplSingleRefNonContainer() * @generated @@ -2108,10 +1999,8 @@ public interface model4Package extends EPackage EClass IMPL_SINGLE_REF_NON_CONTAINER = eINSTANCE.getImplSingleRefNonContainer(); /** - * The meta object literal for the ' - * {@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainedElementImpl - * <em>Impl Single Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainedElementImpl <em>Impl Single Ref Non Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplSingleRefNonContainedElement() * @generated @@ -2119,17 +2008,16 @@ public interface model4Package extends EPackage EClass IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT = eINSTANCE.getImplSingleRefNonContainedElement(); /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EAttribute IMPL_SINGLE_REF_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplSingleRefNonContainedElement_Name(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerImpl - * <em>Impl Multi Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerImpl <em>Impl Multi Ref Non Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplMultiRefNonContainer() * @generated @@ -2137,10 +2025,8 @@ public interface model4Package extends EPackage EClass IMPL_MULTI_REF_NON_CONTAINER = eINSTANCE.getImplMultiRefNonContainer(); /** - * The meta object literal for the ' - * {@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainedElementImpl - * <em>Impl Multi Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainedElementImpl <em>Impl Multi Ref Non Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplMultiRefNonContainedElement() * @generated @@ -2148,17 +2034,16 @@ public interface model4Package extends EPackage EClass IMPL_MULTI_REF_NON_CONTAINED_ELEMENT = eINSTANCE.getImplMultiRefNonContainedElement(); /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EAttribute IMPL_MULTI_REF_NON_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplMultiRefNonContainedElement_Name(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerImpl - * <em>Impl Multi Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerImpl <em>Impl Multi Ref Container</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplMultiRefContainer() * @generated @@ -2166,9 +2051,8 @@ public interface model4Package extends EPackage EClass IMPL_MULTI_REF_CONTAINER = eINSTANCE.getImplMultiRefContainer(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainedElementImpl - * <em>Impl Multi Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainedElementImpl <em>Impl Multi Ref Contained Element</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainedElementImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplMultiRefContainedElement() * @generated @@ -2176,17 +2060,16 @@ public interface model4Package extends EPackage EClass IMPL_MULTI_REF_CONTAINED_ELEMENT = eINSTANCE.getImplMultiRefContainedElement(); /** - * The meta object literal for the '<em><b>Name</b></em>' attribute feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Name</b></em>' attribute feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EAttribute IMPL_MULTI_REF_CONTAINED_ELEMENT__NAME = eINSTANCE.getImplMultiRefContainedElement_Name(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerNPLImpl - * <em>Impl Single Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerNPLImpl <em>Impl Single Ref Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefContainerNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplSingleRefContainerNPL() * @generated @@ -2194,9 +2077,8 @@ public interface model4Package extends EPackage EClass IMPL_SINGLE_REF_CONTAINER_NPL = eINSTANCE.getImplSingleRefContainerNPL(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerNPLImpl - * <em>Impl Single Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerNPLImpl <em>Impl Single Ref Non Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplSingleRefNonContainerNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplSingleRefNonContainerNPL() * @generated @@ -2204,9 +2086,8 @@ public interface model4Package extends EPackage EClass IMPL_SINGLE_REF_NON_CONTAINER_NPL = eINSTANCE.getImplSingleRefNonContainerNPL(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerNPLImpl - * <em>Impl Multi Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerNPLImpl <em>Impl Multi Ref Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefContainerNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplMultiRefContainerNPL() * @generated @@ -2214,9 +2095,8 @@ public interface model4Package extends EPackage EClass IMPL_MULTI_REF_CONTAINER_NPL = eINSTANCE.getImplMultiRefContainerNPL(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerNPLImpl - * <em>Impl Multi Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerNPLImpl <em>Impl Multi Ref Non Container NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplMultiRefNonContainerNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplMultiRefNonContainerNPL() * @generated @@ -2224,9 +2104,8 @@ public interface model4Package extends EPackage EClass IMPL_MULTI_REF_NON_CONTAINER_NPL = eINSTANCE.getImplMultiRefNonContainerNPL(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplContainedElementNPLImpl - * <em>Impl Contained Element NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.ImplContainedElementNPLImpl <em>Impl Contained Element NPL</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.ImplContainedElementNPLImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getImplContainedElementNPL() * @generated @@ -2234,9 +2113,8 @@ public interface model4Package extends EPackage EClass IMPL_CONTAINED_ELEMENT_NPL = eINSTANCE.getImplContainedElementNPL(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNUNonContainedImpl - * <em>Gen Ref Multi NU Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNUNonContainedImpl <em>Gen Ref Multi NU Non Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.GenRefMultiNUNonContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getGenRefMultiNUNonContained() * @generated @@ -2244,17 +2122,16 @@ public interface model4Package extends EPackage EClass GEN_REF_MULTI_NU_NON_CONTAINED = eINSTANCE.getGenRefMultiNUNonContained(); /** - * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Elements</b></em>' reference list feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EReference GEN_REF_MULTI_NU_NON_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMultiNUNonContained_Elements(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMapNonContainedImpl - * <em>Gen Ref Map Non Contained</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.GenRefMapNonContainedImpl <em>Gen Ref Map Non Contained</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.GenRefMapNonContainedImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getGenRefMapNonContained() * @generated @@ -2270,9 +2147,8 @@ public interface model4Package extends EPackage EReference GEN_REF_MAP_NON_CONTAINED__ELEMENTS = eINSTANCE.getGenRefMapNonContained_Elements(); /** - * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.StringToEObjectImpl - * <em>String To EObject</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The meta object literal for the '{@link org.eclipse.emf.cdo.tests.model4.impl.StringToEObjectImpl <em>String To EObject</em>}' class. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @see org.eclipse.emf.cdo.tests.model4.impl.StringToEObjectImpl * @see org.eclipse.emf.cdo.tests.model4.impl.model4PackageImpl#getStringToEObject() * @generated @@ -2280,17 +2156,17 @@ public interface model4Package extends EPackage EClass STRING_TO_EOBJECT = eINSTANCE.getStringToEObject(); /** - * The meta object literal for the '<em><b>Key</b></em>' attribute feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Key</b></em>' attribute feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EAttribute STRING_TO_EOBJECT__KEY = eINSTANCE.getStringToEObject_Key(); /** - * The meta object literal for the '<em><b>Value</b></em>' reference feature. <!-- begin-user-doc --> <!-- + * The meta object literal for the '<em><b>Value</b></em>' reference feature. + * <!-- begin-user-doc --> <!-- * end-user-doc --> - * * @generated */ EReference STRING_TO_EOBJECT__VALUE = eINSTANCE.getStringToEObject_Value(); diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4AdapterFactory.java index 597e31845f..be4e3002c7 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4AdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4AdapterFactory.java @@ -68,22 +68,21 @@ import java.util.Map; /** * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter <code>createXXX</code> * method for each class of the model. <!-- end-user-doc --> - * * @see org.eclipse.emf.cdo.tests.model4.model4Package * @generated */ public class model4AdapterFactory extends AdapterFactoryImpl { /** - * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The cached model package. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ protected static model4Package modelPackage; /** - * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Creates an instance of the adapter factory. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public model4AdapterFactory() @@ -95,10 +94,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Returns whether this factory is applicable for the type of the object. <!-- begin-user-doc --> This implementation + * Returns whether this factory is applicable for the type of the object. + * <!-- begin-user-doc --> This implementation * returns <code>true</code> if the object is either the model's package or is an instance object of the model. <!-- * end-user-doc --> - * * @return whether this factory is applicable for the type of the object. * @generated */ @@ -117,8 +116,8 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * The switch that delegates to the <code>createXXX</code> methods. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The switch that delegates to the <code>createXXX</code> methods. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ protected model4Switch<Adapter> modelSwitch = new model4Switch<Adapter>() @@ -413,10 +412,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl }; /** - * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @param target - * the object to adapt. + * Creates an adapter for the <code>target</code>. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * @param target the object to adapt. * @return the adapter for the <code>target</code>. * @generated */ @@ -427,11 +425,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContained - * <em>Ref Single Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContained <em>Ref Single Contained</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.model4.RefSingleContained * @generated @@ -442,11 +439,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement - * <em>Single Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.SingleContainedElement <em>Single Contained 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.model4.SingleContainedElement * @generated @@ -457,11 +453,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContained - * <em>Ref Single Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContained <em>Ref Single Non Contained</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.model4.RefSingleNonContained * @generated @@ -472,11 +467,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement - * <em>Single Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.SingleNonContainedElement <em>Single Non Contained 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.model4.SingleNonContainedElement * @generated @@ -487,11 +481,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContained - * <em>Ref Multi Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContained <em>Ref Multi Contained</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.model4.RefMultiContained * @generated @@ -502,11 +495,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement - * <em>Multi Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.MultiContainedElement <em>Multi Contained 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.model4.MultiContainedElement * @generated @@ -517,11 +509,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContained - * <em>Ref Multi Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContained <em>Ref Multi Non Contained</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.model4.RefMultiNonContained * @generated @@ -532,11 +523,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement - * <em>Multi Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.MultiNonContainedElement <em>Multi Non Contained 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.model4.MultiNonContainedElement * @generated @@ -547,11 +537,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL - * <em>Ref Single Contained NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.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. <!-- * end-user-doc --> - * * @return the new adapter. * @see org.eclipse.emf.cdo.tests.model4.RefSingleContainedNPL * @generated @@ -562,11 +551,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL - * <em>Ref Single Non Contained NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL <em>Ref Single Non 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. <!-- * end-user-doc --> - * * @return the new adapter. * @see org.eclipse.emf.cdo.tests.model4.RefSingleNonContainedNPL * @generated @@ -577,11 +565,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL - * <em>Ref Multi Contained NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL <em>Ref Multi 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. <!-- * end-user-doc --> - * * @return the new adapter. * @see org.eclipse.emf.cdo.tests.model4.RefMultiContainedNPL * @generated @@ -592,11 +579,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL - * <em>Ref Multi Non Contained NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL <em>Ref Multi Non 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. <!-- * end-user-doc --> - * * @return the new adapter. * @see org.eclipse.emf.cdo.tests.model4.RefMultiNonContainedNPL * @generated @@ -607,11 +593,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite - * <em>Contained Element No Opposite</em>}'. <!-- begin-user-doc --> This default implementation returns null so that + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ContainedElementNoOpposite <em>Contained Element No Opposite</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.model4.ContainedElementNoOpposite * @generated @@ -622,11 +607,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleContained - * <em>Gen Ref Single Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleContained <em>Gen Ref Single Contained</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.model4.GenRefSingleContained * @generated @@ -637,11 +621,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained - * <em>Gen Ref Single Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefSingleNonContained <em>Gen Ref Single Non Contained</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.model4.GenRefSingleNonContained * @generated @@ -652,11 +635,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiContained - * <em>Gen Ref Multi Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiContained <em>Gen Ref Multi Contained</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.model4.GenRefMultiContained * @generated @@ -667,11 +649,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained - * <em>Gen Ref Multi Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNonContained <em>Gen Ref Multi Non Contained</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.model4.GenRefMultiNonContained * @generated @@ -682,11 +663,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer - * <em>Impl Single Ref Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainer <em>Impl Single Ref Container</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.model4.ImplSingleRefContainer * @generated @@ -697,11 +677,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement <em>Impl Single Ref Contained Element</em>}'. + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainedElement <em>Impl Single Ref Contained 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.model4.ImplSingleRefContainedElement * @generated @@ -712,11 +690,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer - * <em>Impl Single Ref Non Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainer <em>Impl Single Ref Non Container</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.model4.ImplSingleRefNonContainer * @generated @@ -727,12 +704,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement - * <em>Impl Single Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainedElement <em>Impl Single Ref Non Contained 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.model4.ImplSingleRefNonContainedElement * @generated @@ -743,11 +718,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer - * <em>Impl Multi Ref Non Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainer <em>Impl Multi Ref Non Container</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.model4.ImplMultiRefNonContainer * @generated @@ -758,12 +732,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement - * <em>Impl Multi Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainedElement <em>Impl Multi Ref Non Contained 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.model4.ImplMultiRefNonContainedElement * @generated @@ -774,11 +746,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer - * <em>Impl Multi Ref Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainer <em>Impl Multi Ref Container</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.model4.ImplMultiRefContainer * @generated @@ -789,11 +760,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement - * <em>Impl Multi Ref Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainedElement <em>Impl Multi Ref Contained 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.model4.ImplMultiRefContainedElement * @generated @@ -804,11 +774,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL - * <em>Impl Single Ref Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL <em>Impl Single Ref Container 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. <!-- * end-user-doc --> - * * @return the new adapter. * @see org.eclipse.emf.cdo.tests.model4.ImplSingleRefContainerNPL * @generated @@ -819,11 +788,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL - * <em>Impl Single Ref Non Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL <em>Impl Single Ref Non Container 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. * <!-- end-user-doc --> - * * @return the new adapter. * @see org.eclipse.emf.cdo.tests.model4.ImplSingleRefNonContainerNPL * @generated @@ -834,11 +802,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL - * <em>Impl Multi Ref Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL <em>Impl Multi Ref Container 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. <!-- * end-user-doc --> - * * @return the new adapter. * @see org.eclipse.emf.cdo.tests.model4.ImplMultiRefContainerNPL * @generated @@ -849,11 +816,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL - * <em>Impl Multi Ref Non Container NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL <em>Impl Multi Ref Non Container 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. * <!-- end-user-doc --> - * * @return the new adapter. * @see org.eclipse.emf.cdo.tests.model4.ImplMultiRefNonContainerNPL * @generated @@ -864,11 +830,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL - * <em>Impl Contained Element NPL</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL <em>Impl Contained Element 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. <!-- * end-user-doc --> - * * @return the new adapter. * @see org.eclipse.emf.cdo.tests.model4.ImplContainedElementNPL * @generated @@ -879,11 +844,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained - * <em>Gen Ref Multi NU Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMultiNUNonContained <em>Gen Ref Multi NU Non Contained</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.model4.GenRefMultiNUNonContained * @generated @@ -894,11 +858,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained - * <em>Gen Ref Map Non Contained</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4.GenRefMapNonContained <em>Gen Ref Map Non Contained</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.model4.GenRefMapNonContained * @generated @@ -938,12 +901,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement - * <em>ISingle Ref Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement <em>ISingle Ref Contained 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.model4interfaces.ISingleRefContainedElement * @generated @@ -969,12 +930,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement - * <em>ISingle Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement <em>ISingle Ref Non Contained 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.model4interfaces.ISingleRefNonContainedElement * @generated @@ -1000,12 +959,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement - * <em>IMulti Ref Non Contained Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement <em>IMulti Ref Non Contained 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.model4interfaces.IMultiRefNonContainedElement * @generated @@ -1016,11 +973,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer - * <em>IMulti Ref Container</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer <em>IMulti Ref Container</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.model4interfaces.IMultiRefContainer * @generated @@ -1031,11 +987,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained Element</em>} - * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement <em>IMulti Ref Contained 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.model4interfaces.IMultiRefContainedElement * @generated @@ -1061,11 +1015,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container NPL</em>} - * '. <!-- begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL <em>ISingle Ref Non Container 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. <!-- end-user-doc --> - * * @return the new adapter. * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL * @generated @@ -1091,11 +1043,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container NPL</em>}'. + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL <em>IMulti Ref Non Container 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. <!-- end-user-doc --> - * * @return the new adapter. * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL * @generated @@ -1106,12 +1056,10 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink - * <em>IContained Element No Parent Link</em>}'. <!-- begin-user-doc --> This default implementation returns null so + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink <em>IContained Element No Parent Link</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.model4interfaces.IContainedElementNoParentLink * @generated @@ -1122,10 +1070,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement - * <em>INamed Element</em>}'. <!-- begin-user-doc --> This default implementation returns null so that we can easily + * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement <em>INamed 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.model4interfaces.INamedElement * @generated @@ -1136,9 +1083,9 @@ public class model4AdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for the default case. <!-- begin-user-doc --> This default implementation returns null. <!-- + * Creates a new adapter for the default case. + * <!-- begin-user-doc --> This default implementation returns null. <!-- * end-user-doc --> - * * @return the new adapter. * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4Switch.java b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4Switch.java index f914c4ecd6..570107a8df 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4Switch.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4/src/org/eclipse/emf/cdo/tests/model4/util/model4Switch.java @@ -69,22 +69,21 @@ import java.util.Map; * {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model, * starting with the actual class of the object and proceeding up the inheritance hierarchy until a non-null result is * returned, which is the result of the switch. <!-- end-user-doc --> - * * @see org.eclipse.emf.cdo.tests.model4.model4Package * @generated */ public class model4Switch<T> { /** - * The cached model package <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The cached model package + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ protected static model4Package modelPackage; /** - * Creates an instance of the switch. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * Creates an instance of the switch. + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public model4Switch() @@ -98,7 +97,6 @@ public class model4Switch<T> /** * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @return the first non-null result returned by a <code>caseXXX</code> call. * @generated */ @@ -110,7 +108,6 @@ public class model4Switch<T> /** * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @return the first non-null result returned by a <code>caseXXX</code> call. * @generated */ @@ -130,7 +127,6 @@ public class model4Switch<T> /** * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @return the first non-null result returned by a <code>caseXXX</code> call. * @generated */ @@ -501,11 +497,10 @@ public class model4Switch<T> } /** - * Returns the result of interpreting the object as an instance of '<em>Ref Multi Contained</em>'. <!-- begin-user-doc + * Returns the result of interpreting the object as an instance of '<em>Ref Multi Contained</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. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Ref Multi Contained</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -759,9 +754,7 @@ public class model4Switch<T> * Returns the result of interpreting the object as an instance of '<em>Impl Single Ref Non Contained 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. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Impl Single Ref Non Contained Element</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -791,9 +784,7 @@ public class model4Switch<T> * Returns the result of interpreting the object as an instance of '<em>Impl Multi Ref Non Contained 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. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>Impl Multi Ref Non Contained Element</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -948,11 +939,10 @@ public class model4Switch<T> } /** - * Returns the result of interpreting the object as an instance of '<em>String To EObject</em>'. <!-- begin-user-doc + * Returns the result of interpreting the object as an instance of '<em>String To EObject</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. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>String To EObject</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1171,11 +1161,10 @@ public class model4Switch<T> } /** - * Returns the result of interpreting the object as an instance of '<em>INamed Element</em>'. <!-- begin-user-doc --> + * Returns the result of interpreting the object as an instance of '<em>INamed 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. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>INamed Element</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) * @generated @@ -1186,12 +1175,11 @@ public class model4Switch<T> } /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. <!-- begin-user-doc --> This + * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. + * <!-- begin-user-doc --> This * implementation returns null; returning a non-null result will terminate the switch, but this is the last case * anyway. <!-- end-user-doc --> - * - * @param object - * the target of the switch. + * @param object the target of the switch. * @return the result of interpreting the object as an instance of '<em>EObject</em>'. * @see #doSwitch(org.eclipse.emf.ecore.EObject) * @generated |