diff options
author | Eike Stepper | 2012-01-14 10:27:01 +0000 |
---|---|---|
committer | Eike Stepper | 2012-01-14 10:27:01 +0000 |
commit | 0266166cb9ff9535c150250073ea1e57b42d2693 (patch) | |
tree | c006a3bc0ba1f6e1d8a2bc032eedc346f71eab0d /plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse | |
parent | 7416443692cdda72d1f704ea4fc5ececcc669df7 (diff) | |
download | cdo-0266166cb9ff9535c150250073ea1e57b42d2693.tar.gz cdo-0266166cb9ff9535c150250073ea1e57b42d2693.tar.xz cdo-0266166cb9ff9535c150250073ea1e57b42d2693.zip |
Adjusted copyrights to 2012
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse')
24 files changed, 4747 insertions, 4747 deletions
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 e69e343edf..ccc6b4752c 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 @@ -1,99 +1,99 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl; - -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesFactory; -import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage; - -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; - -/** - * <!-- 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 --> - * - * @generated NOT - */ - public static model4interfacesFactory init() - { - try - { - model4interfacesFactory themodel4interfacesFactory = (model4interfacesFactory)EPackage.Registry.INSTANCE - .getEFactory("http://www.eclipse.org/emf/CDO/tests/legacy/model4interfaces/1.0.0"); - if (themodel4interfacesFactory != null) - { - return themodel4interfacesFactory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new model4interfacesFactoryImpl(); - } - - /** - * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public model4interfacesFactoryImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public model4interfacesPackage getmodel4interfacesPackage() - { - return (model4interfacesPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @deprecated - * @generated - */ - @Deprecated - public static model4interfacesPackage getPackage() - { - return model4interfacesPackage.eINSTANCE; - } - -} // model4interfacesFactoryImpl +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl;
+
+import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesFactory;
+import org.eclipse.emf.cdo.tests.legacy.model4interfaces.model4interfacesPackage;
+
+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;
+
+/**
+ * <!-- 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 -->
+ *
+ * @generated NOT
+ */
+ public static model4interfacesFactory init()
+ {
+ try
+ {
+ model4interfacesFactory themodel4interfacesFactory = (model4interfacesFactory)EPackage.Registry.INSTANCE
+ .getEFactory("http://www.eclipse.org/emf/CDO/tests/legacy/model4interfaces/1.0.0");
+ if (themodel4interfacesFactory != null)
+ {
+ return themodel4interfacesFactory;
+ }
+ }
+ catch (Exception exception)
+ {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new model4interfacesFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public model4interfacesFactoryImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass)
+ {
+ switch (eClass.getClassifierID())
+ {
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public model4interfacesPackage getmodel4interfacesPackage()
+ {
+ return (model4interfacesPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static model4interfacesPackage getPackage()
+ {
+ return model4interfacesPackage.eINSTANCE;
+ }
+
+} // model4interfacesFactoryImpl
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 9e977e1116..93b7114711 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 @@ -1,669 +1,669 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl; - -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; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -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; - - /** - * 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.model4interfaces.model4interfacesPackage#eNS_URI - * @see #init() - * @generated - */ - private model4interfacesPackageImpl() - { - super(eNS_URI, model4interfacesFactory.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 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() - * @generated - */ - 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 - .get(eNS_URI) instanceof model4interfacesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) - : new model4interfacesPackageImpl()); - - isInited = true; - - // Create package meta-data objects - themodel4interfacesPackage.createPackageContents(); - - // Initialize created meta-data - themodel4interfacesPackage.initializePackageContents(); - - // 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() - { - return iSingleRefContainerEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getISingleRefContainer_Element() - { - return (EReference)iSingleRefContainerEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getISingleRefContainedElement() - { - return iSingleRefContainedElementEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getISingleRefContainedElement_Parent() - { - return (EReference)iSingleRefContainedElementEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getISingleRefNonContainer() - { - return iSingleRefNonContainerEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getISingleRefNonContainer_Element() - { - return (EReference)iSingleRefNonContainerEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getISingleRefNonContainedElement() - { - return iSingleRefNonContainedElementEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getISingleRefNonContainedElement_Parent() - { - return (EReference)iSingleRefNonContainedElementEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIMultiRefContainer() - { - return iMultiRefContainerEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getIMultiRefContainer_Elements() - { - return (EReference)iMultiRefContainerEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIMultiRefContainedElement() - { - return iMultiRefContainedElementEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getIMultiRefContainedElement_Parent() - { - return (EReference)iMultiRefContainedElementEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIMultiRefNonContainer() - { - return iMultiRefNonContainerEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getIMultiRefNonContainer_Elements() - { - return (EReference)iMultiRefNonContainerEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIMultiRefNonContainedElement() - { - return iMultiRefNonContainedElementEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getIMultiRefNonContainedElement_Parent() - { - return (EReference)iMultiRefNonContainedElementEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getINamedElement() - { - return iNamedElementEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EAttribute getINamedElement_Name() - { - return (EAttribute)iNamedElementEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIContainedElementNoParentLink() - { - return iContainedElementNoParentLinkEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getISingleRefContainerNPL() - { - return iSingleRefContainerNPLEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getISingleRefContainerNPL_Element() - { - return (EReference)iSingleRefContainerNPLEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getISingleRefNonContainerNPL() - { - return iSingleRefNonContainerNPLEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getISingleRefNonContainerNPL_Element() - { - return (EReference)iSingleRefNonContainerNPLEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIMultiRefContainerNPL() - { - return iMultiRefContainerNPLEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getIMultiRefContainerNPL_Elements() - { - return (EReference)iMultiRefContainerNPLEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIMultiRefNonContainerNPL() - { - return iMultiRefNonContainerNPLEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getIMultiRefNonContainerNPL_Elements() - { - return (EReference)iMultiRefNonContainerNPLEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public model4interfacesFactory getmodel4interfacesFactory() - { - return (model4interfacesFactory)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 - iSingleRefContainerEClass = createEClass(ISINGLE_REF_CONTAINER); - createEReference(iSingleRefContainerEClass, ISINGLE_REF_CONTAINER__ELEMENT); - - iSingleRefContainedElementEClass = createEClass(ISINGLE_REF_CONTAINED_ELEMENT); - createEReference(iSingleRefContainedElementEClass, ISINGLE_REF_CONTAINED_ELEMENT__PARENT); - - iSingleRefNonContainerEClass = createEClass(ISINGLE_REF_NON_CONTAINER); - createEReference(iSingleRefNonContainerEClass, ISINGLE_REF_NON_CONTAINER__ELEMENT); - - iSingleRefNonContainedElementEClass = createEClass(ISINGLE_REF_NON_CONTAINED_ELEMENT); - createEReference(iSingleRefNonContainedElementEClass, ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT); - - iMultiRefContainerEClass = createEClass(IMULTI_REF_CONTAINER); - createEReference(iMultiRefContainerEClass, IMULTI_REF_CONTAINER__ELEMENTS); - - iMultiRefContainedElementEClass = createEClass(IMULTI_REF_CONTAINED_ELEMENT); - createEReference(iMultiRefContainedElementEClass, IMULTI_REF_CONTAINED_ELEMENT__PARENT); - - iMultiRefNonContainerEClass = createEClass(IMULTI_REF_NON_CONTAINER); - createEReference(iMultiRefNonContainerEClass, IMULTI_REF_NON_CONTAINER__ELEMENTS); - - iMultiRefNonContainedElementEClass = createEClass(IMULTI_REF_NON_CONTAINED_ELEMENT); - createEReference(iMultiRefNonContainedElementEClass, IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT); - - iNamedElementEClass = createEClass(INAMED_ELEMENT); - createEAttribute(iNamedElementEClass, INAMED_ELEMENT__NAME); - - iContainedElementNoParentLinkEClass = createEClass(ICONTAINED_ELEMENT_NO_PARENT_LINK); - - iSingleRefContainerNPLEClass = createEClass(ISINGLE_REF_CONTAINER_NPL); - createEReference(iSingleRefContainerNPLEClass, ISINGLE_REF_CONTAINER_NPL__ELEMENT); - - iSingleRefNonContainerNPLEClass = createEClass(ISINGLE_REF_NON_CONTAINER_NPL); - createEReference(iSingleRefNonContainerNPLEClass, ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT); - - iMultiRefContainerNPLEClass = createEClass(IMULTI_REF_CONTAINER_NPL); - createEReference(iMultiRefContainerNPLEClass, IMULTI_REF_CONTAINER_NPL__ELEMENTS); - - iMultiRefNonContainerNPLEClass = createEClass(IMULTI_REF_NON_CONTAINER_NPL); - createEReference(iMultiRefNonContainerNPLEClass, IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS); - } - - /** - * <!-- 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); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes and features; add operations and parameters - initEClass(iSingleRefContainerEClass, ISingleRefContainer.class, "ISingleRefContainer", IS_ABSTRACT, IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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); - - initEClass(iNamedElementEClass, INamedElement.class, "INamedElement", IS_ABSTRACT, IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getINamedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, INamedElement.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(iContainedElementNoParentLinkEClass, IContainedElementNoParentLink.class, - "IContainedElementNoParentLink", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(iSingleRefContainerNPLEClass, ISingleRefContainerNPL.class, "ISingleRefContainerNPL", IS_ABSTRACT, - IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - 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(), 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(), 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(), 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 - createResource(eNS_URI); - } - -} // model4interfacesPackageImpl +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl;
+
+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;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+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;
+
+ /**
+ * 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.model4interfaces.model4interfacesPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private model4interfacesPackageImpl()
+ {
+ super(eNS_URI, model4interfacesFactory.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 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()
+ * @generated
+ */
+ 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
+ .get(eNS_URI) instanceof model4interfacesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI)
+ : new model4interfacesPackageImpl());
+
+ isInited = true;
+
+ // Create package meta-data objects
+ themodel4interfacesPackage.createPackageContents();
+
+ // Initialize created meta-data
+ themodel4interfacesPackage.initializePackageContents();
+
+ // 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()
+ {
+ return iSingleRefContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getISingleRefContainer_Element()
+ {
+ return (EReference)iSingleRefContainerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getISingleRefContainedElement()
+ {
+ return iSingleRefContainedElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getISingleRefContainedElement_Parent()
+ {
+ return (EReference)iSingleRefContainedElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getISingleRefNonContainer()
+ {
+ return iSingleRefNonContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getISingleRefNonContainer_Element()
+ {
+ return (EReference)iSingleRefNonContainerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getISingleRefNonContainedElement()
+ {
+ return iSingleRefNonContainedElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getISingleRefNonContainedElement_Parent()
+ {
+ return (EReference)iSingleRefNonContainedElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIMultiRefContainer()
+ {
+ return iMultiRefContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getIMultiRefContainer_Elements()
+ {
+ return (EReference)iMultiRefContainerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIMultiRefContainedElement()
+ {
+ return iMultiRefContainedElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getIMultiRefContainedElement_Parent()
+ {
+ return (EReference)iMultiRefContainedElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIMultiRefNonContainer()
+ {
+ return iMultiRefNonContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getIMultiRefNonContainer_Elements()
+ {
+ return (EReference)iMultiRefNonContainerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIMultiRefNonContainedElement()
+ {
+ return iMultiRefNonContainedElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getIMultiRefNonContainedElement_Parent()
+ {
+ return (EReference)iMultiRefNonContainedElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getINamedElement()
+ {
+ return iNamedElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getINamedElement_Name()
+ {
+ return (EAttribute)iNamedElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIContainedElementNoParentLink()
+ {
+ return iContainedElementNoParentLinkEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getISingleRefContainerNPL()
+ {
+ return iSingleRefContainerNPLEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getISingleRefContainerNPL_Element()
+ {
+ return (EReference)iSingleRefContainerNPLEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getISingleRefNonContainerNPL()
+ {
+ return iSingleRefNonContainerNPLEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getISingleRefNonContainerNPL_Element()
+ {
+ return (EReference)iSingleRefNonContainerNPLEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIMultiRefContainerNPL()
+ {
+ return iMultiRefContainerNPLEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getIMultiRefContainerNPL_Elements()
+ {
+ return (EReference)iMultiRefContainerNPLEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIMultiRefNonContainerNPL()
+ {
+ return iMultiRefNonContainerNPLEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getIMultiRefNonContainerNPL_Elements()
+ {
+ return (EReference)iMultiRefNonContainerNPLEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public model4interfacesFactory getmodel4interfacesFactory()
+ {
+ return (model4interfacesFactory)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
+ iSingleRefContainerEClass = createEClass(ISINGLE_REF_CONTAINER);
+ createEReference(iSingleRefContainerEClass, ISINGLE_REF_CONTAINER__ELEMENT);
+
+ iSingleRefContainedElementEClass = createEClass(ISINGLE_REF_CONTAINED_ELEMENT);
+ createEReference(iSingleRefContainedElementEClass, ISINGLE_REF_CONTAINED_ELEMENT__PARENT);
+
+ iSingleRefNonContainerEClass = createEClass(ISINGLE_REF_NON_CONTAINER);
+ createEReference(iSingleRefNonContainerEClass, ISINGLE_REF_NON_CONTAINER__ELEMENT);
+
+ iSingleRefNonContainedElementEClass = createEClass(ISINGLE_REF_NON_CONTAINED_ELEMENT);
+ createEReference(iSingleRefNonContainedElementEClass, ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT);
+
+ iMultiRefContainerEClass = createEClass(IMULTI_REF_CONTAINER);
+ createEReference(iMultiRefContainerEClass, IMULTI_REF_CONTAINER__ELEMENTS);
+
+ iMultiRefContainedElementEClass = createEClass(IMULTI_REF_CONTAINED_ELEMENT);
+ createEReference(iMultiRefContainedElementEClass, IMULTI_REF_CONTAINED_ELEMENT__PARENT);
+
+ iMultiRefNonContainerEClass = createEClass(IMULTI_REF_NON_CONTAINER);
+ createEReference(iMultiRefNonContainerEClass, IMULTI_REF_NON_CONTAINER__ELEMENTS);
+
+ iMultiRefNonContainedElementEClass = createEClass(IMULTI_REF_NON_CONTAINED_ELEMENT);
+ createEReference(iMultiRefNonContainedElementEClass, IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT);
+
+ iNamedElementEClass = createEClass(INAMED_ELEMENT);
+ createEAttribute(iNamedElementEClass, INAMED_ELEMENT__NAME);
+
+ iContainedElementNoParentLinkEClass = createEClass(ICONTAINED_ELEMENT_NO_PARENT_LINK);
+
+ iSingleRefContainerNPLEClass = createEClass(ISINGLE_REF_CONTAINER_NPL);
+ createEReference(iSingleRefContainerNPLEClass, ISINGLE_REF_CONTAINER_NPL__ELEMENT);
+
+ iSingleRefNonContainerNPLEClass = createEClass(ISINGLE_REF_NON_CONTAINER_NPL);
+ createEReference(iSingleRefNonContainerNPLEClass, ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT);
+
+ iMultiRefContainerNPLEClass = createEClass(IMULTI_REF_CONTAINER_NPL);
+ createEReference(iMultiRefContainerNPLEClass, IMULTI_REF_CONTAINER_NPL__ELEMENTS);
+
+ iMultiRefNonContainerNPLEClass = createEClass(IMULTI_REF_NON_CONTAINER_NPL);
+ createEReference(iMultiRefNonContainerNPLEClass, IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS);
+ }
+
+ /**
+ * <!-- 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);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(iSingleRefContainerEClass, ISingleRefContainer.class, "ISingleRefContainer", IS_ABSTRACT, IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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);
+
+ initEClass(iNamedElementEClass, INamedElement.class, "INamedElement", IS_ABSTRACT, IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getINamedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, INamedElement.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(iContainedElementNoParentLinkEClass, IContainedElementNoParentLink.class,
+ "IContainedElementNoParentLink", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(iSingleRefContainerNPLEClass, ISingleRefContainerNPL.class, "ISingleRefContainerNPL", IS_ABSTRACT,
+ IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ 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(), 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(), 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(), 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
+ createResource(eNS_URI);
+ }
+
+} // model4interfacesPackageImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesFactory.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesFactory.java index 7e3b42b6ed..f8d7e741e5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesFactory.java @@ -1,38 +1,38 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.legacy.model4interfaces; - -/** - * <!-- 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.model4interfaces.model4interfacesPackage - * @generated NOT - */ -public interface model4interfacesFactory extends org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesFactory -{ - /** - * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - model4interfacesFactory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesFactoryImpl - .init(); - - /** - * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the package supported by this factory. - * @generated - */ - model4interfacesPackage getmodel4interfacesPackage(); - -} // model4interfacesFactory +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
+
+/**
+ * <!-- 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.model4interfaces.model4interfacesPackage
+ * @generated NOT
+ */
+public interface model4interfacesFactory extends org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesFactory
+{
+ /**
+ * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ model4interfacesFactory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesFactoryImpl
+ .init();
+
+ /**
+ * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the package supported by this factory.
+ * @generated
+ */
+ model4interfacesPackage getmodel4interfacesPackage();
+
+} // model4interfacesFactory
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesPackage.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesPackage.java index 0fe27fb9be..4acfe57894 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesPackage.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/legacy/model4interfaces/model4interfacesPackage.java @@ -1,747 +1,747 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.legacy.model4interfaces; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -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.model4interfaces.model4interfacesFactory - * @model kind="package" - * @generated - */ -public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage -{ - /** - * The package name. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - String eNAME = "model4interfaces"; - - /** - * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated NOT - */ - String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model4interfaces/1.0.0"; - - /** - * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - String eNS_PREFIX = "model4interfaces"; - - /** - * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - model4interfacesPackage eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl - .init(); - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer - * <em>ISingle Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainer() - * @generated - */ - int ISINGLE_REF_CONTAINER = 0; - - /** - * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_CONTAINER__ELEMENT = 0; - - /** - * The number of structural features of the '<em>ISingle Ref Container</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_CONTAINER_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement - * <em>ISingle Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainedElement() - * @generated - */ - int ISINGLE_REF_CONTAINED_ELEMENT = 1; - - /** - * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_CONTAINED_ELEMENT__PARENT = 0; - - /** - * The number of structural features of the '<em>ISingle Ref Contained Element</em>' class. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer - * <em>ISingle Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainer() - * @generated - */ - int ISINGLE_REF_NON_CONTAINER = 2; - - /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_NON_CONTAINER__ELEMENT = 0; - - /** - * The number of structural features of the '<em>ISingle Ref Non Container</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_NON_CONTAINER_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement - * <em>ISingle Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainedElement() - * @generated - */ - int ISINGLE_REF_NON_CONTAINED_ELEMENT = 3; - - /** - * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT = 0; - - /** - * The number of structural features of the '<em>ISingle Ref Non Contained Element</em>' class. <!-- begin-user-doc - * --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer - * <em>IMulti Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainer() - * @generated - */ - int IMULTI_REF_CONTAINER = 4; - - /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_CONTAINER__ELEMENTS = 0; - - /** - * The number of structural features of the '<em>IMulti Ref Container</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_CONTAINER_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement - * <em>IMulti Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainedElement() - * @generated - */ - int IMULTI_REF_CONTAINED_ELEMENT = 5; - - /** - * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_CONTAINED_ELEMENT__PARENT = 0; - - /** - * The number of structural features of the '<em>IMulti Ref Contained Element</em>' class. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer - * <em>IMulti Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainer() - * @generated - */ - int IMULTI_REF_NON_CONTAINER = 6; - - /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_NON_CONTAINER__ELEMENTS = 0; - - /** - * The number of structural features of the '<em>IMulti Ref Non Container</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_NON_CONTAINER_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement - * <em>IMulti Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainedElement() - * @generated - */ - int IMULTI_REF_NON_CONTAINED_ELEMENT = 7; - - /** - * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT = 0; - - /** - * The number of structural features of the '<em>IMulti Ref Non Contained Element</em>' class. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement - * <em>INamed Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getINamedElement() - * @generated - */ - int INAMED_ELEMENT = 8; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int INAMED_ELEMENT__NAME = 0; - - /** - * The number of structural features of the '<em>INamed Element</em>' class. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @generated - * @ordered - */ - int INAMED_ELEMENT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink - * <em>IContained Element No Parent Link</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIContainedElementNoParentLink() - * @generated - */ - int ICONTAINED_ELEMENT_NO_PARENT_LINK = 9; - - /** - * The number of structural features of the '<em>IContained Element No Parent Link</em>' class. <!-- begin-user-doc - * --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL - * <em>ISingle Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainerNPL() - * @generated - */ - int ISINGLE_REF_CONTAINER_NPL = 10; - - /** - * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_CONTAINER_NPL__ELEMENT = 0; - - /** - * The number of structural features of the '<em>ISingle Ref Container NPL</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_CONTAINER_NPL_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL - * <em>ISingle Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainerNPL() - * @generated - */ - int ISINGLE_REF_NON_CONTAINER_NPL = 11; - - /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT = 0; - - /** - * The number of structural features of the '<em>ISingle Ref Non Container NPL</em>' class. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL - * <em>IMulti Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainerNPL() - * @generated - */ - int IMULTI_REF_CONTAINER_NPL = 12; - - /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_CONTAINER_NPL__ELEMENTS = 0; - - /** - * The number of structural features of the '<em>IMulti Ref Container NPL</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_CONTAINER_NPL_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL - * <em>IMulti Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainerNPL() - * @generated - */ - int IMULTI_REF_NON_CONTAINER_NPL = 13; - - /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS = 0; - - /** - * The number of structural features of the '<em>IMulti Ref Non Container NPL</em>' class. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT = 1; - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer - * <em>ISingle Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>ISingle Ref Container</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer - * @generated - */ - EClass getISingleRefContainer(); - - /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer#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.model4interfaces.ISingleRefContainer#getElement() - * @see #getISingleRefContainer() - * @generated - */ - EReference getISingleRefContainer_Element(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement - * <em>ISingle Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>ISingle Ref Contained Element</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement - * @generated - */ - EClass getISingleRefContainedElement(); - - /** - * Returns the meta object for the container reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement#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.model4interfaces.ISingleRefContainedElement#getParent() - * @see #getISingleRefContainedElement() - * @generated - */ - EReference getISingleRefContainedElement_Parent(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer - * <em>ISingle Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>ISingle Ref Non Container</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer - * @generated - */ - EClass getISingleRefNonContainer(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer#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.model4interfaces.ISingleRefNonContainer#getElement() - * @see #getISingleRefNonContainer() - * @generated - */ - EReference getISingleRefNonContainer_Element(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement - * <em>ISingle Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>ISingle Ref Non Contained Element</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement - * @generated - */ - EClass getISingleRefNonContainedElement(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement#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.model4interfaces.ISingleRefNonContainedElement#getParent() - * @see #getISingleRefNonContainedElement() - * @generated - */ - EReference getISingleRefNonContainedElement_Parent(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer - * <em>IMulti Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IMulti Ref Container</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer - * @generated - */ - EClass getIMultiRefContainer(); - - /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer#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.model4interfaces.IMultiRefContainer#getElements() - * @see #getIMultiRefContainer() - * @generated - */ - EReference getIMultiRefContainer_Elements(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement - * <em>IMulti Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IMulti Ref Contained Element</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement - * @generated - */ - EClass getIMultiRefContainedElement(); - - /** - * Returns the meta object for the container reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement#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.model4interfaces.IMultiRefContainedElement#getParent() - * @see #getIMultiRefContainedElement() - * @generated - */ - EReference getIMultiRefContainedElement_Parent(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer - * <em>IMulti Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IMulti Ref Non Container</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer - * @generated - */ - EClass getIMultiRefNonContainer(); - - /** - * Returns the meta object for the reference list ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer#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.model4interfaces.IMultiRefNonContainer#getElements() - * @see #getIMultiRefNonContainer() - * @generated - */ - EReference getIMultiRefNonContainer_Elements(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement - * <em>IMulti Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IMulti Ref Non Contained Element</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement - * @generated - */ - EClass getIMultiRefNonContainedElement(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement#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.model4interfaces.IMultiRefNonContainedElement#getParent() - * @see #getIMultiRefNonContainedElement() - * @generated - */ - EReference getIMultiRefNonContainedElement_Parent(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement - * <em>INamed Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>INamed Element</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement - * @generated - */ - EClass getINamedElement(); - - /** - * Returns the meta object for the attribute ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement#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.model4interfaces.INamedElement#getName() - * @see #getINamedElement() - * @generated - */ - EAttribute getINamedElement_Name(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink - * <em>IContained Element No Parent Link</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IContained Element No Parent Link</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink - * @generated - */ - EClass getIContainedElementNoParentLink(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL - * <em>ISingle Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>ISingle Ref Container NPL</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL - * @generated - */ - EClass getISingleRefContainerNPL(); - - /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL#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.model4interfaces.ISingleRefContainerNPL#getElement() - * @see #getISingleRefContainerNPL() - * @generated - */ - EReference getISingleRefContainerNPL_Element(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL - * <em>ISingle Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>ISingle Ref Non Container NPL</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL - * @generated - */ - EClass getISingleRefNonContainerNPL(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL#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.model4interfaces.ISingleRefNonContainerNPL#getElement() - * @see #getISingleRefNonContainerNPL() - * @generated - */ - EReference getISingleRefNonContainerNPL_Element(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL - * <em>IMulti Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IMulti Ref Container NPL</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL - * @generated - */ - EClass getIMultiRefContainerNPL(); - - /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL#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.model4interfaces.IMultiRefContainerNPL#getElements() - * @see #getIMultiRefContainerNPL() - * @generated - */ - EReference getIMultiRefContainerNPL_Elements(); - - /** - * Returns the meta object for class ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL - * <em>IMulti Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IMulti Ref Non Container NPL</em>'. - * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL - * @generated - */ - EClass getIMultiRefNonContainerNPL(); - - /** - * Returns the meta object for the reference list ' - * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL#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.model4interfaces.IMultiRefNonContainerNPL#getElements() - * @see #getIMultiRefNonContainerNPL() - * @generated - */ - EReference getIMultiRefNonContainerNPL_Elements(); - - /** - * 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 - */ - model4interfacesFactory getmodel4interfacesFactory(); - -} // model4interfacesPackage +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.legacy.model4interfaces;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+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.model4interfaces.model4interfacesFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface model4interfacesPackage extends org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage
+{
+ /**
+ * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNAME = "model4interfaces";
+
+ /**
+ * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated NOT
+ */
+ String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model4interfaces/1.0.0";
+
+ /**
+ * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_PREFIX = "model4interfaces";
+
+ /**
+ * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ model4interfacesPackage eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl
+ .init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer
+ * <em>ISingle Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainer()
+ * @generated
+ */
+ int ISINGLE_REF_CONTAINER = 0;
+
+ /**
+ * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_CONTAINER__ELEMENT = 0;
+
+ /**
+ * The number of structural features of the '<em>ISingle Ref Container</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_CONTAINER_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement
+ * <em>ISingle Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainedElement()
+ * @generated
+ */
+ int ISINGLE_REF_CONTAINED_ELEMENT = 1;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_CONTAINED_ELEMENT__PARENT = 0;
+
+ /**
+ * The number of structural features of the '<em>ISingle Ref Contained Element</em>' class. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer
+ * <em>ISingle Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainer()
+ * @generated
+ */
+ int ISINGLE_REF_NON_CONTAINER = 2;
+
+ /**
+ * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_NON_CONTAINER__ELEMENT = 0;
+
+ /**
+ * The number of structural features of the '<em>ISingle Ref Non Container</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_NON_CONTAINER_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement
+ * <em>ISingle Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainedElement()
+ * @generated
+ */
+ int ISINGLE_REF_NON_CONTAINED_ELEMENT = 3;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT = 0;
+
+ /**
+ * The number of structural features of the '<em>ISingle Ref Non Contained Element</em>' class. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer
+ * <em>IMulti Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainer()
+ * @generated
+ */
+ int IMULTI_REF_CONTAINER = 4;
+
+ /**
+ * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_CONTAINER__ELEMENTS = 0;
+
+ /**
+ * The number of structural features of the '<em>IMulti Ref Container</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_CONTAINER_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement
+ * <em>IMulti Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainedElement()
+ * @generated
+ */
+ int IMULTI_REF_CONTAINED_ELEMENT = 5;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_CONTAINED_ELEMENT__PARENT = 0;
+
+ /**
+ * The number of structural features of the '<em>IMulti Ref Contained Element</em>' class. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer
+ * <em>IMulti Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainer()
+ * @generated
+ */
+ int IMULTI_REF_NON_CONTAINER = 6;
+
+ /**
+ * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_NON_CONTAINER__ELEMENTS = 0;
+
+ /**
+ * The number of structural features of the '<em>IMulti Ref Non Container</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_NON_CONTAINER_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement
+ * <em>IMulti Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainedElement()
+ * @generated
+ */
+ int IMULTI_REF_NON_CONTAINED_ELEMENT = 7;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT = 0;
+
+ /**
+ * The number of structural features of the '<em>IMulti Ref Non Contained Element</em>' class. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement
+ * <em>INamed Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getINamedElement()
+ * @generated
+ */
+ int INAMED_ELEMENT = 8;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int INAMED_ELEMENT__NAME = 0;
+
+ /**
+ * The number of structural features of the '<em>INamed Element</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int INAMED_ELEMENT_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink
+ * <em>IContained Element No Parent Link</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIContainedElementNoParentLink()
+ * @generated
+ */
+ int ICONTAINED_ELEMENT_NO_PARENT_LINK = 9;
+
+ /**
+ * The number of structural features of the '<em>IContained Element No Parent Link</em>' class. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL
+ * <em>ISingle Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainerNPL()
+ * @generated
+ */
+ int ISINGLE_REF_CONTAINER_NPL = 10;
+
+ /**
+ * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_CONTAINER_NPL__ELEMENT = 0;
+
+ /**
+ * The number of structural features of the '<em>ISingle Ref Container NPL</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_CONTAINER_NPL_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL
+ * <em>ISingle Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainerNPL()
+ * @generated
+ */
+ int ISINGLE_REF_NON_CONTAINER_NPL = 11;
+
+ /**
+ * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT = 0;
+
+ /**
+ * The number of structural features of the '<em>ISingle Ref Non Container NPL</em>' class. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL
+ * <em>IMulti Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainerNPL()
+ * @generated
+ */
+ int IMULTI_REF_CONTAINER_NPL = 12;
+
+ /**
+ * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_CONTAINER_NPL__ELEMENTS = 0;
+
+ /**
+ * The number of structural features of the '<em>IMulti Ref Container NPL</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_CONTAINER_NPL_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL
+ * <em>IMulti Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainerNPL()
+ * @generated
+ */
+ int IMULTI_REF_NON_CONTAINER_NPL = 13;
+
+ /**
+ * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS = 0;
+
+ /**
+ * The number of structural features of the '<em>IMulti Ref Non Container NPL</em>' class. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT = 1;
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer
+ * <em>ISingle Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>ISingle Ref Container</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer
+ * @generated
+ */
+ EClass getISingleRefContainer();
+
+ /**
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainer#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.model4interfaces.ISingleRefContainer#getElement()
+ * @see #getISingleRefContainer()
+ * @generated
+ */
+ EReference getISingleRefContainer_Element();
+
+ /**
+ * Returns the meta object for class '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement
+ * <em>ISingle Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>ISingle Ref Contained Element</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement
+ * @generated
+ */
+ EClass getISingleRefContainedElement();
+
+ /**
+ * Returns the meta object for the container reference '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainedElement#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.model4interfaces.ISingleRefContainedElement#getParent()
+ * @see #getISingleRefContainedElement()
+ * @generated
+ */
+ EReference getISingleRefContainedElement_Parent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer
+ * <em>ISingle Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>ISingle Ref Non Container</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer
+ * @generated
+ */
+ EClass getISingleRefNonContainer();
+
+ /**
+ * Returns the meta object for the reference '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainer#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.model4interfaces.ISingleRefNonContainer#getElement()
+ * @see #getISingleRefNonContainer()
+ * @generated
+ */
+ EReference getISingleRefNonContainer_Element();
+
+ /**
+ * Returns the meta object for class '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement
+ * <em>ISingle Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>ISingle Ref Non Contained Element</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement
+ * @generated
+ */
+ EClass getISingleRefNonContainedElement();
+
+ /**
+ * Returns the meta object for the reference '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainedElement#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.model4interfaces.ISingleRefNonContainedElement#getParent()
+ * @see #getISingleRefNonContainedElement()
+ * @generated
+ */
+ EReference getISingleRefNonContainedElement_Parent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer
+ * <em>IMulti Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IMulti Ref Container</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer
+ * @generated
+ */
+ EClass getIMultiRefContainer();
+
+ /**
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainer#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.model4interfaces.IMultiRefContainer#getElements()
+ * @see #getIMultiRefContainer()
+ * @generated
+ */
+ EReference getIMultiRefContainer_Elements();
+
+ /**
+ * Returns the meta object for class '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement
+ * <em>IMulti Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IMulti Ref Contained Element</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement
+ * @generated
+ */
+ EClass getIMultiRefContainedElement();
+
+ /**
+ * Returns the meta object for the container reference '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainedElement#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.model4interfaces.IMultiRefContainedElement#getParent()
+ * @see #getIMultiRefContainedElement()
+ * @generated
+ */
+ EReference getIMultiRefContainedElement_Parent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer
+ * <em>IMulti Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IMulti Ref Non Container</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer
+ * @generated
+ */
+ EClass getIMultiRefNonContainer();
+
+ /**
+ * Returns the meta object for the reference list '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainer#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.model4interfaces.IMultiRefNonContainer#getElements()
+ * @see #getIMultiRefNonContainer()
+ * @generated
+ */
+ EReference getIMultiRefNonContainer_Elements();
+
+ /**
+ * Returns the meta object for class '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement
+ * <em>IMulti Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IMulti Ref Non Contained Element</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement
+ * @generated
+ */
+ EClass getIMultiRefNonContainedElement();
+
+ /**
+ * Returns the meta object for the reference '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainedElement#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.model4interfaces.IMultiRefNonContainedElement#getParent()
+ * @see #getIMultiRefNonContainedElement()
+ * @generated
+ */
+ EReference getIMultiRefNonContainedElement_Parent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement
+ * <em>INamed Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>INamed Element</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement
+ * @generated
+ */
+ EClass getINamedElement();
+
+ /**
+ * Returns the meta object for the attribute '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.INamedElement#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.model4interfaces.INamedElement#getName()
+ * @see #getINamedElement()
+ * @generated
+ */
+ EAttribute getINamedElement_Name();
+
+ /**
+ * Returns the meta object for class '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink
+ * <em>IContained Element No Parent Link</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IContained Element No Parent Link</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IContainedElementNoParentLink
+ * @generated
+ */
+ EClass getIContainedElementNoParentLink();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL
+ * <em>ISingle Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>ISingle Ref Container NPL</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL
+ * @generated
+ */
+ EClass getISingleRefContainerNPL();
+
+ /**
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefContainerNPL#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.model4interfaces.ISingleRefContainerNPL#getElement()
+ * @see #getISingleRefContainerNPL()
+ * @generated
+ */
+ EReference getISingleRefContainerNPL_Element();
+
+ /**
+ * Returns the meta object for class '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL
+ * <em>ISingle Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>ISingle Ref Non Container NPL</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL
+ * @generated
+ */
+ EClass getISingleRefNonContainerNPL();
+
+ /**
+ * Returns the meta object for the reference '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.ISingleRefNonContainerNPL#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.model4interfaces.ISingleRefNonContainerNPL#getElement()
+ * @see #getISingleRefNonContainerNPL()
+ * @generated
+ */
+ EReference getISingleRefNonContainerNPL_Element();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL
+ * <em>IMulti Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IMulti Ref Container NPL</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL
+ * @generated
+ */
+ EClass getIMultiRefContainerNPL();
+
+ /**
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefContainerNPL#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.model4interfaces.IMultiRefContainerNPL#getElements()
+ * @see #getIMultiRefContainerNPL()
+ * @generated
+ */
+ EReference getIMultiRefContainerNPL_Elements();
+
+ /**
+ * Returns the meta object for class '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL
+ * <em>IMulti Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IMulti Ref Non Container NPL</em>'.
+ * @see org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL
+ * @generated
+ */
+ EClass getIMultiRefNonContainerNPL();
+
+ /**
+ * Returns the meta object for the reference list '
+ * {@link org.eclipse.emf.cdo.tests.legacy.model4interfaces.IMultiRefNonContainerNPL#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.model4interfaces.IMultiRefNonContainerNPL#getElements()
+ * @see #getIMultiRefNonContainerNPL()
+ * @generated
+ */
+ EReference getIMultiRefNonContainerNPL_Elements();
+
+ /**
+ * 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
+ */
+ model4interfacesFactory getmodel4interfacesFactory();
+
+} // model4interfacesPackage
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IContainedElementNoParentLink.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IContainedElementNoParentLink.java index 3303d5de4e..3d8f6682e3 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IContainedElementNoParentLink.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IContainedElementNoParentLink.java @@ -1,25 +1,25 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.model4interfacesPackage#getIContainedElementNoParentLink() - * @model interface="true" abstract="true" - * @generated - */ -public interface IContainedElementNoParentLink extends EObject -{ -} // IContainedElementNoParentLink +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.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/model4interfaces/IMultiRefContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainedElement.java index 34c8efced5..a64329a055 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainedElement.java @@ -1,61 +1,61 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefContainedElement#getParent <em>Parent</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.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.model4interfaces.model4interfacesPackage#getIMultiRefContainedElement_Parent() - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer#getElements - * @model opposite="elements" transient="false" - * @generated - */ - IMultiRefContainer getParent(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefContainedElement#getParent <em>Parent</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.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.model4interfaces.model4interfacesPackage#getIMultiRefContainedElement_Parent()
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer#getElements
+ * @model opposite="elements" transient="false"
+ * @generated
+ */
+ IMultiRefContainer getParent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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/model4interfaces/IMultiRefContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainer.java index 68023284fb..1c946f1505 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainer.java @@ -1,51 +1,51 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefContainer#getElements <em>Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefContainedElement}. It is bidirectional and its opposite - * is '{@link org.eclipse.emf.cdo.tests.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.model4interfaces.model4interfacesPackage#getIMultiRefContainer_Elements() - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement#getParent - * @model opposite="parent" containment="true" - * @generated - */ - EList<IMultiRefContainedElement> getElements(); - -} // IMultiRefContainer +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefContainer#getElements <em>Elements</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefContainedElement}. It is bidirectional and its opposite
+ * is '{@link org.eclipse.emf.cdo.tests.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.model4interfaces.model4interfacesPackage#getIMultiRefContainer_Elements()
+ * @see org.eclipse.emf.cdo.tests.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/model4interfaces/IMultiRefContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainerNPL.java index 0ee4762a10..2a1a1ec838 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainerNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefContainerNPL.java @@ -1,48 +1,48 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefContainerNPL#getElements <em>Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.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.model4interfaces.model4interfacesPackage#getIMultiRefContainerNPL_Elements() - * @model containment="true" - * @generated - */ - EList<IContainedElementNoParentLink> getElements(); - -} // IMultiRefContainerNPL +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefContainerNPL#getElements <em>Elements</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.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.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/model4interfaces/IMultiRefNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainedElement.java index 20b51ca7ab..b3a47dd54e 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainedElement.java @@ -1,61 +1,61 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefNonContainedElement#getParent <em>Parent</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefNonContainer#getElements <em>Elements</em>}'. <!-- - * begin-user-doc --> - * <p> - * If the meaning of the '<em>Parent</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>Parent</em>' reference. - * @see #setParent(IMultiRefNonContainer) - * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getIMultiRefNonContainedElement_Parent() - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer#getElements - * @model opposite="elements" - * @generated - */ - IMultiRefNonContainer getParent(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefNonContainedElement#getParent <em>Parent</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefNonContainer#getElements <em>Elements</em>}'. <!--
+ * begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Parent</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>Parent</em>' reference.
+ * @see #setParent(IMultiRefNonContainer)
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage#getIMultiRefNonContainedElement_Parent()
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer#getElements
+ * @model opposite="elements"
+ * @generated
+ */
+ IMultiRefNonContainer getParent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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/model4interfaces/IMultiRefNonContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainer.java index cbf32dad96..2f9f1ef486 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainer.java @@ -1,51 +1,51 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefNonContainer#getElements <em>Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefNonContainedElement}. It is bidirectional and its - * opposite is '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#getParent - * <em>Parent</em>}'. <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Elements</em>' reference 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.model4interfaces.model4interfacesPackage#getIMultiRefNonContainer_Elements() - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#getParent - * @model opposite="parent" - * @generated - */ - EList<IMultiRefNonContainedElement> getElements(); - -} // IMultiRefNonContainer +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefNonContainer#getElements <em>Elements</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefNonContainedElement}. It is bidirectional and its
+ * opposite is '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#getParent
+ * <em>Parent</em>}'. <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Elements</em>' reference 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.model4interfaces.model4interfacesPackage#getIMultiRefNonContainer_Elements()
+ * @see org.eclipse.emf.cdo.tests.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/model4interfaces/IMultiRefNonContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainerNPL.java index 7a8411b613..8edbeaa21c 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainerNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/IMultiRefNonContainerNPL.java @@ -1,48 +1,48 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefNonContainerNPL#getElements <em>Elements</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.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.model4interfaces.model4interfacesPackage#getIMultiRefNonContainerNPL_Elements() - * @model - * @generated - */ - EList<IContainedElementNoParentLink> getElements(); - -} // IMultiRefNonContainerNPL +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefNonContainerNPL#getElements <em>Elements</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.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.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/model4interfaces/INamedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/INamedElement.java index e014504a5c..31a81cf4d8 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/INamedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/INamedElement.java @@ -1,56 +1,56 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.INamedElement#getName <em>Name</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.model4interfaces.model4interfacesPackage#getINamedElement_Name() - * @model - * @generated - */ - String getName(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.INamedElement#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.model4interfaces.model4interfacesPackage#getINamedElement_Name()
+ * @model
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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/model4interfaces/ISingleRefContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainedElement.java index 48966e0aad..582344f538 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainedElement.java @@ -1,61 +1,61 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefContainedElement#getParent <em>Parent</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.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.model4interfaces.model4interfacesPackage#getISingleRefContainedElement_Parent() - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer#getElement - * @model opposite="element" transient="false" - * @generated - */ - ISingleRefContainer getParent(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefContainedElement#getParent <em>Parent</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.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.model4interfaces.model4interfacesPackage#getISingleRefContainedElement_Parent()
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer#getElement
+ * @model opposite="element" transient="false"
+ * @generated
+ */
+ ISingleRefContainer getParent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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/model4interfaces/ISingleRefContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainer.java index e3ea6999a2..0dd49c01bf 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainer.java @@ -1,61 +1,61 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefContainer#getElement <em>Element</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.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.model4interfaces.model4interfacesPackage#getISingleRefContainer_Element() - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement#getParent - * @model opposite="parent" containment="true" - * @generated - */ - ISingleRefContainedElement getElement(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefContainer#getElement <em>Element</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.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.model4interfaces.model4interfacesPackage#getISingleRefContainer_Element()
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement#getParent
+ * @model opposite="parent" containment="true"
+ * @generated
+ */
+ ISingleRefContainedElement getElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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/model4interfaces/ISingleRefContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainerNPL.java index af2b1eeb13..3bce0006ce 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainerNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefContainerNPL.java @@ -1,58 +1,58 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefContainerNPL#getElement <em>Element</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.model4interfaces.model4interfacesPackage#getISingleRefContainerNPL_Element() - * @model containment="true" - * @generated - */ - IContainedElementNoParentLink getElement(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefContainerNPL#getElement <em>Element</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.model4interfaces.model4interfacesPackage#getISingleRefContainerNPL_Element()
+ * @model containment="true"
+ * @generated
+ */
+ IContainedElementNoParentLink getElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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/model4interfaces/ISingleRefNonContainedElement.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainedElement.java index ebc097c18a..7216741a34 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainedElement.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainedElement.java @@ -1,60 +1,60 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefNonContainedElement#getParent <em>Parent</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.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.model4interfaces.model4interfacesPackage#getISingleRefNonContainedElement_Parent() - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer#getElement - * @model opposite="element" - * @generated - */ - ISingleRefNonContainer getParent(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefNonContainedElement#getParent <em>Parent</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.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.model4interfaces.model4interfacesPackage#getISingleRefNonContainedElement_Parent()
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer#getElement
+ * @model opposite="element"
+ * @generated
+ */
+ ISingleRefNonContainer getParent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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/model4interfaces/ISingleRefNonContainer.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainer.java index a6943bd7cb..dbd00f6b52 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainer.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainer.java @@ -1,61 +1,61 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefNonContainer#getElement <em>Element</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.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.model4interfaces.model4interfacesPackage#getISingleRefNonContainer_Element() - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement#getParent - * @model opposite="parent" - * @generated - */ - ISingleRefNonContainedElement getElement(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefNonContainer#getElement <em>Element</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.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.model4interfaces.model4interfacesPackage#getISingleRefNonContainer_Element()
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement#getParent
+ * @model opposite="parent"
+ * @generated
+ */
+ ISingleRefNonContainedElement getElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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/model4interfaces/ISingleRefNonContainerNPL.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainerNPL.java index f313f11676..2c01162209 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainerNPL.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/ISingleRefNonContainerNPL.java @@ -1,58 +1,58 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefNonContainerNPL#getElement <em>Element</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.emf.cdo.tests.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.model4interfaces.model4interfacesPackage#getISingleRefNonContainerNPL_Element() - * @model - * @generated - */ - IContainedElementNoParentLink getElement(); - - /** - * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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 +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefNonContainerNPL#getElement <em>Element</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.cdo.tests.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.model4interfaces.model4interfacesPackage#getISingleRefNonContainerNPL_Element()
+ * @model
+ * @generated
+ */
+ IContainedElementNoParentLink getElement();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.cdo.tests.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/model4interfaces/impl/model4interfacesFactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesFactoryImpl.java index 3f40e25efd..ac86414235 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesFactoryImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesFactoryImpl.java @@ -1,99 +1,99 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.model4interfaces.impl; - -import org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesFactory; -import org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage; - -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; - -/** - * <!-- 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 --> - * - * @generated - */ - public static model4interfacesFactory init() - { - try - { - model4interfacesFactory themodel4interfacesFactory = (model4interfacesFactory)EPackage.Registry.INSTANCE - .getEFactory("http://www.eclipse.org/emf/CDO/tests/model4interfaces/1.0.0"); - if (themodel4interfacesFactory != null) - { - return themodel4interfacesFactory; - } - } - catch (Exception exception) - { - EcorePlugin.INSTANCE.log(exception); - } - return new model4interfacesFactoryImpl(); - } - - /** - * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public model4interfacesFactoryImpl() - { - super(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public EObject create(EClass eClass) - { - switch (eClass.getClassifierID()) - { - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); - } - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public model4interfacesPackage getmodel4interfacesPackage() - { - return (model4interfacesPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @deprecated - * @generated - */ - @Deprecated - public static model4interfacesPackage getPackage() - { - return model4interfacesPackage.eINSTANCE; - } - -} // model4interfacesFactoryImpl +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.model4interfaces.impl;
+
+import org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesFactory;
+import org.eclipse.emf.cdo.tests.model4interfaces.model4interfacesPackage;
+
+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;
+
+/**
+ * <!-- 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 -->
+ *
+ * @generated
+ */
+ public static model4interfacesFactory init()
+ {
+ try
+ {
+ model4interfacesFactory themodel4interfacesFactory = (model4interfacesFactory)EPackage.Registry.INSTANCE
+ .getEFactory("http://www.eclipse.org/emf/CDO/tests/model4interfaces/1.0.0");
+ if (themodel4interfacesFactory != null)
+ {
+ return themodel4interfacesFactory;
+ }
+ }
+ catch (Exception exception)
+ {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new model4interfacesFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public model4interfacesFactoryImpl()
+ {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ @Override
+ public EObject create(EClass eClass)
+ {
+ switch (eClass.getClassifierID())
+ {
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public model4interfacesPackage getmodel4interfacesPackage()
+ {
+ return (model4interfacesPackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @deprecated
+ * @generated
+ */
+ @Deprecated
+ public static model4interfacesPackage getPackage()
+ {
+ return model4interfacesPackage.eINSTANCE;
+ }
+
+} // model4interfacesFactoryImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesPackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesPackageImpl.java index 697700a84e..8b1f5dacd5 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesPackageImpl.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/impl/model4interfacesPackageImpl.java @@ -1,669 +1,669 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.model4interfaces.impl; - -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.cdo.tests.model4interfaces.model4interfacesFactory; -import org.eclipse.emf.cdo.tests.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; - -/** - * <!-- 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; - - /** - * 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.model4interfaces.model4interfacesPackage#eNS_URI - * @see #init() - * @generated - */ - private model4interfacesPackageImpl() - { - super(eNS_URI, model4interfacesFactory.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 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() - * @generated - */ - 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 - .get(eNS_URI) instanceof model4interfacesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) - : new model4interfacesPackageImpl()); - - isInited = true; - - // Create package meta-data objects - themodel4interfacesPackage.createPackageContents(); - - // Initialize created meta-data - themodel4interfacesPackage.initializePackageContents(); - - // 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() - { - return iSingleRefContainerEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getISingleRefContainer_Element() - { - return (EReference)iSingleRefContainerEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getISingleRefContainedElement() - { - return iSingleRefContainedElementEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getISingleRefContainedElement_Parent() - { - return (EReference)iSingleRefContainedElementEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getISingleRefNonContainer() - { - return iSingleRefNonContainerEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getISingleRefNonContainer_Element() - { - return (EReference)iSingleRefNonContainerEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getISingleRefNonContainedElement() - { - return iSingleRefNonContainedElementEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getISingleRefNonContainedElement_Parent() - { - return (EReference)iSingleRefNonContainedElementEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIMultiRefContainer() - { - return iMultiRefContainerEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getIMultiRefContainer_Elements() - { - return (EReference)iMultiRefContainerEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIMultiRefContainedElement() - { - return iMultiRefContainedElementEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getIMultiRefContainedElement_Parent() - { - return (EReference)iMultiRefContainedElementEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIMultiRefNonContainer() - { - return iMultiRefNonContainerEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getIMultiRefNonContainer_Elements() - { - return (EReference)iMultiRefNonContainerEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIMultiRefNonContainedElement() - { - return iMultiRefNonContainedElementEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getIMultiRefNonContainedElement_Parent() - { - return (EReference)iMultiRefNonContainedElementEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getINamedElement() - { - return iNamedElementEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EAttribute getINamedElement_Name() - { - return (EAttribute)iNamedElementEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIContainedElementNoParentLink() - { - return iContainedElementNoParentLinkEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getISingleRefContainerNPL() - { - return iSingleRefContainerNPLEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getISingleRefContainerNPL_Element() - { - return (EReference)iSingleRefContainerNPLEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getISingleRefNonContainerNPL() - { - return iSingleRefNonContainerNPLEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getISingleRefNonContainerNPL_Element() - { - return (EReference)iSingleRefNonContainerNPLEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIMultiRefContainerNPL() - { - return iMultiRefContainerNPLEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getIMultiRefContainerNPL_Elements() - { - return (EReference)iMultiRefContainerNPLEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EClass getIMultiRefNonContainerNPL() - { - return iMultiRefNonContainerNPLEClass; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public EReference getIMultiRefNonContainerNPL_Elements() - { - return (EReference)iMultiRefNonContainerNPLEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - public model4interfacesFactory getmodel4interfacesFactory() - { - return (model4interfacesFactory)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 - iSingleRefContainerEClass = createEClass(ISINGLE_REF_CONTAINER); - createEReference(iSingleRefContainerEClass, ISINGLE_REF_CONTAINER__ELEMENT); - - iSingleRefContainedElementEClass = createEClass(ISINGLE_REF_CONTAINED_ELEMENT); - createEReference(iSingleRefContainedElementEClass, ISINGLE_REF_CONTAINED_ELEMENT__PARENT); - - iSingleRefNonContainerEClass = createEClass(ISINGLE_REF_NON_CONTAINER); - createEReference(iSingleRefNonContainerEClass, ISINGLE_REF_NON_CONTAINER__ELEMENT); - - iSingleRefNonContainedElementEClass = createEClass(ISINGLE_REF_NON_CONTAINED_ELEMENT); - createEReference(iSingleRefNonContainedElementEClass, ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT); - - iMultiRefContainerEClass = createEClass(IMULTI_REF_CONTAINER); - createEReference(iMultiRefContainerEClass, IMULTI_REF_CONTAINER__ELEMENTS); - - iMultiRefContainedElementEClass = createEClass(IMULTI_REF_CONTAINED_ELEMENT); - createEReference(iMultiRefContainedElementEClass, IMULTI_REF_CONTAINED_ELEMENT__PARENT); - - iMultiRefNonContainerEClass = createEClass(IMULTI_REF_NON_CONTAINER); - createEReference(iMultiRefNonContainerEClass, IMULTI_REF_NON_CONTAINER__ELEMENTS); - - iMultiRefNonContainedElementEClass = createEClass(IMULTI_REF_NON_CONTAINED_ELEMENT); - createEReference(iMultiRefNonContainedElementEClass, IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT); - - iNamedElementEClass = createEClass(INAMED_ELEMENT); - createEAttribute(iNamedElementEClass, INAMED_ELEMENT__NAME); - - iContainedElementNoParentLinkEClass = createEClass(ICONTAINED_ELEMENT_NO_PARENT_LINK); - - iSingleRefContainerNPLEClass = createEClass(ISINGLE_REF_CONTAINER_NPL); - createEReference(iSingleRefContainerNPLEClass, ISINGLE_REF_CONTAINER_NPL__ELEMENT); - - iSingleRefNonContainerNPLEClass = createEClass(ISINGLE_REF_NON_CONTAINER_NPL); - createEReference(iSingleRefNonContainerNPLEClass, ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT); - - iMultiRefContainerNPLEClass = createEClass(IMULTI_REF_CONTAINER_NPL); - createEReference(iMultiRefContainerNPLEClass, IMULTI_REF_CONTAINER_NPL__ELEMENTS); - - iMultiRefNonContainerNPLEClass = createEClass(IMULTI_REF_NON_CONTAINER_NPL); - createEReference(iMultiRefNonContainerNPLEClass, IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS); - } - - /** - * <!-- 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); - - // Create type parameters - - // Set bounds for type parameters - - // Add supertypes to classes - - // Initialize classes and features; add operations and parameters - initEClass(iSingleRefContainerEClass, ISingleRefContainer.class, "ISingleRefContainer", IS_ABSTRACT, IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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); - - initEClass(iNamedElementEClass, INamedElement.class, "INamedElement", IS_ABSTRACT, IS_INTERFACE, - IS_GENERATED_INSTANCE_CLASS); - initEAttribute(getINamedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, INamedElement.class, - !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); - - initEClass(iContainedElementNoParentLinkEClass, IContainedElementNoParentLink.class, - "IContainedElementNoParentLink", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - - initEClass(iSingleRefContainerNPLEClass, ISingleRefContainerNPL.class, "ISingleRefContainerNPL", IS_ABSTRACT, - IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); - 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(), 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(), 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(), 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 - createResource(eNS_URI); - } - -} // model4interfacesPackageImpl +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.model4interfaces.impl;
+
+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.cdo.tests.model4interfaces.model4interfacesFactory;
+import org.eclipse.emf.cdo.tests.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;
+
+/**
+ * <!-- 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;
+
+ /**
+ * 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.model4interfaces.model4interfacesPackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private model4interfacesPackageImpl()
+ {
+ super(eNS_URI, model4interfacesFactory.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 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()
+ * @generated
+ */
+ 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
+ .get(eNS_URI) instanceof model4interfacesPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI)
+ : new model4interfacesPackageImpl());
+
+ isInited = true;
+
+ // Create package meta-data objects
+ themodel4interfacesPackage.createPackageContents();
+
+ // Initialize created meta-data
+ themodel4interfacesPackage.initializePackageContents();
+
+ // 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()
+ {
+ return iSingleRefContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getISingleRefContainer_Element()
+ {
+ return (EReference)iSingleRefContainerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getISingleRefContainedElement()
+ {
+ return iSingleRefContainedElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getISingleRefContainedElement_Parent()
+ {
+ return (EReference)iSingleRefContainedElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getISingleRefNonContainer()
+ {
+ return iSingleRefNonContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getISingleRefNonContainer_Element()
+ {
+ return (EReference)iSingleRefNonContainerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getISingleRefNonContainedElement()
+ {
+ return iSingleRefNonContainedElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getISingleRefNonContainedElement_Parent()
+ {
+ return (EReference)iSingleRefNonContainedElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIMultiRefContainer()
+ {
+ return iMultiRefContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getIMultiRefContainer_Elements()
+ {
+ return (EReference)iMultiRefContainerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIMultiRefContainedElement()
+ {
+ return iMultiRefContainedElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getIMultiRefContainedElement_Parent()
+ {
+ return (EReference)iMultiRefContainedElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIMultiRefNonContainer()
+ {
+ return iMultiRefNonContainerEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getIMultiRefNonContainer_Elements()
+ {
+ return (EReference)iMultiRefNonContainerEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIMultiRefNonContainedElement()
+ {
+ return iMultiRefNonContainedElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getIMultiRefNonContainedElement_Parent()
+ {
+ return (EReference)iMultiRefNonContainedElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getINamedElement()
+ {
+ return iNamedElementEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EAttribute getINamedElement_Name()
+ {
+ return (EAttribute)iNamedElementEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIContainedElementNoParentLink()
+ {
+ return iContainedElementNoParentLinkEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getISingleRefContainerNPL()
+ {
+ return iSingleRefContainerNPLEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getISingleRefContainerNPL_Element()
+ {
+ return (EReference)iSingleRefContainerNPLEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getISingleRefNonContainerNPL()
+ {
+ return iSingleRefNonContainerNPLEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getISingleRefNonContainerNPL_Element()
+ {
+ return (EReference)iSingleRefNonContainerNPLEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIMultiRefContainerNPL()
+ {
+ return iMultiRefContainerNPLEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getIMultiRefContainerNPL_Elements()
+ {
+ return (EReference)iMultiRefContainerNPLEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EClass getIMultiRefNonContainerNPL()
+ {
+ return iMultiRefNonContainerNPLEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public EReference getIMultiRefNonContainerNPL_Elements()
+ {
+ return (EReference)iMultiRefNonContainerNPLEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ public model4interfacesFactory getmodel4interfacesFactory()
+ {
+ return (model4interfacesFactory)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
+ iSingleRefContainerEClass = createEClass(ISINGLE_REF_CONTAINER);
+ createEReference(iSingleRefContainerEClass, ISINGLE_REF_CONTAINER__ELEMENT);
+
+ iSingleRefContainedElementEClass = createEClass(ISINGLE_REF_CONTAINED_ELEMENT);
+ createEReference(iSingleRefContainedElementEClass, ISINGLE_REF_CONTAINED_ELEMENT__PARENT);
+
+ iSingleRefNonContainerEClass = createEClass(ISINGLE_REF_NON_CONTAINER);
+ createEReference(iSingleRefNonContainerEClass, ISINGLE_REF_NON_CONTAINER__ELEMENT);
+
+ iSingleRefNonContainedElementEClass = createEClass(ISINGLE_REF_NON_CONTAINED_ELEMENT);
+ createEReference(iSingleRefNonContainedElementEClass, ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT);
+
+ iMultiRefContainerEClass = createEClass(IMULTI_REF_CONTAINER);
+ createEReference(iMultiRefContainerEClass, IMULTI_REF_CONTAINER__ELEMENTS);
+
+ iMultiRefContainedElementEClass = createEClass(IMULTI_REF_CONTAINED_ELEMENT);
+ createEReference(iMultiRefContainedElementEClass, IMULTI_REF_CONTAINED_ELEMENT__PARENT);
+
+ iMultiRefNonContainerEClass = createEClass(IMULTI_REF_NON_CONTAINER);
+ createEReference(iMultiRefNonContainerEClass, IMULTI_REF_NON_CONTAINER__ELEMENTS);
+
+ iMultiRefNonContainedElementEClass = createEClass(IMULTI_REF_NON_CONTAINED_ELEMENT);
+ createEReference(iMultiRefNonContainedElementEClass, IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT);
+
+ iNamedElementEClass = createEClass(INAMED_ELEMENT);
+ createEAttribute(iNamedElementEClass, INAMED_ELEMENT__NAME);
+
+ iContainedElementNoParentLinkEClass = createEClass(ICONTAINED_ELEMENT_NO_PARENT_LINK);
+
+ iSingleRefContainerNPLEClass = createEClass(ISINGLE_REF_CONTAINER_NPL);
+ createEReference(iSingleRefContainerNPLEClass, ISINGLE_REF_CONTAINER_NPL__ELEMENT);
+
+ iSingleRefNonContainerNPLEClass = createEClass(ISINGLE_REF_NON_CONTAINER_NPL);
+ createEReference(iSingleRefNonContainerNPLEClass, ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT);
+
+ iMultiRefContainerNPLEClass = createEClass(IMULTI_REF_CONTAINER_NPL);
+ createEReference(iMultiRefContainerNPLEClass, IMULTI_REF_CONTAINER_NPL__ELEMENTS);
+
+ iMultiRefNonContainerNPLEClass = createEClass(IMULTI_REF_NON_CONTAINER_NPL);
+ createEReference(iMultiRefNonContainerNPLEClass, IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS);
+ }
+
+ /**
+ * <!-- 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);
+
+ // Create type parameters
+
+ // Set bounds for type parameters
+
+ // Add supertypes to classes
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(iSingleRefContainerEClass, ISingleRefContainer.class, "ISingleRefContainer", IS_ABSTRACT, IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ 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(), 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(), 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(), 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(), 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(), 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(), 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(), 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);
+
+ initEClass(iNamedElementEClass, INamedElement.class, "INamedElement", IS_ABSTRACT, IS_INTERFACE,
+ IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getINamedElement_Name(), ecorePackage.getEString(), "name", null, 0, 1, INamedElement.class,
+ !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ initEClass(iContainedElementNoParentLinkEClass, IContainedElementNoParentLink.class,
+ "IContainedElementNoParentLink", IS_ABSTRACT, IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+
+ initEClass(iSingleRefContainerNPLEClass, ISingleRefContainerNPL.class, "ISingleRefContainerNPL", IS_ABSTRACT,
+ IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ 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(), 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(), 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(), 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
+ createResource(eNS_URI);
+ }
+
+} // model4interfacesPackageImpl
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesFactory.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesFactory.java index 3a7272dd3c..69a0a17a58 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesFactory.java @@ -1,40 +1,40 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.model4interfaces; - -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.model4interfaces.model4interfacesPackage - * @generated - */ -public interface model4interfacesFactory extends EFactory -{ - /** - * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - model4interfacesFactory eINSTANCE = org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesFactoryImpl - .init(); - - /** - * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the package supported by this factory. - * @generated - */ - model4interfacesPackage getmodel4interfacesPackage(); - -} // model4interfacesFactory +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.model4interfaces;
+
+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.model4interfaces.model4interfacesPackage
+ * @generated
+ */
+public interface model4interfacesFactory extends EFactory
+{
+ /**
+ * The singleton instance of the factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ model4interfacesFactory eINSTANCE = org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesFactoryImpl
+ .init();
+
+ /**
+ * Returns the package supported by this factory. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the package supported by this factory.
+ * @generated
+ */
+ model4interfacesPackage getmodel4interfacesPackage();
+
+} // model4interfacesFactory
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesPackage.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesPackage.java index 6c08545c64..3c9c337e14 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesPackage.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/model4interfacesPackage.java @@ -1,740 +1,740 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.model4interfaces; - -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.model4interfaces.model4interfacesFactory - * @model kind="package" - * @generated - */ -public interface model4interfacesPackage extends EPackage -{ - /** - * The package name. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - String eNAME = "model4interfaces"; - - /** - * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model4interfaces/1.0.0"; - - /** - * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - String eNS_PREFIX = "model4interfaces"; - - /** - * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - model4interfacesPackage eINSTANCE = org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl - .init(); - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer - * <em>ISingle Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainer() - * @generated - */ - int ISINGLE_REF_CONTAINER = 0; - - /** - * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_CONTAINER__ELEMENT = 0; - - /** - * The number of structural features of the '<em>ISingle Ref Container</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_CONTAINER_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement - * <em>ISingle Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainedElement() - * @generated - */ - int ISINGLE_REF_CONTAINED_ELEMENT = 1; - - /** - * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_CONTAINED_ELEMENT__PARENT = 0; - - /** - * The number of structural features of the '<em>ISingle Ref Contained Element</em>' class. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer - * <em>ISingle Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainer() - * @generated - */ - int ISINGLE_REF_NON_CONTAINER = 2; - - /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_NON_CONTAINER__ELEMENT = 0; - - /** - * The number of structural features of the '<em>ISingle Ref Non Container</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_NON_CONTAINER_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement - * <em>ISingle Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainedElement() - * @generated - */ - int ISINGLE_REF_NON_CONTAINED_ELEMENT = 3; - - /** - * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT = 0; - - /** - * The number of structural features of the '<em>ISingle Ref Non Contained Element</em>' class. <!-- begin-user-doc - * --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer - * <em>IMulti Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainer() - * @generated - */ - int IMULTI_REF_CONTAINER = 4; - - /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_CONTAINER__ELEMENTS = 0; - - /** - * The number of structural features of the '<em>IMulti Ref Container</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_CONTAINER_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement - * <em>IMulti Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainedElement() - * @generated - */ - int IMULTI_REF_CONTAINED_ELEMENT = 5; - - /** - * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_CONTAINED_ELEMENT__PARENT = 0; - - /** - * The number of structural features of the '<em>IMulti Ref Contained Element</em>' class. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer - * <em>IMulti Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainer() - * @generated - */ - int IMULTI_REF_NON_CONTAINER = 6; - - /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_NON_CONTAINER__ELEMENTS = 0; - - /** - * The number of structural features of the '<em>IMulti Ref Non Container</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_NON_CONTAINER_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement - * <em>IMulti Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainedElement() - * @generated - */ - int IMULTI_REF_NON_CONTAINED_ELEMENT = 7; - - /** - * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT = 0; - - /** - * The number of structural features of the '<em>IMulti Ref Non Contained Element</em>' class. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement - * <em>INamed Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.INamedElement - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getINamedElement() - * @generated - */ - int INAMED_ELEMENT = 8; - - /** - * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int INAMED_ELEMENT__NAME = 0; - - /** - * The number of structural features of the '<em>INamed Element</em>' class. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @generated - * @ordered - */ - int INAMED_ELEMENT_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink - * <em>IContained Element No Parent Link</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIContainedElementNoParentLink() - * @generated - */ - int ICONTAINED_ELEMENT_NO_PARENT_LINK = 9; - - /** - * The number of structural features of the '<em>IContained Element No Parent Link</em>' class. <!-- begin-user-doc - * --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT = 0; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL - * <em>ISingle Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainerNPL() - * @generated - */ - int ISINGLE_REF_CONTAINER_NPL = 10; - - /** - * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc - * --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_CONTAINER_NPL__ELEMENT = 0; - - /** - * The number of structural features of the '<em>ISingle Ref Container NPL</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_CONTAINER_NPL_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL - * <em>ISingle Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainerNPL() - * @generated - */ - int ISINGLE_REF_NON_CONTAINER_NPL = 11; - - /** - * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT = 0; - - /** - * The number of structural features of the '<em>ISingle Ref Non Container NPL</em>' class. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int ISINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL - * <em>IMulti Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainerNPL() - * @generated - */ - int IMULTI_REF_CONTAINER_NPL = 12; - - /** - * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_CONTAINER_NPL__ELEMENTS = 0; - - /** - * The number of structural features of the '<em>IMulti Ref Container NPL</em>' class. <!-- begin-user-doc --> <!-- - * end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_CONTAINER_NPL_FEATURE_COUNT = 1; - - /** - * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL - * <em>IMulti Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL - * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainerNPL() - * @generated - */ - int IMULTI_REF_NON_CONTAINER_NPL = 13; - - /** - * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS = 0; - - /** - * The number of structural features of the '<em>IMulti Ref Non Container NPL</em>' class. <!-- begin-user-doc --> - * <!-- end-user-doc --> - * - * @generated - * @ordered - */ - int IMULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT = 1; - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer - * <em>ISingle Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>ISingle Ref Container</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer - * @generated - */ - EClass getISingleRefContainer(); - - /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer#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.model4interfaces.ISingleRefContainer#getElement() - * @see #getISingleRefContainer() - * @generated - */ - EReference getISingleRefContainer_Element(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement - * <em>ISingle Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>ISingle Ref Contained Element</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement - * @generated - */ - EClass getISingleRefContainedElement(); - - /** - * Returns the meta object for the container reference ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement#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.model4interfaces.ISingleRefContainedElement#getParent() - * @see #getISingleRefContainedElement() - * @generated - */ - EReference getISingleRefContainedElement_Parent(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer - * <em>ISingle Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>ISingle Ref Non Container</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer - * @generated - */ - EClass getISingleRefNonContainer(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer#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.model4interfaces.ISingleRefNonContainer#getElement() - * @see #getISingleRefNonContainer() - * @generated - */ - EReference getISingleRefNonContainer_Element(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement - * <em>ISingle Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>ISingle Ref Non Contained Element</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement - * @generated - */ - EClass getISingleRefNonContainedElement(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement#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.model4interfaces.ISingleRefNonContainedElement#getParent() - * @see #getISingleRefNonContainedElement() - * @generated - */ - EReference getISingleRefNonContainedElement_Parent(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer - * <em>IMulti Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IMulti Ref Container</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer - * @generated - */ - EClass getIMultiRefContainer(); - - /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer#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.model4interfaces.IMultiRefContainer#getElements() - * @see #getIMultiRefContainer() - * @generated - */ - EReference getIMultiRefContainer_Elements(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement - * <em>IMulti Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IMulti Ref Contained Element</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement - * @generated - */ - EClass getIMultiRefContainedElement(); - - /** - * Returns the meta object for the container reference ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement#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.model4interfaces.IMultiRefContainedElement#getParent() - * @see #getIMultiRefContainedElement() - * @generated - */ - EReference getIMultiRefContainedElement_Parent(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer - * <em>IMulti Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IMulti Ref Non Container</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer - * @generated - */ - EClass getIMultiRefNonContainer(); - - /** - * Returns the meta object for the reference list ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer#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.model4interfaces.IMultiRefNonContainer#getElements() - * @see #getIMultiRefNonContainer() - * @generated - */ - EReference getIMultiRefNonContainer_Elements(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement - * <em>IMulti Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IMulti Ref Non Contained Element</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement - * @generated - */ - EClass getIMultiRefNonContainedElement(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#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.model4interfaces.IMultiRefNonContainedElement#getParent() - * @see #getIMultiRefNonContainedElement() - * @generated - */ - EReference getIMultiRefNonContainedElement_Parent(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement - * <em>INamed Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>INamed Element</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.INamedElement - * @generated - */ - EClass getINamedElement(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement#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.model4interfaces.INamedElement#getName() - * @see #getINamedElement() - * @generated - */ - EAttribute getINamedElement_Name(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink - * <em>IContained Element No Parent Link</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IContained Element No Parent Link</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink - * @generated - */ - EClass getIContainedElementNoParentLink(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL - * <em>ISingle Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>ISingle Ref Container NPL</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL - * @generated - */ - EClass getISingleRefContainerNPL(); - - /** - * Returns the meta object for the containment reference ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL#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.model4interfaces.ISingleRefContainerNPL#getElement() - * @see #getISingleRefContainerNPL() - * @generated - */ - EReference getISingleRefContainerNPL_Element(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL - * <em>ISingle Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>ISingle Ref Non Container NPL</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL - * @generated - */ - EClass getISingleRefNonContainerNPL(); - - /** - * Returns the meta object for the reference ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL#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.model4interfaces.ISingleRefNonContainerNPL#getElement() - * @see #getISingleRefNonContainerNPL() - * @generated - */ - EReference getISingleRefNonContainerNPL_Element(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL - * <em>IMulti Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IMulti Ref Container NPL</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL - * @generated - */ - EClass getIMultiRefContainerNPL(); - - /** - * Returns the meta object for the containment reference list ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL#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.model4interfaces.IMultiRefContainerNPL#getElements() - * @see #getIMultiRefContainerNPL() - * @generated - */ - EReference getIMultiRefContainerNPL_Elements(); - - /** - * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL - * <em>IMulti Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @return the meta object for class '<em>IMulti Ref Non Container NPL</em>'. - * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL - * @generated - */ - EClass getIMultiRefNonContainerNPL(); - - /** - * Returns the meta object for the reference list ' - * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL#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.model4interfaces.IMultiRefNonContainerNPL#getElements() - * @see #getIMultiRefNonContainerNPL() - * @generated - */ - EReference getIMultiRefNonContainerNPL_Elements(); - - /** - * 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 - */ - model4interfacesFactory getmodel4interfacesFactory(); - -} // model4interfacesPackage +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.model4interfaces;
+
+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.model4interfaces.model4interfacesFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface model4interfacesPackage extends EPackage
+{
+ /**
+ * The package name. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNAME = "model4interfaces";
+
+ /**
+ * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/model4interfaces/1.0.0";
+
+ /**
+ * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ String eNS_PREFIX = "model4interfaces";
+
+ /**
+ * The singleton instance of the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ */
+ model4interfacesPackage eINSTANCE = org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl
+ .init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer
+ * <em>ISingle Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainer()
+ * @generated
+ */
+ int ISINGLE_REF_CONTAINER = 0;
+
+ /**
+ * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_CONTAINER__ELEMENT = 0;
+
+ /**
+ * The number of structural features of the '<em>ISingle Ref Container</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_CONTAINER_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement
+ * <em>ISingle Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainedElement()
+ * @generated
+ */
+ int ISINGLE_REF_CONTAINED_ELEMENT = 1;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_CONTAINED_ELEMENT__PARENT = 0;
+
+ /**
+ * The number of structural features of the '<em>ISingle Ref Contained Element</em>' class. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_CONTAINED_ELEMENT_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer
+ * <em>ISingle Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainer()
+ * @generated
+ */
+ int ISINGLE_REF_NON_CONTAINER = 2;
+
+ /**
+ * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_NON_CONTAINER__ELEMENT = 0;
+
+ /**
+ * The number of structural features of the '<em>ISingle Ref Non Container</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_NON_CONTAINER_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement
+ * <em>ISingle Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainedElement()
+ * @generated
+ */
+ int ISINGLE_REF_NON_CONTAINED_ELEMENT = 3;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_NON_CONTAINED_ELEMENT__PARENT = 0;
+
+ /**
+ * The number of structural features of the '<em>ISingle Ref Non Contained Element</em>' class. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer
+ * <em>IMulti Ref Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainer()
+ * @generated
+ */
+ int IMULTI_REF_CONTAINER = 4;
+
+ /**
+ * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_CONTAINER__ELEMENTS = 0;
+
+ /**
+ * The number of structural features of the '<em>IMulti Ref Container</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_CONTAINER_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement
+ * <em>IMulti Ref Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainedElement()
+ * @generated
+ */
+ int IMULTI_REF_CONTAINED_ELEMENT = 5;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' container reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_CONTAINED_ELEMENT__PARENT = 0;
+
+ /**
+ * The number of structural features of the '<em>IMulti Ref Contained Element</em>' class. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_CONTAINED_ELEMENT_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer
+ * <em>IMulti Ref Non Container</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainer()
+ * @generated
+ */
+ int IMULTI_REF_NON_CONTAINER = 6;
+
+ /**
+ * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_NON_CONTAINER__ELEMENTS = 0;
+
+ /**
+ * The number of structural features of the '<em>IMulti Ref Non Container</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_NON_CONTAINER_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement
+ * <em>IMulti Ref Non Contained Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainedElement()
+ * @generated
+ */
+ int IMULTI_REF_NON_CONTAINED_ELEMENT = 7;
+
+ /**
+ * The feature id for the '<em><b>Parent</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_NON_CONTAINED_ELEMENT__PARENT = 0;
+
+ /**
+ * The number of structural features of the '<em>IMulti Ref Non Contained Element</em>' class. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_NON_CONTAINED_ELEMENT_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement
+ * <em>INamed Element</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.INamedElement
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getINamedElement()
+ * @generated
+ */
+ int INAMED_ELEMENT = 8;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int INAMED_ELEMENT__NAME = 0;
+
+ /**
+ * The number of structural features of the '<em>INamed Element</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int INAMED_ELEMENT_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink
+ * <em>IContained Element No Parent Link</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIContainedElementNoParentLink()
+ * @generated
+ */
+ int ICONTAINED_ELEMENT_NO_PARENT_LINK = 9;
+
+ /**
+ * The number of structural features of the '<em>IContained Element No Parent Link</em>' class. <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ICONTAINED_ELEMENT_NO_PARENT_LINK_FEATURE_COUNT = 0;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL
+ * <em>ISingle Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefContainerNPL()
+ * @generated
+ */
+ int ISINGLE_REF_CONTAINER_NPL = 10;
+
+ /**
+ * The feature id for the '<em><b>Element</b></em>' containment reference. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_CONTAINER_NPL__ELEMENT = 0;
+
+ /**
+ * The number of structural features of the '<em>ISingle Ref Container NPL</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_CONTAINER_NPL_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL
+ * <em>ISingle Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getISingleRefNonContainerNPL()
+ * @generated
+ */
+ int ISINGLE_REF_NON_CONTAINER_NPL = 11;
+
+ /**
+ * The feature id for the '<em><b>Element</b></em>' reference. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_NON_CONTAINER_NPL__ELEMENT = 0;
+
+ /**
+ * The number of structural features of the '<em>ISingle Ref Non Container NPL</em>' class. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int ISINGLE_REF_NON_CONTAINER_NPL_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL
+ * <em>IMulti Ref Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefContainerNPL()
+ * @generated
+ */
+ int IMULTI_REF_CONTAINER_NPL = 12;
+
+ /**
+ * The feature id for the '<em><b>Elements</b></em>' containment reference list. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_CONTAINER_NPL__ELEMENTS = 0;
+
+ /**
+ * The number of structural features of the '<em>IMulti Ref Container NPL</em>' class. <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_CONTAINER_NPL_FEATURE_COUNT = 1;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL
+ * <em>IMulti Ref Non Container NPL</em>}' class. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.impl.model4interfacesPackageImpl#getIMultiRefNonContainerNPL()
+ * @generated
+ */
+ int IMULTI_REF_NON_CONTAINER_NPL = 13;
+
+ /**
+ * The feature id for the '<em><b>Elements</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_NON_CONTAINER_NPL__ELEMENTS = 0;
+
+ /**
+ * The number of structural features of the '<em>IMulti Ref Non Container NPL</em>' class. <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ *
+ * @generated
+ * @ordered
+ */
+ int IMULTI_REF_NON_CONTAINER_NPL_FEATURE_COUNT = 1;
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer
+ * <em>ISingle Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>ISingle Ref Container</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer
+ * @generated
+ */
+ EClass getISingleRefContainer();
+
+ /**
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainer#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.model4interfaces.ISingleRefContainer#getElement()
+ * @see #getISingleRefContainer()
+ * @generated
+ */
+ EReference getISingleRefContainer_Element();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement
+ * <em>ISingle Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>ISingle Ref Contained Element</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement
+ * @generated
+ */
+ EClass getISingleRefContainedElement();
+
+ /**
+ * Returns the meta object for the container reference '
+ * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainedElement#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.model4interfaces.ISingleRefContainedElement#getParent()
+ * @see #getISingleRefContainedElement()
+ * @generated
+ */
+ EReference getISingleRefContainedElement_Parent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer
+ * <em>ISingle Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>ISingle Ref Non Container</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer
+ * @generated
+ */
+ EClass getISingleRefNonContainer();
+
+ /**
+ * Returns the meta object for the reference '
+ * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainer#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.model4interfaces.ISingleRefNonContainer#getElement()
+ * @see #getISingleRefNonContainer()
+ * @generated
+ */
+ EReference getISingleRefNonContainer_Element();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement
+ * <em>ISingle Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>ISingle Ref Non Contained Element</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement
+ * @generated
+ */
+ EClass getISingleRefNonContainedElement();
+
+ /**
+ * Returns the meta object for the reference '
+ * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainedElement#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.model4interfaces.ISingleRefNonContainedElement#getParent()
+ * @see #getISingleRefNonContainedElement()
+ * @generated
+ */
+ EReference getISingleRefNonContainedElement_Parent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer
+ * <em>IMulti Ref Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IMulti Ref Container</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer
+ * @generated
+ */
+ EClass getIMultiRefContainer();
+
+ /**
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainer#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.model4interfaces.IMultiRefContainer#getElements()
+ * @see #getIMultiRefContainer()
+ * @generated
+ */
+ EReference getIMultiRefContainer_Elements();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement
+ * <em>IMulti Ref Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IMulti Ref Contained Element</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement
+ * @generated
+ */
+ EClass getIMultiRefContainedElement();
+
+ /**
+ * Returns the meta object for the container reference '
+ * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainedElement#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.model4interfaces.IMultiRefContainedElement#getParent()
+ * @see #getIMultiRefContainedElement()
+ * @generated
+ */
+ EReference getIMultiRefContainedElement_Parent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer
+ * <em>IMulti Ref Non Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IMulti Ref Non Container</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer
+ * @generated
+ */
+ EClass getIMultiRefNonContainer();
+
+ /**
+ * Returns the meta object for the reference list '
+ * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainer#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.model4interfaces.IMultiRefNonContainer#getElements()
+ * @see #getIMultiRefNonContainer()
+ * @generated
+ */
+ EReference getIMultiRefNonContainer_Elements();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement
+ * <em>IMulti Ref Non Contained Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IMulti Ref Non Contained Element</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement
+ * @generated
+ */
+ EClass getIMultiRefNonContainedElement();
+
+ /**
+ * Returns the meta object for the reference '
+ * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainedElement#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.model4interfaces.IMultiRefNonContainedElement#getParent()
+ * @see #getIMultiRefNonContainedElement()
+ * @generated
+ */
+ EReference getIMultiRefNonContainedElement_Parent();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement
+ * <em>INamed Element</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>INamed Element</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.INamedElement
+ * @generated
+ */
+ EClass getINamedElement();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model4interfaces.INamedElement#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.model4interfaces.INamedElement#getName()
+ * @see #getINamedElement()
+ * @generated
+ */
+ EAttribute getINamedElement_Name();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink
+ * <em>IContained Element No Parent Link</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IContained Element No Parent Link</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IContainedElementNoParentLink
+ * @generated
+ */
+ EClass getIContainedElementNoParentLink();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL
+ * <em>ISingle Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>ISingle Ref Container NPL</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL
+ * @generated
+ */
+ EClass getISingleRefContainerNPL();
+
+ /**
+ * Returns the meta object for the containment reference '
+ * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefContainerNPL#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.model4interfaces.ISingleRefContainerNPL#getElement()
+ * @see #getISingleRefContainerNPL()
+ * @generated
+ */
+ EReference getISingleRefContainerNPL_Element();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL
+ * <em>ISingle Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>ISingle Ref Non Container NPL</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL
+ * @generated
+ */
+ EClass getISingleRefNonContainerNPL();
+
+ /**
+ * Returns the meta object for the reference '
+ * {@link org.eclipse.emf.cdo.tests.model4interfaces.ISingleRefNonContainerNPL#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.model4interfaces.ISingleRefNonContainerNPL#getElement()
+ * @see #getISingleRefNonContainerNPL()
+ * @generated
+ */
+ EReference getISingleRefNonContainerNPL_Element();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL
+ * <em>IMulti Ref Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IMulti Ref Container NPL</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL
+ * @generated
+ */
+ EClass getIMultiRefContainerNPL();
+
+ /**
+ * Returns the meta object for the containment reference list '
+ * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefContainerNPL#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.model4interfaces.IMultiRefContainerNPL#getElements()
+ * @see #getIMultiRefContainerNPL()
+ * @generated
+ */
+ EReference getIMultiRefContainerNPL_Elements();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL
+ * <em>IMulti Ref Non Container NPL</em>}'. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
+ * @return the meta object for class '<em>IMulti Ref Non Container NPL</em>'.
+ * @see org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL
+ * @generated
+ */
+ EClass getIMultiRefNonContainerNPL();
+
+ /**
+ * Returns the meta object for the reference list '
+ * {@link org.eclipse.emf.cdo.tests.model4interfaces.IMultiRefNonContainerNPL#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.model4interfaces.IMultiRefNonContainerNPL#getElements()
+ * @see #getIMultiRefNonContainerNPL()
+ * @generated
+ */
+ EReference getIMultiRefNonContainerNPL_Elements();
+
+ /**
+ * 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
+ */
+ model4interfacesFactory getmodel4interfacesFactory();
+
+} // model4interfacesPackage
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesAdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesAdapterFactory.java index 205a14e408..f157e71458 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesAdapterFactory.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesAdapterFactory.java @@ -1,422 +1,422 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.model4interfaces.util; - -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.cdo.tests.model4interfaces.model4interfacesPackage; - -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; - -/** - * <!-- 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.model4interfaces.model4interfacesPackage - * @generated - */ -public class model4interfacesAdapterFactory extends AdapterFactoryImpl -{ - /** - * 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 --> - * - * @generated - */ - public model4interfacesAdapterFactory() - { - if (modelPackage == null) - { - modelPackage = model4interfacesPackage.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 model4interfacesSwitch<Adapter> modelSwitch = new model4interfacesSwitch<Adapter>() - { - @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 caseIMultiRefContainer(IMultiRefContainer object) - { - return createIMultiRefContainerAdapter(); - } - - @Override - public Adapter caseIMultiRefContainedElement(IMultiRefContainedElement object) - { - return createIMultiRefContainedElementAdapter(); - } - - @Override - public Adapter caseIMultiRefNonContainer(IMultiRefNonContainer object) - { - return createIMultiRefNonContainerAdapter(); - } - - @Override - public Adapter caseIMultiRefNonContainedElement(IMultiRefNonContainedElement object) - { - return createIMultiRefNonContainedElementAdapter(); - } - - @Override - public Adapter caseINamedElement(INamedElement object) - { - return createINamedElementAdapter(); - } - - @Override - public Adapter caseIContainedElementNoParentLink(IContainedElementNoParentLink object) - { - return createIContainedElementNoParentLinkAdapter(); - } - - @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 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.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.model4interfaces.ISingleRefContainer - * @generated - */ - public Adapter createISingleRefContainerAdapter() - { - return null; - } - - /** - * 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 - */ - public Adapter createISingleRefContainedElementAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefNonContainer - * @generated - */ - public Adapter createISingleRefNonContainerAdapter() - { - return null; - } - - /** - * 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 - */ - public Adapter createISingleRefNonContainedElementAdapter() - { - return null; - } - - /** - * 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 - */ - public Adapter createIMultiRefContainerAdapter() - { - return null; - } - - /** - * 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 - */ - public Adapter createIMultiRefContainedElementAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefNonContainer - * @generated - */ - public Adapter createIMultiRefNonContainerAdapter() - { - return null; - } - - /** - * 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 - */ - public Adapter createIMultiRefNonContainedElementAdapter() - { - return null; - } - - /** - * 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 - */ - public Adapter createINamedElementAdapter() - { - return null; - } - - /** - * 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 - */ - public Adapter createIContainedElementNoParentLinkAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefContainerNPL - * @generated - */ - public Adapter createISingleRefContainerNPLAdapter() - { - return null; - } - - /** - * 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 - */ - public Adapter createISingleRefNonContainerNPLAdapter() - { - return null; - } - - /** - * Creates a new adapter for an object of class ' - * {@link org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefContainerNPL - * @generated - */ - public Adapter createIMultiRefContainerNPLAdapter() - { - return null; - } - - /** - * 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 - */ - public Adapter createIMultiRefNonContainerNPLAdapter() - { - 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; - } - -} // model4interfacesAdapterFactory +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.model4interfaces.util;
+
+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.cdo.tests.model4interfaces.model4interfacesPackage;
+
+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;
+
+/**
+ * <!-- 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.model4interfaces.model4interfacesPackage
+ * @generated
+ */
+public class model4interfacesAdapterFactory extends AdapterFactoryImpl
+{
+ /**
+ * 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 -->
+ *
+ * @generated
+ */
+ public model4interfacesAdapterFactory()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = model4interfacesPackage.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 model4interfacesSwitch<Adapter> modelSwitch = new model4interfacesSwitch<Adapter>()
+ {
+ @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 caseIMultiRefContainer(IMultiRefContainer object)
+ {
+ return createIMultiRefContainerAdapter();
+ }
+
+ @Override
+ public Adapter caseIMultiRefContainedElement(IMultiRefContainedElement object)
+ {
+ return createIMultiRefContainedElementAdapter();
+ }
+
+ @Override
+ public Adapter caseIMultiRefNonContainer(IMultiRefNonContainer object)
+ {
+ return createIMultiRefNonContainerAdapter();
+ }
+
+ @Override
+ public Adapter caseIMultiRefNonContainedElement(IMultiRefNonContainedElement object)
+ {
+ return createIMultiRefNonContainedElementAdapter();
+ }
+
+ @Override
+ public Adapter caseINamedElement(INamedElement object)
+ {
+ return createINamedElementAdapter();
+ }
+
+ @Override
+ public Adapter caseIContainedElementNoParentLink(IContainedElementNoParentLink object)
+ {
+ return createIContainedElementNoParentLinkAdapter();
+ }
+
+ @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 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.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.model4interfaces.ISingleRefContainer
+ * @generated
+ */
+ public Adapter createISingleRefContainerAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * 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
+ */
+ public Adapter createISingleRefContainedElementAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '
+ * {@link org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefNonContainer
+ * @generated
+ */
+ public Adapter createISingleRefNonContainerAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * 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
+ */
+ public Adapter createISingleRefNonContainedElementAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * 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
+ */
+ public Adapter createIMultiRefContainerAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * 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
+ */
+ public Adapter createIMultiRefContainedElementAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '
+ * {@link org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefNonContainer
+ * @generated
+ */
+ public Adapter createIMultiRefNonContainerAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * 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
+ */
+ public Adapter createIMultiRefNonContainedElementAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * 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
+ */
+ public Adapter createINamedElementAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * 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
+ */
+ public Adapter createIContainedElementNoParentLinkAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '
+ * {@link org.eclipse.emf.cdo.tests.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.model4interfaces.ISingleRefContainerNPL
+ * @generated
+ */
+ public Adapter createISingleRefContainerNPLAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * 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
+ */
+ public Adapter createISingleRefNonContainerNPLAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '
+ * {@link org.eclipse.emf.cdo.tests.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.model4interfaces.IMultiRefContainerNPL
+ * @generated
+ */
+ public Adapter createIMultiRefContainerNPLAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * 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
+ */
+ public Adapter createIMultiRefNonContainerNPLAdapter()
+ {
+ 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;
+ }
+
+} // model4interfacesAdapterFactory
diff --git a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesSwitch.java b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesSwitch.java index 1fc5218c37..ca69ed52ff 100644 --- a/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesSwitch.java +++ b/plugins/org.eclipse.emf.cdo.tests.model4interfaces/src/org/eclipse/emf/cdo/tests/model4interfaces/util/model4interfacesSwitch.java @@ -1,464 +1,464 @@ -/* - * Copyright (c) 2004 - 2011 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 - */ -package org.eclipse.emf.cdo.tests.model4interfaces.util; - -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.cdo.tests.model4interfaces.model4interfacesPackage; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -import java.util.List; - -/** - * <!-- 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.model4interfaces.model4interfacesPackage - * @generated - */ -public class model4interfacesSwitch<T> -{ - /** - * 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 --> - * - * @generated - */ - public model4interfacesSwitch() - { - if (modelPackage == null) - { - modelPackage = model4interfacesPackage.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 model4interfacesPackage.ISINGLE_REF_CONTAINER: - { - ISingleRefContainer iSingleRefContainer = (ISingleRefContainer)theEObject; - T result = caseISingleRefContainer(iSingleRefContainer); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT: - { - ISingleRefContainedElement iSingleRefContainedElement = (ISingleRefContainedElement)theEObject; - T result = caseISingleRefContainedElement(iSingleRefContainedElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.ISINGLE_REF_NON_CONTAINER: - { - ISingleRefNonContainer iSingleRefNonContainer = (ISingleRefNonContainer)theEObject; - T result = caseISingleRefNonContainer(iSingleRefNonContainer); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT: - { - ISingleRefNonContainedElement iSingleRefNonContainedElement = (ISingleRefNonContainedElement)theEObject; - T result = caseISingleRefNonContainedElement(iSingleRefNonContainedElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.IMULTI_REF_CONTAINER: - { - IMultiRefContainer iMultiRefContainer = (IMultiRefContainer)theEObject; - T result = caseIMultiRefContainer(iMultiRefContainer); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT: - { - IMultiRefContainedElement iMultiRefContainedElement = (IMultiRefContainedElement)theEObject; - T result = caseIMultiRefContainedElement(iMultiRefContainedElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.IMULTI_REF_NON_CONTAINER: - { - IMultiRefNonContainer iMultiRefNonContainer = (IMultiRefNonContainer)theEObject; - T result = caseIMultiRefNonContainer(iMultiRefNonContainer); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT: - { - IMultiRefNonContainedElement iMultiRefNonContainedElement = (IMultiRefNonContainedElement)theEObject; - T result = caseIMultiRefNonContainedElement(iMultiRefNonContainedElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.INAMED_ELEMENT: - { - INamedElement iNamedElement = (INamedElement)theEObject; - T result = caseINamedElement(iNamedElement); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK: - { - IContainedElementNoParentLink iContainedElementNoParentLink = (IContainedElementNoParentLink)theEObject; - T result = caseIContainedElementNoParentLink(iContainedElementNoParentLink); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL: - { - ISingleRefContainerNPL iSingleRefContainerNPL = (ISingleRefContainerNPL)theEObject; - T result = caseISingleRefContainerNPL(iSingleRefContainerNPL); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL: - { - ISingleRefNonContainerNPL iSingleRefNonContainerNPL = (ISingleRefNonContainerNPL)theEObject; - T result = caseISingleRefNonContainerNPL(iSingleRefNonContainerNPL); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.IMULTI_REF_CONTAINER_NPL: - { - IMultiRefContainerNPL iMultiRefContainerNPL = (IMultiRefContainerNPL)theEObject; - T result = caseIMultiRefContainerNPL(iMultiRefContainerNPL); - if (result == null) - result = defaultCase(theEObject); - return result; - } - case model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL: - { - IMultiRefNonContainerNPL iMultiRefNonContainerNPL = (IMultiRefNonContainerNPL)theEObject; - T result = caseIMultiRefNonContainerNPL(iMultiRefNonContainerNPL); - if (result == null) - result = defaultCase(theEObject); - return result; - } - default: - return defaultCase(theEObject); - } - } - - /** - * 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 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>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>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>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>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>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; - } - -} // model4interfacesSwitch +/*
+ * Copyright (c) 2004 - 2012 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
+ */
+package org.eclipse.emf.cdo.tests.model4interfaces.util;
+
+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.cdo.tests.model4interfaces.model4interfacesPackage;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import java.util.List;
+
+/**
+ * <!-- 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.model4interfaces.model4interfacesPackage
+ * @generated
+ */
+public class model4interfacesSwitch<T>
+{
+ /**
+ * 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 -->
+ *
+ * @generated
+ */
+ public model4interfacesSwitch()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = model4interfacesPackage.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 model4interfacesPackage.ISINGLE_REF_CONTAINER:
+ {
+ ISingleRefContainer iSingleRefContainer = (ISingleRefContainer)theEObject;
+ T result = caseISingleRefContainer(iSingleRefContainer);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.ISINGLE_REF_CONTAINED_ELEMENT:
+ {
+ ISingleRefContainedElement iSingleRefContainedElement = (ISingleRefContainedElement)theEObject;
+ T result = caseISingleRefContainedElement(iSingleRefContainedElement);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.ISINGLE_REF_NON_CONTAINER:
+ {
+ ISingleRefNonContainer iSingleRefNonContainer = (ISingleRefNonContainer)theEObject;
+ T result = caseISingleRefNonContainer(iSingleRefNonContainer);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.ISINGLE_REF_NON_CONTAINED_ELEMENT:
+ {
+ ISingleRefNonContainedElement iSingleRefNonContainedElement = (ISingleRefNonContainedElement)theEObject;
+ T result = caseISingleRefNonContainedElement(iSingleRefNonContainedElement);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.IMULTI_REF_CONTAINER:
+ {
+ IMultiRefContainer iMultiRefContainer = (IMultiRefContainer)theEObject;
+ T result = caseIMultiRefContainer(iMultiRefContainer);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.IMULTI_REF_CONTAINED_ELEMENT:
+ {
+ IMultiRefContainedElement iMultiRefContainedElement = (IMultiRefContainedElement)theEObject;
+ T result = caseIMultiRefContainedElement(iMultiRefContainedElement);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.IMULTI_REF_NON_CONTAINER:
+ {
+ IMultiRefNonContainer iMultiRefNonContainer = (IMultiRefNonContainer)theEObject;
+ T result = caseIMultiRefNonContainer(iMultiRefNonContainer);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.IMULTI_REF_NON_CONTAINED_ELEMENT:
+ {
+ IMultiRefNonContainedElement iMultiRefNonContainedElement = (IMultiRefNonContainedElement)theEObject;
+ T result = caseIMultiRefNonContainedElement(iMultiRefNonContainedElement);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.INAMED_ELEMENT:
+ {
+ INamedElement iNamedElement = (INamedElement)theEObject;
+ T result = caseINamedElement(iNamedElement);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.ICONTAINED_ELEMENT_NO_PARENT_LINK:
+ {
+ IContainedElementNoParentLink iContainedElementNoParentLink = (IContainedElementNoParentLink)theEObject;
+ T result = caseIContainedElementNoParentLink(iContainedElementNoParentLink);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.ISINGLE_REF_CONTAINER_NPL:
+ {
+ ISingleRefContainerNPL iSingleRefContainerNPL = (ISingleRefContainerNPL)theEObject;
+ T result = caseISingleRefContainerNPL(iSingleRefContainerNPL);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.ISINGLE_REF_NON_CONTAINER_NPL:
+ {
+ ISingleRefNonContainerNPL iSingleRefNonContainerNPL = (ISingleRefNonContainerNPL)theEObject;
+ T result = caseISingleRefNonContainerNPL(iSingleRefNonContainerNPL);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.IMULTI_REF_CONTAINER_NPL:
+ {
+ IMultiRefContainerNPL iMultiRefContainerNPL = (IMultiRefContainerNPL)theEObject;
+ T result = caseIMultiRefContainerNPL(iMultiRefContainerNPL);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case model4interfacesPackage.IMULTI_REF_NON_CONTAINER_NPL:
+ {
+ IMultiRefNonContainerNPL iMultiRefNonContainerNPL = (IMultiRefNonContainerNPL)theEObject;
+ T result = caseIMultiRefNonContainerNPL(iMultiRefNonContainerNPL);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ default:
+ return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * 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 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>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>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>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>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>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;
+ }
+
+} // model4interfacesSwitch
|