Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Cntr.java70
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Lft.java49
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/ManytomanyFactory.java64
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/ManytomanyPackage.java315
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Rght.java49
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/CntrImpl.java210
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/LftImpl.java171
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/ManytomanyFactoryImpl.java121
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/ManytomanyPackageImpl.java362
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/RghtImpl.java171
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/package.jdo58
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/manytomany.ecore64
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/mtm.genmodel21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/mtm.xsd51
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyAdapterFactory.java160
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanySwitch.java172
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/CntrValidator.java25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/LftValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/RghtValidator.java23
22 files changed, 0 insertions, 2319 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Cntr.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Cntr.java
deleted file mode 100644
index f082e82aa..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Cntr.java
+++ /dev/null
@@ -1,70 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Cntr.java,v 1.5 2008/04/06 13:45:43 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Cntr</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr#getRght <em>Rght</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr#getLft <em>Lft</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyPackage#getCntr()
- * @model extendedMetaData="name='Cntr' kind='elementOnly'"
- * @generated
- */
-public interface Cntr extends EObject {
- /**
- * Returns the value of the '<em><b>Rght</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght}.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght#getCntr <em>Cntr</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Rght</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>Rght</em>' reference list.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyPackage#getCntr_Rght()
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght#getCntr
- * @model opposite="cntr" resolveProxies="false" required="true"
- * annotation="teneo.jpa appinfo='\n\t\t\t\t\t@ManyToMany(fetch=EAGER cascade={MERGE,PERSIST} targetEntity=\"Rght\" indexed=\"false\")\n\t\t\t\t\t@JoinTable(name=\"RightCenter\")\n\t\t\t\t\t'"
- * extendedMetaData="kind='element' name='rght'"
- * @generated
- */
- EList<Rght> getRght();
-
- /**
- * Returns the value of the '<em><b>Lft</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft}.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft#getCntr <em>Cntr</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Lft</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>Lft</em>' reference list.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyPackage#getCntr_Lft()
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft#getCntr
- * @model opposite="cntr" resolveProxies="false" required="true"
- * annotation="teneo.jpa appinfo='\n\t\t\t\t\t\t@ManyToMany(fetch=EAGER cascade={MERGE,PERSIST} targetEntity=\"Lft\")\n\t\t\t\t\t'"
- * extendedMetaData="kind='element' name='lft'"
- * @generated
- */
- EList<Lft> getLft();
-
-} // Cntr
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Lft.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Lft.java
deleted file mode 100644
index 014fe4ecf..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Lft.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Lft.java,v 1.4 2008/04/06 13:45:43 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Lft</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft#getCntr <em>Cntr</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyPackage#getLft()
- * @model extendedMetaData="name='Lft' kind='elementOnly'"
- * @generated
- */
-public interface Lft extends EObject {
- /**
- * Returns the value of the '<em><b>Cntr</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr}.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr#getLft <em>Lft</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Cntr</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>Cntr</em>' reference list.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyPackage#getLft_Cntr()
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr#getLft
- * @model opposite="lft" resolveProxies="false" required="true"
- * annotation="teneo.jpa appinfo='\n\t\t\t\t\t@ManyToMany(fetch=LAZY cascade={MERGE,PERSIST} targetEntity=\"Cntr\" mappedBy=\"lft\")\n\t\t\t\t\t'"
- * extendedMetaData="kind='element' name='cntr'"
- * @generated
- */
- EList<Cntr> getCntr();
-
-} // Lft
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/ManytomanyFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/ManytomanyFactory.java
deleted file mode 100644
index a5a8f18c2..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/ManytomanyFactory.java
+++ /dev/null
@@ -1,64 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ManytomanyFactory.java,v 1.1 2006/07/11 16:57:18 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany;
-
-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.teneo.samples.emf.annotations.manytomany.ManytomanyPackage
- * @generated
- */
-public interface ManytomanyFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ManytomanyFactory eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.ManytomanyFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Cntr</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Cntr</em>'.
- * @generated
- */
- Cntr createCntr();
-
- /**
- * Returns a new object of class '<em>Lft</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Lft</em>'.
- * @generated
- */
- Lft createLft();
-
- /**
- * Returns a new object of class '<em>Rght</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Rght</em>'.
- * @generated
- */
- Rght createRght();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- ManytomanyPackage getManytomanyPackage();
-
-} //ManytomanyFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/ManytomanyPackage.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/ManytomanyPackage.java
deleted file mode 100644
index 137caf9c1..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/ManytomanyPackage.java
+++ /dev/null
@@ -1,315 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ManytomanyPackage.java,v 1.1 2006/07/11 16:57:17 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany;
-
-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.teneo.samples.emf.annotations.manytomany.ManytomanyFactory
- * @model kind="package"
- * @generated
- */
-public interface ManytomanyPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "manytomany";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "manytomany";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- ManytomanyPackage eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.ManytomanyPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl <em>Cntr</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.ManytomanyPackageImpl#getCntr()
- * @generated
- */
- int CNTR = 0;
-
- /**
- * The feature id for the '<em><b>Rght</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CNTR__RGHT = 0;
-
- /**
- * The feature id for the '<em><b>Lft</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CNTR__LFT = 1;
-
- /**
- * The number of structural features of the '<em>Cntr</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CNTR_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.LftImpl <em>Lft</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.LftImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.ManytomanyPackageImpl#getLft()
- * @generated
- */
- int LFT = 1;
-
- /**
- * The feature id for the '<em><b>Cntr</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LFT__CNTR = 0;
-
- /**
- * The number of structural features of the '<em>Lft</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LFT_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.RghtImpl <em>Rght</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.RghtImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.ManytomanyPackageImpl#getRght()
- * @generated
- */
- int RGHT = 2;
-
- /**
- * The feature id for the '<em><b>Cntr</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RGHT__CNTR = 0;
-
- /**
- * The number of structural features of the '<em>Rght</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RGHT_FEATURE_COUNT = 1;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr <em>Cntr</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Cntr</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr
- * @generated
- */
- EClass getCntr();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr#getRght <em>Rght</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Rght</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr#getRght()
- * @see #getCntr()
- * @generated
- */
- EReference getCntr_Rght();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr#getLft <em>Lft</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Lft</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr#getLft()
- * @see #getCntr()
- * @generated
- */
- EReference getCntr_Lft();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft <em>Lft</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Lft</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft
- * @generated
- */
- EClass getLft();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft#getCntr <em>Cntr</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Cntr</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft#getCntr()
- * @see #getLft()
- * @generated
- */
- EReference getLft_Cntr();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght <em>Rght</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Rght</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght
- * @generated
- */
- EClass getRght();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght#getCntr <em>Cntr</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Cntr</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght#getCntr()
- * @see #getRght()
- * @generated
- */
- EReference getRght_Cntr();
-
- /**
- * 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
- */
- ManytomanyFactory getManytomanyFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl <em>Cntr</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.ManytomanyPackageImpl#getCntr()
- * @generated
- */
- EClass CNTR = eINSTANCE.getCntr();
-
- /**
- * The meta object literal for the '<em><b>Rght</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CNTR__RGHT = eINSTANCE.getCntr_Rght();
-
- /**
- * The meta object literal for the '<em><b>Lft</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CNTR__LFT = eINSTANCE.getCntr_Lft();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.LftImpl <em>Lft</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.LftImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.ManytomanyPackageImpl#getLft()
- * @generated
- */
- EClass LFT = eINSTANCE.getLft();
-
- /**
- * The meta object literal for the '<em><b>Cntr</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference LFT__CNTR = eINSTANCE.getLft_Cntr();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.RghtImpl <em>Rght</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.RghtImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.ManytomanyPackageImpl#getRght()
- * @generated
- */
- EClass RGHT = eINSTANCE.getRght();
-
- /**
- * The meta object literal for the '<em><b>Cntr</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference RGHT__CNTR = eINSTANCE.getRght_Cntr();
-
- }
-
-} //ManytomanyPackage
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Rght.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Rght.java
deleted file mode 100644
index 5c72b163e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/Rght.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Rght.java,v 1.5 2008/04/06 13:45:43 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Rght</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght#getCntr <em>Cntr</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyPackage#getRght()
- * @model extendedMetaData="name='Rght' kind='elementOnly'"
- * @generated
- */
-public interface Rght extends EObject {
- /**
- * Returns the value of the '<em><b>Cntr</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr}.
- * It is bidirectional and its opposite is '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr#getRght <em>Rght</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Cntr</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>Cntr</em>' reference list.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyPackage#getRght_Cntr()
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr#getRght
- * @model opposite="rght" resolveProxies="false" required="true"
- * annotation="teneo.jpa appinfo='\n\t\t\t\t\t\t@ManyToMany(fetch=LAZY cascade={MERGE,PERSIST} targetEntity=\"Cntr\" mappedBy=\"rght\" indexed=\"false\")\n\t\t\t\t\t\t@JoinTable(name=\"RightCenter\")\n\t\t\t\t\t'"
- * extendedMetaData="kind='element' name='cntr'"
- * @generated
- */
- EList<Cntr> getCntr();
-
-} // Rght
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/CntrImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/CntrImpl.java
deleted file mode 100644
index 0cc6fbda9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/CntrImpl.java
+++ /dev/null
@@ -1,210 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CntrImpl.java,v 1.3 2008/04/06 13:45:43 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectWithInverseEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr;
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft;
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Cntr</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl#getRght <em>Rght</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl#getLft <em>Lft</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CntrImpl extends EObjectImpl implements Cntr {
- /**
- * The cached value of the '{@link #getRght() <em>Rght</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getRght()
- * @generated
- * @ordered
- */
- protected EList<Rght> rght;
-
- /**
- * The cached value of the '{@link #getLft() <em>Lft</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLft()
- * @generated
- * @ordered
- */
- protected EList<Lft> lft;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected CntrImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ManytomanyPackage.Literals.CNTR;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Rght> getRght() {
- if (rght == null) {
- rght = new EObjectWithInverseEList.ManyInverse<Rght>(Rght.class, this, ManytomanyPackage.CNTR__RGHT, ManytomanyPackage.RGHT__CNTR);
- }
- return rght;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Lft> getLft() {
- if (lft == null) {
- lft = new EObjectWithInverseEList.ManyInverse<Lft>(Lft.class, this, ManytomanyPackage.CNTR__LFT, ManytomanyPackage.LFT__CNTR);
- }
- return lft;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ManytomanyPackage.CNTR__RGHT:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getRght()).basicAdd(otherEnd, msgs);
- case ManytomanyPackage.CNTR__LFT:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getLft()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ManytomanyPackage.CNTR__RGHT:
- return ((InternalEList<?>)getRght()).basicRemove(otherEnd, msgs);
- case ManytomanyPackage.CNTR__LFT:
- return ((InternalEList<?>)getLft()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ManytomanyPackage.CNTR__RGHT:
- return getRght();
- case ManytomanyPackage.CNTR__LFT:
- return getLft();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ManytomanyPackage.CNTR__RGHT:
- getRght().clear();
- getRght().addAll((Collection<? extends Rght>)newValue);
- return;
- case ManytomanyPackage.CNTR__LFT:
- getLft().clear();
- getLft().addAll((Collection<? extends Lft>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ManytomanyPackage.CNTR__RGHT:
- getRght().clear();
- return;
- case ManytomanyPackage.CNTR__LFT:
- getLft().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ManytomanyPackage.CNTR__RGHT:
- return rght != null && !rght.isEmpty();
- case ManytomanyPackage.CNTR__LFT:
- return lft != null && !lft.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //CntrImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/LftImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/LftImpl.java
deleted file mode 100644
index 804f9bffd..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/LftImpl.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: LftImpl.java,v 1.3 2008/04/06 13:45:43 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectWithInverseEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr;
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft;
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Lft</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.LftImpl#getCntr <em>Cntr</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class LftImpl extends EObjectImpl implements Lft {
- /**
- * The cached value of the '{@link #getCntr() <em>Cntr</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCntr()
- * @generated
- * @ordered
- */
- protected EList<Cntr> cntr;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected LftImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ManytomanyPackage.Literals.LFT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Cntr> getCntr() {
- if (cntr == null) {
- cntr = new EObjectWithInverseEList.ManyInverse<Cntr>(Cntr.class, this, ManytomanyPackage.LFT__CNTR, ManytomanyPackage.CNTR__LFT);
- }
- return cntr;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ManytomanyPackage.LFT__CNTR:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getCntr()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ManytomanyPackage.LFT__CNTR:
- return ((InternalEList<?>)getCntr()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ManytomanyPackage.LFT__CNTR:
- return getCntr();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ManytomanyPackage.LFT__CNTR:
- getCntr().clear();
- getCntr().addAll((Collection<? extends Cntr>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ManytomanyPackage.LFT__CNTR:
- getCntr().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ManytomanyPackage.LFT__CNTR:
- return cntr != null && !cntr.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //LftImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/ManytomanyFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/ManytomanyFactoryImpl.java
deleted file mode 100644
index 6b5d014da..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/ManytomanyFactoryImpl.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ManytomanyFactoryImpl.java,v 1.2 2007/02/08 23:09:22 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.*;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ManytomanyFactoryImpl extends EFactoryImpl implements ManytomanyFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static ManytomanyFactory init() {
- try {
- ManytomanyFactory theManytomanyFactory = (ManytomanyFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany");
- if (theManytomanyFactory != null) {
- return theManytomanyFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new ManytomanyFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ManytomanyFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case ManytomanyPackage.CNTR: return createCntr();
- case ManytomanyPackage.LFT: return createLft();
- case ManytomanyPackage.RGHT: return createRght();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Cntr createCntr() {
- CntrImpl cntr = new CntrImpl();
- return cntr;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Lft createLft() {
- LftImpl lft = new LftImpl();
- return lft;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Rght createRght() {
- RghtImpl rght = new RghtImpl();
- return rght;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ManytomanyPackage getManytomanyPackage() {
- return (ManytomanyPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static ManytomanyPackage getPackage() {
- return ManytomanyPackage.eINSTANCE;
- }
-
-} //ManytomanyFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/ManytomanyPackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/ManytomanyPackageImpl.java
deleted file mode 100644
index ec8ad7ef8..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/ManytomanyPackageImpl.java
+++ /dev/null
@@ -1,362 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ManytomanyPackageImpl.java,v 1.5 2008/04/06 13:45:43 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr;
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft;
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyFactory;
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class ManytomanyPackageImpl extends EPackageImpl implements ManytomanyPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass cntrEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass lftEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass rghtEClass = 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.teneo.samples.emf.annotations.manytomany.ManytomanyPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private ManytomanyPackageImpl() {
- super(eNS_URI, ManytomanyFactory.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. Simple
- * dependencies are satisfied by calling this method on all
- * dependent packages before doing anything else. This method drives
- * initialization for interdependent packages directly, in parallel
- * with this package, itself.
- * <p>Of this package and its interdependencies, all packages which
- * have not yet been registered by their URI values are first created
- * and registered. The packages are then initialized in two steps:
- * meta-model objects for all of the packages are created before any
- * are initialized, since one package's meta-model objects may refer to
- * those of another.
- * <p>Invocation of this method will not affect any packages that have
- * already been initialized.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static ManytomanyPackage init() {
- if (isInited) return (ManytomanyPackage)EPackage.Registry.INSTANCE.getEPackage(ManytomanyPackage.eNS_URI);
-
- // Obtain or create and register package
- ManytomanyPackageImpl theManytomanyPackage = (ManytomanyPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof ManytomanyPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new ManytomanyPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- theManytomanyPackage.createPackageContents();
-
- // Initialize created meta-data
- theManytomanyPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theManytomanyPackage.freeze();
-
- return theManytomanyPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCntr() {
- return cntrEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCntr_Rght() {
- return (EReference)cntrEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCntr_Lft() {
- return (EReference)cntrEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getLft() {
- return lftEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getLft_Cntr() {
- return (EReference)lftEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getRght() {
- return rghtEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getRght_Cntr() {
- return (EReference)rghtEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ManytomanyFactory getManytomanyFactory() {
- return (ManytomanyFactory)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
- cntrEClass = createEClass(CNTR);
- createEReference(cntrEClass, CNTR__RGHT);
- createEReference(cntrEClass, CNTR__LFT);
-
- lftEClass = createEClass(LFT);
- createEReference(lftEClass, LFT__CNTR);
-
- rghtEClass = createEClass(RGHT);
- createEReference(rghtEClass, RGHT__CNTR);
- }
-
- /**
- * <!-- 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(cntrEClass, Cntr.class, "Cntr", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCntr_Rght(), this.getRght(), this.getRght_Cntr(), "rght", null, 1, -1, Cntr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getCntr_Lft(), this.getLft(), this.getLft_Cntr(), "lft", null, 1, -1, Cntr.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(lftEClass, Lft.class, "Lft", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getLft_Cntr(), this.getCntr(), this.getCntr_Lft(), "cntr", null, 1, -1, Lft.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(rghtEClass, Rght.class, "Rght", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getRght_Cntr(), this.getCntr(), this.getCntr_Rght(), "cntr", null, 1, -1, Rght.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);
-
- // Create annotations
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- // teneo.jpa
- createTeneoAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createExtendedMetaDataAnnotations() {
- String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
- addAnnotation
- (cntrEClass,
- source,
- new String[] {
- "name", "Cntr",
- "kind", "elementOnly"
- });
- addAnnotation
- (getCntr_Rght(),
- source,
- new String[] {
- "kind", "element",
- "name", "rght"
- });
- addAnnotation
- (getCntr_Lft(),
- source,
- new String[] {
- "kind", "element",
- "name", "lft"
- });
- addAnnotation
- (lftEClass,
- source,
- new String[] {
- "name", "Lft",
- "kind", "elementOnly"
- });
- addAnnotation
- (getLft_Cntr(),
- source,
- new String[] {
- "kind", "element",
- "name", "cntr"
- });
- addAnnotation
- (rghtEClass,
- source,
- new String[] {
- "name", "Rght",
- "kind", "elementOnly"
- });
- addAnnotation
- (getRght_Cntr(),
- source,
- new String[] {
- "kind", "element",
- "name", "cntr"
- });
- }
-
- /**
- * Initializes the annotations for <b>teneo.jpa</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createTeneoAnnotations() {
- String source = "teneo.jpa";
- addAnnotation
- (getCntr_Rght(),
- source,
- new String[] {
- "appinfo", "\n\t\t\t\t\t@ManyToMany(fetch=EAGER cascade={MERGE,PERSIST} targetEntity=\"Rght\" indexed=\"false\")\n\t\t\t\t\t@JoinTable(name=\"RightCenter\")\n\t\t\t\t\t"
- });
- addAnnotation
- (getCntr_Lft(),
- source,
- new String[] {
- "appinfo", "\n\t\t\t\t\t\t@ManyToMany(fetch=EAGER cascade={MERGE,PERSIST} targetEntity=\"Lft\")\n\t\t\t\t\t"
- });
- addAnnotation
- (getLft_Cntr(),
- source,
- new String[] {
- "appinfo", "\n\t\t\t\t\t@ManyToMany(fetch=LAZY cascade={MERGE,PERSIST} targetEntity=\"Cntr\" mappedBy=\"lft\")\n\t\t\t\t\t"
- });
- addAnnotation
- (getRght_Cntr(),
- source,
- new String[] {
- "appinfo", "\n\t\t\t\t\t\t@ManyToMany(fetch=LAZY cascade={MERGE,PERSIST} targetEntity=\"Cntr\" mappedBy=\"rght\" indexed=\"false\")\n\t\t\t\t\t\t@JoinTable(name=\"RightCenter\")\n\t\t\t\t\t"
- });
- }
-
-} //ManytomanyPackageImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/RghtImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/RghtImpl.java
deleted file mode 100644
index 0c7b70481..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/RghtImpl.java
+++ /dev/null
@@ -1,171 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RghtImpl.java,v 1.3 2008/04/06 13:45:43 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectWithInverseEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr;
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Rght</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.RghtImpl#getCntr <em>Cntr</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class RghtImpl extends EObjectImpl implements Rght {
- /**
- * The cached value of the '{@link #getCntr() <em>Cntr</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCntr()
- * @generated
- * @ordered
- */
- protected EList<Cntr> cntr;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected RghtImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ManytomanyPackage.Literals.RGHT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Cntr> getCntr() {
- if (cntr == null) {
- cntr = new EObjectWithInverseEList.ManyInverse<Cntr>(Cntr.class, this, ManytomanyPackage.RGHT__CNTR, ManytomanyPackage.CNTR__RGHT);
- }
- return cntr;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ManytomanyPackage.RGHT__CNTR:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getCntr()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ManytomanyPackage.RGHT__CNTR:
- return ((InternalEList<?>)getCntr()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ManytomanyPackage.RGHT__CNTR:
- return getCntr();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ManytomanyPackage.RGHT__CNTR:
- getCntr().clear();
- getCntr().addAll((Collection<? extends Cntr>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ManytomanyPackage.RGHT__CNTR:
- getCntr().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ManytomanyPackage.RGHT__CNTR:
- return cntr != null && !cntr.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //RghtImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/package.jdo b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/package.jdo
deleted file mode 100644
index 49b9f53b4..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/impl/package.jdo
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-
-<jdo>
- <package name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl">
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="cntr" identity-type="datastore">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr"/>
- <implements name="org.eclipse.emf.ecore.EObject"/>
- <implements name="org.eclipse.emf.common.notify.Notifier"/>
- <inheritance strategy="new-table">
- <discriminator column="dtype" strategy="value-map" value="Cntr"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="rght" persistence-modifier="persistent" delete-action="restrict">
- <collection element-type="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.RghtImpl" dependent-element="false">
- <extension vendor-name="jpox" key="cache-lazy-loading" value="false"/>
- </collection>
- <join/>
- </field>
- <field name="lft" persistence-modifier="persistent" delete-action="restrict">
- <collection element-type="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.LftImpl" dependent-element="false">
- <extension vendor-name="jpox" key="cache-lazy-loading" value="false"/>
- </collection>
- <join/>
- </field>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.LftImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="lft" identity-type="datastore">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft"/>
- <implements name="org.eclipse.emf.ecore.EObject"/>
- <implements name="org.eclipse.emf.common.notify.Notifier"/>
- <inheritance strategy="new-table">
- <discriminator column="dtype" strategy="value-map" value="Lft"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="cntr" persistence-modifier="persistent" delete-action="restrict">
- <collection element-type="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl" dependent-element="false">
- <extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
- </collection>
- <join/>
- </field>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.RghtImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="rght" identity-type="datastore">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght"/>
- <implements name="org.eclipse.emf.ecore.EObject"/>
- <implements name="org.eclipse.emf.common.notify.Notifier"/>
- <inheritance strategy="new-table">
- <discriminator column="dtype" strategy="value-map" value="Rght"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="cntr" persistence-modifier="persistent" delete-action="restrict">
- <collection element-type="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl" dependent-element="false">
- <extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
- </collection>
- <join/>
- </field>
- </class>
- </package>
-</jdo> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/manytomany.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/manytomany.ecore
deleted file mode 100644
index add2886aa..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/manytomany.ecore
+++ /dev/null
@@ -1,64 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="manytomany"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany" nsPrefix="manytomany">
- <eClassifiers xsi:type="ecore:EClass" name="Cntr">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Cntr"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="rght" lowerBound="1" upperBound="-1"
- eType="#//Rght" resolveProxies="false" eOpposite="#//Rght/cntr">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@ManyToMany(fetch=EAGER cascade={MERGE,PERSIST} targetEntity=&quot;Rght&quot; indexed=&quot;false&quot;)&#xA;@JoinTable(name=&quot;RightCenter&quot;)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="rght"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="lft" lowerBound="1" upperBound="-1"
- eType="#//Lft" resolveProxies="false" eOpposite="#//Lft/cntr">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@ManyToMany(fetch=EAGER cascade={MERGE,PERSIST} targetEntity=&quot;Lft&quot;)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="lft"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Lft">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Lft"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="cntr" lowerBound="1" upperBound="-1"
- eType="#//Cntr" resolveProxies="false" eOpposite="#//Cntr/lft">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;@ManyToMany(fetch=LAZY cascade={MERGE,PERSIST} targetEntity=&quot;Cntr&quot; mappedBy=&quot;lft&quot;)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="cntr"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Rght">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Rght"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="cntr" lowerBound="1" upperBound="-1"
- eType="#//Cntr" resolveProxies="false" eOpposite="#//Cntr/rght">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@ManyToMany(fetch=LAZY cascade={MERGE,PERSIST} targetEntity=&quot;Cntr&quot; mappedBy=&quot;rght&quot; indexed=&quot;false&quot;)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@JoinTable(name=&quot;RightCenter&quot;)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="cntr"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/mtm.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/mtm.genmodel
deleted file mode 100644
index 9e8d0fa99..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/mtm.genmodel
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.teneo.samples/src"
- modelPluginID="org.eclipse.emf.teneo.samples" modelName="Mtm" importerID="org.eclipse.xsd.ecore.importer"
- complianceLevel="5.0">
- <foreignModel>mtm.xsd</foreignModel>
- <genPackages prefix="Manytomany" basePackage="org.eclipse.emf.teneo.samples.emf.annotations"
- resource="XML" disposableProviderFactory="true" ecorePackage="manytomany.ecore#/">
- <genClasses ecoreClass="manytomany.ecore#//Cntr">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference manytomany.ecore#//Cntr/rght"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference manytomany.ecore#//Cntr/lft"/>
- </genClasses>
- <genClasses ecoreClass="manytomany.ecore#//Lft">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference manytomany.ecore#//Lft/cntr"/>
- </genClasses>
- <genClasses ecoreClass="manytomany.ecore#//Rght">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference manytomany.ecore#//Rght/cntr"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/mtm.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/mtm.xsd
deleted file mode 100644
index 7f3c5c3b3..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/model/mtm.xsd
+++ /dev/null
@@ -1,51 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:this="http://www.eclipse.org/emf/teneo/samples/emf/annotations/manytomany"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:complexType name="Cntr">
- <xsd:sequence>
- <xsd:element name="rght" type="xsd:IDREF" ecore:reference="this:Rght" maxOccurs="unbounded" ecore:opposite="cntr">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @ManyToMany(fetch=EAGER cascade={MERGE,PERSIST} targetEntity="Rght" indexed="false")
- @JoinTable(name="RightCenter")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="lft" type="xsd:IDREF" ecore:reference="this:Lft" maxOccurs="unbounded" ecore:opposite="cntr">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @ManyToMany(fetch=EAGER cascade={MERGE,PERSIST} targetEntity="Lft")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="Lft">
- <xsd:sequence>
- <xsd:element name="cntr" type="xsd:IDREF" ecore:reference="this:Cntr" maxOccurs="unbounded" ecore:opposite="lft">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @ManyToMany(fetch=LAZY cascade={MERGE,PERSIST} targetEntity="Cntr" mappedBy="lft")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="Rght">
- <xsd:sequence>
- <xsd:element name="cntr" type="xsd:IDREF" ecore:reference="this:Cntr" maxOccurs="unbounded" ecore:opposite="rght">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @ManyToMany(fetch=LAZY cascade={MERGE,PERSIST} targetEntity="Cntr" mappedBy="rght" indexed="false")
- @JoinTable(name="RightCenter")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:schema>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyAdapterFactory.java
deleted file mode 100644
index 59ef79125..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyAdapterFactory.java
+++ /dev/null
@@ -1,160 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ManytomanyAdapterFactory.java,v 1.2 2007/02/08 23:09:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.*;
-
-/**
- * <!-- 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.teneo.samples.emf.annotations.manytomany.ManytomanyPackage
- * @generated
- */
-public class ManytomanyAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static ManytomanyPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ManytomanyAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = ManytomanyPackage.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 the delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ManytomanySwitch<Adapter> modelSwitch =
- new ManytomanySwitch<Adapter>() {
- @Override
- public Adapter caseCntr(Cntr object) {
- return createCntrAdapter();
- }
- @Override
- public Adapter caseLft(Lft object) {
- return createLftAdapter();
- }
- @Override
- public Adapter caseRght(Rght object) {
- return createRghtAdapter();
- }
- @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.teneo.samples.emf.annotations.manytomany.Cntr <em>Cntr</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.teneo.samples.emf.annotations.manytomany.Cntr
- * @generated
- */
- public Adapter createCntrAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft <em>Lft</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.teneo.samples.emf.annotations.manytomany.Lft
- * @generated
- */
- public Adapter createLftAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght <em>Rght</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.teneo.samples.emf.annotations.manytomany.Rght
- * @generated
- */
- public Adapter createRghtAdapter() {
- 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;
- }
-
-} //ManytomanyAdapterFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyResourceFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyResourceFactoryImpl.java
deleted file mode 100644
index 6df7e9a7f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyResourceFactoryImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ManytomanyResourceFactoryImpl.java,v 1.2 2007/02/08 23:09:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.util.ManytomanyResourceImpl
- * @generated
- */
-public class ManytomanyResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ManytomanyResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new ManytomanyResourceImpl(uri);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
- result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
-
- result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
- result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
-
- result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
- return result;
- }
-
-} //ManytomanyResourceFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyResourceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyResourceImpl.java
deleted file mode 100644
index cbdbc9b25..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ManytomanyResourceImpl.java,v 1.1 2006/07/11 16:57:18 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.manytomany.util.ManytomanyResourceFactoryImpl
- * @generated
- */
-public class ManytomanyResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public ManytomanyResourceImpl(URI uri) {
- super(uri);
- }
-
-} //ManytomanyResourceImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanySwitch.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanySwitch.java
deleted file mode 100644
index b452353e1..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanySwitch.java
+++ /dev/null
@@ -1,172 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ManytomanySwitch.java,v 1.3 2008/04/06 13:45:43 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.*;
-
-/**
- * <!-- 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.teneo.samples.emf.annotations.manytomany.ManytomanyPackage
- * @generated
- */
-public class ManytomanySwitch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static ManytomanyPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ManytomanySwitch() {
- if (modelPackage == null) {
- modelPackage = ManytomanyPackage.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 ManytomanyPackage.CNTR: {
- Cntr cntr = (Cntr)theEObject;
- T result = caseCntr(cntr);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ManytomanyPackage.LFT: {
- Lft lft = (Lft)theEObject;
- T result = caseLft(lft);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ManytomanyPackage.RGHT: {
- Rght rght = (Rght)theEObject;
- T result = caseRght(rght);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Cntr</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>Cntr</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseCntr(Cntr object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Lft</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>Lft</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseLft(Lft object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Rght</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>Rght</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseRght(Rght 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;
- }
-
-} //ManytomanySwitch
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyXMLProcessor.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyXMLProcessor.java
deleted file mode 100644
index bec78d613..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/util/ManytomanyXMLProcessor.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ManytomanyXMLProcessor.java,v 1.2 2007/02/08 23:09:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.ManytomanyPackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class ManytomanyXMLProcessor extends XMLProcessor {
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ManytomanyXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- ManytomanyPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the ManytomanyResourceFactoryImpl factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected Map<String, Resource.Factory> getRegistrations() {
- if (registrations == null) {
- super.getRegistrations();
- registrations.put(XML_EXTENSION, new ManytomanyResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new ManytomanyResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //ManytomanyXMLProcessor
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/CntrValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/CntrValidator.java
deleted file mode 100644
index 6f76c9dae..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/CntrValidator.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CntrValidator.java,v 1.1 2007/02/08 23:09:26 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.validation;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft;
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
- */
-public interface CntrValidator {
- boolean validate();
-
- boolean validateRght(EList<Rght> value);
- boolean validateLft(EList<Lft> value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/LftValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/LftValidator.java
deleted file mode 100644
index 6bbc68b46..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/LftValidator.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: LftValidator.java,v 1.1 2007/02/08 23:09:26 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.validation;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Lft}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
- */
-public interface LftValidator {
- boolean validate();
-
- boolean validateCntr(EList<Cntr> value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/RghtValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/RghtValidator.java
deleted file mode 100644
index 40837c1d1..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/manytomany/validation/RghtValidator.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: RghtValidator.java,v 1.1 2007/02/08 23:09:26 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.manytomany.validation;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Rght}.
- * This doesn't really do anything, and it's not a real EMF artifact.
- * It was generated by the org.eclipse.emf.examples.generator.validator plug-in to illustrate how EMF's code generator can be extended.
- * This can be disabled with -vmargs -Dorg.eclipse.emf.examples.generator.validator=false.
- */
-public interface RghtValidator {
- boolean validate();
-
- boolean validateCntr(EList<Cntr> value);
-}

Back to the top