Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/com/example')
-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
35 files changed, 0 insertions, 5116 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);
-}

Back to the top