diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces')
18 files changed, 906 insertions, 220 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IContainedElementNoParentLink.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IContainedElementNoParentLink.java new file mode 100644 index 0000000000..26b33e2c1f --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IContainedElementNoParentLink.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: IContainedElementNoParentLink.java,v 1.1 2009-08-12 17:15:42 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>IContained Element No Parent Link</b></em>'. + * <!-- end-user-doc --> + * + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIContainedElementNoParentLink() + * @model interface="true" abstract="true" + * @generated + */ +public interface IContainedElementNoParentLink extends EObject +{ +} // IContainedElementNoParentLink diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefContainedElement.java new file mode 100644 index 0000000000..dde72022a2 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefContainedElement.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: IMultiRefContainedElement.java,v 1.1 2009-08-12 17:15:43 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>IMulti Ref Contained Element</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement#getParent <em>Parent</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefContainedElement() + * @model interface="true" abstract="true" + * @generated + */ +public interface IMultiRefContainedElement extends EObject +{ + /** + * 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.model4interfaces.IMultiRefContainer#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(IMultiRefContainer) + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefContainedElement_Parent() + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer#getElements + * @model opposite="elements" transient="false" + * @generated + */ + IMultiRefContainer getParent(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement#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(IMultiRefContainer value); + +} // IMultiRefContainedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefContainer.java new file mode 100644 index 0000000000..66d284f889 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefContainer.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: IMultiRefContainer.java,v 1.1 2009-08-12 17:15:43 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>IMulti Ref Container</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefContainer() + * @model interface="true" abstract="true" + * @generated + */ +public interface IMultiRefContainer 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.model4interfaces.IMultiRefContainedElement}. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement#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.model4interfaces.model4interfacesPackage#getIMultiRefContainer_Elements() + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement#getParent + * @model opposite="parent" containment="true" + * @generated + */ + EList<IMultiRefContainedElement> getElements(); + +} // IMultiRefContainer diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefContainerNPL.java new file mode 100644 index 0000000000..6fadf88736 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefContainerNPL.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: IMultiRefContainerNPL.java,v 1.1 2009-08-12 17:15:42 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>IMulti Ref Container NPL</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefContainerNPL() + * @model interface="true" abstract="true" + * @generated + */ +public interface IMultiRefContainerNPL 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.model4interfaces.IContainedElementNoParentLink}. + * <!-- 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.model4interfaces.model4interfacesPackage#getIMultiRefContainerNPL_Elements() + * @model containment="true" + * @generated + */ + EList<IContainedElementNoParentLink> getElements(); + +} // IMultiRefContainerNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefNonContainedElement.java new file mode 100644 index 0000000000..c1b95cedf0 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefNonContainedElement.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: IMultiRefNonContainedElement.java,v 1.1 2009-08-12 17:15:42 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>IMulti Ref Non Contained Element</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement#getParent <em>Parent</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefNonContainedElement() + * @model interface="true" abstract="true" + * @generated + */ +public interface IMultiRefNonContainedElement extends EObject +{ + /** + * 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.model4interfaces.IMultiRefNonContainer#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(IMultiRefNonContainer) + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefNonContainedElement_Parent() + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer#getElements + * @model opposite="elements" + * @generated + */ + IMultiRefNonContainer getParent(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement#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(IMultiRefNonContainer value); + +} // IMultiRefNonContainedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefNonContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefNonContainer.java new file mode 100644 index 0000000000..14ddcfdc24 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefNonContainer.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: IMultiRefNonContainer.java,v 1.1 2009-08-12 17:15:42 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>IMulti Ref Non Container</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefNonContainer() + * @model interface="true" abstract="true" + * @generated + */ +public interface IMultiRefNonContainer 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.model4interfaces.IMultiRefNonContainedElement}. + * It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement#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.model4interfaces.model4interfacesPackage#getIMultiRefNonContainer_Elements() + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement#getParent + * @model opposite="parent" + * @generated + */ + EList<IMultiRefNonContainedElement> getElements(); + +} // IMultiRefNonContainer diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefNonContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefNonContainerNPL.java new file mode 100644 index 0000000000..ff0fce8eff --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/IMultiRefNonContainerNPL.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: IMultiRefNonContainerNPL.java,v 1.1 2009-08-12 17:15:42 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>IMulti Ref Non Container NPL</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL#getElements <em>Elements</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getIMultiRefNonContainerNPL() + * @model interface="true" abstract="true" + * @generated + */ +public interface IMultiRefNonContainerNPL 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.model4interfaces.IContainedElementNoParentLink}. + * <!-- 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.model4interfaces.model4interfacesPackage#getIMultiRefNonContainerNPL_Elements() + * @model + * @generated + */ + EList<IContainedElementNoParentLink> getElements(); + +} // IMultiRefNonContainerNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/INamedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/INamedElement.java new file mode 100644 index 0000000000..9b0a7a2999 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/INamedElement.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: INamedElement.java,v 1.1 2009-08-12 17:15:43 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>INamed Element</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement#getName <em>Name</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getINamedElement() + * @model interface="true" abstract="true" + * @generated + */ +public interface INamedElement 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.model4interfaces.model4interfacesPackage#getINamedElement_Name() + * @model + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement#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); + +} // INamedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefContainedElement.java new file mode 100644 index 0000000000..1bdef38c14 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefContainedElement.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: ISingleRefContainedElement.java,v 1.1 2009-08-12 17:15:42 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>ISingle Ref Contained Element</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement#getParent <em>Parent</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefContainedElement() + * @model interface="true" abstract="true" + * @generated + */ +public interface ISingleRefContainedElement extends EObject +{ + /** + * 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.model4interfaces.ISingleRefContainer#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(ISingleRefContainer) + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefContainedElement_Parent() + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer#getElement + * @model opposite="element" transient="false" + * @generated + */ + ISingleRefContainer getParent(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement#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(ISingleRefContainer value); + +} // ISingleRefContainedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefContainer.java new file mode 100644 index 0000000000..9427f75dd0 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefContainer.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: ISingleRefContainer.java,v 1.1 2009-08-12 17:15:42 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>ISingle Ref Container</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefContainer() + * @model interface="true" abstract="true" + * @generated + */ +public interface ISingleRefContainer 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.model4interfaces.ISingleRefContainedElement#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(ISingleRefContainedElement) + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefContainer_Element() + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement#getParent + * @model opposite="parent" containment="true" + * @generated + */ + ISingleRefContainedElement getElement(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer#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(ISingleRefContainedElement value); + +} // ISingleRefContainer diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefContainerNPL.java new file mode 100644 index 0000000000..57708ca798 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefContainerNPL.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: ISingleRefContainerNPL.java,v 1.1 2009-08-12 17:15:42 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>ISingle Ref Container NPL</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefContainerNPL() + * @model interface="true" abstract="true" + * @generated + */ +public interface ISingleRefContainerNPL 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(IContainedElementNoParentLink) + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefContainerNPL_Element() + * @model containment="true" + * @generated + */ + IContainedElementNoParentLink getElement(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL#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(IContainedElementNoParentLink value); + +} // ISingleRefContainerNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefNonContainedElement.java new file mode 100644 index 0000000000..8724bc66dc --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefNonContainedElement.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: ISingleRefNonContainedElement.java,v 1.1 2009-08-12 17:15:42 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>ISingle Ref Non Contained Element</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement#getParent <em>Parent</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefNonContainedElement() + * @model interface="true" abstract="true" + * @generated + */ +public interface ISingleRefNonContainedElement extends EObject +{ + /** + * 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.model4interfaces.ISingleRefNonContainer#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(ISingleRefNonContainer) + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefNonContainedElement_Parent() + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer#getElement + * @model opposite="element" + * @generated + */ + ISingleRefNonContainer getParent(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement#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(ISingleRefNonContainer value); + +} // ISingleRefNonContainedElement diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefNonContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefNonContainer.java new file mode 100644 index 0000000000..6b64119a91 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefNonContainer.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: ISingleRefNonContainer.java,v 1.1 2009-08-12 17:15:42 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>ISingle Ref Non Container</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefNonContainer() + * @model interface="true" abstract="true" + * @generated + */ +public interface ISingleRefNonContainer 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.model4interfaces.ISingleRefNonContainedElement#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(ISingleRefNonContainedElement) + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefNonContainer_Element() + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement#getParent + * @model opposite="parent" + * @generated + */ + ISingleRefNonContainedElement getElement(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer#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(ISingleRefNonContainedElement value); + +} // ISingleRefNonContainer diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefNonContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefNonContainerNPL.java new file mode 100644 index 0000000000..cf5eef4636 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/ISingleRefNonContainerNPL.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: ISingleRefNonContainerNPL.java,v 1.1 2009-08-12 17:15:43 estepper Exp $ + */ +package org.eclipse.emf.cdo.tests.legacy.model4interfaces; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> + * A representation of the model object '<em><b>ISingle Ref Non Container NPL</b></em>'. + * <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL#getElement <em>Element</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefNonContainerNPL() + * @model interface="true" abstract="true" + * @generated + */ +public interface ISingleRefNonContainerNPL 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(IContainedElementNoParentLink) + * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage#getISingleRefNonContainerNPL_Element() + * @model + * @generated + */ + IContainedElementNoParentLink getElement(); + + /** + * Sets the value of the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL#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(IContainedElementNoParentLink value); + +} // ISingleRefNonContainerNPL diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesFactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesFactoryImpl.java index a319a78926..4897c152a9 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesFactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesFactoryImpl.java @@ -21,14 +21,13 @@ import org.eclipse.emf.ecore.plugin.EcorePlugin; /** * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc --> - * * @generated */ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4interfacesFactory { /** - * 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 model4interfacesFactory init() @@ -50,8 +49,8 @@ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4i } /** - * 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 model4interfacesFactoryImpl() @@ -61,7 +60,6 @@ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ @Override @@ -76,7 +74,6 @@ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public model4interfacesPackage getmodel4interfacesPackage() @@ -86,7 +83,6 @@ public class model4interfacesFactoryImpl extends EFactoryImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @deprecated * @generated */ diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesPackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesPackageImpl.java index e002530985..2d23f7713e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesPackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/impl/model4interfacesPackageImpl.java @@ -10,22 +10,22 @@ */ package org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer; +import org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL; import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesFactory; import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; -import org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink; -import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement; -import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer; -import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL; -import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement; -import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer; -import org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL; -import org.eclipse.emf.cdo.tests.model4interfaces.INamedElement; -import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement; -import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer; -import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL; -import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement; -import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer; -import org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL; import org.eclipse.emf.ecore.EAttribute; import org.eclipse.emf.ecore.EClass; @@ -35,105 +35,90 @@ import org.eclipse.emf.ecore.impl.EPackageImpl; /** * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc --> - * * @generated */ public class model4interfacesPackageImpl extends EPackageImpl implements model4interfacesPackage { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefNonContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefNonContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefNonContainerEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefNonContainedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iNamedElementEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iContainedElementNoParentLinkEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iSingleRefNonContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefContainerNPLEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ private EClass iMultiRefNonContainerNPLEClass = null; @@ -158,24 +143,17 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- 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. - * Simple dependencies are satisfied by calling this method on all dependent packages before doing anything else. This - * method drives initialization for interdependent packages directly, in parallel with this package, itself. - * <p> - * Of this package and its interdependencies, all packages which have not yet been registered by their URI values are - * first created and registered. The packages are then initialized in two steps: meta-model objects for all of the - * packages are created before any are initialized, since one package's meta-model objects may refer to those of - * another. - * <p> - * Invocation of this method will not affect any packages that have already been initialized. <!-- begin-user-doc --> - * <!-- end-user-doc --> * + * <p>This method is used to initialize {@link model4interfacesPackage#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() @@ -184,13 +162,11 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i public static model4interfacesPackage init() { if (isInited) - { return (model4interfacesPackage)EPackage.Registry.INSTANCE.getEPackage(model4interfacesPackage.eNS_URI); - } // Obtain or create and register package model4interfacesPackageImpl themodel4interfacesPackage = (model4interfacesPackageImpl)(EPackage.Registry.INSTANCE - .getEPackage(eNS_URI) instanceof model4interfacesPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) + .get(eNS_URI) instanceof model4interfacesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new model4interfacesPackageImpl()); isInited = true; @@ -204,12 +180,13 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i // Mark meta-data to indicate it can't be changed themodel4interfacesPackage.freeze(); + // Update the registry and return the package + EPackage.Registry.INSTANCE.put(model4interfacesPackage.eNS_URI, themodel4interfacesPackage); return themodel4interfacesPackage; } /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefContainer() @@ -219,7 +196,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefContainer_Element() @@ -229,7 +205,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefContainedElement() @@ -239,7 +214,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefContainedElement_Parent() @@ -249,7 +223,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefNonContainer() @@ -259,7 +232,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefNonContainer_Element() @@ -269,7 +241,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefNonContainedElement() @@ -279,7 +250,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefNonContainedElement_Parent() @@ -289,7 +259,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefContainer() @@ -299,7 +268,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefContainer_Elements() @@ -309,7 +277,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefContainedElement() @@ -319,7 +286,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefContainedElement_Parent() @@ -329,7 +295,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefNonContainer() @@ -339,7 +304,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefNonContainer_Elements() @@ -349,7 +313,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefNonContainedElement() @@ -359,7 +322,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefNonContainedElement_Parent() @@ -369,7 +331,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getINamedElement() @@ -379,7 +340,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EAttribute getINamedElement_Name() @@ -389,7 +349,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIContainedElementNoParentLink() @@ -399,7 +358,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefContainerNPL() @@ -409,7 +367,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefContainerNPL_Element() @@ -419,7 +376,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getISingleRefNonContainerNPL() @@ -429,7 +385,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getISingleRefNonContainerNPL_Element() @@ -439,7 +394,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefContainerNPL() @@ -449,7 +403,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefContainerNPL_Elements() @@ -459,7 +412,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EClass getIMultiRefNonContainerNPL() @@ -469,7 +421,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public EReference getIMultiRefNonContainerNPL_Elements() @@ -479,7 +430,6 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * * @generated */ public model4interfacesFactory getmodel4interfacesFactory() @@ -489,23 +439,20 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- 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() { if (isCreated) - { return; - } isCreated = true; // Create classes and their features @@ -553,23 +500,20 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i /** * <!-- 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() { if (isInitialized) - { return; - } isInitialized = true; // Initialize package @@ -586,55 +530,57 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i // Initialize classes and features; add operations and parameters initEClass(iSingleRefContainerEClass, ISingleRefContainer.class, "ISingleRefContainer", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getISingleRefContainer_Element(), getISingleRefContainedElement(), - getISingleRefContainedElement_Parent(), "element", null, 0, 1, ISingleRefContainer.class, !IS_TRANSIENT, + initEReference(getISingleRefContainer_Element(), this.getISingleRefContainedElement(), this + .getISingleRefContainedElement_Parent(), "element", null, 0, 1, ISingleRefContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(iSingleRefContainedElementEClass, ISingleRefContainedElement.class, "ISingleRefContainedElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getISingleRefContainedElement_Parent(), getISingleRefContainer(), getISingleRefContainer_Element(), - "parent", null, 0, 1, ISingleRefContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getISingleRefContainedElement_Parent(), this.getISingleRefContainer(), this + .getISingleRefContainer_Element(), "parent", null, 0, 1, ISingleRefContainedElement.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); initEClass(iSingleRefNonContainerEClass, ISingleRefNonContainer.class, "ISingleRefNonContainer", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getISingleRefNonContainer_Element(), getISingleRefNonContainedElement(), - getISingleRefNonContainedElement_Parent(), "element", null, 0, 1, ISingleRefNonContainer.class, !IS_TRANSIENT, + initEReference(getISingleRefNonContainer_Element(), this.getISingleRefNonContainedElement(), this + .getISingleRefNonContainedElement_Parent(), "element", null, 0, 1, ISingleRefNonContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(iSingleRefNonContainedElementEClass, ISingleRefNonContainedElement.class, "ISingleRefNonContainedElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getISingleRefNonContainedElement_Parent(), getISingleRefNonContainer(), - getISingleRefNonContainer_Element(), "parent", null, 0, 1, ISingleRefNonContainedElement.class, !IS_TRANSIENT, + initEReference(getISingleRefNonContainedElement_Parent(), this.getISingleRefNonContainer(), this + .getISingleRefNonContainer_Element(), "parent", null, 0, 1, ISingleRefNonContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(iMultiRefContainerEClass, IMultiRefContainer.class, "IMultiRefContainer", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getIMultiRefContainer_Elements(), getIMultiRefContainedElement(), - getIMultiRefContainedElement_Parent(), "elements", null, 0, -1, IMultiRefContainer.class, !IS_TRANSIENT, + initEReference(getIMultiRefContainer_Elements(), this.getIMultiRefContainedElement(), this + .getIMultiRefContainedElement_Parent(), "elements", null, 0, -1, IMultiRefContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(iMultiRefContainedElementEClass, IMultiRefContainedElement.class, "IMultiRefContainedElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getIMultiRefContainedElement_Parent(), getIMultiRefContainer(), getIMultiRefContainer_Elements(), - "parent", null, 0, 1, IMultiRefContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, - !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getIMultiRefContainedElement_Parent(), this.getIMultiRefContainer(), this + .getIMultiRefContainer_Elements(), "parent", null, 0, 1, IMultiRefContainedElement.class, !IS_TRANSIENT, + !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, + IS_ORDERED); initEClass(iMultiRefNonContainerEClass, IMultiRefNonContainer.class, "IMultiRefNonContainer", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getIMultiRefNonContainer_Elements(), getIMultiRefNonContainedElement(), - getIMultiRefNonContainedElement_Parent(), "elements", null, 0, -1, IMultiRefNonContainer.class, !IS_TRANSIENT, + initEReference(getIMultiRefNonContainer_Elements(), this.getIMultiRefNonContainedElement(), this + .getIMultiRefNonContainedElement_Parent(), "elements", null, 0, -1, IMultiRefNonContainer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(iMultiRefNonContainedElementEClass, IMultiRefNonContainedElement.class, "IMultiRefNonContainedElement", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getIMultiRefNonContainedElement_Parent(), getIMultiRefNonContainer(), - getIMultiRefNonContainer_Elements(), "parent", null, 0, 1, IMultiRefNonContainedElement.class, !IS_TRANSIENT, + initEReference(getIMultiRefNonContainedElement_Parent(), this.getIMultiRefNonContainer(), this + .getIMultiRefNonContainer_Elements(), "parent", null, 0, 1, IMultiRefNonContainedElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); @@ -648,26 +594,26 @@ public class model4interfacesPackageImpl extends EPackageImpl implements model4i initEClass(iSingleRefContainerNPLEClass, ISingleRefContainerNPL.class, "ISingleRefContainerNPL", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getISingleRefContainerNPL_Element(), getIContainedElementNoParentLink(), null, "element", null, 0, - 1, ISingleRefContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getISingleRefContainerNPL_Element(), this.getIContainedElementNoParentLink(), null, "element", null, + 0, 1, ISingleRefContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(iSingleRefNonContainerNPLEClass, ISingleRefNonContainerNPL.class, "ISingleRefNonContainerNPL", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getISingleRefNonContainerNPL_Element(), getIContainedElementNoParentLink(), null, "element", null, - 0, 1, ISingleRefNonContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + initEReference(getISingleRefNonContainerNPL_Element(), this.getIContainedElementNoParentLink(), null, "element", + null, 0, 1, ISingleRefNonContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(iMultiRefContainerNPLEClass, IMultiRefContainerNPL.class, "IMultiRefContainerNPL", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getIMultiRefContainerNPL_Elements(), getIContainedElementNoParentLink(), null, "elements", null, 0, - -1, IMultiRefContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, - !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); + initEReference(getIMultiRefContainerNPL_Elements(), this.getIContainedElementNoParentLink(), null, "elements", + null, 0, -1, IMultiRefContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, + !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); initEClass(iMultiRefNonContainerNPLEClass, IMultiRefNonContainerNPL.class, "IMultiRefNonContainerNPL", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - initEReference(getIMultiRefNonContainerNPL_Elements(), getIContainedElementNoParentLink(), null, "elements", null, - 0, -1, IMultiRefNonContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, + initEReference(getIMultiRefNonContainerNPL_Elements(), this.getIContainedElementNoParentLink(), null, "elements", + null, 0, -1, IMultiRefNonContainerNPL.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); // Create resource diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesAdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesAdapterFactory.java index ae3d47a0e1..9dbc95a098 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesAdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesAdapterFactory.java @@ -34,22 +34,21 @@ import org.eclipse.emf.ecore.EObject; /** * <!-- 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.model4interfaces.model4interfacesPackage * @generated */ public class model4interfacesAdapterFactory 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 model4interfacesPackage 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 model4interfacesAdapterFactory() @@ -61,10 +60,10 @@ public class model4interfacesAdapterFactory 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 */ @@ -83,8 +82,8 @@ public class model4interfacesAdapterFactory 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 model4interfacesSwitch<Adapter> modelSwitch = new model4interfacesSwitch<Adapter>() @@ -181,10 +180,9 @@ public class model4interfacesAdapterFactory 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 */ @@ -210,12 +208,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * 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 + * 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 @@ -226,11 +222,9 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * 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 + * 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 @@ -241,12 +235,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * 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 + * 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 @@ -272,12 +264,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * 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 + * 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 @@ -288,11 +278,9 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer <em>IMulti Ref Non Container</em>}'. + * 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 @@ -303,12 +291,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * 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 + * 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 @@ -334,12 +320,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * 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 + * 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 @@ -350,11 +334,9 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * 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 + * 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 @@ -365,12 +347,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * 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 + * 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 @@ -381,11 +361,9 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL <em>IMulti Ref Container NPL</em>}'. + * 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 @@ -396,12 +374,10 @@ public class model4interfacesAdapterFactory extends AdapterFactoryImpl } /** - * 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 + * 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 @@ -412,9 +388,9 @@ public class model4interfacesAdapterFactory 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.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesSwitch.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesSwitch.java index 4d6cbb88e0..19bf163762 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesSwitch.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/util/model4interfacesSwitch.java @@ -36,22 +36,21 @@ import java.util.List; * {@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.model4interfaces.model4interfacesPackage * @generated */ public class model4interfacesSwitch<T> { /** - * The cached model package <!-- begin-user-doc --> <!-- end-user-doc --> - * + * The cached model package + * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ protected static model4interfacesPackage 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 model4interfacesSwitch() @@ -65,7 +64,6 @@ public class model4interfacesSwitch<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 */ @@ -77,7 +75,6 @@ public class model4interfacesSwitch<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 */ @@ -97,7 +94,6 @@ public class model4interfacesSwitch<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,9 +106,7 @@ public class model4interfacesSwitch<T> ISingleRefContainer iSingleRefContainer = (ISingleRefContainer)theEObject; T result = caseISingleRefContainer(iSingleRefContainer); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT: @@ -120,9 +114,7 @@ public class model4interfacesSwitch<T> ISingleRefContainedElement iSingleRefContainedElement = (ISingleRefContainedElement)theEObject; T result = caseISingleRefContainedElement(iSingleRefContainedElement); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.ISINGLE_REF_NON_CONTAINER: @@ -130,9 +122,7 @@ public class model4interfacesSwitch<T> ISingleRefNonContainer iSingleRefNonContainer = (ISingleRefNonContainer)theEObject; T result = caseISingleRefNonContainer(iSingleRefNonContainer); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT: @@ -140,9 +130,7 @@ public class model4interfacesSwitch<T> ISingleRefNonContainedElement iSingleRefNonContainedElement = (ISingleRefNonContainedElement)theEObject; T result = caseISingleRefNonContainedElement(iSingleRefNonContainedElement); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.IMULTI_REF_CONTAINER: @@ -150,9 +138,7 @@ public class model4interfacesSwitch<T> IMultiRefContainer iMultiRefContainer = (IMultiRefContainer)theEObject; T result = caseIMultiRefContainer(iMultiRefContainer); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT: @@ -160,9 +146,7 @@ public class model4interfacesSwitch<T> IMultiRefContainedElement iMultiRefContainedElement = (IMultiRefContainedElement)theEObject; T result = caseIMultiRefContainedElement(iMultiRefContainedElement); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.IMULTI_REF_NON_CONTAINER: @@ -170,9 +154,7 @@ public class model4interfacesSwitch<T> IMultiRefNonContainer iMultiRefNonContainer = (IMultiRefNonContainer)theEObject; T result = caseIMultiRefNonContainer(iMultiRefNonContainer); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT: @@ -180,9 +162,7 @@ public class model4interfacesSwitch<T> IMultiRefNonContainedElement iMultiRefNonContainedElement = (IMultiRefNonContainedElement)theEObject; T result = caseIMultiRefNonContainedElement(iMultiRefNonContainedElement); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.INAMED_ELEMENT: @@ -190,9 +170,7 @@ public class model4interfacesSwitch<T> INamedElement iNamedElement = (INamedElement)theEObject; T result = caseINamedElement(iNamedElement); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK: @@ -200,9 +178,7 @@ public class model4interfacesSwitch<T> IContainedElementNoParentLink iContainedElementNoParentLink = (IContainedElementNoParentLink)theEObject; T result = caseIContainedElementNoParentLink(iContainedElementNoParentLink); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL: @@ -210,9 +186,7 @@ public class model4interfacesSwitch<T> ISingleRefContainerNPL iSingleRefContainerNPL = (ISingleRefContainerNPL)theEObject; T result = caseISingleRefContainerNPL(iSingleRefContainerNPL); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL: @@ -220,9 +194,7 @@ public class model4interfacesSwitch<T> ISingleRefNonContainerNPL iSingleRefNonContainerNPL = (ISingleRefNonContainerNPL)theEObject; T result = caseISingleRefNonContainerNPL(iSingleRefNonContainerNPL); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.IMULTI_REF_CONTAINER_NPL: @@ -230,9 +202,7 @@ public class model4interfacesSwitch<T> IMultiRefContainerNPL iMultiRefContainerNPL = (IMultiRefContainerNPL)theEObject; T result = caseIMultiRefContainerNPL(iMultiRefContainerNPL); if (result == null) - { result = defaultCase(theEObject); - } return result; } case model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL: @@ -240,9 +210,7 @@ public class model4interfacesSwitch<T> IMultiRefNonContainerNPL iMultiRefNonContainerNPL = (IMultiRefNonContainerNPL)theEObject; T result = caseIMultiRefNonContainerNPL(iMultiRefNonContainerNPL); if (result == null) - { result = defaultCase(theEObject); - } return result; } default: @@ -379,11 +347,10 @@ public class model4interfacesSwitch<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 @@ -474,12 +441,11 @@ public class model4interfacesSwitch<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 |