Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Taal2011-11-01 18:10:14 +0000
committerMartin Taal2011-11-01 18:10:14 +0000
commit709ec105b89258b5e6b27e57cb3deb177529c54c (patch)
tree436b7b45306590da29d24dfa9b6ad252c2a987d1 /examples/org.eclipse.emf.teneo.samples/src/com
parent0298896cf5731abb5e728ca6997fd2410d0a8f0f (diff)
downloadorg.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.tar.gz
org.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.tar.xz
org.eclipse.emf.teneo-709ec105b89258b5e6b27e57cb3deb177529c54c.zip
Remove everything for restructuring
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/com')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarFactory.java100
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarFrame.java103
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarLink.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarPackage.java809
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarTire.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarType.java75
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarWheel.java75
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarsList.java65
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/DocumentRoot.java115
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarFactoryImpl.java165
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarFrameImpl.java269
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarLinkImpl.java221
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarPackageImpl.java687
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarTireImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarTypeImpl.java226
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarWheelImpl.java226
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarsListImpl.java193
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/DocumentRootImpl.java286
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/package.jdo122
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.ecore169
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.genmodel41
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.xsd52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/cars.xml14
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarAdapterFactory.java232
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarSwitch.java256
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarXMLProcessor.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarFrameValidator.java26
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarLinkValidator.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarTireValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarTypeValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarWheelValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarsListValidator.java25
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/DocumentRootValidator.java28
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/AdultBooks.java110
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/BookDefinition.java112
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/BookDefinitionResourceLink.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/BooksInLib.java47
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/ChildrenBooks.java138
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/DocumentRoot.java216
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/Library.java113
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/PublisherDefinition.java82
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/ResourceLink.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/TestFactory.java100
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/TestPackage.java1285
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/AdultBooksImpl.java274
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/BookDefinitionImpl.java275
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/BookDefinitionResourceLinkImpl.java166
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/BooksInLibImpl.java156
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/ChildrenBooksImpl.java317
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/DocumentRootImpl.java435
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/LibraryImpl.java282
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/PublisherDefinitionImpl.java247
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/ResourceLinkImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/TestFactoryImpl.java165
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/TestPackageImpl.java962
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestAdapterFactory.java268
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestSwitch.java302
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestXMLProcessor.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/AdultBooksValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/BookDefinitionResourceLinkValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/BookDefinitionValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/BooksInLibValidator.java23
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/ChildrenBooksValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/DocumentRootValidator.java36
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/LibraryValidator.java29
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/PublisherDefinitionValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/ResourceLinkValidator.java20
71 files changed, 0 insertions, 11805 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarFactory.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarFactory.java
deleted file mode 100644
index 188d65b92..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarFactory.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarFactory.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car;
-
-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 com.example.car.CarPackage
- * @generated
- */
-public interface CarFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- CarFactory eINSTANCE = com.example.car.impl.CarFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Frame</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Frame</em>'.
- * @generated
- */
- CarFrame createCarFrame();
-
- /**
- * Returns a new object of class '<em>Link</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Link</em>'.
- * @generated
- */
- CarLink createCarLink();
-
- /**
- * Returns a new object of class '<em>Cars List</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Cars List</em>'.
- * @generated
- */
- CarsList createCarsList();
-
- /**
- * Returns a new object of class '<em>Tire</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Tire</em>'.
- * @generated
- */
- CarTire createCarTire();
-
- /**
- * Returns a new object of class '<em>Type</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Type</em>'.
- * @generated
- */
- CarType createCarType();
-
- /**
- * Returns a new object of class '<em>Wheel</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Wheel</em>'.
- * @generated
- */
- CarWheel createCarWheel();
-
- /**
- * Returns a new object of class '<em>Document Root</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Document Root</em>'.
- * @generated
- */
- DocumentRoot createDocumentRoot();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- CarPackage getCarPackage();
-
-} //CarFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarFrame.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarFrame.java
deleted file mode 100644
index a2caacbb2..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarFrame.java
+++ /dev/null
@@ -1,103 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarFrame.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Frame</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.example.car.CarFrame#getCarWheel <em>Car Wheel</em>}</li>
- * <li>{@link com.example.car.CarFrame#getCarLinkRef <em>Car Link Ref</em>}</li>
- * <li>{@link com.example.car.CarFrame#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.example.car.CarPackage#getCarFrame()
- * @model extendedMetaData="name='CarFrame' kind='elementOnly'"
- * @generated
- */
-public interface CarFrame extends EObject {
- /**
- * Returns the value of the '<em><b>Car Wheel</b></em>' containment reference list.
- * The list contents are of type {@link com.example.car.CarWheel}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Car Wheel</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>Car Wheel</em>' containment reference list.
- * @see com.example.car.CarPackage#getCarFrame_CarWheel()
- * @model containment="true"
- * extendedMetaData="kind='element' name='carWheel' namespace='##targetNamespace'"
- * @generated
- */
- EList<CarWheel> getCarWheel();
-
- /**
- * Returns the value of the '<em><b>Car Link Ref</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Car Link Ref</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Car Link Ref</em>' reference.
- * @see #setCarLinkRef(CarLink)
- * @see com.example.car.CarPackage#getCarFrame_CarLinkRef()
- * @model resolveProxies="false"
- * extendedMetaData="kind='attribute' name='carLinkRef'"
- * @generated
- */
- CarLink getCarLinkRef();
-
- /**
- * Sets the value of the '{@link com.example.car.CarFrame#getCarLinkRef <em>Car Link Ref</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Car Link Ref</em>' reference.
- * @see #getCarLinkRef()
- * @generated
- */
- void setCarLinkRef(CarLink value);
-
- /**
- * 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 com.example.car.CarPackage#getCarFrame_Name()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String"
- * extendedMetaData="kind='attribute' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link com.example.car.CarFrame#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);
-
-} // CarFrame
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarLink.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarLink.java
deleted file mode 100644
index 20d8f8dee..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarLink.java
+++ /dev/null
@@ -1,83 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarLink.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Link</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.example.car.CarLink#getCarLinkId <em>Car Link Id</em>}</li>
- * <li>{@link com.example.car.CarLink#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.example.car.CarPackage#getCarLink()
- * @model extendedMetaData="name='CarLink' kind='empty'"
- * @generated
- */
-public interface CarLink extends EObject {
- /**
- * Returns the value of the '<em><b>Car Link Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Car Link Id</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Car Link Id</em>' attribute.
- * @see #setCarLinkId(String)
- * @see com.example.car.CarPackage#getCarLink_CarLinkId()
- * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" required="true"
- * extendedMetaData="kind='attribute' name='carLinkId'"
- * @generated
- */
- String getCarLinkId();
-
- /**
- * Sets the value of the '{@link com.example.car.CarLink#getCarLinkId <em>Car Link Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Car Link Id</em>' attribute.
- * @see #getCarLinkId()
- * @generated
- */
- void setCarLinkId(String value);
-
- /**
- * 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 com.example.car.CarPackage#getCarLink_Name()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='attribute' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link com.example.car.CarLink#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);
-
-} // CarLink
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarPackage.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarPackage.java
deleted file mode 100644
index 28505d410..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarPackage.java
+++ /dev/null
@@ -1,809 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarPackage.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car;
-
-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 com.example.car.CarFactory
- * @model kind="package"
- * annotation="http://www.w3.org/XML/1998/namespace lang='en'"
- * @generated
- */
-public interface CarPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "car";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.example.com/car.xsd";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "car";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- CarPackage eINSTANCE = com.example.car.impl.CarPackageImpl.init();
-
- /**
- * The meta object id for the '{@link com.example.car.impl.CarFrameImpl <em>Frame</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.CarFrameImpl
- * @see com.example.car.impl.CarPackageImpl#getCarFrame()
- * @generated
- */
- int CAR_FRAME = 0;
-
- /**
- * The feature id for the '<em><b>Car Wheel</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_FRAME__CAR_WHEEL = 0;
-
- /**
- * The feature id for the '<em><b>Car Link Ref</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_FRAME__CAR_LINK_REF = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_FRAME__NAME = 2;
-
- /**
- * The number of structural features of the '<em>Frame</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_FRAME_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link com.example.car.impl.CarLinkImpl <em>Link</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.CarLinkImpl
- * @see com.example.car.impl.CarPackageImpl#getCarLink()
- * @generated
- */
- int CAR_LINK = 1;
-
- /**
- * The feature id for the '<em><b>Car Link Id</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_LINK__CAR_LINK_ID = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_LINK__NAME = 1;
-
- /**
- * The number of structural features of the '<em>Link</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_LINK_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link com.example.car.impl.CarsListImpl <em>Cars List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.CarsListImpl
- * @see com.example.car.impl.CarPackageImpl#getCarsList()
- * @generated
- */
- int CARS_LIST = 2;
-
- /**
- * The feature id for the '<em><b>Car Type</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CARS_LIST__CAR_TYPE = 0;
-
- /**
- * The feature id for the '<em><b>Car Link</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CARS_LIST__CAR_LINK = 1;
-
- /**
- * The number of structural features of the '<em>Cars List</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CARS_LIST_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link com.example.car.impl.CarTireImpl <em>Tire</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.CarTireImpl
- * @see com.example.car.impl.CarPackageImpl#getCarTire()
- * @generated
- */
- int CAR_TIRE = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_TIRE__NAME = 0;
-
- /**
- * The number of structural features of the '<em>Tire</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_TIRE_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link com.example.car.impl.CarTypeImpl <em>Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.CarTypeImpl
- * @see com.example.car.impl.CarPackageImpl#getCarType()
- * @generated
- */
- int CAR_TYPE = 4;
-
- /**
- * The feature id for the '<em><b>Car Frame</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_TYPE__CAR_FRAME = 0;
-
- /**
- * The feature id for the '<em><b>Car ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_TYPE__CAR_ID = 1;
-
- /**
- * The number of structural features of the '<em>Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_TYPE_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link com.example.car.impl.CarWheelImpl <em>Wheel</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.CarWheelImpl
- * @see com.example.car.impl.CarPackageImpl#getCarWheel()
- * @generated
- */
- int CAR_WHEEL = 5;
-
- /**
- * The feature id for the '<em><b>Car Tire</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_WHEEL__CAR_TIRE = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_WHEEL__NAME = 1;
-
- /**
- * The number of structural features of the '<em>Wheel</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CAR_WHEEL_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link com.example.car.impl.DocumentRootImpl <em>Document Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.DocumentRootImpl
- * @see com.example.car.impl.CarPackageImpl#getDocumentRoot()
- * @generated
- */
- int DOCUMENT_ROOT = 6;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__MIXED = 0;
-
- /**
- * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
-
- /**
- * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
-
- /**
- * The feature id for the '<em><b>Cars List</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__CARS_LIST = 3;
-
- /**
- * The number of structural features of the '<em>Document Root</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT_FEATURE_COUNT = 4;
-
-
- /**
- * Returns the meta object for class '{@link com.example.car.CarFrame <em>Frame</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Frame</em>'.
- * @see com.example.car.CarFrame
- * @generated
- */
- EClass getCarFrame();
-
- /**
- * Returns the meta object for the containment reference list '{@link com.example.car.CarFrame#getCarWheel <em>Car Wheel</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Car Wheel</em>'.
- * @see com.example.car.CarFrame#getCarWheel()
- * @see #getCarFrame()
- * @generated
- */
- EReference getCarFrame_CarWheel();
-
- /**
- * Returns the meta object for the reference '{@link com.example.car.CarFrame#getCarLinkRef <em>Car Link Ref</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Car Link Ref</em>'.
- * @see com.example.car.CarFrame#getCarLinkRef()
- * @see #getCarFrame()
- * @generated
- */
- EReference getCarFrame_CarLinkRef();
-
- /**
- * Returns the meta object for the attribute '{@link com.example.car.CarFrame#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see com.example.car.CarFrame#getName()
- * @see #getCarFrame()
- * @generated
- */
- EAttribute getCarFrame_Name();
-
- /**
- * Returns the meta object for class '{@link com.example.car.CarLink <em>Link</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Link</em>'.
- * @see com.example.car.CarLink
- * @generated
- */
- EClass getCarLink();
-
- /**
- * Returns the meta object for the attribute '{@link com.example.car.CarLink#getCarLinkId <em>Car Link Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Car Link Id</em>'.
- * @see com.example.car.CarLink#getCarLinkId()
- * @see #getCarLink()
- * @generated
- */
- EAttribute getCarLink_CarLinkId();
-
- /**
- * Returns the meta object for the attribute '{@link com.example.car.CarLink#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see com.example.car.CarLink#getName()
- * @see #getCarLink()
- * @generated
- */
- EAttribute getCarLink_Name();
-
- /**
- * Returns the meta object for class '{@link com.example.car.CarsList <em>Cars List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Cars List</em>'.
- * @see com.example.car.CarsList
- * @generated
- */
- EClass getCarsList();
-
- /**
- * Returns the meta object for the containment reference list '{@link com.example.car.CarsList#getCarType <em>Car Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Car Type</em>'.
- * @see com.example.car.CarsList#getCarType()
- * @see #getCarsList()
- * @generated
- */
- EReference getCarsList_CarType();
-
- /**
- * Returns the meta object for the containment reference list '{@link com.example.car.CarsList#getCarLink <em>Car Link</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Car Link</em>'.
- * @see com.example.car.CarsList#getCarLink()
- * @see #getCarsList()
- * @generated
- */
- EReference getCarsList_CarLink();
-
- /**
- * Returns the meta object for class '{@link com.example.car.CarTire <em>Tire</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Tire</em>'.
- * @see com.example.car.CarTire
- * @generated
- */
- EClass getCarTire();
-
- /**
- * Returns the meta object for the attribute '{@link com.example.car.CarTire#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see com.example.car.CarTire#getName()
- * @see #getCarTire()
- * @generated
- */
- EAttribute getCarTire_Name();
-
- /**
- * Returns the meta object for class '{@link com.example.car.CarType <em>Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Type</em>'.
- * @see com.example.car.CarType
- * @generated
- */
- EClass getCarType();
-
- /**
- * Returns the meta object for the containment reference list '{@link com.example.car.CarType#getCarFrame <em>Car Frame</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Car Frame</em>'.
- * @see com.example.car.CarType#getCarFrame()
- * @see #getCarType()
- * @generated
- */
- EReference getCarType_CarFrame();
-
- /**
- * Returns the meta object for the attribute '{@link com.example.car.CarType#getCarID <em>Car ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Car ID</em>'.
- * @see com.example.car.CarType#getCarID()
- * @see #getCarType()
- * @generated
- */
- EAttribute getCarType_CarID();
-
- /**
- * Returns the meta object for class '{@link com.example.car.CarWheel <em>Wheel</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Wheel</em>'.
- * @see com.example.car.CarWheel
- * @generated
- */
- EClass getCarWheel();
-
- /**
- * Returns the meta object for the containment reference list '{@link com.example.car.CarWheel#getCarTire <em>Car Tire</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Car Tire</em>'.
- * @see com.example.car.CarWheel#getCarTire()
- * @see #getCarWheel()
- * @generated
- */
- EReference getCarWheel_CarTire();
-
- /**
- * Returns the meta object for the attribute '{@link com.example.car.CarWheel#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see com.example.car.CarWheel#getName()
- * @see #getCarWheel()
- * @generated
- */
- EAttribute getCarWheel_Name();
-
- /**
- * Returns the meta object for class '{@link com.example.car.DocumentRoot <em>Document Root</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Document Root</em>'.
- * @see com.example.car.DocumentRoot
- * @generated
- */
- EClass getDocumentRoot();
-
- /**
- * Returns the meta object for the attribute list '{@link com.example.car.DocumentRoot#getMixed <em>Mixed</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Mixed</em>'.
- * @see com.example.car.DocumentRoot#getMixed()
- * @see #getDocumentRoot()
- * @generated
- */
- EAttribute getDocumentRoot_Mixed();
-
- /**
- * Returns the meta object for the map '{@link com.example.car.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
- * @see com.example.car.DocumentRoot#getXMLNSPrefixMap()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XMLNSPrefixMap();
-
- /**
- * Returns the meta object for the map '{@link com.example.car.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XSI Schema Location</em>'.
- * @see com.example.car.DocumentRoot#getXSISchemaLocation()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XSISchemaLocation();
-
- /**
- * Returns the meta object for the containment reference '{@link com.example.car.DocumentRoot#getCarsList <em>Cars List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Cars List</em>'.
- * @see com.example.car.DocumentRoot#getCarsList()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_CarsList();
-
- /**
- * 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
- */
- CarFactory getCarFactory();
-
- /**
- * <!-- 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 com.example.car.impl.CarFrameImpl <em>Frame</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.CarFrameImpl
- * @see com.example.car.impl.CarPackageImpl#getCarFrame()
- * @generated
- */
- EClass CAR_FRAME = eINSTANCE.getCarFrame();
-
- /**
- * The meta object literal for the '<em><b>Car Wheel</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CAR_FRAME__CAR_WHEEL = eINSTANCE.getCarFrame_CarWheel();
-
- /**
- * The meta object literal for the '<em><b>Car Link Ref</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CAR_FRAME__CAR_LINK_REF = eINSTANCE.getCarFrame_CarLinkRef();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CAR_FRAME__NAME = eINSTANCE.getCarFrame_Name();
-
- /**
- * The meta object literal for the '{@link com.example.car.impl.CarLinkImpl <em>Link</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.CarLinkImpl
- * @see com.example.car.impl.CarPackageImpl#getCarLink()
- * @generated
- */
- EClass CAR_LINK = eINSTANCE.getCarLink();
-
- /**
- * The meta object literal for the '<em><b>Car Link Id</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CAR_LINK__CAR_LINK_ID = eINSTANCE.getCarLink_CarLinkId();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CAR_LINK__NAME = eINSTANCE.getCarLink_Name();
-
- /**
- * The meta object literal for the '{@link com.example.car.impl.CarsListImpl <em>Cars List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.CarsListImpl
- * @see com.example.car.impl.CarPackageImpl#getCarsList()
- * @generated
- */
- EClass CARS_LIST = eINSTANCE.getCarsList();
-
- /**
- * The meta object literal for the '<em><b>Car Type</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CARS_LIST__CAR_TYPE = eINSTANCE.getCarsList_CarType();
-
- /**
- * The meta object literal for the '<em><b>Car Link</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CARS_LIST__CAR_LINK = eINSTANCE.getCarsList_CarLink();
-
- /**
- * The meta object literal for the '{@link com.example.car.impl.CarTireImpl <em>Tire</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.CarTireImpl
- * @see com.example.car.impl.CarPackageImpl#getCarTire()
- * @generated
- */
- EClass CAR_TIRE = eINSTANCE.getCarTire();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CAR_TIRE__NAME = eINSTANCE.getCarTire_Name();
-
- /**
- * The meta object literal for the '{@link com.example.car.impl.CarTypeImpl <em>Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.CarTypeImpl
- * @see com.example.car.impl.CarPackageImpl#getCarType()
- * @generated
- */
- EClass CAR_TYPE = eINSTANCE.getCarType();
-
- /**
- * The meta object literal for the '<em><b>Car Frame</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CAR_TYPE__CAR_FRAME = eINSTANCE.getCarType_CarFrame();
-
- /**
- * The meta object literal for the '<em><b>Car ID</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CAR_TYPE__CAR_ID = eINSTANCE.getCarType_CarID();
-
- /**
- * The meta object literal for the '{@link com.example.car.impl.CarWheelImpl <em>Wheel</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.CarWheelImpl
- * @see com.example.car.impl.CarPackageImpl#getCarWheel()
- * @generated
- */
- EClass CAR_WHEEL = eINSTANCE.getCarWheel();
-
- /**
- * The meta object literal for the '<em><b>Car Tire</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CAR_WHEEL__CAR_TIRE = eINSTANCE.getCarWheel_CarTire();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CAR_WHEEL__NAME = eINSTANCE.getCarWheel_Name();
-
- /**
- * The meta object literal for the '{@link com.example.car.impl.DocumentRootImpl <em>Document Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.example.car.impl.DocumentRootImpl
- * @see com.example.car.impl.CarPackageImpl#getDocumentRoot()
- * @generated
- */
- EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
-
- /**
- * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
-
- /**
- * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();
-
- /**
- * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();
-
- /**
- * The meta object literal for the '<em><b>Cars List</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__CARS_LIST = eINSTANCE.getDocumentRoot_CarsList();
-
- }
-
-} //CarPackage
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarTire.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarTire.java
deleted file mode 100644
index 3cf71d56c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarTire.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarTire.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Tire</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.example.car.CarTire#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.example.car.CarPackage#getCarTire()
- * @model extendedMetaData="name='CarTire' kind='empty'"
- * @generated
- */
-public interface CarTire 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 com.example.car.CarPackage#getCarTire_Name()
- * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" required="true"
- * extendedMetaData="kind='attribute' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link com.example.car.CarTire#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);
-
-} // CarTire
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarType.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarType.java
deleted file mode 100644
index 4b704a7e7..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarType.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarType.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.example.car.CarType#getCarFrame <em>Car Frame</em>}</li>
- * <li>{@link com.example.car.CarType#getCarID <em>Car ID</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.example.car.CarPackage#getCarType()
- * @model extendedMetaData="name='CarType' kind='elementOnly'"
- * @generated
- */
-public interface CarType extends EObject {
- /**
- * Returns the value of the '<em><b>Car Frame</b></em>' containment reference list.
- * The list contents are of type {@link com.example.car.CarFrame}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Car Frame</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>Car Frame</em>' containment reference list.
- * @see com.example.car.CarPackage#getCarType_CarFrame()
- * @model containment="true"
- * extendedMetaData="kind='element' name='carFrame' namespace='##targetNamespace'"
- * @generated
- */
- EList<CarFrame> getCarFrame();
-
- /**
- * Returns the value of the '<em><b>Car ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Car ID</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Car ID</em>' attribute.
- * @see #setCarID(String)
- * @see com.example.car.CarPackage#getCarType_CarID()
- * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" required="true"
- * extendedMetaData="kind='attribute' name='carID'"
- * @generated
- */
- String getCarID();
-
- /**
- * Sets the value of the '{@link com.example.car.CarType#getCarID <em>Car ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Car ID</em>' attribute.
- * @see #getCarID()
- * @generated
- */
- void setCarID(String value);
-
-} // CarType
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarWheel.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarWheel.java
deleted file mode 100644
index c5d192de4..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarWheel.java
+++ /dev/null
@@ -1,75 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarWheel.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Wheel</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.example.car.CarWheel#getCarTire <em>Car Tire</em>}</li>
- * <li>{@link com.example.car.CarWheel#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.example.car.CarPackage#getCarWheel()
- * @model extendedMetaData="name='CarWheel' kind='elementOnly'"
- * @generated
- */
-public interface CarWheel extends EObject {
- /**
- * Returns the value of the '<em><b>Car Tire</b></em>' containment reference list.
- * The list contents are of type {@link com.example.car.CarTire}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Car Tire</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>Car Tire</em>' containment reference list.
- * @see com.example.car.CarPackage#getCarWheel_CarTire()
- * @model containment="true"
- * extendedMetaData="kind='element' name='carTire' namespace='##targetNamespace'"
- * @generated
- */
- EList<CarTire> getCarTire();
-
- /**
- * 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 com.example.car.CarPackage#getCarWheel_Name()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String"
- * extendedMetaData="kind='attribute' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link com.example.car.CarWheel#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);
-
-} // CarWheel
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarsList.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarsList.java
deleted file mode 100644
index 89820f220..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/CarsList.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarsList.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Cars List</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.example.car.CarsList#getCarType <em>Car Type</em>}</li>
- * <li>{@link com.example.car.CarsList#getCarLink <em>Car Link</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.example.car.CarPackage#getCarsList()
- * @model extendedMetaData="name='CarsList' kind='elementOnly'"
- * @generated
- */
-public interface CarsList extends EObject {
- /**
- * Returns the value of the '<em><b>Car Type</b></em>' containment reference list.
- * The list contents are of type {@link com.example.car.CarType}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Car Type</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>Car Type</em>' containment reference list.
- * @see com.example.car.CarPackage#getCarsList_CarType()
- * @model containment="true" required="true"
- * extendedMetaData="kind='element' name='carType' namespace='##targetNamespace'"
- * @generated
- */
- EList<CarType> getCarType();
-
- /**
- * Returns the value of the '<em><b>Car Link</b></em>' containment reference list.
- * The list contents are of type {@link com.example.car.CarLink}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Car Link</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>Car Link</em>' containment reference list.
- * @see com.example.car.CarPackage#getCarsList_CarLink()
- * @model containment="true"
- * extendedMetaData="kind='element' name='carLink' namespace='##targetNamespace'"
- * @generated
- */
- EList<CarLink> getCarLink();
-
-} // CarsList
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/DocumentRoot.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/DocumentRoot.java
deleted file mode 100644
index 7fa6cacde..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/DocumentRoot.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRoot.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.example.car.DocumentRoot#getMixed <em>Mixed</em>}</li>
- * <li>{@link com.example.car.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link com.example.car.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link com.example.car.DocumentRoot#getCarsList <em>Cars List</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.example.car.CarPackage#getDocumentRoot()
- * @model extendedMetaData="name='' kind='mixed'"
- * @generated
- */
-public interface DocumentRoot extends EObject {
- /**
- * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Mixed</em>' attribute list.
- * @see com.example.car.CarPackage#getDocumentRoot_Mixed()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
- * extendedMetaData="kind='elementWildcard' name=':mixed'"
- * @generated
- */
- FeatureMap getMixed();
-
- /**
- * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XMLNS Prefix Map</em>' map.
- * @see com.example.car.CarPackage#getDocumentRoot_XMLNSPrefixMap()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
- * extendedMetaData="kind='attribute' name='xmlns:prefix'"
- * @generated
- */
- EMap<String, String> getXMLNSPrefixMap();
-
- /**
- * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XSI Schema Location</em>' map.
- * @see com.example.car.CarPackage#getDocumentRoot_XSISchemaLocation()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
- * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
- * @generated
- */
- EMap<String, String> getXSISchemaLocation();
-
- /**
- * Returns the value of the '<em><b>Cars List</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Cars List</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>Cars List</em>' containment reference.
- * @see #setCarsList(CarsList)
- * @see com.example.car.CarPackage#getDocumentRoot_CarsList()
- * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
- * extendedMetaData="kind='element' name='carsList' namespace='##targetNamespace'"
- * @generated
- */
- CarsList getCarsList();
-
- /**
- * Sets the value of the '{@link com.example.car.DocumentRoot#getCarsList <em>Cars List</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Cars List</em>' containment reference.
- * @see #getCarsList()
- * @generated
- */
- void setCarsList(CarsList value);
-
-} // DocumentRoot
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarFactoryImpl.java
deleted file mode 100644
index 8dbc2dadc..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarFactoryImpl.java
+++ /dev/null
@@ -1,165 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarFactoryImpl.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.impl;
-
-import com.example.car.*;
-
-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 CarFactoryImpl extends EFactoryImpl implements CarFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static CarFactory init() {
- try {
- CarFactory theCarFactory = (CarFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.example.com/car.xsd");
- if (theCarFactory != null) {
- return theCarFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new CarFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case CarPackage.CAR_FRAME: return createCarFrame();
- case CarPackage.CAR_LINK: return createCarLink();
- case CarPackage.CARS_LIST: return createCarsList();
- case CarPackage.CAR_TIRE: return createCarTire();
- case CarPackage.CAR_TYPE: return createCarType();
- case CarPackage.CAR_WHEEL: return createCarWheel();
- case CarPackage.DOCUMENT_ROOT: return createDocumentRoot();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarFrame createCarFrame() {
- CarFrameImpl carFrame = new CarFrameImpl();
- return carFrame;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarLink createCarLink() {
- CarLinkImpl carLink = new CarLinkImpl();
- return carLink;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarsList createCarsList() {
- CarsListImpl carsList = new CarsListImpl();
- return carsList;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarTire createCarTire() {
- CarTireImpl carTire = new CarTireImpl();
- return carTire;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarType createCarType() {
- CarTypeImpl carType = new CarTypeImpl();
- return carType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarWheel createCarWheel() {
- CarWheelImpl carWheel = new CarWheelImpl();
- return carWheel;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DocumentRoot createDocumentRoot() {
- DocumentRootImpl documentRoot = new DocumentRootImpl();
- return documentRoot;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarPackage getCarPackage() {
- return (CarPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static CarPackage getPackage() {
- return CarPackage.eINSTANCE;
- }
-
-} //CarFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarFrameImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarFrameImpl.java
deleted file mode 100644
index 756d1ec31..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarFrameImpl.java
+++ /dev/null
@@ -1,269 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarFrameImpl.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car.impl;
-
-import com.example.car.CarFrame;
-import com.example.car.CarLink;
-import com.example.car.CarPackage;
-import com.example.car.CarWheel;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-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.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Frame</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.example.car.impl.CarFrameImpl#getCarWheel <em>Car Wheel</em>}</li>
- * <li>{@link com.example.car.impl.CarFrameImpl#getCarLinkRef <em>Car Link Ref</em>}</li>
- * <li>{@link com.example.car.impl.CarFrameImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CarFrameImpl extends EObjectImpl implements CarFrame {
- /**
- * The cached value of the '{@link #getCarWheel() <em>Car Wheel</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCarWheel()
- * @generated
- * @ordered
- */
- protected EList<CarWheel> carWheel;
-
- /**
- * The cached value of the '{@link #getCarLinkRef() <em>Car Link Ref</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCarLinkRef()
- * @generated
- * @ordered
- */
- protected CarLink carLinkRef;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected CarFrameImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return CarPackage.Literals.CAR_FRAME;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<CarWheel> getCarWheel() {
- if (carWheel == null) {
- carWheel = new EObjectContainmentEList<CarWheel>(CarWheel.class, this, CarPackage.CAR_FRAME__CAR_WHEEL);
- }
- return carWheel;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarLink getCarLinkRef() {
- return carLinkRef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCarLinkRef(CarLink newCarLinkRef) {
- CarLink oldCarLinkRef = carLinkRef;
- carLinkRef = newCarLinkRef;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CarPackage.CAR_FRAME__CAR_LINK_REF, oldCarLinkRef, carLinkRef));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CarPackage.CAR_FRAME__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case CarPackage.CAR_FRAME__CAR_WHEEL:
- return ((InternalEList<?>)getCarWheel()).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 CarPackage.CAR_FRAME__CAR_WHEEL:
- return getCarWheel();
- case CarPackage.CAR_FRAME__CAR_LINK_REF:
- return getCarLinkRef();
- case CarPackage.CAR_FRAME__NAME:
- return getName();
- }
- 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 CarPackage.CAR_FRAME__CAR_WHEEL:
- getCarWheel().clear();
- getCarWheel().addAll((Collection<? extends CarWheel>)newValue);
- return;
- case CarPackage.CAR_FRAME__CAR_LINK_REF:
- setCarLinkRef((CarLink)newValue);
- return;
- case CarPackage.CAR_FRAME__NAME:
- setName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case CarPackage.CAR_FRAME__CAR_WHEEL:
- getCarWheel().clear();
- return;
- case CarPackage.CAR_FRAME__CAR_LINK_REF:
- setCarLinkRef((CarLink)null);
- return;
- case CarPackage.CAR_FRAME__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case CarPackage.CAR_FRAME__CAR_WHEEL:
- return carWheel != null && !carWheel.isEmpty();
- case CarPackage.CAR_FRAME__CAR_LINK_REF:
- return carLinkRef != null;
- case CarPackage.CAR_FRAME__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //CarFrameImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarLinkImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarLinkImpl.java
deleted file mode 100644
index 7eedeaac4..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarLinkImpl.java
+++ /dev/null
@@ -1,221 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarLinkImpl.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.impl;
-
-import com.example.car.CarLink;
-import com.example.car.CarPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Link</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.example.car.impl.CarLinkImpl#getCarLinkId <em>Car Link Id</em>}</li>
- * <li>{@link com.example.car.impl.CarLinkImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CarLinkImpl extends EObjectImpl implements CarLink {
- /**
- * The default value of the '{@link #getCarLinkId() <em>Car Link Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCarLinkId()
- * @generated
- * @ordered
- */
- protected static final String CAR_LINK_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCarLinkId() <em>Car Link Id</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCarLinkId()
- * @generated
- * @ordered
- */
- protected String carLinkId = CAR_LINK_ID_EDEFAULT;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected CarLinkImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return CarPackage.Literals.CAR_LINK;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCarLinkId() {
- return carLinkId;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCarLinkId(String newCarLinkId) {
- String oldCarLinkId = carLinkId;
- carLinkId = newCarLinkId;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CarPackage.CAR_LINK__CAR_LINK_ID, oldCarLinkId, carLinkId));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CarPackage.CAR_LINK__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case CarPackage.CAR_LINK__CAR_LINK_ID:
- return getCarLinkId();
- case CarPackage.CAR_LINK__NAME:
- return getName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case CarPackage.CAR_LINK__CAR_LINK_ID:
- setCarLinkId((String)newValue);
- return;
- case CarPackage.CAR_LINK__NAME:
- setName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case CarPackage.CAR_LINK__CAR_LINK_ID:
- setCarLinkId(CAR_LINK_ID_EDEFAULT);
- return;
- case CarPackage.CAR_LINK__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case CarPackage.CAR_LINK__CAR_LINK_ID:
- return CAR_LINK_ID_EDEFAULT == null ? carLinkId != null : !CAR_LINK_ID_EDEFAULT.equals(carLinkId);
- case CarPackage.CAR_LINK__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (carLinkId: ");
- result.append(carLinkId);
- result.append(", name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //CarLinkImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarPackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarPackageImpl.java
deleted file mode 100644
index 644f9097d..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarPackageImpl.java
+++ /dev/null
@@ -1,687 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarPackageImpl.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car.impl;
-
-import com.example.car.CarFactory;
-import com.example.car.CarFrame;
-import com.example.car.CarLink;
-import com.example.car.CarPackage;
-import com.example.car.CarTire;
-import com.example.car.CarType;
-import com.example.car.CarWheel;
-import com.example.car.CarsList;
-import com.example.car.DocumentRoot;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class CarPackageImpl extends EPackageImpl implements CarPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass carFrameEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass carLinkEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass carsListEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass carTireEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass carTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass carWheelEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass documentRootEClass = 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 com.example.car.CarPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private CarPackageImpl() {
- super(eNS_URI, CarFactory.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 CarPackage init() {
- if (isInited) return (CarPackage)EPackage.Registry.INSTANCE.getEPackage(CarPackage.eNS_URI);
-
- // Obtain or create and register package
- CarPackageImpl theCarPackage = (CarPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof CarPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new CarPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theCarPackage.createPackageContents();
-
- // Initialize created meta-data
- theCarPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theCarPackage.freeze();
-
- return theCarPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCarFrame() {
- return carFrameEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCarFrame_CarWheel() {
- return (EReference)carFrameEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCarFrame_CarLinkRef() {
- return (EReference)carFrameEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCarFrame_Name() {
- return (EAttribute)carFrameEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCarLink() {
- return carLinkEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCarLink_CarLinkId() {
- return (EAttribute)carLinkEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCarLink_Name() {
- return (EAttribute)carLinkEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCarsList() {
- return carsListEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCarsList_CarType() {
- return (EReference)carsListEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCarsList_CarLink() {
- return (EReference)carsListEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCarTire() {
- return carTireEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCarTire_Name() {
- return (EAttribute)carTireEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCarType() {
- return carTypeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCarType_CarFrame() {
- return (EReference)carTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCarType_CarID() {
- return (EAttribute)carTypeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCarWheel() {
- return carWheelEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCarWheel_CarTire() {
- return (EReference)carWheelEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCarWheel_Name() {
- return (EAttribute)carWheelEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDocumentRoot() {
- return documentRootEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDocumentRoot_Mixed() {
- return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XMLNSPrefixMap() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XSISchemaLocation() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_CarsList() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarFactory getCarFactory() {
- return (CarFactory)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
- carFrameEClass = createEClass(CAR_FRAME);
- createEReference(carFrameEClass, CAR_FRAME__CAR_WHEEL);
- createEReference(carFrameEClass, CAR_FRAME__CAR_LINK_REF);
- createEAttribute(carFrameEClass, CAR_FRAME__NAME);
-
- carLinkEClass = createEClass(CAR_LINK);
- createEAttribute(carLinkEClass, CAR_LINK__CAR_LINK_ID);
- createEAttribute(carLinkEClass, CAR_LINK__NAME);
-
- carsListEClass = createEClass(CARS_LIST);
- createEReference(carsListEClass, CARS_LIST__CAR_TYPE);
- createEReference(carsListEClass, CARS_LIST__CAR_LINK);
-
- carTireEClass = createEClass(CAR_TIRE);
- createEAttribute(carTireEClass, CAR_TIRE__NAME);
-
- carTypeEClass = createEClass(CAR_TYPE);
- createEReference(carTypeEClass, CAR_TYPE__CAR_FRAME);
- createEAttribute(carTypeEClass, CAR_TYPE__CAR_ID);
-
- carWheelEClass = createEClass(CAR_WHEEL);
- createEReference(carWheelEClass, CAR_WHEEL__CAR_TIRE);
- createEAttribute(carWheelEClass, CAR_WHEEL__NAME);
-
- documentRootEClass = createEClass(DOCUMENT_ROOT);
- createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- createEReference(documentRootEClass, DOCUMENT_ROOT__CARS_LIST);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
-
- // Initialize classes and features; add operations and parameters
- initEClass(carFrameEClass, CarFrame.class, "CarFrame", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCarFrame_CarWheel(), this.getCarWheel(), null, "carWheel", null, 0, -1, CarFrame.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getCarFrame_CarLinkRef(), this.getCarLink(), null, "carLinkRef", null, 0, 1, CarFrame.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getCarFrame_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, CarFrame.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(carLinkEClass, CarLink.class, "CarLink", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getCarLink_CarLinkId(), theXMLTypePackage.getID(), "carLinkId", null, 1, 1, CarLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getCarLink_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, CarLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(carsListEClass, CarsList.class, "CarsList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCarsList_CarType(), this.getCarType(), null, "carType", null, 1, -1, CarsList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getCarsList_CarLink(), this.getCarLink(), null, "carLink", null, 0, -1, CarsList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(carTireEClass, CarTire.class, "CarTire", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getCarTire_Name(), theXMLTypePackage.getID(), "name", null, 1, 1, CarTire.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(carTypeEClass, CarType.class, "CarType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCarType_CarFrame(), this.getCarFrame(), null, "carFrame", null, 0, -1, CarType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getCarType_CarID(), theXMLTypePackage.getID(), "carID", null, 1, 1, CarType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(carWheelEClass, CarWheel.class, "CarWheel", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCarWheel_CarTire(), this.getCarTire(), null, "carTire", null, 0, -1, CarWheel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getCarWheel_Name(), theXMLTypePackage.getString(), "name", null, 0, 1, CarWheel.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_CarsList(), this.getCarsList(), null, "carsList", null, 0, -2, null, 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://www.w3.org/XML/1998/namespace
- createNamespaceAnnotations();
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>http://www.w3.org/XML/1998/namespace</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createNamespaceAnnotations() {
- String source = "http://www.w3.org/XML/1998/namespace";
- addAnnotation
- (this,
- source,
- new String[] {
- "lang", "en"
- });
- }
-
- /**
- * 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
- (carFrameEClass,
- source,
- new String[] {
- "name", "CarFrame",
- "kind", "elementOnly"
- });
- addAnnotation
- (getCarFrame_CarWheel(),
- source,
- new String[] {
- "kind", "element",
- "name", "carWheel",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getCarFrame_CarLinkRef(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "carLinkRef"
- });
- addAnnotation
- (getCarFrame_Name(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "name"
- });
- addAnnotation
- (carLinkEClass,
- source,
- new String[] {
- "name", "CarLink",
- "kind", "empty"
- });
- addAnnotation
- (getCarLink_CarLinkId(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "carLinkId"
- });
- addAnnotation
- (getCarLink_Name(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "name"
- });
- addAnnotation
- (carsListEClass,
- source,
- new String[] {
- "name", "CarsList",
- "kind", "elementOnly"
- });
- addAnnotation
- (getCarsList_CarType(),
- source,
- new String[] {
- "kind", "element",
- "name", "carType",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getCarsList_CarLink(),
- source,
- new String[] {
- "kind", "element",
- "name", "carLink",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (carTireEClass,
- source,
- new String[] {
- "name", "CarTire",
- "kind", "empty"
- });
- addAnnotation
- (getCarTire_Name(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "name"
- });
- addAnnotation
- (carTypeEClass,
- source,
- new String[] {
- "name", "CarType",
- "kind", "elementOnly"
- });
- addAnnotation
- (getCarType_CarFrame(),
- source,
- new String[] {
- "kind", "element",
- "name", "carFrame",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getCarType_CarID(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "carID"
- });
- addAnnotation
- (carWheelEClass,
- source,
- new String[] {
- "name", "CarWheel",
- "kind", "elementOnly"
- });
- addAnnotation
- (getCarWheel_CarTire(),
- source,
- new String[] {
- "kind", "element",
- "name", "carTire",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getCarWheel_Name(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "name"
- });
- addAnnotation
- (documentRootEClass,
- source,
- new String[] {
- "name", "",
- "kind", "mixed"
- });
- addAnnotation
- (getDocumentRoot_Mixed(),
- source,
- new String[] {
- "kind", "elementWildcard",
- "name", ":mixed"
- });
- addAnnotation
- (getDocumentRoot_XMLNSPrefixMap(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xmlns:prefix"
- });
- addAnnotation
- (getDocumentRoot_XSISchemaLocation(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xsi:schemaLocation"
- });
- addAnnotation
- (getDocumentRoot_CarsList(),
- source,
- new String[] {
- "kind", "element",
- "name", "carsList",
- "namespace", "##targetNamespace"
- });
- }
-
-} //CarPackageImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarTireImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarTireImpl.java
deleted file mode 100644
index 20bfee7cd..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarTireImpl.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarTireImpl.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car.impl;
-
-import com.example.car.CarPackage;
-import com.example.car.CarTire;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Tire</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.example.car.impl.CarTireImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CarTireImpl extends EObjectImpl implements CarTire {
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected CarTireImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return CarPackage.Literals.CAR_TIRE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CarPackage.CAR_TIRE__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case CarPackage.CAR_TIRE__NAME:
- return getName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case CarPackage.CAR_TIRE__NAME:
- setName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case CarPackage.CAR_TIRE__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case CarPackage.CAR_TIRE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //CarTireImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarTypeImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarTypeImpl.java
deleted file mode 100644
index a51393e2f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarTypeImpl.java
+++ /dev/null
@@ -1,226 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarTypeImpl.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car.impl;
-
-import com.example.car.CarFrame;
-import com.example.car.CarPackage;
-import com.example.car.CarType;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-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.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.example.car.impl.CarTypeImpl#getCarFrame <em>Car Frame</em>}</li>
- * <li>{@link com.example.car.impl.CarTypeImpl#getCarID <em>Car ID</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CarTypeImpl extends EObjectImpl implements CarType {
- /**
- * The cached value of the '{@link #getCarFrame() <em>Car Frame</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCarFrame()
- * @generated
- * @ordered
- */
- protected EList<CarFrame> carFrame;
-
- /**
- * The default value of the '{@link #getCarID() <em>Car ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCarID()
- * @generated
- * @ordered
- */
- protected static final String CAR_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCarID() <em>Car ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCarID()
- * @generated
- * @ordered
- */
- protected String carID = CAR_ID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected CarTypeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return CarPackage.Literals.CAR_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<CarFrame> getCarFrame() {
- if (carFrame == null) {
- carFrame = new EObjectContainmentEList<CarFrame>(CarFrame.class, this, CarPackage.CAR_TYPE__CAR_FRAME);
- }
- return carFrame;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCarID() {
- return carID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCarID(String newCarID) {
- String oldCarID = carID;
- carID = newCarID;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CarPackage.CAR_TYPE__CAR_ID, oldCarID, carID));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case CarPackage.CAR_TYPE__CAR_FRAME:
- return ((InternalEList<?>)getCarFrame()).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 CarPackage.CAR_TYPE__CAR_FRAME:
- return getCarFrame();
- case CarPackage.CAR_TYPE__CAR_ID:
- return getCarID();
- }
- 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 CarPackage.CAR_TYPE__CAR_FRAME:
- getCarFrame().clear();
- getCarFrame().addAll((Collection<? extends CarFrame>)newValue);
- return;
- case CarPackage.CAR_TYPE__CAR_ID:
- setCarID((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case CarPackage.CAR_TYPE__CAR_FRAME:
- getCarFrame().clear();
- return;
- case CarPackage.CAR_TYPE__CAR_ID:
- setCarID(CAR_ID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case CarPackage.CAR_TYPE__CAR_FRAME:
- return carFrame != null && !carFrame.isEmpty();
- case CarPackage.CAR_TYPE__CAR_ID:
- return CAR_ID_EDEFAULT == null ? carID != null : !CAR_ID_EDEFAULT.equals(carID);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (carID: ");
- result.append(carID);
- result.append(')');
- return result.toString();
- }
-
-} //CarTypeImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarWheelImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarWheelImpl.java
deleted file mode 100644
index 1e6d4f446..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarWheelImpl.java
+++ /dev/null
@@ -1,226 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarWheelImpl.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car.impl;
-
-import com.example.car.CarPackage;
-import com.example.car.CarTire;
-import com.example.car.CarWheel;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-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.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Wheel</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.example.car.impl.CarWheelImpl#getCarTire <em>Car Tire</em>}</li>
- * <li>{@link com.example.car.impl.CarWheelImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CarWheelImpl extends EObjectImpl implements CarWheel {
- /**
- * The cached value of the '{@link #getCarTire() <em>Car Tire</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCarTire()
- * @generated
- * @ordered
- */
- protected EList<CarTire> carTire;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected CarWheelImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return CarPackage.Literals.CAR_WHEEL;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<CarTire> getCarTire() {
- if (carTire == null) {
- carTire = new EObjectContainmentEList<CarTire>(CarTire.class, this, CarPackage.CAR_WHEEL__CAR_TIRE);
- }
- return carTire;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, CarPackage.CAR_WHEEL__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case CarPackage.CAR_WHEEL__CAR_TIRE:
- return ((InternalEList<?>)getCarTire()).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 CarPackage.CAR_WHEEL__CAR_TIRE:
- return getCarTire();
- case CarPackage.CAR_WHEEL__NAME:
- return getName();
- }
- 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 CarPackage.CAR_WHEEL__CAR_TIRE:
- getCarTire().clear();
- getCarTire().addAll((Collection<? extends CarTire>)newValue);
- return;
- case CarPackage.CAR_WHEEL__NAME:
- setName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case CarPackage.CAR_WHEEL__CAR_TIRE:
- getCarTire().clear();
- return;
- case CarPackage.CAR_WHEEL__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case CarPackage.CAR_WHEEL__CAR_TIRE:
- return carTire != null && !carTire.isEmpty();
- case CarPackage.CAR_WHEEL__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //CarWheelImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarsListImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarsListImpl.java
deleted file mode 100644
index 6fc1febb4..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/CarsListImpl.java
+++ /dev/null
@@ -1,193 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarsListImpl.java,v 1.1 2007/08/10 20:17:31 mtaal Exp $
- */
-package com.example.car.impl;
-
-import com.example.car.CarLink;
-import com.example.car.CarPackage;
-import com.example.car.CarType;
-import com.example.car.CarsList;
-
-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.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Cars List</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.example.car.impl.CarsListImpl#getCarType <em>Car Type</em>}</li>
- * <li>{@link com.example.car.impl.CarsListImpl#getCarLink <em>Car Link</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CarsListImpl extends EObjectImpl implements CarsList {
- /**
- * The cached value of the '{@link #getCarType() <em>Car Type</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCarType()
- * @generated
- * @ordered
- */
- protected EList<CarType> carType;
-
- /**
- * The cached value of the '{@link #getCarLink() <em>Car Link</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCarLink()
- * @generated
- * @ordered
- */
- protected EList<CarLink> carLink;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected CarsListImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return CarPackage.Literals.CARS_LIST;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<CarType> getCarType() {
- if (carType == null) {
- carType = new EObjectContainmentEList<CarType>(CarType.class, this, CarPackage.CARS_LIST__CAR_TYPE);
- }
- return carType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<CarLink> getCarLink() {
- if (carLink == null) {
- carLink = new EObjectContainmentEList<CarLink>(CarLink.class, this, CarPackage.CARS_LIST__CAR_LINK);
- }
- return carLink;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case CarPackage.CARS_LIST__CAR_TYPE:
- return ((InternalEList<?>)getCarType()).basicRemove(otherEnd, msgs);
- case CarPackage.CARS_LIST__CAR_LINK:
- return ((InternalEList<?>)getCarLink()).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 CarPackage.CARS_LIST__CAR_TYPE:
- return getCarType();
- case CarPackage.CARS_LIST__CAR_LINK:
- return getCarLink();
- }
- 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 CarPackage.CARS_LIST__CAR_TYPE:
- getCarType().clear();
- getCarType().addAll((Collection<? extends CarType>)newValue);
- return;
- case CarPackage.CARS_LIST__CAR_LINK:
- getCarLink().clear();
- getCarLink().addAll((Collection<? extends CarLink>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case CarPackage.CARS_LIST__CAR_TYPE:
- getCarType().clear();
- return;
- case CarPackage.CARS_LIST__CAR_LINK:
- getCarLink().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case CarPackage.CARS_LIST__CAR_TYPE:
- return carType != null && !carType.isEmpty();
- case CarPackage.CARS_LIST__CAR_LINK:
- return carLink != null && !carLink.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //CarsListImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/DocumentRootImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/DocumentRootImpl.java
deleted file mode 100644
index a017f02e2..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/DocumentRootImpl.java
+++ /dev/null
@@ -1,286 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRootImpl.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.impl;
-
-import com.example.car.CarPackage;
-import com.example.car.CarsList;
-import com.example.car.DocumentRoot;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
-
-import org.eclipse.emf.ecore.util.BasicFeatureMap;
-import org.eclipse.emf.ecore.util.EcoreEMap;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.example.car.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
- * <li>{@link com.example.car.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link com.example.car.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link com.example.car.impl.DocumentRootImpl#getCarsList <em>Cars List</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
- /**
- * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMixed()
- * @generated
- * @ordered
- */
- protected FeatureMap mixed;
-
- /**
- * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXMLNSPrefixMap()
- * @generated
- * @ordered
- */
- protected EMap<String, String> xMLNSPrefixMap;
-
- /**
- * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXSISchemaLocation()
- * @generated
- * @ordered
- */
- protected EMap<String, String> xSISchemaLocation;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DocumentRootImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return CarPackage.Literals.DOCUMENT_ROOT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FeatureMap getMixed() {
- if (mixed == null) {
- mixed = new BasicFeatureMap(this, CarPackage.DOCUMENT_ROOT__MIXED);
- }
- return mixed;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap<String, String> getXMLNSPrefixMap() {
- if (xMLNSPrefixMap == null) {
- xMLNSPrefixMap = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, CarPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- }
- return xMLNSPrefixMap;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap<String, String> getXSISchemaLocation() {
- if (xSISchemaLocation == null) {
- xSISchemaLocation = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, CarPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- }
- return xSISchemaLocation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarsList getCarsList() {
- return (CarsList)getMixed().get(CarPackage.Literals.DOCUMENT_ROOT__CARS_LIST, true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetCarsList(CarsList newCarsList, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(CarPackage.Literals.DOCUMENT_ROOT__CARS_LIST, newCarsList, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCarsList(CarsList newCarsList) {
- ((FeatureMap.Internal)getMixed()).set(CarPackage.Literals.DOCUMENT_ROOT__CARS_LIST, newCarsList);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case CarPackage.DOCUMENT_ROOT__MIXED:
- return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
- case CarPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
- case CarPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
- case CarPackage.DOCUMENT_ROOT__CARS_LIST:
- return basicSetCarsList(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case CarPackage.DOCUMENT_ROOT__MIXED:
- if (coreType) return getMixed();
- return ((FeatureMap.Internal)getMixed()).getWrapper();
- case CarPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- if (coreType) return getXMLNSPrefixMap();
- else return getXMLNSPrefixMap().map();
- case CarPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- if (coreType) return getXSISchemaLocation();
- else return getXSISchemaLocation().map();
- case CarPackage.DOCUMENT_ROOT__CARS_LIST:
- return getCarsList();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case CarPackage.DOCUMENT_ROOT__MIXED:
- ((FeatureMap.Internal)getMixed()).set(newValue);
- return;
- case CarPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
- return;
- case CarPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
- return;
- case CarPackage.DOCUMENT_ROOT__CARS_LIST:
- setCarsList((CarsList)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case CarPackage.DOCUMENT_ROOT__MIXED:
- getMixed().clear();
- return;
- case CarPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- getXMLNSPrefixMap().clear();
- return;
- case CarPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- getXSISchemaLocation().clear();
- return;
- case CarPackage.DOCUMENT_ROOT__CARS_LIST:
- setCarsList((CarsList)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case CarPackage.DOCUMENT_ROOT__MIXED:
- return mixed != null && !mixed.isEmpty();
- case CarPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
- case CarPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
- case CarPackage.DOCUMENT_ROOT__CARS_LIST:
- return getCarsList() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (mixed: ");
- result.append(mixed);
- result.append(')');
- return result.toString();
- }
-
-} //DocumentRootImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/package.jdo b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/package.jdo
deleted file mode 100644
index 7bfd6cdfe..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/impl/package.jdo
+++ /dev/null
@@ -1,122 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-
-<jdo>
- <package name="com.example.car.impl">
- <class name="com.example.car.impl.CarFrameImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="carframe" identity-type="datastore">
- <implements name="com.example.car.CarFrame"/>
- <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="CarFrame"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="carWheel" persistence-modifier="persistent" delete-action="restrict">
- <collection element-type="com.example.car.impl.CarWheelImpl" dependent-element="true">
- <extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
- </collection>
- <element>
- <column name="carframe_carwheel_e_id" allows-null="true"/>
- </element>
- <order column="CARFRAME_CARWHEEL_IDX"/>
- <foreign-key delete-action="cascade" update-action="cascade" name="carframe_carwheel"/>
- </field>
- <field name="carLinkRef" persistence-modifier="persistent" delete-action="restrict" null-value="none">
- <foreign-key name="carframe_carlinkref"/>
- <column name="carlink_carlinkref_e_id" allows-null="true"/>
- <extension vendor-name="jpox" key="implementation-classes" value="com.example.car.impl.CarLinkImpl"/>
- </field>
- <field name="name" persistence-modifier="persistent" null-value="none"/>
- </class>
- <class name="com.example.car.impl.CarLinkImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="carlink" identity-type="application">
- <implements name="com.example.car.CarLink"/>
- <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="CarLink"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="carLinkId" persistence-modifier="persistent" primary-key="true"/>
- <field name="name" persistence-modifier="persistent" null-value="exception"/>
- </class>
- <class name="com.example.car.impl.CarsListImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="carslist" identity-type="datastore">
- <implements name="com.example.car.CarsList"/>
- <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="CarsList"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="carType" persistence-modifier="persistent" delete-action="restrict">
- <collection element-type="com.example.car.impl.CarTypeImpl" dependent-element="true">
- <extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
- </collection>
- <element>
- <column name="carslist_cartype_e_id" allows-null="true"/>
- </element>
- <order column="CARSLIST_CARTYPE_IDX"/>
- <foreign-key delete-action="cascade" update-action="cascade" name="carslist_cartype"/>
- </field>
- <field name="carLink" persistence-modifier="persistent" delete-action="restrict">
- <collection element-type="com.example.car.impl.CarLinkImpl" dependent-element="true">
- <extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
- </collection>
- <element>
- <column name="carslist_carlink_e_id" allows-null="true"/>
- </element>
- <order column="CARSLIST_CARLINK_IDX"/>
- <foreign-key delete-action="cascade" update-action="cascade" name="carslist_carlink"/>
- </field>
- </class>
- <class name="com.example.car.impl.CarTireImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="cartire" identity-type="application">
- <implements name="com.example.car.CarTire"/>
- <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="CarTire"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="name" persistence-modifier="persistent" primary-key="true"/>
- </class>
- <class name="com.example.car.impl.CarTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="cartype" identity-type="application">
- <implements name="com.example.car.CarType"/>
- <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="CarType"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="carFrame" persistence-modifier="persistent" delete-action="restrict">
- <collection element-type="com.example.car.impl.CarFrameImpl" dependent-element="true">
- <extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
- </collection>
- <element>
- <column name="cartype_carframe_e_id" allows-null="true"/>
- </element>
- <order column="CARTYPE_CARFRAME_IDX"/>
- <foreign-key delete-action="cascade" update-action="cascade" name="cartype_carframe"/>
- </field>
- <field name="carID" persistence-modifier="persistent" primary-key="true"/>
- </class>
- <class name="com.example.car.impl.CarWheelImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="carwheel" identity-type="datastore">
- <implements name="com.example.car.CarWheel"/>
- <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="CarWheel"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="carTire" persistence-modifier="persistent" delete-action="restrict">
- <collection element-type="com.example.car.impl.CarTireImpl" dependent-element="true">
- <extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
- </collection>
- <element>
- <column name="carwheel_cartire_e_id" allows-null="true"/>
- </element>
- <order column="CARWHEEL_CARTIRE_IDX"/>
- <foreign-key delete-action="cascade" update-action="cascade" name="carwheel_cartire"/>
- </field>
- <field name="name" persistence-modifier="persistent" null-value="none"/>
- </class>
- </package>
-</jdo> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.ecore b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.ecore
deleted file mode 100644
index af5bcc7b9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.ecore
+++ /dev/null
@@ -1,169 +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="car"
- nsURI="http://www.example.com/car.xsd" nsPrefix="car">
- <eAnnotations source="http://www.w3.org/XML/1998/namespace">
- <details key="lang" value="en"/>
- </eAnnotations>
- <eClassifiers xsi:type="ecore:EClass" name="CarFrame">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="CarFrame"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carWheel" upperBound="-1"
- eType="#//CarWheel" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="carWheel"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carLinkRef" eType="#//CarLink"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="carLinkRef"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CarLink">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="CarLink"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="carLinkId" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//ID" iD="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="carLinkId"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CarsList">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="CarsList"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carType" lowerBound="1"
- upperBound="-1" eType="#//CarType" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="carType"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carLink" upperBound="-1"
- eType="#//CarLink" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="carLink"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CarTire">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="CarTire"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//ID"
- iD="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CarType">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="CarType"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carFrame" upperBound="-1"
- eType="#//CarFrame" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="carFrame"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="carID" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//ID"
- iD="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="carID"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CarWheel">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="CarWheel"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carTire" upperBound="-1"
- eType="#//CarTire" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="carTire"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value=""/>
- <details key="kind" value="mixed"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="elementWildcard"/>
- <details key="name" value=":mixed"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xmlns:prefix"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
- transient="true" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="xsi:schemaLocation"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="carsList" upperBound="-2"
- eType="#//CarsList" volatile="true" transient="true" derived="true" containment="true"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="carsList"/>
- <details key="namespace" value="##targetNamespace"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.genmodel b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.genmodel
deleted file mode 100644
index a94cda6d9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.genmodel
+++ /dev/null
@@ -1,41 +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="Car" importerID="org.eclipse.xsd.ecore.importer"
- complianceLevel="5.0" copyrightFields="false">
- <foreignModel>car.xsd</foreignModel>
- <genPackages prefix="Car" basePackage="com.example" resource="XML" disposableProviderFactory="true"
- ecorePackage="car.ecore#/">
- <genClasses ecoreClass="car.ecore#//CarFrame">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference car.ecore#//CarFrame/carWheel"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference car.ecore#//CarFrame/carLinkRef"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//CarFrame/name"/>
- </genClasses>
- <genClasses ecoreClass="car.ecore#//CarLink">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//CarLink/carLinkId"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//CarLink/name"/>
- </genClasses>
- <genClasses ecoreClass="car.ecore#//CarsList">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference car.ecore#//CarsList/carType"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference car.ecore#//CarsList/carLink"/>
- </genClasses>
- <genClasses ecoreClass="car.ecore#//CarTire">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//CarTire/name"/>
- </genClasses>
- <genClasses ecoreClass="car.ecore#//CarType">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference car.ecore#//CarType/carFrame"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//CarType/carID"/>
- </genClasses>
- <genClasses ecoreClass="car.ecore#//CarWheel">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference car.ecore#//CarWheel/carTire"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//CarWheel/name"/>
- </genClasses>
- <genClasses ecoreClass="car.ecore#//DocumentRoot">
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EAttribute car.ecore#//DocumentRoot/mixed"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference car.ecore#//DocumentRoot/xMLNSPrefixMap"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference car.ecore#//DocumentRoot/xSISchemaLocation"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference car.ecore#//DocumentRoot/carsList"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.xsd b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.xsd
deleted file mode 100644
index 4c65252ca..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/car.xsd
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema targetNamespace="http://www.example.com/car.xsd"
- elementFormDefault="qualified"
- attributeFormDefault="unqualified"
- version="0.9.3.0"
- xml:lang="en"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:car="http://www.example.com/car.xsd"
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
- xmlns:xlink="http://www.w3.org/1999/xlink">
-
- <xs:element name="carsList" type="car:CarsList"/>
-
- <xs:complexType name="CarsList">
- <xs:sequence>
- <xs:element name="carType" type="car:CarType" maxOccurs="unbounded"/>
- <xs:element name="carLink" type="car:CarLink" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- </xs:complexType>
-
- <xs:complexType name="CarType">
- <xs:sequence>
- <xs:element name="carFrame" type="car:CarFrame" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="carID" type="xs:ID" use="required"/>
- </xs:complexType>
-
- <xs:complexType name="CarLink">
- <xs:attribute name="carLinkId" type="xs:ID" use="required"/>
- <xs:attribute name="name" type="xs:string" use="required"/>
- </xs:complexType>
-
-
- <xs:complexType name="CarFrame">
- <xs:sequence>
- <xs:element name="carWheel" type="car:CarWheel" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="optional"/>
- <xs:attribute name="carLinkRef" type="xs:IDREF" ecore:reference="car:CarLink"/>
- </xs:complexType>
-
- <xs:complexType name="CarWheel">
- <xs:sequence>
- <xs:element name="carTire" type="car:CarTire" minOccurs="0" maxOccurs="unbounded"/>
- </xs:sequence>
- <xs:attribute name="name" type="xs:string" use="optional"/>
- </xs:complexType>
-
- <xs:complexType name="CarTire">
- <xs:attribute name="name" type="xs:ID" use="required"/>
- </xs:complexType>
-</xs:schema>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/cars.xml b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/cars.xml
deleted file mode 100644
index 2127e18f8..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/model/cars.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<car:CarsList xmlns:car="http://www.example.com/car.xsd">
-
- <car:carType carID="carNumber1">
- <car:carFrame carLinkRef="a984073182" name="carFrameIron">
- <car:carWheel name="carWheelBrand">
- <car:carTire name="b890388762"/>
- </car:carWheel>
- </car:carFrame>
- </car:carType>
-
- <car:carLink name="link-car" carLinkId="a984073182"/>
-
-</car:CarsList>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarAdapterFactory.java
deleted file mode 100644
index 858b62c28..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarAdapterFactory.java
+++ /dev/null
@@ -1,232 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarAdapterFactory.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.util;
-
-import com.example.car.*;
-
-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 com.example.car.CarPackage
- * @generated
- */
-public class CarAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static CarPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = CarPackage.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 CarSwitch<Adapter> modelSwitch =
- new CarSwitch<Adapter>() {
- @Override
- public Adapter caseCarFrame(CarFrame object) {
- return createCarFrameAdapter();
- }
- @Override
- public Adapter caseCarLink(CarLink object) {
- return createCarLinkAdapter();
- }
- @Override
- public Adapter caseCarsList(CarsList object) {
- return createCarsListAdapter();
- }
- @Override
- public Adapter caseCarTire(CarTire object) {
- return createCarTireAdapter();
- }
- @Override
- public Adapter caseCarType(CarType object) {
- return createCarTypeAdapter();
- }
- @Override
- public Adapter caseCarWheel(CarWheel object) {
- return createCarWheelAdapter();
- }
- @Override
- public Adapter caseDocumentRoot(DocumentRoot object) {
- return createDocumentRootAdapter();
- }
- @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 com.example.car.CarFrame <em>Frame</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 com.example.car.CarFrame
- * @generated
- */
- public Adapter createCarFrameAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.example.car.CarLink <em>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 com.example.car.CarLink
- * @generated
- */
- public Adapter createCarLinkAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.example.car.CarsList <em>Cars List</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 com.example.car.CarsList
- * @generated
- */
- public Adapter createCarsListAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.example.car.CarTire <em>Tire</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 com.example.car.CarTire
- * @generated
- */
- public Adapter createCarTireAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.example.car.CarType <em>Type</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 com.example.car.CarType
- * @generated
- */
- public Adapter createCarTypeAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.example.car.CarWheel <em>Wheel</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 com.example.car.CarWheel
- * @generated
- */
- public Adapter createCarWheelAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.example.car.DocumentRoot <em>Document Root</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 com.example.car.DocumentRoot
- * @generated
- */
- public Adapter createDocumentRootAdapter() {
- 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;
- }
-
-} //CarAdapterFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarResourceFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarResourceFactoryImpl.java
deleted file mode 100644
index b7f5b0b69..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarResourceFactoryImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarResourceFactoryImpl.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.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 com.example.car.util.CarResourceImpl
- * @generated
- */
-public class CarResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new CarResourceImpl(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;
- }
-
-} //CarResourceFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarResourceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarResourceImpl.java
deleted file mode 100644
index a63c1aa2d..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarResourceImpl.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.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 com.example.car.util.CarResourceFactoryImpl
- * @generated
- */
-public class CarResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public CarResourceImpl(URI uri) {
- super(uri);
- }
-
-} //CarResourceImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarSwitch.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarSwitch.java
deleted file mode 100644
index e57a24291..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarSwitch.java
+++ /dev/null
@@ -1,256 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarSwitch.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.util;
-
-import com.example.car.*;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- 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 com.example.car.CarPackage
- * @generated
- */
-public class CarSwitch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static CarPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarSwitch() {
- if (modelPackage == null) {
- modelPackage = CarPackage.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 CarPackage.CAR_FRAME: {
- CarFrame carFrame = (CarFrame)theEObject;
- T result = caseCarFrame(carFrame);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case CarPackage.CAR_LINK: {
- CarLink carLink = (CarLink)theEObject;
- T result = caseCarLink(carLink);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case CarPackage.CARS_LIST: {
- CarsList carsList = (CarsList)theEObject;
- T result = caseCarsList(carsList);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case CarPackage.CAR_TIRE: {
- CarTire carTire = (CarTire)theEObject;
- T result = caseCarTire(carTire);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case CarPackage.CAR_TYPE: {
- CarType carType = (CarType)theEObject;
- T result = caseCarType(carType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case CarPackage.CAR_WHEEL: {
- CarWheel carWheel = (CarWheel)theEObject;
- T result = caseCarWheel(carWheel);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case CarPackage.DOCUMENT_ROOT: {
- DocumentRoot documentRoot = (DocumentRoot)theEObject;
- T result = caseDocumentRoot(documentRoot);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Frame</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>Frame</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseCarFrame(CarFrame object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>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>Link</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseCarLink(CarLink object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Cars List</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>Cars List</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseCarsList(CarsList object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Tire</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>Tire</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseCarTire(CarTire object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Type</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>Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseCarType(CarType object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Wheel</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>Wheel</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseCarWheel(CarWheel object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Document Root</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>Document Root</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDocumentRoot(DocumentRoot 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;
- }
-
-} //CarSwitch
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarXMLProcessor.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarXMLProcessor.java
deleted file mode 100644
index 4dd116eb9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/util/CarXMLProcessor.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarXMLProcessor.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.util;
-
-import com.example.car.CarPackage;
-
-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;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class CarXMLProcessor extends XMLProcessor {
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CarXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- CarPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the CarResourceFactoryImpl 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 CarResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new CarResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //CarXMLProcessor
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarFrameValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarFrameValidator.java
deleted file mode 100644
index ffa6cffdd..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarFrameValidator.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarFrameValidator.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.validation;
-
-import com.example.car.CarLink;
-import com.example.car.CarWheel;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * A sample validator interface for {@link com.example.car.CarFrame}.
- * 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 CarFrameValidator {
- boolean validate();
-
- boolean validateCarWheel(EList<CarWheel> value);
- boolean validateCarLinkRef(CarLink value);
- boolean validateName(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarLinkValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarLinkValidator.java
deleted file mode 100644
index 9114b3826..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarLinkValidator.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarLinkValidator.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.validation;
-
-
-/**
- * A sample validator interface for {@link com.example.car.CarLink}.
- * 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 CarLinkValidator {
- boolean validate();
-
- boolean validateCarLinkId(String value);
- boolean validateName(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarTireValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarTireValidator.java
deleted file mode 100644
index 4f0a30624..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarTireValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarTireValidator.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.validation;
-
-
-/**
- * A sample validator interface for {@link com.example.car.CarTire}.
- * 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 CarTireValidator {
- boolean validate();
-
- boolean validateName(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarTypeValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarTypeValidator.java
deleted file mode 100644
index 35ab63dbc..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarTypeValidator.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarTypeValidator.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.validation;
-
-import com.example.car.CarFrame;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * A sample validator interface for {@link com.example.car.CarType}.
- * 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 CarTypeValidator {
- boolean validate();
-
- boolean validateCarFrame(EList<CarFrame> value);
- boolean validateCarID(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarWheelValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarWheelValidator.java
deleted file mode 100644
index 1ed466774..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarWheelValidator.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarWheelValidator.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.validation;
-
-import com.example.car.CarTire;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * A sample validator interface for {@link com.example.car.CarWheel}.
- * 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 CarWheelValidator {
- boolean validate();
-
- boolean validateCarTire(EList<CarTire> value);
- boolean validateName(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarsListValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarsListValidator.java
deleted file mode 100644
index fd6dd4b83..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/CarsListValidator.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CarsListValidator.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.validation;
-
-import com.example.car.CarLink;
-import com.example.car.CarType;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * A sample validator interface for {@link com.example.car.CarsList}.
- * 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 CarsListValidator {
- boolean validate();
-
- boolean validateCarType(EList<CarType> value);
- boolean validateCarLink(EList<CarLink> value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/DocumentRootValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/DocumentRootValidator.java
deleted file mode 100644
index 5d1d52b16..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/example/car/validation/DocumentRootValidator.java
+++ /dev/null
@@ -1,28 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRootValidator.java,v 1.1 2007/08/10 20:17:32 mtaal Exp $
- */
-package com.example.car.validation;
-
-import com.example.car.CarsList;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * A sample validator interface for {@link com.example.car.DocumentRoot}.
- * 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 DocumentRootValidator {
- boolean validate();
-
- boolean validateMixed(FeatureMap value);
- boolean validateXMLNSPrefixMap(EMap<String, String> value);
- boolean validateXSISchemaLocation(EMap<String, String> value);
- boolean validateCarsList(CarsList value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/AdultBooks.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/AdultBooks.java
deleted file mode 100644
index 48d0f3f99..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/AdultBooks.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AdultBooks.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Adult Books</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks#getTitle <em>Title</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks#getCheckedout <em>Checkedout</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks#getUserid <em>Userid</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getAdultBooks()
- * @model extendedMetaData="name='AdultBooks' kind='elementOnly'"
- * @generated
- */
-public interface AdultBooks extends BookDefinition {
- /**
- * Returns the value of the '<em><b>Title</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Title</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Title</em>' attribute.
- * @see #setTitle(String)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getAdultBooks_Title()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='title' namespace='##targetNamespace'"
- * @generated
- */
- String getTitle();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks#getTitle <em>Title</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Title</em>' attribute.
- * @see #getTitle()
- * @generated
- */
- void setTitle(String value);
-
- /**
- * Returns the value of the '<em><b>Checkedout</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Checkedout</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Checkedout</em>' attribute.
- * @see #setCheckedout(String)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getAdultBooks_Checkedout()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='checkedout' namespace='##targetNamespace'"
- * @generated
- */
- String getCheckedout();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks#getCheckedout <em>Checkedout</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Checkedout</em>' attribute.
- * @see #getCheckedout()
- * @generated
- */
- void setCheckedout(String value);
-
- /**
- * Returns the value of the '<em><b>Userid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Userid</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Userid</em>' attribute.
- * @see #setUserid(String)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getAdultBooks_Userid()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='userid' namespace='##targetNamespace'"
- * @generated
- */
- String getUserid();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks#getUserid <em>Userid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Userid</em>' attribute.
- * @see #getUserid()
- * @generated
- */
- void setUserid(String value);
-
-} // AdultBooks
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/BookDefinition.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/BookDefinition.java
deleted file mode 100644
index 6bc0f3867..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/BookDefinition.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: BookDefinition.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Book Definition</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition#getDescription <em>Description</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition#getLocation <em>Location</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition#getUniqueName <em>Unique Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getBookDefinition()
- * @model abstract="true"
- * extendedMetaData="name='BookDefinition' kind='elementOnly'"
- * @generated
- */
-public interface BookDefinition extends EObject {
- /**
- * Returns the value of the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Description</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Description</em>' attribute.
- * @see #setDescription(String)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getBookDefinition_Description()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='description' namespace='##targetNamespace'"
- * @generated
- */
- String getDescription();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition#getDescription <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Description</em>' attribute.
- * @see #getDescription()
- * @generated
- */
- void setDescription(String value);
-
- /**
- * Returns the value of the '<em><b>Location</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Location</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Location</em>' attribute.
- * @see #setLocation(String)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getBookDefinition_Location()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='location' namespace='##targetNamespace'"
- * @generated
- */
- String getLocation();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition#getLocation <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Location</em>' attribute.
- * @see #getLocation()
- * @generated
- */
- void setLocation(String value);
-
- /**
- * Returns the value of the '<em><b>Unique Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unique 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>Unique Name</em>' attribute.
- * @see #setUniqueName(String)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getBookDefinition_UniqueName()
- * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" required="true"
- * extendedMetaData="kind='attribute' name='uniqueName'"
- * @generated
- */
- String getUniqueName();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition#getUniqueName <em>Unique Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Unique Name</em>' attribute.
- * @see #getUniqueName()
- * @generated
- */
- void setUniqueName(String value);
-
-} // BookDefinition
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/BookDefinitionResourceLink.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/BookDefinitionResourceLink.java
deleted file mode 100644
index b9e7ad4d0..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/BookDefinitionResourceLink.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: BookDefinitionResourceLink.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Book Definition Resource Link</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink#getBookSubject <em>Book Subject</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getBookDefinitionResourceLink()
- * @model extendedMetaData="name='BookDefinitionResourceLink' kind='empty'"
- * @generated
- */
-public interface BookDefinitionResourceLink extends ResourceLink {
- /**
- * Returns the value of the '<em><b>Book Subject</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Book Subject</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Book Subject</em>' attribute.
- * @see #setBookSubject(String)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getBookDefinitionResourceLink_BookSubject()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String"
- * extendedMetaData="kind='attribute' name='bookSubject'"
- * @generated
- */
- String getBookSubject();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink#getBookSubject <em>Book Subject</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Book Subject</em>' attribute.
- * @see #getBookSubject()
- * @generated
- */
- void setBookSubject(String value);
-
-} // BookDefinitionResourceLink
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/BooksInLib.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/BooksInLib.java
deleted file mode 100644
index aec8cea1f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/BooksInLib.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: BooksInLib.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Books In Lib</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BooksInLib#getLibrary <em>Library</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getBooksInLib()
- * @model extendedMetaData="name='BooksInLib' kind='elementOnly'"
- * @generated
- */
-public interface BooksInLib extends EObject {
- /**
- * Returns the value of the '<em><b>Library</b></em>' containment reference list.
- * The list contents are of type {@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Library</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>Library</em>' containment reference list.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getBooksInLib_Library()
- * @model containment="true" required="true"
- * extendedMetaData="kind='element' name='library' namespace='##targetNamespace'"
- * @generated
- */
- EList<Library> getLibrary();
-
-} // BooksInLib
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/ChildrenBooks.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/ChildrenBooks.java
deleted file mode 100644
index 1540f4230..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/ChildrenBooks.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ChildrenBooks.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Children Books</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getTitle <em>Title</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getCartoon <em>Cartoon</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getPopup <em>Popup</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getPublisherDefinitionRef <em>Publisher Definition Ref</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getChildrenBooks()
- * @model extendedMetaData="name='ChildrenBooks' kind='elementOnly'"
- * @generated
- */
-public interface ChildrenBooks extends BookDefinition {
- /**
- * Returns the value of the '<em><b>Title</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Title</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Title</em>' attribute.
- * @see #setTitle(String)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getChildrenBooks_Title()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='title' namespace='##targetNamespace'"
- * @generated
- */
- String getTitle();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getTitle <em>Title</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Title</em>' attribute.
- * @see #getTitle()
- * @generated
- */
- void setTitle(String value);
-
- /**
- * Returns the value of the '<em><b>Cartoon</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Cartoon</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Cartoon</em>' attribute.
- * @see #setCartoon(String)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getChildrenBooks_Cartoon()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='cartoon' namespace='##targetNamespace'"
- * @generated
- */
- String getCartoon();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getCartoon <em>Cartoon</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Cartoon</em>' attribute.
- * @see #getCartoon()
- * @generated
- */
- void setCartoon(String value);
-
- /**
- * Returns the value of the '<em><b>Popup</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Popup</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Popup</em>' attribute.
- * @see #setPopup(String)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getChildrenBooks_Popup()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='popup' namespace='##targetNamespace'"
- * @generated
- */
- String getPopup();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getPopup <em>Popup</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Popup</em>' attribute.
- * @see #getPopup()
- * @generated
- */
- void setPopup(String value);
-
- /**
- * Returns the value of the '<em><b>Publisher Definition Ref</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Publisher Definition Ref</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Publisher Definition Ref</em>' reference.
- * @see #setPublisherDefinitionRef(PublisherDefinition)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getChildrenBooks_PublisherDefinitionRef()
- * @model resolveProxies="false" required="true"
- * extendedMetaData="kind='attribute' name='publisherDefinitionRef'"
- * @generated
- */
- PublisherDefinition getPublisherDefinitionRef();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getPublisherDefinitionRef <em>Publisher Definition Ref</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Publisher Definition Ref</em>' reference.
- * @see #getPublisherDefinitionRef()
- * @generated
- */
- void setPublisherDefinitionRef(PublisherDefinition value);
-
-} // ChildrenBooks
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/DocumentRoot.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/DocumentRoot.java
deleted file mode 100644
index c99d49b9c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/DocumentRoot.java
+++ /dev/null
@@ -1,216 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRoot.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getMixed <em>Mixed</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getAbstractBookDefinition <em>Abstract Book Definition</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getAdultBooks <em>Adult Books</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getBooksinlib <em>Booksinlib</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getChildrenBooks <em>Children Books</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getPublisherDefinition <em>Publisher Definition</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getDocumentRoot()
- * @model extendedMetaData="name='' kind='mixed'"
- * @generated
- */
-public interface DocumentRoot extends EObject {
- /**
- * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Mixed</em>' attribute list.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getDocumentRoot_Mixed()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
- * extendedMetaData="kind='elementWildcard' name=':mixed'"
- * @generated
- */
- FeatureMap getMixed();
-
- /**
- * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XMLNS Prefix Map</em>' map.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getDocumentRoot_XMLNSPrefixMap()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
- * extendedMetaData="kind='attribute' name='xmlns:prefix'"
- * @generated
- */
- EMap<String, String> getXMLNSPrefixMap();
-
- /**
- * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
- * The key is of type {@link java.lang.String},
- * and the value is of type {@link java.lang.String},
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>XSI Schema Location</em>' map.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getDocumentRoot_XSISchemaLocation()
- * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry<org.eclipse.emf.ecore.EString, org.eclipse.emf.ecore.EString>" transient="true"
- * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
- * @generated
- */
- EMap<String, String> getXSISchemaLocation();
-
- /**
- * Returns the value of the '<em><b>Abstract Book Definition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Abstract Book Definition</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>Abstract Book Definition</em>' containment reference.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getDocumentRoot_AbstractBookDefinition()
- * @model containment="true" upper="-2" transient="true" changeable="false" volatile="true" derived="true"
- * extendedMetaData="kind='element' name='abstract-book-definition' namespace='##targetNamespace'"
- * @generated
- */
- BookDefinition getAbstractBookDefinition();
-
- /**
- * Returns the value of the '<em><b>Adult Books</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Adult Books</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>Adult Books</em>' containment reference.
- * @see #setAdultBooks(AdultBooks)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getDocumentRoot_AdultBooks()
- * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
- * extendedMetaData="kind='element' name='adult-books' namespace='##targetNamespace' affiliation='abstract-book-definition'"
- * @generated
- */
- AdultBooks getAdultBooks();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getAdultBooks <em>Adult Books</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Adult Books</em>' containment reference.
- * @see #getAdultBooks()
- * @generated
- */
- void setAdultBooks(AdultBooks value);
-
- /**
- * Returns the value of the '<em><b>Booksinlib</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Booksinlib</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>Booksinlib</em>' containment reference.
- * @see #setBooksinlib(BooksInLib)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getDocumentRoot_Booksinlib()
- * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
- * extendedMetaData="kind='element' name='booksinlib' namespace='##targetNamespace'"
- * @generated
- */
- BooksInLib getBooksinlib();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getBooksinlib <em>Booksinlib</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Booksinlib</em>' containment reference.
- * @see #getBooksinlib()
- * @generated
- */
- void setBooksinlib(BooksInLib value);
-
- /**
- * Returns the value of the '<em><b>Children Books</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Children Books</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>Children Books</em>' containment reference.
- * @see #setChildrenBooks(ChildrenBooks)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getDocumentRoot_ChildrenBooks()
- * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
- * extendedMetaData="kind='element' name='children-books' namespace='##targetNamespace' affiliation='abstract-book-definition'"
- * @generated
- */
- ChildrenBooks getChildrenBooks();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getChildrenBooks <em>Children Books</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Children Books</em>' containment reference.
- * @see #getChildrenBooks()
- * @generated
- */
- void setChildrenBooks(ChildrenBooks value);
-
- /**
- * Returns the value of the '<em><b>Publisher Definition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Publisher Definition</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>Publisher Definition</em>' containment reference.
- * @see #setPublisherDefinition(PublisherDefinition)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getDocumentRoot_PublisherDefinition()
- * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
- * extendedMetaData="kind='element' name='publisher-definition' namespace='##targetNamespace' affiliation='abstract-book-definition'"
- * @generated
- */
- PublisherDefinition getPublisherDefinition();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getPublisherDefinition <em>Publisher Definition</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Publisher Definition</em>' containment reference.
- * @see #getPublisherDefinition()
- * @generated
- */
- void setPublisherDefinition(PublisherDefinition value);
-
-} // DocumentRoot
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/Library.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/Library.java
deleted file mode 100644
index f868f45f7..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/Library.java
+++ /dev/null
@@ -1,113 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Library.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Library</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getLibrary <em>Library</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getAbstractBookDefinitionGroup <em>Abstract Book Definition Group</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getAbstractBookDefinition <em>Abstract Book Definition</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getUniqueName <em>Unique Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getLibrary()
- * @model extendedMetaData="name='Library' kind='elementOnly'"
- * @generated
- */
-public interface Library extends EObject {
- /**
- * Returns the value of the '<em><b>Library</b></em>' containment reference list.
- * The list contents are of type {@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Library</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>Library</em>' containment reference list.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getLibrary_Library()
- * @model containment="true"
- * extendedMetaData="kind='element' name='library' namespace='##targetNamespace'"
- * @generated
- */
- EList<Library> getLibrary();
-
- /**
- * Returns the value of the '<em><b>Abstract Book Definition Group</b></em>' attribute list.
- * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Abstract Book Definition Group</em>' attribute list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Abstract Book Definition Group</em>' attribute list.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getLibrary_AbstractBookDefinitionGroup()
- * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
- * extendedMetaData="kind='group' name='abstract-book-definition:group' namespace='##targetNamespace'"
- * @generated
- */
- FeatureMap getAbstractBookDefinitionGroup();
-
- /**
- * Returns the value of the '<em><b>Abstract Book Definition</b></em>' containment reference list.
- * The list contents are of type {@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Abstract Book Definition</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>Abstract Book Definition</em>' containment reference list.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getLibrary_AbstractBookDefinition()
- * @model containment="true" transient="true" changeable="false" volatile="true" derived="true"
- * extendedMetaData="kind='element' name='abstract-book-definition' namespace='##targetNamespace' group='abstract-book-definition:group'"
- * @generated
- */
- EList<BookDefinition> getAbstractBookDefinition();
-
- /**
- * Returns the value of the '<em><b>Unique Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Unique 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>Unique Name</em>' attribute.
- * @see #setUniqueName(String)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getLibrary_UniqueName()
- * @model id="true" dataType="org.eclipse.emf.ecore.xml.type.ID" required="true"
- * extendedMetaData="kind='attribute' name='uniqueName'"
- * @generated
- */
- String getUniqueName();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getUniqueName <em>Unique Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Unique Name</em>' attribute.
- * @see #getUniqueName()
- * @generated
- */
- void setUniqueName(String value);
-
-} // Library
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/PublisherDefinition.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/PublisherDefinition.java
deleted file mode 100644
index 541a8ac74..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/PublisherDefinition.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: PublisherDefinition.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Publisher Definition</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition#getTitle <em>Title</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition#getResourceLink <em>Resource Link</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getPublisherDefinition()
- * @model extendedMetaData="name='PublisherDefinition' kind='elementOnly'"
- * @generated
- */
-public interface PublisherDefinition extends BookDefinition {
- /**
- * Returns the value of the '<em><b>Title</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Title</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Title</em>' attribute.
- * @see #setTitle(String)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getPublisherDefinition_Title()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String"
- * extendedMetaData="kind='element' name='title' namespace='##targetNamespace'"
- * @generated
- */
- String getTitle();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition#getTitle <em>Title</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Title</em>' attribute.
- * @see #getTitle()
- * @generated
- */
- void setTitle(String value);
-
- /**
- * Returns the value of the '<em><b>Resource Link</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Resource Link</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>Resource Link</em>' containment reference.
- * @see #setResourceLink(BookDefinitionResourceLink)
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getPublisherDefinition_ResourceLink()
- * @model containment="true" required="true"
- * extendedMetaData="kind='element' name='resource-link' namespace='##targetNamespace'"
- * @generated
- */
- BookDefinitionResourceLink getResourceLink();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition#getResourceLink <em>Resource Link</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Resource Link</em>' containment reference.
- * @see #getResourceLink()
- * @generated
- */
- void setResourceLink(BookDefinitionResourceLink value);
-
-} // PublisherDefinition
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/ResourceLink.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/ResourceLink.java
deleted file mode 100644
index 5bd165247..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/ResourceLink.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ResourceLink.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Resource Link</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ResourceLink#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getResourceLink()
- * @model abstract="true"
- * extendedMetaData="name='ResourceLink' kind='empty'"
- * @generated
- */
-public interface ResourceLink 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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#getResourceLink_Name()
- * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='attribute' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ResourceLink#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);
-
-} // ResourceLink
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/TestFactory.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/TestFactory.java
deleted file mode 100644
index e4c1d7513..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/TestFactory.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TestFactory.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test;
-
-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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage
- * @generated
- */
-public interface TestFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- TestFactory eINSTANCE = com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Adult Books</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Adult Books</em>'.
- * @generated
- */
- AdultBooks createAdultBooks();
-
- /**
- * Returns a new object of class '<em>Book Definition Resource Link</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Book Definition Resource Link</em>'.
- * @generated
- */
- BookDefinitionResourceLink createBookDefinitionResourceLink();
-
- /**
- * Returns a new object of class '<em>Books In Lib</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Books In Lib</em>'.
- * @generated
- */
- BooksInLib createBooksInLib();
-
- /**
- * Returns a new object of class '<em>Children Books</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Children Books</em>'.
- * @generated
- */
- ChildrenBooks createChildrenBooks();
-
- /**
- * Returns a new object of class '<em>Document Root</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Document Root</em>'.
- * @generated
- */
- DocumentRoot createDocumentRoot();
-
- /**
- * Returns a new object of class '<em>Library</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Library</em>'.
- * @generated
- */
- Library createLibrary();
-
- /**
- * Returns a new object of class '<em>Publisher Definition</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Publisher Definition</em>'.
- * @generated
- */
- PublisherDefinition createPublisherDefinition();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- TestPackage getTestPackage();
-
-} //TestFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/TestPackage.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/TestPackage.java
deleted file mode 100644
index 891e62128..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/TestPackage.java
+++ /dev/null
@@ -1,1285 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TestPackage.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test;
-
-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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestFactory
- * @model kind="package"
- * annotation="http://www.w3.org/XML/1998/namespace lang='en'"
- * @generated
- */
-public interface TestPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "test";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "test";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- TestPackage eINSTANCE = com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl.init();
-
- /**
- * The meta object id for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionImpl <em>Book Definition</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getBookDefinition()
- * @generated
- */
- int BOOK_DEFINITION = 1;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOK_DEFINITION__DESCRIPTION = 0;
-
- /**
- * The feature id for the '<em><b>Location</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOK_DEFINITION__LOCATION = 1;
-
- /**
- * The feature id for the '<em><b>Unique Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOK_DEFINITION__UNIQUE_NAME = 2;
-
- /**
- * The number of structural features of the '<em>Book Definition</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOK_DEFINITION_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.AdultBooksImpl <em>Adult Books</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.AdultBooksImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getAdultBooks()
- * @generated
- */
- int ADULT_BOOKS = 0;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADULT_BOOKS__DESCRIPTION = BOOK_DEFINITION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Location</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADULT_BOOKS__LOCATION = BOOK_DEFINITION__LOCATION;
-
- /**
- * The feature id for the '<em><b>Unique Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADULT_BOOKS__UNIQUE_NAME = BOOK_DEFINITION__UNIQUE_NAME;
-
- /**
- * The feature id for the '<em><b>Title</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADULT_BOOKS__TITLE = BOOK_DEFINITION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Checkedout</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADULT_BOOKS__CHECKEDOUT = BOOK_DEFINITION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Userid</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADULT_BOOKS__USERID = BOOK_DEFINITION_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Adult Books</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADULT_BOOKS_FEATURE_COUNT = BOOK_DEFINITION_FEATURE_COUNT + 3;
-
- /**
- * The meta object id for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ResourceLinkImpl <em>Resource Link</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ResourceLinkImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getResourceLink()
- * @generated
- */
- int RESOURCE_LINK = 8;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RESOURCE_LINK__NAME = 0;
-
- /**
- * The number of structural features of the '<em>Resource Link</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int RESOURCE_LINK_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionResourceLinkImpl <em>Book Definition Resource Link</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionResourceLinkImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getBookDefinitionResourceLink()
- * @generated
- */
- int BOOK_DEFINITION_RESOURCE_LINK = 2;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOK_DEFINITION_RESOURCE_LINK__NAME = RESOURCE_LINK__NAME;
-
- /**
- * The feature id for the '<em><b>Book Subject</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOK_DEFINITION_RESOURCE_LINK__BOOK_SUBJECT = RESOURCE_LINK_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Book Definition Resource Link</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOK_DEFINITION_RESOURCE_LINK_FEATURE_COUNT = RESOURCE_LINK_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BooksInLibImpl <em>Books In Lib</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BooksInLibImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getBooksInLib()
- * @generated
- */
- int BOOKS_IN_LIB = 3;
-
- /**
- * The feature id for the '<em><b>Library</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOKS_IN_LIB__LIBRARY = 0;
-
- /**
- * The number of structural features of the '<em>Books In Lib</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int BOOKS_IN_LIB_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ChildrenBooksImpl <em>Children Books</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ChildrenBooksImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getChildrenBooks()
- * @generated
- */
- int CHILDREN_BOOKS = 4;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILDREN_BOOKS__DESCRIPTION = BOOK_DEFINITION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Location</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILDREN_BOOKS__LOCATION = BOOK_DEFINITION__LOCATION;
-
- /**
- * The feature id for the '<em><b>Unique Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILDREN_BOOKS__UNIQUE_NAME = BOOK_DEFINITION__UNIQUE_NAME;
-
- /**
- * The feature id for the '<em><b>Title</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILDREN_BOOKS__TITLE = BOOK_DEFINITION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Cartoon</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILDREN_BOOKS__CARTOON = BOOK_DEFINITION_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Popup</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILDREN_BOOKS__POPUP = BOOK_DEFINITION_FEATURE_COUNT + 2;
-
- /**
- * The feature id for the '<em><b>Publisher Definition Ref</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILDREN_BOOKS__PUBLISHER_DEFINITION_REF = BOOK_DEFINITION_FEATURE_COUNT + 3;
-
- /**
- * The number of structural features of the '<em>Children Books</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILDREN_BOOKS_FEATURE_COUNT = BOOK_DEFINITION_FEATURE_COUNT + 4;
-
- /**
- * The meta object id for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.DocumentRootImpl <em>Document Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.DocumentRootImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getDocumentRoot()
- * @generated
- */
- int DOCUMENT_ROOT = 5;
-
- /**
- * The feature id for the '<em><b>Mixed</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__MIXED = 0;
-
- /**
- * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
-
- /**
- * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
-
- /**
- * The feature id for the '<em><b>Abstract Book Definition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__ABSTRACT_BOOK_DEFINITION = 3;
-
- /**
- * The feature id for the '<em><b>Adult Books</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__ADULT_BOOKS = 4;
-
- /**
- * The feature id for the '<em><b>Booksinlib</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__BOOKSINLIB = 5;
-
- /**
- * The feature id for the '<em><b>Children Books</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__CHILDREN_BOOKS = 6;
-
- /**
- * The feature id for the '<em><b>Publisher Definition</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT__PUBLISHER_DEFINITION = 7;
-
- /**
- * The number of structural features of the '<em>Document Root</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DOCUMENT_ROOT_FEATURE_COUNT = 8;
-
- /**
- * The meta object id for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.LibraryImpl <em>Library</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.LibraryImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getLibrary()
- * @generated
- */
- int LIBRARY = 6;
-
- /**
- * The feature id for the '<em><b>Library</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LIBRARY__LIBRARY = 0;
-
- /**
- * The feature id for the '<em><b>Abstract Book Definition Group</b></em>' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LIBRARY__ABSTRACT_BOOK_DEFINITION_GROUP = 1;
-
- /**
- * The feature id for the '<em><b>Abstract Book Definition</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LIBRARY__ABSTRACT_BOOK_DEFINITION = 2;
-
- /**
- * The feature id for the '<em><b>Unique Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LIBRARY__UNIQUE_NAME = 3;
-
- /**
- * The number of structural features of the '<em>Library</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int LIBRARY_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.PublisherDefinitionImpl <em>Publisher Definition</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.PublisherDefinitionImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getPublisherDefinition()
- * @generated
- */
- int PUBLISHER_DEFINITION = 7;
-
- /**
- * The feature id for the '<em><b>Description</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PUBLISHER_DEFINITION__DESCRIPTION = BOOK_DEFINITION__DESCRIPTION;
-
- /**
- * The feature id for the '<em><b>Location</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PUBLISHER_DEFINITION__LOCATION = BOOK_DEFINITION__LOCATION;
-
- /**
- * The feature id for the '<em><b>Unique Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PUBLISHER_DEFINITION__UNIQUE_NAME = BOOK_DEFINITION__UNIQUE_NAME;
-
- /**
- * The feature id for the '<em><b>Title</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PUBLISHER_DEFINITION__TITLE = BOOK_DEFINITION_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Resource Link</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PUBLISHER_DEFINITION__RESOURCE_LINK = BOOK_DEFINITION_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Publisher Definition</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PUBLISHER_DEFINITION_FEATURE_COUNT = BOOK_DEFINITION_FEATURE_COUNT + 2;
-
-
- /**
- * Returns the meta object for class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks <em>Adult Books</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Adult Books</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks
- * @generated
- */
- EClass getAdultBooks();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks#getTitle <em>Title</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Title</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks#getTitle()
- * @see #getAdultBooks()
- * @generated
- */
- EAttribute getAdultBooks_Title();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks#getCheckedout <em>Checkedout</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Checkedout</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks#getCheckedout()
- * @see #getAdultBooks()
- * @generated
- */
- EAttribute getAdultBooks_Checkedout();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks#getUserid <em>Userid</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Userid</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks#getUserid()
- * @see #getAdultBooks()
- * @generated
- */
- EAttribute getAdultBooks_Userid();
-
- /**
- * Returns the meta object for class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition <em>Book Definition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Book Definition</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition
- * @generated
- */
- EClass getBookDefinition();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition#getDescription <em>Description</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Description</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition#getDescription()
- * @see #getBookDefinition()
- * @generated
- */
- EAttribute getBookDefinition_Description();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition#getLocation <em>Location</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Location</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition#getLocation()
- * @see #getBookDefinition()
- * @generated
- */
- EAttribute getBookDefinition_Location();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition#getUniqueName <em>Unique Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Unique Name</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition#getUniqueName()
- * @see #getBookDefinition()
- * @generated
- */
- EAttribute getBookDefinition_UniqueName();
-
- /**
- * Returns the meta object for class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink <em>Book Definition Resource Link</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Book Definition Resource Link</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink
- * @generated
- */
- EClass getBookDefinitionResourceLink();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink#getBookSubject <em>Book Subject</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Book Subject</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink#getBookSubject()
- * @see #getBookDefinitionResourceLink()
- * @generated
- */
- EAttribute getBookDefinitionResourceLink_BookSubject();
-
- /**
- * Returns the meta object for class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BooksInLib <em>Books In Lib</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Books In Lib</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BooksInLib
- * @generated
- */
- EClass getBooksInLib();
-
- /**
- * Returns the meta object for the containment reference list '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BooksInLib#getLibrary <em>Library</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Library</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BooksInLib#getLibrary()
- * @see #getBooksInLib()
- * @generated
- */
- EReference getBooksInLib_Library();
-
- /**
- * Returns the meta object for class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks <em>Children Books</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Children Books</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks
- * @generated
- */
- EClass getChildrenBooks();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getTitle <em>Title</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Title</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getTitle()
- * @see #getChildrenBooks()
- * @generated
- */
- EAttribute getChildrenBooks_Title();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getCartoon <em>Cartoon</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Cartoon</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getCartoon()
- * @see #getChildrenBooks()
- * @generated
- */
- EAttribute getChildrenBooks_Cartoon();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getPopup <em>Popup</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Popup</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getPopup()
- * @see #getChildrenBooks()
- * @generated
- */
- EAttribute getChildrenBooks_Popup();
-
- /**
- * Returns the meta object for the reference '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getPublisherDefinitionRef <em>Publisher Definition Ref</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Publisher Definition Ref</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks#getPublisherDefinitionRef()
- * @see #getChildrenBooks()
- * @generated
- */
- EReference getChildrenBooks_PublisherDefinitionRef();
-
- /**
- * Returns the meta object for class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot <em>Document Root</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Document Root</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot
- * @generated
- */
- EClass getDocumentRoot();
-
- /**
- * Returns the meta object for the attribute list '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getMixed <em>Mixed</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Mixed</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getMixed()
- * @see #getDocumentRoot()
- * @generated
- */
- EAttribute getDocumentRoot_Mixed();
-
- /**
- * Returns the meta object for the map '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getXMLNSPrefixMap()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XMLNSPrefixMap();
-
- /**
- * Returns the meta object for the map '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the map '<em>XSI Schema Location</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getXSISchemaLocation()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_XSISchemaLocation();
-
- /**
- * Returns the meta object for the containment reference '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getAbstractBookDefinition <em>Abstract Book Definition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Abstract Book Definition</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getAbstractBookDefinition()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_AbstractBookDefinition();
-
- /**
- * Returns the meta object for the containment reference '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getAdultBooks <em>Adult Books</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Adult Books</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getAdultBooks()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_AdultBooks();
-
- /**
- * Returns the meta object for the containment reference '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getBooksinlib <em>Booksinlib</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Booksinlib</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getBooksinlib()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_Booksinlib();
-
- /**
- * Returns the meta object for the containment reference '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getChildrenBooks <em>Children Books</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Children Books</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getChildrenBooks()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_ChildrenBooks();
-
- /**
- * Returns the meta object for the containment reference '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getPublisherDefinition <em>Publisher Definition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Publisher Definition</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot#getPublisherDefinition()
- * @see #getDocumentRoot()
- * @generated
- */
- EReference getDocumentRoot_PublisherDefinition();
-
- /**
- * Returns the meta object for class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library <em>Library</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Library</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library
- * @generated
- */
- EClass getLibrary();
-
- /**
- * Returns the meta object for the containment reference list '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getLibrary <em>Library</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Library</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getLibrary()
- * @see #getLibrary()
- * @generated
- */
- EReference getLibrary_Library();
-
- /**
- * Returns the meta object for the attribute list '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getAbstractBookDefinitionGroup <em>Abstract Book Definition Group</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute list '<em>Abstract Book Definition Group</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getAbstractBookDefinitionGroup()
- * @see #getLibrary()
- * @generated
- */
- EAttribute getLibrary_AbstractBookDefinitionGroup();
-
- /**
- * Returns the meta object for the containment reference list '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getAbstractBookDefinition <em>Abstract Book Definition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Abstract Book Definition</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getAbstractBookDefinition()
- * @see #getLibrary()
- * @generated
- */
- EReference getLibrary_AbstractBookDefinition();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getUniqueName <em>Unique Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Unique Name</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library#getUniqueName()
- * @see #getLibrary()
- * @generated
- */
- EAttribute getLibrary_UniqueName();
-
- /**
- * Returns the meta object for class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition <em>Publisher Definition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Publisher Definition</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition
- * @generated
- */
- EClass getPublisherDefinition();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition#getTitle <em>Title</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Title</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition#getTitle()
- * @see #getPublisherDefinition()
- * @generated
- */
- EAttribute getPublisherDefinition_Title();
-
- /**
- * Returns the meta object for the containment reference '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition#getResourceLink <em>Resource Link</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference '<em>Resource Link</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition#getResourceLink()
- * @see #getPublisherDefinition()
- * @generated
- */
- EReference getPublisherDefinition_ResourceLink();
-
- /**
- * Returns the meta object for class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ResourceLink <em>Resource Link</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Resource Link</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ResourceLink
- * @generated
- */
- EClass getResourceLink();
-
- /**
- * Returns the meta object for the attribute '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ResourceLink#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ResourceLink#getName()
- * @see #getResourceLink()
- * @generated
- */
- EAttribute getResourceLink_Name();
-
- /**
- * 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
- */
- TestFactory getTestFactory();
-
- /**
- * <!-- 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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.AdultBooksImpl <em>Adult Books</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.AdultBooksImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getAdultBooks()
- * @generated
- */
- EClass ADULT_BOOKS = eINSTANCE.getAdultBooks();
-
- /**
- * The meta object literal for the '<em><b>Title</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADULT_BOOKS__TITLE = eINSTANCE.getAdultBooks_Title();
-
- /**
- * The meta object literal for the '<em><b>Checkedout</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADULT_BOOKS__CHECKEDOUT = eINSTANCE.getAdultBooks_Checkedout();
-
- /**
- * The meta object literal for the '<em><b>Userid</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADULT_BOOKS__USERID = eINSTANCE.getAdultBooks_Userid();
-
- /**
- * The meta object literal for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionImpl <em>Book Definition</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getBookDefinition()
- * @generated
- */
- EClass BOOK_DEFINITION = eINSTANCE.getBookDefinition();
-
- /**
- * The meta object literal for the '<em><b>Description</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BOOK_DEFINITION__DESCRIPTION = eINSTANCE.getBookDefinition_Description();
-
- /**
- * The meta object literal for the '<em><b>Location</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BOOK_DEFINITION__LOCATION = eINSTANCE.getBookDefinition_Location();
-
- /**
- * The meta object literal for the '<em><b>Unique Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BOOK_DEFINITION__UNIQUE_NAME = eINSTANCE.getBookDefinition_UniqueName();
-
- /**
- * The meta object literal for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionResourceLinkImpl <em>Book Definition Resource Link</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionResourceLinkImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getBookDefinitionResourceLink()
- * @generated
- */
- EClass BOOK_DEFINITION_RESOURCE_LINK = eINSTANCE.getBookDefinitionResourceLink();
-
- /**
- * The meta object literal for the '<em><b>Book Subject</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute BOOK_DEFINITION_RESOURCE_LINK__BOOK_SUBJECT = eINSTANCE.getBookDefinitionResourceLink_BookSubject();
-
- /**
- * The meta object literal for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BooksInLibImpl <em>Books In Lib</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BooksInLibImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getBooksInLib()
- * @generated
- */
- EClass BOOKS_IN_LIB = eINSTANCE.getBooksInLib();
-
- /**
- * The meta object literal for the '<em><b>Library</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference BOOKS_IN_LIB__LIBRARY = eINSTANCE.getBooksInLib_Library();
-
- /**
- * The meta object literal for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ChildrenBooksImpl <em>Children Books</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ChildrenBooksImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getChildrenBooks()
- * @generated
- */
- EClass CHILDREN_BOOKS = eINSTANCE.getChildrenBooks();
-
- /**
- * The meta object literal for the '<em><b>Title</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CHILDREN_BOOKS__TITLE = eINSTANCE.getChildrenBooks_Title();
-
- /**
- * The meta object literal for the '<em><b>Cartoon</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CHILDREN_BOOKS__CARTOON = eINSTANCE.getChildrenBooks_Cartoon();
-
- /**
- * The meta object literal for the '<em><b>Popup</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CHILDREN_BOOKS__POPUP = eINSTANCE.getChildrenBooks_Popup();
-
- /**
- * The meta object literal for the '<em><b>Publisher Definition Ref</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CHILDREN_BOOKS__PUBLISHER_DEFINITION_REF = eINSTANCE.getChildrenBooks_PublisherDefinitionRef();
-
- /**
- * The meta object literal for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.DocumentRootImpl <em>Document Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.DocumentRootImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getDocumentRoot()
- * @generated
- */
- EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
-
- /**
- * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
-
- /**
- * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();
-
- /**
- * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();
-
- /**
- * The meta object literal for the '<em><b>Abstract Book Definition</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__ABSTRACT_BOOK_DEFINITION = eINSTANCE.getDocumentRoot_AbstractBookDefinition();
-
- /**
- * The meta object literal for the '<em><b>Adult Books</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__ADULT_BOOKS = eINSTANCE.getDocumentRoot_AdultBooks();
-
- /**
- * The meta object literal for the '<em><b>Booksinlib</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__BOOKSINLIB = eINSTANCE.getDocumentRoot_Booksinlib();
-
- /**
- * The meta object literal for the '<em><b>Children Books</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__CHILDREN_BOOKS = eINSTANCE.getDocumentRoot_ChildrenBooks();
-
- /**
- * The meta object literal for the '<em><b>Publisher Definition</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference DOCUMENT_ROOT__PUBLISHER_DEFINITION = eINSTANCE.getDocumentRoot_PublisherDefinition();
-
- /**
- * The meta object literal for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.LibraryImpl <em>Library</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.LibraryImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getLibrary()
- * @generated
- */
- EClass LIBRARY = eINSTANCE.getLibrary();
-
- /**
- * The meta object literal for the '<em><b>Library</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference LIBRARY__LIBRARY = eINSTANCE.getLibrary_Library();
-
- /**
- * The meta object literal for the '<em><b>Abstract Book Definition Group</b></em>' attribute list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute LIBRARY__ABSTRACT_BOOK_DEFINITION_GROUP = eINSTANCE.getLibrary_AbstractBookDefinitionGroup();
-
- /**
- * The meta object literal for the '<em><b>Abstract Book Definition</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference LIBRARY__ABSTRACT_BOOK_DEFINITION = eINSTANCE.getLibrary_AbstractBookDefinition();
-
- /**
- * The meta object literal for the '<em><b>Unique Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute LIBRARY__UNIQUE_NAME = eINSTANCE.getLibrary_UniqueName();
-
- /**
- * The meta object literal for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.PublisherDefinitionImpl <em>Publisher Definition</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.PublisherDefinitionImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getPublisherDefinition()
- * @generated
- */
- EClass PUBLISHER_DEFINITION = eINSTANCE.getPublisherDefinition();
-
- /**
- * The meta object literal for the '<em><b>Title</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PUBLISHER_DEFINITION__TITLE = eINSTANCE.getPublisherDefinition_Title();
-
- /**
- * The meta object literal for the '<em><b>Resource Link</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference PUBLISHER_DEFINITION__RESOURCE_LINK = eINSTANCE.getPublisherDefinition_ResourceLink();
-
- /**
- * The meta object literal for the '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ResourceLinkImpl <em>Resource Link</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ResourceLinkImpl
- * @see com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.TestPackageImpl#getResourceLink()
- * @generated
- */
- EClass RESOURCE_LINK = eINSTANCE.getResourceLink();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute RESOURCE_LINK__NAME = eINSTANCE.getResourceLink_Name();
-
- }
-
-} //TestPackage
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/AdultBooksImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/AdultBooksImpl.java
deleted file mode 100644
index 830de999c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/AdultBooksImpl.java
+++ /dev/null
@@ -1,274 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AdultBooksImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Adult Books</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.AdultBooksImpl#getTitle <em>Title</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.AdultBooksImpl#getCheckedout <em>Checkedout</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.AdultBooksImpl#getUserid <em>Userid</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AdultBooksImpl extends BookDefinitionImpl implements AdultBooks {
- /**
- * The default value of the '{@link #getTitle() <em>Title</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTitle()
- * @generated
- * @ordered
- */
- protected static final String TITLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTitle() <em>Title</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTitle()
- * @generated
- * @ordered
- */
- protected String title = TITLE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getCheckedout() <em>Checkedout</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCheckedout()
- * @generated
- * @ordered
- */
- protected static final String CHECKEDOUT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCheckedout() <em>Checkedout</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCheckedout()
- * @generated
- * @ordered
- */
- protected String checkedout = CHECKEDOUT_EDEFAULT;
-
- /**
- * The default value of the '{@link #getUserid() <em>Userid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUserid()
- * @generated
- * @ordered
- */
- protected static final String USERID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUserid() <em>Userid</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUserid()
- * @generated
- * @ordered
- */
- protected String userid = USERID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AdultBooksImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return TestPackage.Literals.ADULT_BOOKS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTitle() {
- return title;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTitle(String newTitle) {
- String oldTitle = title;
- title = newTitle;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.ADULT_BOOKS__TITLE, oldTitle, title));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCheckedout() {
- return checkedout;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCheckedout(String newCheckedout) {
- String oldCheckedout = checkedout;
- checkedout = newCheckedout;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.ADULT_BOOKS__CHECKEDOUT, oldCheckedout, checkedout));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getUserid() {
- return userid;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUserid(String newUserid) {
- String oldUserid = userid;
- userid = newUserid;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.ADULT_BOOKS__USERID, oldUserid, userid));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case TestPackage.ADULT_BOOKS__TITLE:
- return getTitle();
- case TestPackage.ADULT_BOOKS__CHECKEDOUT:
- return getCheckedout();
- case TestPackage.ADULT_BOOKS__USERID:
- return getUserid();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case TestPackage.ADULT_BOOKS__TITLE:
- setTitle((String)newValue);
- return;
- case TestPackage.ADULT_BOOKS__CHECKEDOUT:
- setCheckedout((String)newValue);
- return;
- case TestPackage.ADULT_BOOKS__USERID:
- setUserid((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case TestPackage.ADULT_BOOKS__TITLE:
- setTitle(TITLE_EDEFAULT);
- return;
- case TestPackage.ADULT_BOOKS__CHECKEDOUT:
- setCheckedout(CHECKEDOUT_EDEFAULT);
- return;
- case TestPackage.ADULT_BOOKS__USERID:
- setUserid(USERID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case TestPackage.ADULT_BOOKS__TITLE:
- return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
- case TestPackage.ADULT_BOOKS__CHECKEDOUT:
- return CHECKEDOUT_EDEFAULT == null ? checkedout != null : !CHECKEDOUT_EDEFAULT.equals(checkedout);
- case TestPackage.ADULT_BOOKS__USERID:
- return USERID_EDEFAULT == null ? userid != null : !USERID_EDEFAULT.equals(userid);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (title: ");
- result.append(title);
- result.append(", checkedout: ");
- result.append(checkedout);
- result.append(", userid: ");
- result.append(userid);
- result.append(')');
- return result.toString();
- }
-
-} //AdultBooksImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/BookDefinitionImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/BookDefinitionImpl.java
deleted file mode 100644
index 1dfd68086..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/BookDefinitionImpl.java
+++ /dev/null
@@ -1,275 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: BookDefinitionImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Book Definition</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionImpl#getDescription <em>Description</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionImpl#getLocation <em>Location</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionImpl#getUniqueName <em>Unique Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class BookDefinitionImpl extends EObjectImpl implements BookDefinition {
- /**
- * The default value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected static final String DESCRIPTION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDescription() <em>Description</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDescription()
- * @generated
- * @ordered
- */
- protected String description = DESCRIPTION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getLocation() <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocation()
- * @generated
- * @ordered
- */
- protected static final String LOCATION_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLocation() <em>Location</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLocation()
- * @generated
- * @ordered
- */
- protected String location = LOCATION_EDEFAULT;
-
- /**
- * The default value of the '{@link #getUniqueName() <em>Unique Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUniqueName()
- * @generated
- * @ordered
- */
- protected static final String UNIQUE_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUniqueName() <em>Unique Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUniqueName()
- * @generated
- * @ordered
- */
- protected String uniqueName = UNIQUE_NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected BookDefinitionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return TestPackage.Literals.BOOK_DEFINITION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDescription() {
- return description;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDescription(String newDescription) {
- String oldDescription = description;
- description = newDescription;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.BOOK_DEFINITION__DESCRIPTION, oldDescription, description));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLocation() {
- return location;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLocation(String newLocation) {
- String oldLocation = location;
- location = newLocation;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.BOOK_DEFINITION__LOCATION, oldLocation, location));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getUniqueName() {
- return uniqueName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUniqueName(String newUniqueName) {
- String oldUniqueName = uniqueName;
- uniqueName = newUniqueName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.BOOK_DEFINITION__UNIQUE_NAME, oldUniqueName, uniqueName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case TestPackage.BOOK_DEFINITION__DESCRIPTION:
- return getDescription();
- case TestPackage.BOOK_DEFINITION__LOCATION:
- return getLocation();
- case TestPackage.BOOK_DEFINITION__UNIQUE_NAME:
- return getUniqueName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case TestPackage.BOOK_DEFINITION__DESCRIPTION:
- setDescription((String)newValue);
- return;
- case TestPackage.BOOK_DEFINITION__LOCATION:
- setLocation((String)newValue);
- return;
- case TestPackage.BOOK_DEFINITION__UNIQUE_NAME:
- setUniqueName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case TestPackage.BOOK_DEFINITION__DESCRIPTION:
- setDescription(DESCRIPTION_EDEFAULT);
- return;
- case TestPackage.BOOK_DEFINITION__LOCATION:
- setLocation(LOCATION_EDEFAULT);
- return;
- case TestPackage.BOOK_DEFINITION__UNIQUE_NAME:
- setUniqueName(UNIQUE_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case TestPackage.BOOK_DEFINITION__DESCRIPTION:
- return DESCRIPTION_EDEFAULT == null ? description != null : !DESCRIPTION_EDEFAULT.equals(description);
- case TestPackage.BOOK_DEFINITION__LOCATION:
- return LOCATION_EDEFAULT == null ? location != null : !LOCATION_EDEFAULT.equals(location);
- case TestPackage.BOOK_DEFINITION__UNIQUE_NAME:
- return UNIQUE_NAME_EDEFAULT == null ? uniqueName != null : !UNIQUE_NAME_EDEFAULT.equals(uniqueName);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (description: ");
- result.append(description);
- result.append(", location: ");
- result.append(location);
- result.append(", uniqueName: ");
- result.append(uniqueName);
- result.append(')');
- return result.toString();
- }
-
-} //BookDefinitionImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/BookDefinitionResourceLinkImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/BookDefinitionResourceLinkImpl.java
deleted file mode 100644
index ee782868a..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/BookDefinitionResourceLinkImpl.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: BookDefinitionResourceLinkImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Book Definition Resource Link</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BookDefinitionResourceLinkImpl#getBookSubject <em>Book Subject</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class BookDefinitionResourceLinkImpl extends ResourceLinkImpl implements BookDefinitionResourceLink {
- /**
- * The default value of the '{@link #getBookSubject() <em>Book Subject</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBookSubject()
- * @generated
- * @ordered
- */
- protected static final String BOOK_SUBJECT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getBookSubject() <em>Book Subject</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getBookSubject()
- * @generated
- * @ordered
- */
- protected String bookSubject = BOOK_SUBJECT_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected BookDefinitionResourceLinkImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return TestPackage.Literals.BOOK_DEFINITION_RESOURCE_LINK;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getBookSubject() {
- return bookSubject;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBookSubject(String newBookSubject) {
- String oldBookSubject = bookSubject;
- bookSubject = newBookSubject;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.BOOK_DEFINITION_RESOURCE_LINK__BOOK_SUBJECT, oldBookSubject, bookSubject));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case TestPackage.BOOK_DEFINITION_RESOURCE_LINK__BOOK_SUBJECT:
- return getBookSubject();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case TestPackage.BOOK_DEFINITION_RESOURCE_LINK__BOOK_SUBJECT:
- setBookSubject((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case TestPackage.BOOK_DEFINITION_RESOURCE_LINK__BOOK_SUBJECT:
- setBookSubject(BOOK_SUBJECT_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case TestPackage.BOOK_DEFINITION_RESOURCE_LINK__BOOK_SUBJECT:
- return BOOK_SUBJECT_EDEFAULT == null ? bookSubject != null : !BOOK_SUBJECT_EDEFAULT.equals(bookSubject);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (bookSubject: ");
- result.append(bookSubject);
- result.append(')');
- return result.toString();
- }
-
-} //BookDefinitionResourceLinkImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/BooksInLibImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/BooksInLibImpl.java
deleted file mode 100644
index 201a2ce7a..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/BooksInLibImpl.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: BooksInLibImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BooksInLib;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage;
-
-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.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Books In Lib</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.BooksInLibImpl#getLibrary <em>Library</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class BooksInLibImpl extends EObjectImpl implements BooksInLib {
- /**
- * The cached value of the '{@link #getLibrary() <em>Library</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLibrary()
- * @generated
- * @ordered
- */
- protected EList<Library> library;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected BooksInLibImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return TestPackage.Literals.BOOKS_IN_LIB;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Library> getLibrary() {
- if (library == null) {
- library = new EObjectContainmentEList<Library>(Library.class, this, TestPackage.BOOKS_IN_LIB__LIBRARY);
- }
- return library;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case TestPackage.BOOKS_IN_LIB__LIBRARY:
- return ((InternalEList<?>)getLibrary()).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 TestPackage.BOOKS_IN_LIB__LIBRARY:
- return getLibrary();
- }
- 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 TestPackage.BOOKS_IN_LIB__LIBRARY:
- getLibrary().clear();
- getLibrary().addAll((Collection<? extends Library>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case TestPackage.BOOKS_IN_LIB__LIBRARY:
- getLibrary().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case TestPackage.BOOKS_IN_LIB__LIBRARY:
- return library != null && !library.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //BooksInLibImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/ChildrenBooksImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/ChildrenBooksImpl.java
deleted file mode 100644
index a0e646cd0..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/ChildrenBooksImpl.java
+++ /dev/null
@@ -1,317 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ChildrenBooksImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Children Books</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ChildrenBooksImpl#getTitle <em>Title</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ChildrenBooksImpl#getCartoon <em>Cartoon</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ChildrenBooksImpl#getPopup <em>Popup</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ChildrenBooksImpl#getPublisherDefinitionRef <em>Publisher Definition Ref</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ChildrenBooksImpl extends BookDefinitionImpl implements ChildrenBooks {
- /**
- * The default value of the '{@link #getTitle() <em>Title</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTitle()
- * @generated
- * @ordered
- */
- protected static final String TITLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTitle() <em>Title</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTitle()
- * @generated
- * @ordered
- */
- protected String title = TITLE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getCartoon() <em>Cartoon</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCartoon()
- * @generated
- * @ordered
- */
- protected static final String CARTOON_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCartoon() <em>Cartoon</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCartoon()
- * @generated
- * @ordered
- */
- protected String cartoon = CARTOON_EDEFAULT;
-
- /**
- * The default value of the '{@link #getPopup() <em>Popup</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPopup()
- * @generated
- * @ordered
- */
- protected static final String POPUP_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPopup() <em>Popup</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPopup()
- * @generated
- * @ordered
- */
- protected String popup = POPUP_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getPublisherDefinitionRef() <em>Publisher Definition Ref</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPublisherDefinitionRef()
- * @generated
- * @ordered
- */
- protected PublisherDefinition publisherDefinitionRef;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ChildrenBooksImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return TestPackage.Literals.CHILDREN_BOOKS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTitle() {
- return title;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTitle(String newTitle) {
- String oldTitle = title;
- title = newTitle;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.CHILDREN_BOOKS__TITLE, oldTitle, title));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCartoon() {
- return cartoon;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCartoon(String newCartoon) {
- String oldCartoon = cartoon;
- cartoon = newCartoon;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.CHILDREN_BOOKS__CARTOON, oldCartoon, cartoon));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getPopup() {
- return popup;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPopup(String newPopup) {
- String oldPopup = popup;
- popup = newPopup;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.CHILDREN_BOOKS__POPUP, oldPopup, popup));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PublisherDefinition getPublisherDefinitionRef() {
- return publisherDefinitionRef;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPublisherDefinitionRef(PublisherDefinition newPublisherDefinitionRef) {
- PublisherDefinition oldPublisherDefinitionRef = publisherDefinitionRef;
- publisherDefinitionRef = newPublisherDefinitionRef;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.CHILDREN_BOOKS__PUBLISHER_DEFINITION_REF, oldPublisherDefinitionRef, publisherDefinitionRef));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case TestPackage.CHILDREN_BOOKS__TITLE:
- return getTitle();
- case TestPackage.CHILDREN_BOOKS__CARTOON:
- return getCartoon();
- case TestPackage.CHILDREN_BOOKS__POPUP:
- return getPopup();
- case TestPackage.CHILDREN_BOOKS__PUBLISHER_DEFINITION_REF:
- return getPublisherDefinitionRef();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case TestPackage.CHILDREN_BOOKS__TITLE:
- setTitle((String)newValue);
- return;
- case TestPackage.CHILDREN_BOOKS__CARTOON:
- setCartoon((String)newValue);
- return;
- case TestPackage.CHILDREN_BOOKS__POPUP:
- setPopup((String)newValue);
- return;
- case TestPackage.CHILDREN_BOOKS__PUBLISHER_DEFINITION_REF:
- setPublisherDefinitionRef((PublisherDefinition)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case TestPackage.CHILDREN_BOOKS__TITLE:
- setTitle(TITLE_EDEFAULT);
- return;
- case TestPackage.CHILDREN_BOOKS__CARTOON:
- setCartoon(CARTOON_EDEFAULT);
- return;
- case TestPackage.CHILDREN_BOOKS__POPUP:
- setPopup(POPUP_EDEFAULT);
- return;
- case TestPackage.CHILDREN_BOOKS__PUBLISHER_DEFINITION_REF:
- setPublisherDefinitionRef((PublisherDefinition)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case TestPackage.CHILDREN_BOOKS__TITLE:
- return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
- case TestPackage.CHILDREN_BOOKS__CARTOON:
- return CARTOON_EDEFAULT == null ? cartoon != null : !CARTOON_EDEFAULT.equals(cartoon);
- case TestPackage.CHILDREN_BOOKS__POPUP:
- return POPUP_EDEFAULT == null ? popup != null : !POPUP_EDEFAULT.equals(popup);
- case TestPackage.CHILDREN_BOOKS__PUBLISHER_DEFINITION_REF:
- return publisherDefinitionRef != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (title: ");
- result.append(title);
- result.append(", cartoon: ");
- result.append(cartoon);
- result.append(", popup: ");
- result.append(popup);
- result.append(')');
- return result.toString();
- }
-
-} //ChildrenBooksImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/DocumentRootImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/DocumentRootImpl.java
deleted file mode 100644
index ad8db9813..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/DocumentRootImpl.java
+++ /dev/null
@@ -1,435 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRootImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BooksInLib;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
-
-import org.eclipse.emf.ecore.util.BasicFeatureMap;
-import org.eclipse.emf.ecore.util.EcoreEMap;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Document Root</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.DocumentRootImpl#getAbstractBookDefinition <em>Abstract Book Definition</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.DocumentRootImpl#getAdultBooks <em>Adult Books</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.DocumentRootImpl#getBooksinlib <em>Booksinlib</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.DocumentRootImpl#getChildrenBooks <em>Children Books</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.DocumentRootImpl#getPublisherDefinition <em>Publisher Definition</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
- /**
- * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getMixed()
- * @generated
- * @ordered
- */
- protected FeatureMap mixed;
-
- /**
- * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXMLNSPrefixMap()
- * @generated
- * @ordered
- */
- protected EMap<String, String> xMLNSPrefixMap;
-
- /**
- * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getXSISchemaLocation()
- * @generated
- * @ordered
- */
- protected EMap<String, String> xSISchemaLocation;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DocumentRootImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return TestPackage.Literals.DOCUMENT_ROOT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FeatureMap getMixed() {
- if (mixed == null) {
- mixed = new BasicFeatureMap(this, TestPackage.DOCUMENT_ROOT__MIXED);
- }
- return mixed;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap<String, String> getXMLNSPrefixMap() {
- if (xMLNSPrefixMap == null) {
- xMLNSPrefixMap = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, TestPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- }
- return xMLNSPrefixMap;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EMap<String, String> getXSISchemaLocation() {
- if (xSISchemaLocation == null) {
- xSISchemaLocation = new EcoreEMap<String,String>(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, TestPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- }
- return xSISchemaLocation;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BookDefinition getAbstractBookDefinition() {
- return (BookDefinition)getMixed().get(TestPackage.Literals.DOCUMENT_ROOT__ABSTRACT_BOOK_DEFINITION, true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetAbstractBookDefinition(BookDefinition newAbstractBookDefinition, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(TestPackage.Literals.DOCUMENT_ROOT__ABSTRACT_BOOK_DEFINITION, newAbstractBookDefinition, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AdultBooks getAdultBooks() {
- return (AdultBooks)getMixed().get(TestPackage.Literals.DOCUMENT_ROOT__ADULT_BOOKS, true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetAdultBooks(AdultBooks newAdultBooks, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(TestPackage.Literals.DOCUMENT_ROOT__ADULT_BOOKS, newAdultBooks, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setAdultBooks(AdultBooks newAdultBooks) {
- ((FeatureMap.Internal)getMixed()).set(TestPackage.Literals.DOCUMENT_ROOT__ADULT_BOOKS, newAdultBooks);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BooksInLib getBooksinlib() {
- return (BooksInLib)getMixed().get(TestPackage.Literals.DOCUMENT_ROOT__BOOKSINLIB, true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetBooksinlib(BooksInLib newBooksinlib, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(TestPackage.Literals.DOCUMENT_ROOT__BOOKSINLIB, newBooksinlib, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setBooksinlib(BooksInLib newBooksinlib) {
- ((FeatureMap.Internal)getMixed()).set(TestPackage.Literals.DOCUMENT_ROOT__BOOKSINLIB, newBooksinlib);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ChildrenBooks getChildrenBooks() {
- return (ChildrenBooks)getMixed().get(TestPackage.Literals.DOCUMENT_ROOT__CHILDREN_BOOKS, true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetChildrenBooks(ChildrenBooks newChildrenBooks, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(TestPackage.Literals.DOCUMENT_ROOT__CHILDREN_BOOKS, newChildrenBooks, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setChildrenBooks(ChildrenBooks newChildrenBooks) {
- ((FeatureMap.Internal)getMixed()).set(TestPackage.Literals.DOCUMENT_ROOT__CHILDREN_BOOKS, newChildrenBooks);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PublisherDefinition getPublisherDefinition() {
- return (PublisherDefinition)getMixed().get(TestPackage.Literals.DOCUMENT_ROOT__PUBLISHER_DEFINITION, true);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetPublisherDefinition(PublisherDefinition newPublisherDefinition, NotificationChain msgs) {
- return ((FeatureMap.Internal)getMixed()).basicAdd(TestPackage.Literals.DOCUMENT_ROOT__PUBLISHER_DEFINITION, newPublisherDefinition, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPublisherDefinition(PublisherDefinition newPublisherDefinition) {
- ((FeatureMap.Internal)getMixed()).set(TestPackage.Literals.DOCUMENT_ROOT__PUBLISHER_DEFINITION, newPublisherDefinition);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case TestPackage.DOCUMENT_ROOT__MIXED:
- return ((InternalEList<?>)getMixed()).basicRemove(otherEnd, msgs);
- case TestPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return ((InternalEList<?>)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
- case TestPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return ((InternalEList<?>)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
- case TestPackage.DOCUMENT_ROOT__ABSTRACT_BOOK_DEFINITION:
- return basicSetAbstractBookDefinition(null, msgs);
- case TestPackage.DOCUMENT_ROOT__ADULT_BOOKS:
- return basicSetAdultBooks(null, msgs);
- case TestPackage.DOCUMENT_ROOT__BOOKSINLIB:
- return basicSetBooksinlib(null, msgs);
- case TestPackage.DOCUMENT_ROOT__CHILDREN_BOOKS:
- return basicSetChildrenBooks(null, msgs);
- case TestPackage.DOCUMENT_ROOT__PUBLISHER_DEFINITION:
- return basicSetPublisherDefinition(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case TestPackage.DOCUMENT_ROOT__MIXED:
- if (coreType) return getMixed();
- return ((FeatureMap.Internal)getMixed()).getWrapper();
- case TestPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- if (coreType) return getXMLNSPrefixMap();
- else return getXMLNSPrefixMap().map();
- case TestPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- if (coreType) return getXSISchemaLocation();
- else return getXSISchemaLocation().map();
- case TestPackage.DOCUMENT_ROOT__ABSTRACT_BOOK_DEFINITION:
- return getAbstractBookDefinition();
- case TestPackage.DOCUMENT_ROOT__ADULT_BOOKS:
- return getAdultBooks();
- case TestPackage.DOCUMENT_ROOT__BOOKSINLIB:
- return getBooksinlib();
- case TestPackage.DOCUMENT_ROOT__CHILDREN_BOOKS:
- return getChildrenBooks();
- case TestPackage.DOCUMENT_ROOT__PUBLISHER_DEFINITION:
- return getPublisherDefinition();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case TestPackage.DOCUMENT_ROOT__MIXED:
- ((FeatureMap.Internal)getMixed()).set(newValue);
- return;
- case TestPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
- return;
- case TestPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
- return;
- case TestPackage.DOCUMENT_ROOT__ADULT_BOOKS:
- setAdultBooks((AdultBooks)newValue);
- return;
- case TestPackage.DOCUMENT_ROOT__BOOKSINLIB:
- setBooksinlib((BooksInLib)newValue);
- return;
- case TestPackage.DOCUMENT_ROOT__CHILDREN_BOOKS:
- setChildrenBooks((ChildrenBooks)newValue);
- return;
- case TestPackage.DOCUMENT_ROOT__PUBLISHER_DEFINITION:
- setPublisherDefinition((PublisherDefinition)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case TestPackage.DOCUMENT_ROOT__MIXED:
- getMixed().clear();
- return;
- case TestPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- getXMLNSPrefixMap().clear();
- return;
- case TestPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- getXSISchemaLocation().clear();
- return;
- case TestPackage.DOCUMENT_ROOT__ADULT_BOOKS:
- setAdultBooks((AdultBooks)null);
- return;
- case TestPackage.DOCUMENT_ROOT__BOOKSINLIB:
- setBooksinlib((BooksInLib)null);
- return;
- case TestPackage.DOCUMENT_ROOT__CHILDREN_BOOKS:
- setChildrenBooks((ChildrenBooks)null);
- return;
- case TestPackage.DOCUMENT_ROOT__PUBLISHER_DEFINITION:
- setPublisherDefinition((PublisherDefinition)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case TestPackage.DOCUMENT_ROOT__MIXED:
- return mixed != null && !mixed.isEmpty();
- case TestPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
- return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
- case TestPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
- return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
- case TestPackage.DOCUMENT_ROOT__ABSTRACT_BOOK_DEFINITION:
- return getAbstractBookDefinition() != null;
- case TestPackage.DOCUMENT_ROOT__ADULT_BOOKS:
- return getAdultBooks() != null;
- case TestPackage.DOCUMENT_ROOT__BOOKSINLIB:
- return getBooksinlib() != null;
- case TestPackage.DOCUMENT_ROOT__CHILDREN_BOOKS:
- return getChildrenBooks() != null;
- case TestPackage.DOCUMENT_ROOT__PUBLISHER_DEFINITION:
- return getPublisherDefinition() != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (mixed: ");
- result.append(mixed);
- result.append(')');
- return result.toString();
- }
-
-} //DocumentRootImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/LibraryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/LibraryImpl.java
deleted file mode 100644
index 07b53a6ef..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/LibraryImpl.java
+++ /dev/null
@@ -1,282 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: LibraryImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-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.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.ecore.util.BasicFeatureMap;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.FeatureMap;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Library</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.LibraryImpl#getLibrary <em>Library</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.LibraryImpl#getAbstractBookDefinitionGroup <em>Abstract Book Definition Group</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.LibraryImpl#getAbstractBookDefinition <em>Abstract Book Definition</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.LibraryImpl#getUniqueName <em>Unique Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class LibraryImpl extends EObjectImpl implements Library {
- /**
- * The cached value of the '{@link #getLibrary() <em>Library</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLibrary()
- * @generated
- * @ordered
- */
- protected EList<Library> library;
-
- /**
- * The cached value of the '{@link #getAbstractBookDefinitionGroup() <em>Abstract Book Definition Group</em>}' attribute list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAbstractBookDefinitionGroup()
- * @generated
- * @ordered
- */
- protected FeatureMap abstractBookDefinitionGroup;
-
- /**
- * The default value of the '{@link #getUniqueName() <em>Unique Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUniqueName()
- * @generated
- * @ordered
- */
- protected static final String UNIQUE_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getUniqueName() <em>Unique Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getUniqueName()
- * @generated
- * @ordered
- */
- protected String uniqueName = UNIQUE_NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected LibraryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return TestPackage.Literals.LIBRARY;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Library> getLibrary() {
- if (library == null) {
- library = new EObjectContainmentEList<Library>(Library.class, this, TestPackage.LIBRARY__LIBRARY);
- }
- return library;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public FeatureMap getAbstractBookDefinitionGroup() {
- if (abstractBookDefinitionGroup == null) {
- abstractBookDefinitionGroup = new BasicFeatureMap(this, TestPackage.LIBRARY__ABSTRACT_BOOK_DEFINITION_GROUP);
- }
- return abstractBookDefinitionGroup;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<BookDefinition> getAbstractBookDefinition() {
- return getAbstractBookDefinitionGroup().list(TestPackage.Literals.LIBRARY__ABSTRACT_BOOK_DEFINITION);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getUniqueName() {
- return uniqueName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setUniqueName(String newUniqueName) {
- String oldUniqueName = uniqueName;
- uniqueName = newUniqueName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.LIBRARY__UNIQUE_NAME, oldUniqueName, uniqueName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case TestPackage.LIBRARY__LIBRARY:
- return ((InternalEList<?>)getLibrary()).basicRemove(otherEnd, msgs);
- case TestPackage.LIBRARY__ABSTRACT_BOOK_DEFINITION_GROUP:
- return ((InternalEList<?>)getAbstractBookDefinitionGroup()).basicRemove(otherEnd, msgs);
- case TestPackage.LIBRARY__ABSTRACT_BOOK_DEFINITION:
- return ((InternalEList<?>)getAbstractBookDefinition()).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 TestPackage.LIBRARY__LIBRARY:
- return getLibrary();
- case TestPackage.LIBRARY__ABSTRACT_BOOK_DEFINITION_GROUP:
- if (coreType) return getAbstractBookDefinitionGroup();
- return ((FeatureMap.Internal)getAbstractBookDefinitionGroup()).getWrapper();
- case TestPackage.LIBRARY__ABSTRACT_BOOK_DEFINITION:
- return getAbstractBookDefinition();
- case TestPackage.LIBRARY__UNIQUE_NAME:
- return getUniqueName();
- }
- 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 TestPackage.LIBRARY__LIBRARY:
- getLibrary().clear();
- getLibrary().addAll((Collection<? extends Library>)newValue);
- return;
- case TestPackage.LIBRARY__ABSTRACT_BOOK_DEFINITION_GROUP:
- ((FeatureMap.Internal)getAbstractBookDefinitionGroup()).set(newValue);
- return;
- case TestPackage.LIBRARY__UNIQUE_NAME:
- setUniqueName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case TestPackage.LIBRARY__LIBRARY:
- getLibrary().clear();
- return;
- case TestPackage.LIBRARY__ABSTRACT_BOOK_DEFINITION_GROUP:
- getAbstractBookDefinitionGroup().clear();
- return;
- case TestPackage.LIBRARY__UNIQUE_NAME:
- setUniqueName(UNIQUE_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case TestPackage.LIBRARY__LIBRARY:
- return library != null && !library.isEmpty();
- case TestPackage.LIBRARY__ABSTRACT_BOOK_DEFINITION_GROUP:
- return abstractBookDefinitionGroup != null && !abstractBookDefinitionGroup.isEmpty();
- case TestPackage.LIBRARY__ABSTRACT_BOOK_DEFINITION:
- return !getAbstractBookDefinition().isEmpty();
- case TestPackage.LIBRARY__UNIQUE_NAME:
- return UNIQUE_NAME_EDEFAULT == null ? uniqueName != null : !UNIQUE_NAME_EDEFAULT.equals(uniqueName);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (abstractBookDefinitionGroup: ");
- result.append(abstractBookDefinitionGroup);
- result.append(", uniqueName: ");
- result.append(uniqueName);
- result.append(')');
- return result.toString();
- }
-
-} //LibraryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/PublisherDefinitionImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/PublisherDefinitionImpl.java
deleted file mode 100644
index 1281066e2..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/PublisherDefinitionImpl.java
+++ /dev/null
@@ -1,247 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: PublisherDefinitionImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Publisher Definition</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.PublisherDefinitionImpl#getTitle <em>Title</em>}</li>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.PublisherDefinitionImpl#getResourceLink <em>Resource Link</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PublisherDefinitionImpl extends BookDefinitionImpl implements PublisherDefinition {
- /**
- * The default value of the '{@link #getTitle() <em>Title</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTitle()
- * @generated
- * @ordered
- */
- protected static final String TITLE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getTitle() <em>Title</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getTitle()
- * @generated
- * @ordered
- */
- protected String title = TITLE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getResourceLink() <em>Resource Link</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getResourceLink()
- * @generated
- * @ordered
- */
- protected BookDefinitionResourceLink resourceLink;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PublisherDefinitionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return TestPackage.Literals.PUBLISHER_DEFINITION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getTitle() {
- return title;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setTitle(String newTitle) {
- String oldTitle = title;
- title = newTitle;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.PUBLISHER_DEFINITION__TITLE, oldTitle, title));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BookDefinitionResourceLink getResourceLink() {
- return resourceLink;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetResourceLink(BookDefinitionResourceLink newResourceLink, NotificationChain msgs) {
- BookDefinitionResourceLink oldResourceLink = resourceLink;
- resourceLink = newResourceLink;
- if (eNotificationRequired()) {
- ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, TestPackage.PUBLISHER_DEFINITION__RESOURCE_LINK, oldResourceLink, newResourceLink);
- if (msgs == null) msgs = notification; else msgs.add(notification);
- }
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setResourceLink(BookDefinitionResourceLink newResourceLink) {
- if (newResourceLink != resourceLink) {
- NotificationChain msgs = null;
- if (resourceLink != null)
- msgs = ((InternalEObject)resourceLink).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - TestPackage.PUBLISHER_DEFINITION__RESOURCE_LINK, null, msgs);
- if (newResourceLink != null)
- msgs = ((InternalEObject)newResourceLink).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - TestPackage.PUBLISHER_DEFINITION__RESOURCE_LINK, null, msgs);
- msgs = basicSetResourceLink(newResourceLink, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.PUBLISHER_DEFINITION__RESOURCE_LINK, newResourceLink, newResourceLink));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case TestPackage.PUBLISHER_DEFINITION__RESOURCE_LINK:
- return basicSetResourceLink(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case TestPackage.PUBLISHER_DEFINITION__TITLE:
- return getTitle();
- case TestPackage.PUBLISHER_DEFINITION__RESOURCE_LINK:
- return getResourceLink();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case TestPackage.PUBLISHER_DEFINITION__TITLE:
- setTitle((String)newValue);
- return;
- case TestPackage.PUBLISHER_DEFINITION__RESOURCE_LINK:
- setResourceLink((BookDefinitionResourceLink)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case TestPackage.PUBLISHER_DEFINITION__TITLE:
- setTitle(TITLE_EDEFAULT);
- return;
- case TestPackage.PUBLISHER_DEFINITION__RESOURCE_LINK:
- setResourceLink((BookDefinitionResourceLink)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case TestPackage.PUBLISHER_DEFINITION__TITLE:
- return TITLE_EDEFAULT == null ? title != null : !TITLE_EDEFAULT.equals(title);
- case TestPackage.PUBLISHER_DEFINITION__RESOURCE_LINK:
- return resourceLink != null;
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (title: ");
- result.append(title);
- result.append(')');
- return result.toString();
- }
-
-} //PublisherDefinitionImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/ResourceLinkImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/ResourceLinkImpl.java
deleted file mode 100644
index 7a2101bcc..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/ResourceLinkImpl.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ResourceLinkImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ResourceLink;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Resource Link</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl.ResourceLinkImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class ResourceLinkImpl extends EObjectImpl implements ResourceLink {
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ResourceLinkImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return TestPackage.Literals.RESOURCE_LINK;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, TestPackage.RESOURCE_LINK__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case TestPackage.RESOURCE_LINK__NAME:
- return getName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case TestPackage.RESOURCE_LINK__NAME:
- setName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case TestPackage.RESOURCE_LINK__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case TestPackage.RESOURCE_LINK__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) return super.toString();
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} //ResourceLinkImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/TestFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/TestFactoryImpl.java
deleted file mode 100644
index b67ecf991..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/TestFactoryImpl.java
+++ /dev/null
@@ -1,165 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TestFactoryImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.*;
-
-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 TestFactoryImpl extends EFactoryImpl implements TestFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static TestFactory init() {
- try {
- TestFactory theTestFactory = (TestFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.ibm.com/websphere/appserver/schemas/6.0/ibm-portal-test.xsd");
- if (theTestFactory != null) {
- return theTestFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new TestFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TestFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case TestPackage.ADULT_BOOKS: return createAdultBooks();
- case TestPackage.BOOK_DEFINITION_RESOURCE_LINK: return createBookDefinitionResourceLink();
- case TestPackage.BOOKS_IN_LIB: return createBooksInLib();
- case TestPackage.CHILDREN_BOOKS: return createChildrenBooks();
- case TestPackage.DOCUMENT_ROOT: return createDocumentRoot();
- case TestPackage.LIBRARY: return createLibrary();
- case TestPackage.PUBLISHER_DEFINITION: return createPublisherDefinition();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public AdultBooks createAdultBooks() {
- AdultBooksImpl adultBooks = new AdultBooksImpl();
- return adultBooks;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BookDefinitionResourceLink createBookDefinitionResourceLink() {
- BookDefinitionResourceLinkImpl bookDefinitionResourceLink = new BookDefinitionResourceLinkImpl();
- return bookDefinitionResourceLink;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BooksInLib createBooksInLib() {
- BooksInLibImpl booksInLib = new BooksInLibImpl();
- return booksInLib;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ChildrenBooks createChildrenBooks() {
- ChildrenBooksImpl childrenBooks = new ChildrenBooksImpl();
- return childrenBooks;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DocumentRoot createDocumentRoot() {
- DocumentRootImpl documentRoot = new DocumentRootImpl();
- return documentRoot;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Library createLibrary() {
- LibraryImpl library = new LibraryImpl();
- return library;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public PublisherDefinition createPublisherDefinition() {
- PublisherDefinitionImpl publisherDefinition = new PublisherDefinitionImpl();
- return publisherDefinition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TestPackage getTestPackage() {
- return (TestPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static TestPackage getPackage() {
- return TestPackage.eINSTANCE;
- }
-
-} //TestFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/TestPackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/TestPackageImpl.java
deleted file mode 100644
index ba62d80a5..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/impl/TestPackageImpl.java
+++ /dev/null
@@ -1,962 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TestPackageImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.impl;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BooksInLib;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ResourceLink;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestFactory;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class TestPackageImpl extends EPackageImpl implements TestPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass adultBooksEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bookDefinitionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass bookDefinitionResourceLinkEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass booksInLibEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass childrenBooksEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass documentRootEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass libraryEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass publisherDefinitionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass resourceLinkEClass = 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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private TestPackageImpl() {
- super(eNS_URI, TestFactory.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 TestPackage init() {
- if (isInited) return (TestPackage)EPackage.Registry.INSTANCE.getEPackage(TestPackage.eNS_URI);
-
- // Obtain or create and register package
- TestPackageImpl theTestPackage = (TestPackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof TestPackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new TestPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theTestPackage.createPackageContents();
-
- // Initialize created meta-data
- theTestPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theTestPackage.freeze();
-
- return theTestPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAdultBooks() {
- return adultBooksEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAdultBooks_Title() {
- return (EAttribute)adultBooksEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAdultBooks_Checkedout() {
- return (EAttribute)adultBooksEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAdultBooks_Userid() {
- return (EAttribute)adultBooksEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBookDefinition() {
- return bookDefinitionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBookDefinition_Description() {
- return (EAttribute)bookDefinitionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBookDefinition_Location() {
- return (EAttribute)bookDefinitionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBookDefinition_UniqueName() {
- return (EAttribute)bookDefinitionEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBookDefinitionResourceLink() {
- return bookDefinitionResourceLinkEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getBookDefinitionResourceLink_BookSubject() {
- return (EAttribute)bookDefinitionResourceLinkEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getBooksInLib() {
- return booksInLibEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getBooksInLib_Library() {
- return (EReference)booksInLibEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getChildrenBooks() {
- return childrenBooksEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getChildrenBooks_Title() {
- return (EAttribute)childrenBooksEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getChildrenBooks_Cartoon() {
- return (EAttribute)childrenBooksEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getChildrenBooks_Popup() {
- return (EAttribute)childrenBooksEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getChildrenBooks_PublisherDefinitionRef() {
- return (EReference)childrenBooksEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDocumentRoot() {
- return documentRootEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDocumentRoot_Mixed() {
- return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XMLNSPrefixMap() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_XSISchemaLocation() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_AbstractBookDefinition() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_AdultBooks() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_Booksinlib() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(5);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_ChildrenBooks() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(6);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getDocumentRoot_PublisherDefinition() {
- return (EReference)documentRootEClass.getEStructuralFeatures().get(7);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getLibrary() {
- return libraryEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getLibrary_Library() {
- return (EReference)libraryEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getLibrary_AbstractBookDefinitionGroup() {
- return (EAttribute)libraryEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getLibrary_AbstractBookDefinition() {
- return (EReference)libraryEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getLibrary_UniqueName() {
- return (EAttribute)libraryEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPublisherDefinition() {
- return publisherDefinitionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPublisherDefinition_Title() {
- return (EAttribute)publisherDefinitionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getPublisherDefinition_ResourceLink() {
- return (EReference)publisherDefinitionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getResourceLink() {
- return resourceLinkEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getResourceLink_Name() {
- return (EAttribute)resourceLinkEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TestFactory getTestFactory() {
- return (TestFactory)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
- adultBooksEClass = createEClass(ADULT_BOOKS);
- createEAttribute(adultBooksEClass, ADULT_BOOKS__TITLE);
- createEAttribute(adultBooksEClass, ADULT_BOOKS__CHECKEDOUT);
- createEAttribute(adultBooksEClass, ADULT_BOOKS__USERID);
-
- bookDefinitionEClass = createEClass(BOOK_DEFINITION);
- createEAttribute(bookDefinitionEClass, BOOK_DEFINITION__DESCRIPTION);
- createEAttribute(bookDefinitionEClass, BOOK_DEFINITION__LOCATION);
- createEAttribute(bookDefinitionEClass, BOOK_DEFINITION__UNIQUE_NAME);
-
- bookDefinitionResourceLinkEClass = createEClass(BOOK_DEFINITION_RESOURCE_LINK);
- createEAttribute(bookDefinitionResourceLinkEClass, BOOK_DEFINITION_RESOURCE_LINK__BOOK_SUBJECT);
-
- booksInLibEClass = createEClass(BOOKS_IN_LIB);
- createEReference(booksInLibEClass, BOOKS_IN_LIB__LIBRARY);
-
- childrenBooksEClass = createEClass(CHILDREN_BOOKS);
- createEAttribute(childrenBooksEClass, CHILDREN_BOOKS__TITLE);
- createEAttribute(childrenBooksEClass, CHILDREN_BOOKS__CARTOON);
- createEAttribute(childrenBooksEClass, CHILDREN_BOOKS__POPUP);
- createEReference(childrenBooksEClass, CHILDREN_BOOKS__PUBLISHER_DEFINITION_REF);
-
- documentRootEClass = createEClass(DOCUMENT_ROOT);
- createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
- createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
- createEReference(documentRootEClass, DOCUMENT_ROOT__ABSTRACT_BOOK_DEFINITION);
- createEReference(documentRootEClass, DOCUMENT_ROOT__ADULT_BOOKS);
- createEReference(documentRootEClass, DOCUMENT_ROOT__BOOKSINLIB);
- createEReference(documentRootEClass, DOCUMENT_ROOT__CHILDREN_BOOKS);
- createEReference(documentRootEClass, DOCUMENT_ROOT__PUBLISHER_DEFINITION);
-
- libraryEClass = createEClass(LIBRARY);
- createEReference(libraryEClass, LIBRARY__LIBRARY);
- createEAttribute(libraryEClass, LIBRARY__ABSTRACT_BOOK_DEFINITION_GROUP);
- createEReference(libraryEClass, LIBRARY__ABSTRACT_BOOK_DEFINITION);
- createEAttribute(libraryEClass, LIBRARY__UNIQUE_NAME);
-
- publisherDefinitionEClass = createEClass(PUBLISHER_DEFINITION);
- createEAttribute(publisherDefinitionEClass, PUBLISHER_DEFINITION__TITLE);
- createEReference(publisherDefinitionEClass, PUBLISHER_DEFINITION__RESOURCE_LINK);
-
- resourceLinkEClass = createEClass(RESOURCE_LINK);
- createEAttribute(resourceLinkEClass, RESOURCE_LINK__NAME);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) return;
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Obtain other dependent packages
- XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
- adultBooksEClass.getESuperTypes().add(this.getBookDefinition());
- bookDefinitionResourceLinkEClass.getESuperTypes().add(this.getResourceLink());
- childrenBooksEClass.getESuperTypes().add(this.getBookDefinition());
- publisherDefinitionEClass.getESuperTypes().add(this.getBookDefinition());
-
- // Initialize classes and features; add operations and parameters
- initEClass(adultBooksEClass, AdultBooks.class, "AdultBooks", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAdultBooks_Title(), theXMLTypePackage.getString(), "title", null, 1, 1, AdultBooks.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAdultBooks_Checkedout(), theXMLTypePackage.getString(), "checkedout", null, 1, 1, AdultBooks.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAdultBooks_Userid(), theXMLTypePackage.getString(), "userid", null, 1, 1, AdultBooks.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bookDefinitionEClass, BookDefinition.class, "BookDefinition", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBookDefinition_Description(), theXMLTypePackage.getString(), "description", null, 1, 1, BookDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBookDefinition_Location(), theXMLTypePackage.getString(), "location", null, 1, 1, BookDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getBookDefinition_UniqueName(), theXMLTypePackage.getID(), "uniqueName", null, 1, 1, BookDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(bookDefinitionResourceLinkEClass, BookDefinitionResourceLink.class, "BookDefinitionResourceLink", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getBookDefinitionResourceLink_BookSubject(), theXMLTypePackage.getString(), "bookSubject", null, 0, 1, BookDefinitionResourceLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(booksInLibEClass, BooksInLib.class, "BooksInLib", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getBooksInLib_Library(), this.getLibrary(), null, "library", null, 1, -1, BooksInLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(childrenBooksEClass, ChildrenBooks.class, "ChildrenBooks", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getChildrenBooks_Title(), theXMLTypePackage.getString(), "title", null, 1, 1, ChildrenBooks.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getChildrenBooks_Cartoon(), theXMLTypePackage.getString(), "cartoon", null, 1, 1, ChildrenBooks.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getChildrenBooks_Popup(), theXMLTypePackage.getString(), "popup", null, 1, 1, ChildrenBooks.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getChildrenBooks_PublisherDefinitionRef(), this.getPublisherDefinition(), null, "publisherDefinitionRef", null, 1, 1, ChildrenBooks.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_AbstractBookDefinition(), this.getBookDefinition(), null, "abstractBookDefinition", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_AdultBooks(), this.getAdultBooks(), null, "adultBooks", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_Booksinlib(), this.getBooksInLib(), null, "booksinlib", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_ChildrenBooks(), this.getChildrenBooks(), null, "childrenBooks", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEReference(getDocumentRoot_PublisherDefinition(), this.getPublisherDefinition(), null, "publisherDefinition", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
-
- initEClass(libraryEClass, Library.class, "Library", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getLibrary_Library(), this.getLibrary(), null, "library", null, 0, -1, Library.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getLibrary_AbstractBookDefinitionGroup(), ecorePackage.getEFeatureMapEntry(), "abstractBookDefinitionGroup", null, 0, -1, Library.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getLibrary_AbstractBookDefinition(), this.getBookDefinition(), null, "abstractBookDefinition", null, 0, -1, Library.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
- initEAttribute(getLibrary_UniqueName(), theXMLTypePackage.getID(), "uniqueName", null, 1, 1, Library.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(publisherDefinitionEClass, PublisherDefinition.class, "PublisherDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPublisherDefinition_Title(), theXMLTypePackage.getString(), "title", null, 0, 1, PublisherDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getPublisherDefinition_ResourceLink(), this.getBookDefinitionResourceLink(), null, "resourceLink", null, 1, 1, PublisherDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(resourceLinkEClass, ResourceLink.class, "ResourceLink", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getResourceLink_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, ResourceLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // http://www.w3.org/XML/1998/namespace
- createNamespaceAnnotations();
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>http://www.w3.org/XML/1998/namespace</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createNamespaceAnnotations() {
- String source = "http://www.w3.org/XML/1998/namespace";
- addAnnotation
- (this,
- source,
- new String[] {
- "lang", "en"
- });
- }
-
- /**
- * 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
- (adultBooksEClass,
- source,
- new String[] {
- "name", "AdultBooks",
- "kind", "elementOnly"
- });
- addAnnotation
- (getAdultBooks_Title(),
- source,
- new String[] {
- "kind", "element",
- "name", "title",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getAdultBooks_Checkedout(),
- source,
- new String[] {
- "kind", "element",
- "name", "checkedout",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getAdultBooks_Userid(),
- source,
- new String[] {
- "kind", "element",
- "name", "userid",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (bookDefinitionEClass,
- source,
- new String[] {
- "name", "BookDefinition",
- "kind", "elementOnly"
- });
- addAnnotation
- (getBookDefinition_Description(),
- source,
- new String[] {
- "kind", "element",
- "name", "description",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getBookDefinition_Location(),
- source,
- new String[] {
- "kind", "element",
- "name", "location",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getBookDefinition_UniqueName(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "uniqueName"
- });
- addAnnotation
- (bookDefinitionResourceLinkEClass,
- source,
- new String[] {
- "name", "BookDefinitionResourceLink",
- "kind", "empty"
- });
- addAnnotation
- (getBookDefinitionResourceLink_BookSubject(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "bookSubject"
- });
- addAnnotation
- (booksInLibEClass,
- source,
- new String[] {
- "name", "BooksInLib",
- "kind", "elementOnly"
- });
- addAnnotation
- (getBooksInLib_Library(),
- source,
- new String[] {
- "kind", "element",
- "name", "library",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (childrenBooksEClass,
- source,
- new String[] {
- "name", "ChildrenBooks",
- "kind", "elementOnly"
- });
- addAnnotation
- (getChildrenBooks_Title(),
- source,
- new String[] {
- "kind", "element",
- "name", "title",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getChildrenBooks_Cartoon(),
- source,
- new String[] {
- "kind", "element",
- "name", "cartoon",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getChildrenBooks_Popup(),
- source,
- new String[] {
- "kind", "element",
- "name", "popup",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getChildrenBooks_PublisherDefinitionRef(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "publisherDefinitionRef"
- });
- addAnnotation
- (documentRootEClass,
- source,
- new String[] {
- "name", "",
- "kind", "mixed"
- });
- addAnnotation
- (getDocumentRoot_Mixed(),
- source,
- new String[] {
- "kind", "elementWildcard",
- "name", ":mixed"
- });
- addAnnotation
- (getDocumentRoot_XMLNSPrefixMap(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xmlns:prefix"
- });
- addAnnotation
- (getDocumentRoot_XSISchemaLocation(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "xsi:schemaLocation"
- });
- addAnnotation
- (getDocumentRoot_AbstractBookDefinition(),
- source,
- new String[] {
- "kind", "element",
- "name", "abstract-book-definition",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getDocumentRoot_AdultBooks(),
- source,
- new String[] {
- "kind", "element",
- "name", "adult-books",
- "namespace", "##targetNamespace",
- "affiliation", "abstract-book-definition"
- });
- addAnnotation
- (getDocumentRoot_Booksinlib(),
- source,
- new String[] {
- "kind", "element",
- "name", "booksinlib",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getDocumentRoot_ChildrenBooks(),
- source,
- new String[] {
- "kind", "element",
- "name", "children-books",
- "namespace", "##targetNamespace",
- "affiliation", "abstract-book-definition"
- });
- addAnnotation
- (getDocumentRoot_PublisherDefinition(),
- source,
- new String[] {
- "kind", "element",
- "name", "publisher-definition",
- "namespace", "##targetNamespace",
- "affiliation", "abstract-book-definition"
- });
- addAnnotation
- (libraryEClass,
- source,
- new String[] {
- "name", "Library",
- "kind", "elementOnly"
- });
- addAnnotation
- (getLibrary_Library(),
- source,
- new String[] {
- "kind", "element",
- "name", "library",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getLibrary_AbstractBookDefinitionGroup(),
- source,
- new String[] {
- "kind", "group",
- "name", "abstract-book-definition:group",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getLibrary_AbstractBookDefinition(),
- source,
- new String[] {
- "kind", "element",
- "name", "abstract-book-definition",
- "namespace", "##targetNamespace",
- "group", "abstract-book-definition:group"
- });
- addAnnotation
- (getLibrary_UniqueName(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "uniqueName"
- });
- addAnnotation
- (publisherDefinitionEClass,
- source,
- new String[] {
- "name", "PublisherDefinition",
- "kind", "elementOnly"
- });
- addAnnotation
- (getPublisherDefinition_Title(),
- source,
- new String[] {
- "kind", "element",
- "name", "title",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (getPublisherDefinition_ResourceLink(),
- source,
- new String[] {
- "kind", "element",
- "name", "resource-link",
- "namespace", "##targetNamespace"
- });
- addAnnotation
- (resourceLinkEClass,
- source,
- new String[] {
- "name", "ResourceLink",
- "kind", "empty"
- });
- addAnnotation
- (getResourceLink_Name(),
- source,
- new String[] {
- "kind", "attribute",
- "name", "name"
- });
- }
-
-} //TestPackageImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestAdapterFactory.java
deleted file mode 100644
index 7ae9c1bab..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestAdapterFactory.java
+++ /dev/null
@@ -1,268 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TestAdapterFactory.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.util;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.*;
-
-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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage
- * @generated
- */
-public class TestAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static TestPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TestAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = TestPackage.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 TestSwitch<Adapter> modelSwitch =
- new TestSwitch<Adapter>() {
- @Override
- public Adapter caseAdultBooks(AdultBooks object) {
- return createAdultBooksAdapter();
- }
- @Override
- public Adapter caseBookDefinition(BookDefinition object) {
- return createBookDefinitionAdapter();
- }
- @Override
- public Adapter caseBookDefinitionResourceLink(BookDefinitionResourceLink object) {
- return createBookDefinitionResourceLinkAdapter();
- }
- @Override
- public Adapter caseBooksInLib(BooksInLib object) {
- return createBooksInLibAdapter();
- }
- @Override
- public Adapter caseChildrenBooks(ChildrenBooks object) {
- return createChildrenBooksAdapter();
- }
- @Override
- public Adapter caseDocumentRoot(DocumentRoot object) {
- return createDocumentRootAdapter();
- }
- @Override
- public Adapter caseLibrary(Library object) {
- return createLibraryAdapter();
- }
- @Override
- public Adapter casePublisherDefinition(PublisherDefinition object) {
- return createPublisherDefinitionAdapter();
- }
- @Override
- public Adapter caseResourceLink(ResourceLink object) {
- return createResourceLinkAdapter();
- }
- @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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks <em>Adult Books</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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks
- * @generated
- */
- public Adapter createAdultBooksAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition <em>Book Definition</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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition
- * @generated
- */
- public Adapter createBookDefinitionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink <em>Book Definition Resource 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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink
- * @generated
- */
- public Adapter createBookDefinitionResourceLinkAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BooksInLib <em>Books In Lib</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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BooksInLib
- * @generated
- */
- public Adapter createBooksInLibAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks <em>Children Books</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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks
- * @generated
- */
- public Adapter createChildrenBooksAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot <em>Document Root</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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot
- * @generated
- */
- public Adapter createDocumentRootAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library <em>Library</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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library
- * @generated
- */
- public Adapter createLibraryAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition <em>Publisher Definition</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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition
- * @generated
- */
- public Adapter createPublisherDefinitionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ResourceLink <em>Resource 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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ResourceLink
- * @generated
- */
- public Adapter createResourceLinkAdapter() {
- 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;
- }
-
-} //TestAdapterFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestResourceFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestResourceFactoryImpl.java
deleted file mode 100644
index cf4fb1890..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestResourceFactoryImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TestResourceFactoryImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.util.TestResourceImpl
- * @generated
- */
-public class TestResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TestResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new TestResourceImpl(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;
- }
-
-} //TestResourceFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestResourceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestResourceImpl.java
deleted file mode 100644
index 9059cf6b9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TestResourceImpl.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.util.TestResourceFactoryImpl
- * @generated
- */
-public class TestResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public TestResourceImpl(URI uri) {
- super(uri);
- }
-
-} //TestResourceImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestSwitch.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestSwitch.java
deleted file mode 100644
index d2e238cbc..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestSwitch.java
+++ /dev/null
@@ -1,302 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TestSwitch.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.util;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.*;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- 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 com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage
- * @generated
- */
-public class TestSwitch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static TestPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TestSwitch() {
- if (modelPackage == null) {
- modelPackage = TestPackage.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 TestPackage.ADULT_BOOKS: {
- AdultBooks adultBooks = (AdultBooks)theEObject;
- T result = caseAdultBooks(adultBooks);
- if (result == null) result = caseBookDefinition(adultBooks);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case TestPackage.BOOK_DEFINITION: {
- BookDefinition bookDefinition = (BookDefinition)theEObject;
- T result = caseBookDefinition(bookDefinition);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case TestPackage.BOOK_DEFINITION_RESOURCE_LINK: {
- BookDefinitionResourceLink bookDefinitionResourceLink = (BookDefinitionResourceLink)theEObject;
- T result = caseBookDefinitionResourceLink(bookDefinitionResourceLink);
- if (result == null) result = caseResourceLink(bookDefinitionResourceLink);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case TestPackage.BOOKS_IN_LIB: {
- BooksInLib booksInLib = (BooksInLib)theEObject;
- T result = caseBooksInLib(booksInLib);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case TestPackage.CHILDREN_BOOKS: {
- ChildrenBooks childrenBooks = (ChildrenBooks)theEObject;
- T result = caseChildrenBooks(childrenBooks);
- if (result == null) result = caseBookDefinition(childrenBooks);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case TestPackage.DOCUMENT_ROOT: {
- DocumentRoot documentRoot = (DocumentRoot)theEObject;
- T result = caseDocumentRoot(documentRoot);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case TestPackage.LIBRARY: {
- Library library = (Library)theEObject;
- T result = caseLibrary(library);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case TestPackage.PUBLISHER_DEFINITION: {
- PublisherDefinition publisherDefinition = (PublisherDefinition)theEObject;
- T result = casePublisherDefinition(publisherDefinition);
- if (result == null) result = caseBookDefinition(publisherDefinition);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case TestPackage.RESOURCE_LINK: {
- ResourceLink resourceLink = (ResourceLink)theEObject;
- T result = caseResourceLink(resourceLink);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Adult Books</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>Adult Books</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAdultBooks(AdultBooks object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Book Definition</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>Book Definition</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBookDefinition(BookDefinition object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Book Definition Resource 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>Book Definition Resource Link</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBookDefinitionResourceLink(BookDefinitionResourceLink object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Books In Lib</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>Books In Lib</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseBooksInLib(BooksInLib object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Children Books</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>Children Books</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseChildrenBooks(ChildrenBooks object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Document Root</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>Document Root</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDocumentRoot(DocumentRoot object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Library</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>Library</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseLibrary(Library object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Publisher Definition</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>Publisher Definition</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePublisherDefinition(PublisherDefinition object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Resource 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>Resource Link</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseResourceLink(ResourceLink 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;
- }
-
-} //TestSwitch
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestXMLProcessor.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestXMLProcessor.java
deleted file mode 100644
index 65ac7555e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/util/TestXMLProcessor.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: TestXMLProcessor.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.util;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.TestPackage;
-
-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;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class TestXMLProcessor extends XMLProcessor {
-
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public TestXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- TestPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the TestResourceFactoryImpl 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 TestResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new TestResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //TestXMLProcessor
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/AdultBooksValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/AdultBooksValidator.java
deleted file mode 100644
index 60a9a3eb5..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/AdultBooksValidator.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AdultBooksValidator.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.validation;
-
-
-/**
- * A sample validator interface for {@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks}.
- * 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 AdultBooksValidator {
- boolean validate();
-
- boolean validateTitle(String value);
- boolean validateCheckedout(String value);
- boolean validateUserid(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/BookDefinitionResourceLinkValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/BookDefinitionResourceLinkValidator.java
deleted file mode 100644
index 211319332..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/BookDefinitionResourceLinkValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: BookDefinitionResourceLinkValidator.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.validation;
-
-
-/**
- * A sample validator interface for {@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink}.
- * 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 BookDefinitionResourceLinkValidator {
- boolean validate();
-
- boolean validateBookSubject(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/BookDefinitionValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/BookDefinitionValidator.java
deleted file mode 100644
index 01c32940f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/BookDefinitionValidator.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: BookDefinitionValidator.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.validation;
-
-
-/**
- * A sample validator interface for {@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition}.
- * 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 BookDefinitionValidator {
- boolean validate();
-
- boolean validateDescription(String value);
- boolean validateLocation(String value);
- boolean validateUniqueName(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/BooksInLibValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/BooksInLibValidator.java
deleted file mode 100644
index 42b23a0eb..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/BooksInLibValidator.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: BooksInLibValidator.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.validation;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * A sample validator interface for {@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BooksInLib}.
- * 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 BooksInLibValidator {
- boolean validate();
-
- boolean validateLibrary(EList<Library> value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/ChildrenBooksValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/ChildrenBooksValidator.java
deleted file mode 100644
index 4971cfbd6..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/ChildrenBooksValidator.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ChildrenBooksValidator.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.validation;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition;
-
-/**
- * A sample validator interface for {@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks}.
- * 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 ChildrenBooksValidator {
- boolean validate();
-
- boolean validateTitle(String value);
- boolean validateCartoon(String value);
- boolean validatePopup(String value);
- boolean validatePublisherDefinitionRef(PublisherDefinition value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/DocumentRootValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/DocumentRootValidator.java
deleted file mode 100644
index 1bf87a233..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/DocumentRootValidator.java
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DocumentRootValidator.java,v 1.1 2007/12/13 06:52:43 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.validation;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.AdultBooks;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BooksInLib;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ChildrenBooks;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition;
-
-import org.eclipse.emf.common.util.EMap;
-
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * A sample validator interface for {@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.DocumentRoot}.
- * 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 DocumentRootValidator {
- boolean validate();
-
- boolean validateMixed(FeatureMap value);
- boolean validateXMLNSPrefixMap(EMap<String, String> value);
- boolean validateXSISchemaLocation(EMap<String, String> value);
- boolean validateAbstractBookDefinition(BookDefinition value);
- boolean validateAdultBooks(AdultBooks value);
- boolean validateBooksinlib(BooksInLib value);
- boolean validateChildrenBooks(ChildrenBooks value);
- boolean validatePublisherDefinition(PublisherDefinition value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/LibraryValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/LibraryValidator.java
deleted file mode 100644
index 6868ae861..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/LibraryValidator.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: LibraryValidator.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.validation;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinition;
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.util.FeatureMap;
-
-/**
- * A sample validator interface for {@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.Library}.
- * 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 LibraryValidator {
- boolean validate();
-
- boolean validateLibrary(EList<Library> value);
- boolean validateAbstractBookDefinitionGroup(FeatureMap value);
- boolean validateAbstractBookDefinition(EList<BookDefinition> value);
- boolean validateUniqueName(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/PublisherDefinitionValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/PublisherDefinitionValidator.java
deleted file mode 100644
index 09640fa73..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/PublisherDefinitionValidator.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: PublisherDefinitionValidator.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.validation;
-
-import com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.BookDefinitionResourceLink;
-
-/**
- * A sample validator interface for {@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.PublisherDefinition}.
- * 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 PublisherDefinitionValidator {
- boolean validate();
-
- boolean validateTitle(String value);
- boolean validateResourceLink(BookDefinitionResourceLink value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/ResourceLinkValidator.java b/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/ResourceLinkValidator.java
deleted file mode 100644
index 9fd6a5f02..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/com/ibm/websphere/appserver/schemas/_6/_0/ibm/portal/test/validation/ResourceLinkValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ResourceLinkValidator.java,v 1.1 2007/12/13 06:52:44 mtaal Exp $
- */
-package com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.validation;
-
-
-/**
- * A sample validator interface for {@link com.ibm.websphere.appserver.schemas._6._0.ibm.portal.test.ResourceLink}.
- * 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 ResourceLinkValidator {
- boolean validate();
-
- boolean validateName(String value);
-}

Back to the top