Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Address.java114
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ChildOne.java21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ContentList.java93
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Customer.java57
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/DistrictUKAddress.java81
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InheritancemappingFactory.java145
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InheritancemappingPackage.java1251
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InternationalPrice.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ParentOne.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ParentTwo.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Price.java86
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/SpecificCustomer.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/UKAddress.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/UKAddressList.java76
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/USAddress.java142
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/USState.java236
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/AddressImpl.java272
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ChildOneImpl.java43
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ContentListImpl.java239
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/CustomerImpl.java167
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/DistrictUKAddressImpl.java197
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InheritancemappingFactoryImpl.java300
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InheritancemappingPackageImpl.java954
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InternationalPriceImpl.java163
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ParentOneImpl.java45
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ParentTwoImpl.java45
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/PriceImpl.java220
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/SpecificCustomerImpl.java166
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/UKAddressImpl.java163
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/UKAddressListImpl.java226
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/USAddressImpl.java288
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/package.jdo151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.ecore232
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.genmodel57
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingAdapterFactory.java340
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingResourceFactoryImpl.java56
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingSwitch.java390
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingXMLProcessor.java52
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/AddressValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ChildOneValidator.java19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ContentListValidator.java26
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/CustomerValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/DistrictUKAddressValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/InternationalPriceValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ParentOneValidator.java19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ParentTwoValidator.java19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/PriceValidator.java22
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/SpecificCustomerValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/UKAddressListValidator.java24
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/UKAddressValidator.java20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/USAddressValidator.java24
52 files changed, 0 insertions, 7582 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Address.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Address.java
deleted file mode 100644
index d917971dd..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Address.java
+++ /dev/null
@@ -1,114 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Address.java,v 1.4 2008/07/13 13:12:37 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Address</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address#getStreet <em>Street</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address#getCity <em>City</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getAddress()
- * @model abstract="true"
- * extendedMetaData="name='Address' kind='elementOnly'"
- * annotation="teneo.jpa appinfo='@Inheritance(strategy=JOINED)\n\t\t\t'"
- * @generated
- */
-public interface Address extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getAddress_Name()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * annotation="teneo.jpa appinfo='@Id'"
- * extendedMetaData="kind='element' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address#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);
-
- /**
- * Returns the value of the '<em><b>Street</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Street</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Street</em>' attribute.
- * @see #setStreet(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getAddress_Street()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='street'"
- * @generated
- */
- String getStreet();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address#getStreet <em>Street</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Street</em>' attribute.
- * @see #getStreet()
- * @generated
- */
- void setStreet(String value);
-
- /**
- * Returns the value of the '<em><b>City</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>City</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>City</em>' attribute.
- * @see #setCity(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getAddress_City()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='city'"
- * @generated
- */
- String getCity();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address#getCity <em>City</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>City</em>' attribute.
- * @see #getCity()
- * @generated
- */
- void setCity(String value);
-
-} // Address
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ChildOne.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ChildOne.java
deleted file mode 100644
index 0e3ee49c6..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ChildOne.java
+++ /dev/null
@@ -1,21 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ChildOne.java,v 1.1 2008/03/12 07:30:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Child One</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getChildOne()
- * @model
- * @generated
- */
-public interface ChildOne extends ParentOne, ParentTwo {
-} // ChildOne
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ContentList.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ContentList.java
deleted file mode 100644
index 18a35b491..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ContentList.java
+++ /dev/null
@@ -1,93 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ContentList.java,v 1.4 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Content List</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList#getAddress <em>Address</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList#getPrice <em>Price</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getContentList()
- * @model extendedMetaData="name='contentList' kind='elementOnly'"
- * @generated
- */
-public interface ContentList extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getContentList_Name()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * annotation="teneo.jpa appinfo='@Id'"
- * extendedMetaData="kind='element' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList#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);
-
- /**
- * Returns the value of the '<em><b>Address</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Address</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Address</em>' reference list.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getContentList_Address()
- * @model resolveProxies="false" required="true"
- * extendedMetaData="kind='element' name='address'"
- * @generated
- */
- EList<Address> getAddress();
-
- /**
- * Returns the value of the '<em><b>Price</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Price</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Price</em>' reference list.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getContentList_Price()
- * @model resolveProxies="false" required="true"
- * extendedMetaData="kind='element' name='price'"
- * @generated
- */
- EList<Price> getPrice();
-
-} // ContentList
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Customer.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Customer.java
deleted file mode 100644
index e840f116e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Customer.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Customer.java,v 1.1 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Customer</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Customer#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getCustomer()
- * @model annotation="teneo.jpa appinfo='\t\t\t\t@Inheritance(strategy=TABLE_PER_CLASS)\t\t\t'"
- * extendedMetaData="name='Price' kind='elementOnly'"
- * @generated
- */
-public interface Customer extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getCustomer_Name()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * annotation="teneo.jpa appinfo='@Id'"
- * extendedMetaData="kind='element' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Customer#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);
-
-} // Customer
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/DistrictUKAddress.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/DistrictUKAddress.java
deleted file mode 100644
index d0be2f9bc..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/DistrictUKAddress.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DistrictUKAddress.java,v 1.1 2006/07/11 16:57:12 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>District UK Address</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress#getDistrict <em>District</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getDistrictUKAddress()
- * @model extendedMetaData="name='DistrictUKAddress' kind='elementOnly'"
- * @generated
- */
-public interface DistrictUKAddress extends UKAddress {
- /**
- * Returns the value of the '<em><b>District</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>District</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>District</em>' attribute.
- * @see #isSetDistrict()
- * @see #unsetDistrict()
- * @see #setDistrict(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getDistrictUKAddress_District()
- * @model unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='district'"
- * @generated
- */
- String getDistrict();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress#getDistrict <em>District</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>District</em>' attribute.
- * @see #isSetDistrict()
- * @see #unsetDistrict()
- * @see #getDistrict()
- * @generated
- */
- void setDistrict(String value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress#getDistrict <em>District</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetDistrict()
- * @see #getDistrict()
- * @see #setDistrict(String)
- * @generated
- */
- void unsetDistrict();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress#getDistrict <em>District</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>District</em>' attribute is set.
- * @see #unsetDistrict()
- * @see #getDistrict()
- * @see #setDistrict(String)
- * @generated
- */
- boolean isSetDistrict();
-
-} // DistrictUKAddress
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InheritancemappingFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InheritancemappingFactory.java
deleted file mode 100644
index 80dbfe72c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InheritancemappingFactory.java
+++ /dev/null
@@ -1,145 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: InheritancemappingFactory.java,v 1.4 2008/03/12 07:30:28 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage
- * @generated
- */
-public interface InheritancemappingFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- InheritancemappingFactory eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Content List</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Content List</em>'.
- * @generated
- */
- ContentList createContentList();
-
- /**
- * Returns a new object of class '<em>District UK Address</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>District UK Address</em>'.
- * @generated
- */
- DistrictUKAddress createDistrictUKAddress();
-
- /**
- * Returns a new object of class '<em>International Price</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>International Price</em>'.
- * @generated
- */
- InternationalPrice createInternationalPrice();
-
- /**
- * Returns a new object of class '<em>Price</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Price</em>'.
- * @generated
- */
- Price createPrice();
-
- /**
- * Returns a new object of class '<em>UK Address</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>UK Address</em>'.
- * @generated
- */
- UKAddress createUKAddress();
-
- /**
- * Returns a new object of class '<em>US Address</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>US Address</em>'.
- * @generated
- */
- USAddress createUSAddress();
-
- /**
- * Returns a new object of class '<em>Customer</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Customer</em>'.
- * @generated
- */
- Customer createCustomer();
-
- /**
- * Returns a new object of class '<em>Specific Customer</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Specific Customer</em>'.
- * @generated
- */
- SpecificCustomer createSpecificCustomer();
-
- /**
- * Returns a new object of class '<em>UK Address List</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>UK Address List</em>'.
- * @generated
- */
- UKAddressList createUKAddressList();
-
- /**
- * Returns a new object of class '<em>Parent One</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Parent One</em>'.
- * @generated
- */
- ParentOne createParentOne();
-
- /**
- * Returns a new object of class '<em>Parent Two</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Parent Two</em>'.
- * @generated
- */
- ParentTwo createParentTwo();
-
- /**
- * Returns a new object of class '<em>Child One</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Child One</em>'.
- * @generated
- */
- ChildOne createChildOne();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the package supported by this factory.
- * @generated
- */
- InheritancemappingPackage getInheritancemappingPackage();
-
-} //InheritancemappingFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InheritancemappingPackage.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InheritancemappingPackage.java
deleted file mode 100644
index 1217f92d9..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InheritancemappingPackage.java
+++ /dev/null
@@ -1,1251 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: InheritancemappingPackage.java,v 1.4 2008/03/12 07:30:28 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingFactory
- * @model kind="package"
- * @generated
- */
-public interface InheritancemappingPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNAME = "inheritancemapping";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- String eNS_PREFIX = "inheritancemapping";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- InheritancemappingPackage eINSTANCE = org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl <em>Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getAddress()
- * @generated
- */
- int ADDRESS = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDRESS__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Street</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDRESS__STREET = 1;
-
- /**
- * The feature id for the '<em><b>City</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDRESS__CITY = 2;
-
- /**
- * The number of structural features of the '<em>Address</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ADDRESS_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl <em>Content List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getContentList()
- * @generated
- */
- int CONTENT_LIST = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONTENT_LIST__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Address</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONTENT_LIST__ADDRESS = 1;
-
- /**
- * The feature id for the '<em><b>Price</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONTENT_LIST__PRICE = 2;
-
- /**
- * The number of structural features of the '<em>Content List</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONTENT_LIST_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl <em>UK Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getUKAddress()
- * @generated
- */
- int UK_ADDRESS = 5;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UK_ADDRESS__NAME = ADDRESS__NAME;
-
- /**
- * The feature id for the '<em><b>Street</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UK_ADDRESS__STREET = ADDRESS__STREET;
-
- /**
- * The feature id for the '<em><b>City</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UK_ADDRESS__CITY = ADDRESS__CITY;
-
- /**
- * The feature id for the '<em><b>Postcode</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UK_ADDRESS__POSTCODE = ADDRESS_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>UK Address</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UK_ADDRESS_FEATURE_COUNT = ADDRESS_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl <em>District UK Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getDistrictUKAddress()
- * @generated
- */
- int DISTRICT_UK_ADDRESS = 2;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DISTRICT_UK_ADDRESS__NAME = UK_ADDRESS__NAME;
-
- /**
- * The feature id for the '<em><b>Street</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DISTRICT_UK_ADDRESS__STREET = UK_ADDRESS__STREET;
-
- /**
- * The feature id for the '<em><b>City</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DISTRICT_UK_ADDRESS__CITY = UK_ADDRESS__CITY;
-
- /**
- * The feature id for the '<em><b>Postcode</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DISTRICT_UK_ADDRESS__POSTCODE = UK_ADDRESS__POSTCODE;
-
- /**
- * The feature id for the '<em><b>District</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DISTRICT_UK_ADDRESS__DISTRICT = UK_ADDRESS_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>District UK Address</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DISTRICT_UK_ADDRESS_FEATURE_COUNT = UK_ADDRESS_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl <em>Price</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getPrice()
- * @generated
- */
- int PRICE = 4;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PRICE__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PRICE__VALUE = 1;
-
- /**
- * The number of structural features of the '<em>Price</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PRICE_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl <em>International Price</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getInternationalPrice()
- * @generated
- */
- int INTERNATIONAL_PRICE = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTERNATIONAL_PRICE__NAME = PRICE__NAME;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTERNATIONAL_PRICE__VALUE = PRICE__VALUE;
-
- /**
- * The feature id for the '<em><b>Currency</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTERNATIONAL_PRICE__CURRENCY = PRICE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>International Price</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int INTERNATIONAL_PRICE_FEATURE_COUNT = PRICE_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl <em>US Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getUSAddress()
- * @generated
- */
- int US_ADDRESS = 6;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int US_ADDRESS__NAME = ADDRESS__NAME;
-
- /**
- * The feature id for the '<em><b>Street</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int US_ADDRESS__STREET = ADDRESS__STREET;
-
- /**
- * The feature id for the '<em><b>City</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int US_ADDRESS__CITY = ADDRESS__CITY;
-
- /**
- * The feature id for the '<em><b>State</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int US_ADDRESS__STATE = ADDRESS_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Zip</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int US_ADDRESS__ZIP = ADDRESS_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>US Address</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int US_ADDRESS_FEATURE_COUNT = ADDRESS_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl <em>Customer</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getCustomer()
- * @generated
- */
- int CUSTOMER = 7;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CUSTOMER__NAME = 0;
-
- /**
- * The number of structural features of the '<em>Customer</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CUSTOMER_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl <em>Specific Customer</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getSpecificCustomer()
- * @generated
- */
- int SPECIFIC_CUSTOMER = 8;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIFIC_CUSTOMER__NAME = CUSTOMER__NAME;
-
- /**
- * The feature id for the '<em><b>Specific Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIFIC_CUSTOMER__SPECIFIC_NAME = CUSTOMER_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Specific Customer</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SPECIFIC_CUSTOMER_FEATURE_COUNT = CUSTOMER_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl <em>UK Address List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getUKAddressList()
- * @generated
- */
- int UK_ADDRESS_LIST = 9;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UK_ADDRESS_LIST__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Address</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UK_ADDRESS_LIST__ADDRESS = 1;
-
- /**
- * The number of structural features of the '<em>UK Address List</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int UK_ADDRESS_LIST_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl <em>Parent One</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getParentOne()
- * @generated
- */
- int PARENT_ONE = 10;
-
- /**
- * The number of structural features of the '<em>Parent One</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARENT_ONE_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl <em>Parent Two</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getParentTwo()
- * @generated
- */
- int PARENT_TWO = 11;
-
- /**
- * The number of structural features of the '<em>Parent Two</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int PARENT_TWO_FEATURE_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl <em>Child One</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getChildOne()
- * @generated
- */
- int CHILD_ONE = 12;
-
- /**
- * The number of structural features of the '<em>Child One</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CHILD_ONE_FEATURE_COUNT = PARENT_ONE_FEATURE_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState <em>US State</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getUSState()
- * @generated
- */
- int US_STATE = 13;
-
- /**
- * The meta object id for the '<em>US State Object</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getUSStateObject()
- * @generated
- */
- int US_STATE_OBJECT = 14;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Address</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address
- * @generated
- */
- EClass getAddress();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address#getName()
- * @see #getAddress()
- * @generated
- */
- EAttribute getAddress_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address#getStreet <em>Street</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Street</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address#getStreet()
- * @see #getAddress()
- * @generated
- */
- EAttribute getAddress_Street();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address#getCity <em>City</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>City</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address#getCity()
- * @see #getAddress()
- * @generated
- */
- EAttribute getAddress_City();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList <em>Content List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Content List</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList
- * @generated
- */
- EClass getContentList();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList#getName()
- * @see #getContentList()
- * @generated
- */
- EAttribute getContentList_Name();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList#getAddress <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Address</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList#getAddress()
- * @see #getContentList()
- * @generated
- */
- EReference getContentList_Address();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList#getPrice <em>Price</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Price</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList#getPrice()
- * @see #getContentList()
- * @generated
- */
- EReference getContentList_Price();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress <em>District UK Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>District UK Address</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress
- * @generated
- */
- EClass getDistrictUKAddress();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress#getDistrict <em>District</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>District</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress#getDistrict()
- * @see #getDistrictUKAddress()
- * @generated
- */
- EAttribute getDistrictUKAddress_District();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice <em>International Price</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>International Price</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice
- * @generated
- */
- EClass getInternationalPrice();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice#getCurrency <em>Currency</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Currency</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice#getCurrency()
- * @see #getInternationalPrice()
- * @generated
- */
- EAttribute getInternationalPrice_Currency();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price <em>Price</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Price</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price
- * @generated
- */
- EClass getPrice();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price#getName()
- * @see #getPrice()
- * @generated
- */
- EAttribute getPrice_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price#getValue()
- * @see #getPrice()
- * @generated
- */
- EAttribute getPrice_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress <em>UK Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>UK Address</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress
- * @generated
- */
- EClass getUKAddress();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress#getPostcode <em>Postcode</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Postcode</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress#getPostcode()
- * @see #getUKAddress()
- * @generated
- */
- EAttribute getUKAddress_Postcode();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress <em>US Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>US Address</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress
- * @generated
- */
- EClass getUSAddress();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress#getState <em>State</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>State</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress#getState()
- * @see #getUSAddress()
- * @generated
- */
- EAttribute getUSAddress_State();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress#getZip <em>Zip</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Zip</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress#getZip()
- * @see #getUSAddress()
- * @generated
- */
- EAttribute getUSAddress_Zip();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Customer <em>Customer</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Customer</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Customer
- * @generated
- */
- EClass getCustomer();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Customer#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Customer#getName()
- * @see #getCustomer()
- * @generated
- */
- EAttribute getCustomer_Name();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.SpecificCustomer <em>Specific Customer</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Specific Customer</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.SpecificCustomer
- * @generated
- */
- EClass getSpecificCustomer();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.SpecificCustomer#getSpecificName <em>Specific Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Specific Name</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.SpecificCustomer#getSpecificName()
- * @see #getSpecificCustomer()
- * @generated
- */
- EAttribute getSpecificCustomer_SpecificName();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList <em>UK Address List</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>UK Address List</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList
- * @generated
- */
- EClass getUKAddressList();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList#getName()
- * @see #getUKAddressList()
- * @generated
- */
- EAttribute getUKAddressList_Name();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList#getAddress <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Address</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList#getAddress()
- * @see #getUKAddressList()
- * @generated
- */
- EReference getUKAddressList_Address();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentOne <em>Parent One</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Parent One</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentOne
- * @generated
- */
- EClass getParentOne();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentTwo <em>Parent Two</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Parent Two</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentTwo
- * @generated
- */
- EClass getParentTwo();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ChildOne <em>Child One</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Child One</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ChildOne
- * @generated
- */
- EClass getChildOne();
-
- /**
- * Returns the meta object for enum '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState <em>US State</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for enum '<em>US State</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState
- * @generated
- */
- EEnum getUSState();
-
- /**
- * Returns the meta object for data type '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState <em>US State Object</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for data type '<em>US State Object</em>'.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState
- * @model instanceClass="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState"
- * extendedMetaData="name='USState:Object' baseType='USState'"
- * @generated
- */
- EDataType getUSStateObject();
-
- /**
- * 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
- */
- InheritancemappingFactory getInheritancemappingFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl <em>Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getAddress()
- * @generated
- */
- EClass ADDRESS = eINSTANCE.getAddress();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADDRESS__NAME = eINSTANCE.getAddress_Name();
-
- /**
- * The meta object literal for the '<em><b>Street</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADDRESS__STREET = eINSTANCE.getAddress_Street();
-
- /**
- * The meta object literal for the '<em><b>City</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute ADDRESS__CITY = eINSTANCE.getAddress_City();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl <em>Content List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getContentList()
- * @generated
- */
- EClass CONTENT_LIST = eINSTANCE.getContentList();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONTENT_LIST__NAME = eINSTANCE.getContentList_Name();
-
- /**
- * The meta object literal for the '<em><b>Address</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONTENT_LIST__ADDRESS = eINSTANCE.getContentList_Address();
-
- /**
- * The meta object literal for the '<em><b>Price</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONTENT_LIST__PRICE = eINSTANCE.getContentList_Price();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl <em>District UK Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getDistrictUKAddress()
- * @generated
- */
- EClass DISTRICT_UK_ADDRESS = eINSTANCE.getDistrictUKAddress();
-
- /**
- * The meta object literal for the '<em><b>District</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute DISTRICT_UK_ADDRESS__DISTRICT = eINSTANCE.getDistrictUKAddress_District();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl <em>International Price</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getInternationalPrice()
- * @generated
- */
- EClass INTERNATIONAL_PRICE = eINSTANCE.getInternationalPrice();
-
- /**
- * The meta object literal for the '<em><b>Currency</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute INTERNATIONAL_PRICE__CURRENCY = eINSTANCE.getInternationalPrice_Currency();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl <em>Price</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getPrice()
- * @generated
- */
- EClass PRICE = eINSTANCE.getPrice();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PRICE__NAME = eINSTANCE.getPrice_Name();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute PRICE__VALUE = eINSTANCE.getPrice_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl <em>UK Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getUKAddress()
- * @generated
- */
- EClass UK_ADDRESS = eINSTANCE.getUKAddress();
-
- /**
- * The meta object literal for the '<em><b>Postcode</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute UK_ADDRESS__POSTCODE = eINSTANCE.getUKAddress_Postcode();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl <em>US Address</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getUSAddress()
- * @generated
- */
- EClass US_ADDRESS = eINSTANCE.getUSAddress();
-
- /**
- * The meta object literal for the '<em><b>State</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute US_ADDRESS__STATE = eINSTANCE.getUSAddress_State();
-
- /**
- * The meta object literal for the '<em><b>Zip</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute US_ADDRESS__ZIP = eINSTANCE.getUSAddress_Zip();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl <em>Customer</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getCustomer()
- * @generated
- */
- EClass CUSTOMER = eINSTANCE.getCustomer();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CUSTOMER__NAME = eINSTANCE.getCustomer_Name();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl <em>Specific Customer</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getSpecificCustomer()
- * @generated
- */
- EClass SPECIFIC_CUSTOMER = eINSTANCE.getSpecificCustomer();
-
- /**
- * The meta object literal for the '<em><b>Specific Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute SPECIFIC_CUSTOMER__SPECIFIC_NAME = eINSTANCE.getSpecificCustomer_SpecificName();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl <em>UK Address List</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getUKAddressList()
- * @generated
- */
- EClass UK_ADDRESS_LIST = eINSTANCE.getUKAddressList();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute UK_ADDRESS_LIST__NAME = eINSTANCE.getUKAddressList_Name();
-
- /**
- * The meta object literal for the '<em><b>Address</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference UK_ADDRESS_LIST__ADDRESS = eINSTANCE.getUKAddressList_Address();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl <em>Parent One</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getParentOne()
- * @generated
- */
- EClass PARENT_ONE = eINSTANCE.getParentOne();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl <em>Parent Two</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getParentTwo()
- * @generated
- */
- EClass PARENT_TWO = eINSTANCE.getParentTwo();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl <em>Child One</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getChildOne()
- * @generated
- */
- EClass CHILD_ONE = eINSTANCE.getChildOne();
-
- /**
- * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState <em>US State</em>}' enum.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getUSState()
- * @generated
- */
- EEnum US_STATE = eINSTANCE.getUSState();
-
- /**
- * The meta object literal for the '<em>US State Object</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InheritancemappingPackageImpl#getUSStateObject()
- * @generated
- */
- EDataType US_STATE_OBJECT = eINSTANCE.getUSStateObject();
-
- }
-
-} //InheritancemappingPackage
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InternationalPrice.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InternationalPrice.java
deleted file mode 100644
index 5151743c6..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/InternationalPrice.java
+++ /dev/null
@@ -1,55 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: InternationalPrice.java,v 1.2 2006/09/13 10:39:43 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>International Price</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice#getCurrency <em>Currency</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getInternationalPrice()
- * @model annotation="teneo.jpa appinfo='\n\t\t\t\t@DiscriminatorValue(\"myInternationalPrice\")\n\t\t\t'"
- * extendedMetaData="name='InternationalPrice' kind='elementOnly'"
- * @generated
- */
-public interface InternationalPrice extends Price {
- /**
- * Returns the value of the '<em><b>Currency</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Currency</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Currency</em>' attribute.
- * @see #setCurrency(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getInternationalPrice_Currency()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='currency'"
- * @generated
- */
- String getCurrency();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice#getCurrency <em>Currency</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Currency</em>' attribute.
- * @see #getCurrency()
- * @generated
- */
- void setCurrency(String value);
-
-} // InternationalPrice
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ParentOne.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ParentOne.java
deleted file mode 100644
index aac2e9026..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ParentOne.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ParentOne.java,v 1.1 2008/03/12 07:30:28 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Parent One</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getParentOne()
- * @model
- * @generated
- */
-public interface ParentOne extends EObject {
-} // ParentOne
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ParentTwo.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ParentTwo.java
deleted file mode 100644
index 5c25a2187..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/ParentTwo.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ParentTwo.java,v 1.1 2008/03/12 07:30:28 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Parent Two</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getParentTwo()
- * @model
- * @generated
- */
-public interface ParentTwo extends EObject {
-} // ParentTwo
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Price.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Price.java
deleted file mode 100644
index 8198d5cbf..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/Price.java
+++ /dev/null
@@ -1,86 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: Price.java,v 1.3 2009/09/13 14:45:36 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-import java.math.BigDecimal;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Price</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getPrice()
- * @model annotation="teneo.jpa appinfo='\n\t\t\t\t@Table(name=\"myprice\")\n\t\t\t\t@Inheritance(strategy=SINGLE_TABLE)\n\t\t\t\t@DiscriminatorColumn(name=\"DISCRIMINATOR\", discriminatorType=STRING, column=@Column(index=\"discrIndex,ohterindex\", length=120))\n\t\t\t\t@DiscriminatorValue(\"myPrice\")\n\t\t\t'"
- * extendedMetaData="name='Price' kind='elementOnly'"
- * @generated
- */
-public interface Price extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getPrice_Name()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price#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);
-
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(BigDecimal)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getPrice_Value()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Decimal" required="true"
- * extendedMetaData="kind='element' name='value'"
- * @generated
- */
- BigDecimal getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(BigDecimal value);
-
-} // Price
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/SpecificCustomer.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/SpecificCustomer.java
deleted file mode 100644
index 43d563baa..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/SpecificCustomer.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SpecificCustomer.java,v 1.1 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Specific Customer</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.SpecificCustomer#getSpecificName <em>Specific Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getSpecificCustomer()
- * @model extendedMetaData="name='Price' kind='elementOnly'"
- * @generated
- */
-public interface SpecificCustomer extends Customer {
- /**
- * Returns the value of the '<em><b>Specific Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Specific 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>Specific Name</em>' attribute.
- * @see #setSpecificName(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getSpecificCustomer_SpecificName()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String"
- * extendedMetaData="kind='element' name='name'"
- * @generated
- */
- String getSpecificName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.SpecificCustomer#getSpecificName <em>Specific Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Specific Name</em>' attribute.
- * @see #getSpecificName()
- * @generated
- */
- void setSpecificName(String value);
-
-} // SpecificCustomer
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/UKAddress.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/UKAddress.java
deleted file mode 100644
index d8e1926de..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/UKAddress.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UKAddress.java,v 1.1 2006/07/11 16:57:12 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>UK Address</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress#getPostcode <em>Postcode</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getUKAddress()
- * @model extendedMetaData="name='UKAddress' kind='elementOnly'"
- * @generated
- */
-public interface UKAddress extends Address {
- /**
- * Returns the value of the '<em><b>Postcode</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Postcode</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Postcode</em>' attribute.
- * @see #setPostcode(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getUKAddress_Postcode()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * extendedMetaData="kind='element' name='postcode'"
- * @generated
- */
- String getPostcode();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress#getPostcode <em>Postcode</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Postcode</em>' attribute.
- * @see #getPostcode()
- * @generated
- */
- void setPostcode(String value);
-
-} // UKAddress
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/UKAddressList.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/UKAddressList.java
deleted file mode 100644
index 90805d7d1..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/UKAddressList.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UKAddressList.java,v 1.1 2008/03/10 22:19:03 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>UK Address List</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList#getAddress <em>Address</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getUKAddressList()
- * @model extendedMetaData="name='contentList' kind='elementOnly'"
- * @generated
- */
-public interface UKAddressList extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getUKAddressList_Name()
- * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
- * annotation="teneo.jpa appinfo='@Id'"
- * extendedMetaData="kind='element' name='name'"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList#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);
-
- /**
- * Returns the value of the '<em><b>Address</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Address</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>Address</em>' containment reference list.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getUKAddressList_Address()
- * @model containment="true"
- * extendedMetaData="kind='element' name='address'"
- * @generated
- */
- EList<UKAddress> getAddress();
-
-} // UKAddressList
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/USAddress.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/USAddress.java
deleted file mode 100644
index b012f6c69..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/USAddress.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: USAddress.java,v 1.2 2007/02/05 16:13:45 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-import java.math.BigInteger;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>US Address</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress#getState <em>State</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress#getZip <em>Zip</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getUSAddress()
- * @model extendedMetaData="name='USAddress' kind='elementOnly'"
- * annotation="teneo.jpa appinfo='@Table(name=\"UNITEDSTATESADDRESS\")\n\t\t\t'"
- * @generated
- */
-public interface USAddress extends Address {
- /**
- * Returns the value of the '<em><b>State</b></em>' attribute.
- * The default value is <code>"AK"</code>.
- * The literals are from the enumeration {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>State</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>State</em>' attribute.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState
- * @see #isSetState()
- * @see #unsetState()
- * @see #setState(USState)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getUSAddress_State()
- * @model default="AK" unique="false" unsettable="true" required="true"
- * extendedMetaData="kind='element' name='state'"
- * @generated
- */
- USState getState();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress#getState <em>State</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>State</em>' attribute.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState
- * @see #isSetState()
- * @see #unsetState()
- * @see #getState()
- * @generated
- */
- void setState(USState value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress#getState <em>State</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetState()
- * @see #getState()
- * @see #setState(USState)
- * @generated
- */
- void unsetState();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress#getState <em>State</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>State</em>' attribute is set.
- * @see #unsetState()
- * @see #getState()
- * @see #setState(USState)
- * @generated
- */
- boolean isSetState();
-
- /**
- * Returns the value of the '<em><b>Zip</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Zip</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Zip</em>' attribute.
- * @see #isSetZip()
- * @see #unsetZip()
- * @see #setZip(BigInteger)
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getUSAddress_Zip()
- * @model unique="false" unsettable="true" dataType="org.eclipse.emf.ecore.xml.type.PositiveInteger" required="true"
- * extendedMetaData="kind='element' name='zip'"
- * @generated
- */
- BigInteger getZip();
-
- /**
- * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress#getZip <em>Zip</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Zip</em>' attribute.
- * @see #isSetZip()
- * @see #unsetZip()
- * @see #getZip()
- * @generated
- */
- void setZip(BigInteger value);
-
- /**
- * Unsets the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress#getZip <em>Zip</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isSetZip()
- * @see #getZip()
- * @see #setZip(BigInteger)
- * @generated
- */
- void unsetZip();
-
- /**
- * Returns whether the value of the '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress#getZip <em>Zip</em>}' attribute is set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return whether the value of the '<em>Zip</em>' attribute is set.
- * @see #unsetZip()
- * @see #getZip()
- * @see #setZip(BigInteger)
- * @generated
- */
- boolean isSetZip();
-
-} // USAddress
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/USState.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/USState.java
deleted file mode 100644
index 59e3b7d81..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/USState.java
+++ /dev/null
@@ -1,236 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: USState.java,v 1.3 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping;
-
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.emf.common.util.Enumerator;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the literals of the enumeration '<em><b>US State</b></em>',
- * and utility methods for working with them.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#getUSState()
- * @model extendedMetaData="name='USState'"
- * @generated
- */
-public enum USState implements Enumerator
-{
- /**
- * The '<em><b>AK</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #AK
- * @generated
- * @ordered
- */
- AK_LITERAL(0, "AK", "AK"),
- /**
- * The '<em><b>AL</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #AL
- * @generated
- * @ordered
- */
- AL_LITERAL(1, "AL", "AL"),
- /**
- * The '<em><b>AR</b></em>' literal object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #AR
- * @generated
- * @ordered
- */
- AR_LITERAL(2, "AR", "AR");
- /**
- * The '<em><b>AK</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>AK</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #AK_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int AK = 0;
-
- /**
- * The '<em><b>AL</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>AL</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #AL_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int AL = 1;
-
- /**
- * The '<em><b>AR</b></em>' literal value.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of '<em><b>AR</b></em>' literal object isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @see #AR_LITERAL
- * @model
- * @generated
- * @ordered
- */
- public static final int AR = 2;
-
- /**
- * An array of all the '<em><b>US State</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static final USState[] VALUES_ARRAY =
- new USState[] {
- AK_LITERAL,
- AL_LITERAL,
- AR_LITERAL,
- };
-
- /**
- * A public read-only list of all the '<em><b>US State</b></em>' enumerators.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static final List<USState> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));
-
- /**
- * Returns the '<em><b>US State</b></em>' literal with the specified literal value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static USState get(String literal) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- USState result = VALUES_ARRAY[i];
- if (result.toString().equals(literal)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>US State</b></em>' literal with the specified name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static USState getByName(String name) {
- for (int i = 0; i < VALUES_ARRAY.length; ++i) {
- USState result = VALUES_ARRAY[i];
- if (result.getName().equals(name)) {
- return result;
- }
- }
- return null;
- }
-
- /**
- * Returns the '<em><b>US State</b></em>' literal with the specified integer value.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static USState get(int value) {
- switch (value) {
- case AK: return AK_LITERAL;
- case AL: return AL_LITERAL;
- case AR: return AR_LITERAL;
- }
- return null;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final int value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String name;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private final String literal;
-
- /**
- * Only this class can construct instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private USState(int value, String name, String literal) {
- this.value = value;
- this.name = name;
- this.literal = literal;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public int getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLiteral() {
- return literal;
- }
-
- /**
- * Returns the literal value of the enumerator, which is its string representation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String toString() {
- return literal;
- }
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/AddressImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/AddressImpl.java
deleted file mode 100644
index b197eb5d1..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/AddressImpl.java
+++ /dev/null
@@ -1,272 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AddressImpl.java,v 1.3 2007/02/08 23:09:20 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-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;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Address</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl#getStreet <em>Street</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl#getCity <em>City</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class AddressImpl extends EObjectImpl implements Address {
- /**
- * 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;
-
- /**
- * The default value of the '{@link #getStreet() <em>Street</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStreet()
- * @generated
- * @ordered
- */
- protected static final String STREET_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getStreet() <em>Street</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getStreet()
- * @generated
- * @ordered
- */
- protected String street = STREET_EDEFAULT;
-
- /**
- * The default value of the '{@link #getCity() <em>City</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCity()
- * @generated
- * @ordered
- */
- protected static final String CITY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCity() <em>City</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCity()
- * @generated
- * @ordered
- */
- protected String city = CITY_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected AddressImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.ADDRESS;
- }
-
- /**
- * <!-- 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, InheritancemappingPackage.ADDRESS__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getStreet() {
- return street;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setStreet(String newStreet) {
- String oldStreet = street;
- street = newStreet;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, InheritancemappingPackage.ADDRESS__STREET, oldStreet, street));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCity() {
- return city;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCity(String newCity) {
- String oldCity = city;
- city = newCity;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, InheritancemappingPackage.ADDRESS__CITY, oldCity, city));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case InheritancemappingPackage.ADDRESS__NAME:
- return getName();
- case InheritancemappingPackage.ADDRESS__STREET:
- return getStreet();
- case InheritancemappingPackage.ADDRESS__CITY:
- return getCity();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case InheritancemappingPackage.ADDRESS__NAME:
- setName((String)newValue);
- return;
- case InheritancemappingPackage.ADDRESS__STREET:
- setStreet((String)newValue);
- return;
- case InheritancemappingPackage.ADDRESS__CITY:
- setCity((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.ADDRESS__NAME:
- setName(NAME_EDEFAULT);
- return;
- case InheritancemappingPackage.ADDRESS__STREET:
- setStreet(STREET_EDEFAULT);
- return;
- case InheritancemappingPackage.ADDRESS__CITY:
- setCity(CITY_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.ADDRESS__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case InheritancemappingPackage.ADDRESS__STREET:
- return STREET_EDEFAULT == null ? street != null : !STREET_EDEFAULT.equals(street);
- case InheritancemappingPackage.ADDRESS__CITY:
- return CITY_EDEFAULT == null ? city != null : !CITY_EDEFAULT.equals(city);
- }
- 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(", street: ");
- result.append(street);
- result.append(", city: ");
- result.append(city);
- result.append(')');
- return result.toString();
- }
-
-} //AddressImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ChildOneImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ChildOneImpl.java
deleted file mode 100644
index 84e712a2d..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ChildOneImpl.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ChildOneImpl.java,v 1.1 2008/03/12 07:30:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ChildOne;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Child One</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class ChildOneImpl extends ParentOneImpl implements ChildOne {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ChildOneImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.CHILD_ONE;
- }
-
-} //ChildOneImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ContentListImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ContentListImpl.java
deleted file mode 100644
index 3ddafcb28..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ContentListImpl.java
+++ /dev/null
@@ -1,239 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ContentListImpl.java,v 1.4 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectEList;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Content List</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl#getAddress <em>Address</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl#getPrice <em>Price</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ContentListImpl extends EObjectImpl implements ContentList {
- /**
- * 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;
-
- /**
- * The cached value of the '{@link #getAddress() <em>Address</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAddress()
- * @generated
- * @ordered
- */
- protected EList<Address> address;
-
- /**
- * The cached value of the '{@link #getPrice() <em>Price</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPrice()
- * @generated
- * @ordered
- */
- protected EList<Price> price;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ContentListImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.CONTENT_LIST;
- }
-
- /**
- * <!-- 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, InheritancemappingPackage.CONTENT_LIST__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Address> getAddress() {
- if (address == null) {
- address = new EObjectEList<Address>(Address.class, this, InheritancemappingPackage.CONTENT_LIST__ADDRESS);
- }
- return address;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<Price> getPrice() {
- if (price == null) {
- price = new EObjectEList<Price>(Price.class, this, InheritancemappingPackage.CONTENT_LIST__PRICE);
- }
- return price;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case InheritancemappingPackage.CONTENT_LIST__NAME:
- return getName();
- case InheritancemappingPackage.CONTENT_LIST__ADDRESS:
- return getAddress();
- case InheritancemappingPackage.CONTENT_LIST__PRICE:
- return getPrice();
- }
- 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 InheritancemappingPackage.CONTENT_LIST__NAME:
- setName((String)newValue);
- return;
- case InheritancemappingPackage.CONTENT_LIST__ADDRESS:
- getAddress().clear();
- getAddress().addAll((Collection<? extends Address>)newValue);
- return;
- case InheritancemappingPackage.CONTENT_LIST__PRICE:
- getPrice().clear();
- getPrice().addAll((Collection<? extends Price>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.CONTENT_LIST__NAME:
- setName(NAME_EDEFAULT);
- return;
- case InheritancemappingPackage.CONTENT_LIST__ADDRESS:
- getAddress().clear();
- return;
- case InheritancemappingPackage.CONTENT_LIST__PRICE:
- getPrice().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.CONTENT_LIST__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case InheritancemappingPackage.CONTENT_LIST__ADDRESS:
- return address != null && !address.isEmpty();
- case InheritancemappingPackage.CONTENT_LIST__PRICE:
- return price != null && !price.isEmpty();
- }
- 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();
- }
-
-} //ContentListImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/CustomerImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/CustomerImpl.java
deleted file mode 100644
index df7798df1..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/CustomerImpl.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CustomerImpl.java,v 1.1 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-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;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Customer;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Customer</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CustomerImpl extends EObjectImpl implements Customer {
- /**
- * 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 CustomerImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.CUSTOMER;
- }
-
- /**
- * <!-- 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, InheritancemappingPackage.CUSTOMER__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case InheritancemappingPackage.CUSTOMER__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 InheritancemappingPackage.CUSTOMER__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 InheritancemappingPackage.CUSTOMER__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.CUSTOMER__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();
- }
-
-} //CustomerImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/DistrictUKAddressImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/DistrictUKAddressImpl.java
deleted file mode 100644
index 2d2d706cf..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/DistrictUKAddressImpl.java
+++ /dev/null
@@ -1,197 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DistrictUKAddressImpl.java,v 1.4 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>District UK Address</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl#getDistrict <em>District</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DistrictUKAddressImpl extends UKAddressImpl implements DistrictUKAddress {
- /**
- * The default value of the '{@link #getDistrict() <em>District</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDistrict()
- * @generated
- * @ordered
- */
- protected static final String DISTRICT_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getDistrict() <em>District</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getDistrict()
- * @generated
- * @ordered
- */
- protected String district = DISTRICT_EDEFAULT;
-
- /**
- * This is true if the District attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean districtESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DistrictUKAddressImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.DISTRICT_UK_ADDRESS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getDistrict() {
- return district;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDistrict(String newDistrict) {
- String oldDistrict = district;
- district = newDistrict;
- boolean oldDistrictESet = districtESet;
- districtESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, InheritancemappingPackage.DISTRICT_UK_ADDRESS__DISTRICT, oldDistrict, district, !oldDistrictESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetDistrict() {
- String oldDistrict = district;
- boolean oldDistrictESet = districtESet;
- district = DISTRICT_EDEFAULT;
- districtESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, InheritancemappingPackage.DISTRICT_UK_ADDRESS__DISTRICT, oldDistrict, DISTRICT_EDEFAULT, oldDistrictESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetDistrict() {
- return districtESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case InheritancemappingPackage.DISTRICT_UK_ADDRESS__DISTRICT:
- return getDistrict();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case InheritancemappingPackage.DISTRICT_UK_ADDRESS__DISTRICT:
- setDistrict((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.DISTRICT_UK_ADDRESS__DISTRICT:
- unsetDistrict();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.DISTRICT_UK_ADDRESS__DISTRICT:
- return isSetDistrict();
- }
- 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(" (district: ");
- if (districtESet) result.append(district); else result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
-} //DistrictUKAddressImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InheritancemappingFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InheritancemappingFactoryImpl.java
deleted file mode 100644
index 5c6199c66..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InheritancemappingFactoryImpl.java
+++ /dev/null
@@ -1,300 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: InheritancemappingFactoryImpl.java,v 1.9 2008/03/12 07:30:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.*;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingFactory;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class InheritancemappingFactoryImpl extends EFactoryImpl implements InheritancemappingFactory {
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public static InheritancemappingFactory init() {
- try {
- InheritancemappingFactory theInheritancemappingFactory = (InheritancemappingFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping");
- if (theInheritancemappingFactory != null) {
- return theInheritancemappingFactory;
- }
- }
- catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new InheritancemappingFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InheritancemappingFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case InheritancemappingPackage.CONTENT_LIST: return createContentList();
- case InheritancemappingPackage.DISTRICT_UK_ADDRESS: return createDistrictUKAddress();
- case InheritancemappingPackage.INTERNATIONAL_PRICE: return createInternationalPrice();
- case InheritancemappingPackage.PRICE: return createPrice();
- case InheritancemappingPackage.UK_ADDRESS: return createUKAddress();
- case InheritancemappingPackage.US_ADDRESS: return createUSAddress();
- case InheritancemappingPackage.CUSTOMER: return createCustomer();
- case InheritancemappingPackage.SPECIFIC_CUSTOMER: return createSpecificCustomer();
- case InheritancemappingPackage.UK_ADDRESS_LIST: return createUKAddressList();
- case InheritancemappingPackage.PARENT_ONE: return createParentOne();
- case InheritancemappingPackage.PARENT_TWO: return createParentTwo();
- case InheritancemappingPackage.CHILD_ONE: return createChildOne();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue) {
- switch (eDataType.getClassifierID()) {
- case InheritancemappingPackage.US_STATE:
- return createUSStateFromString(eDataType, initialValue);
- case InheritancemappingPackage.US_STATE_OBJECT:
- return createUSStateObjectFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue) {
- switch (eDataType.getClassifierID()) {
- case InheritancemappingPackage.US_STATE:
- return convertUSStateToString(eDataType, instanceValue);
- case InheritancemappingPackage.US_STATE_OBJECT:
- return convertUSStateObjectToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ContentList createContentList() {
- ContentListImpl contentList = new ContentListImpl();
- return contentList;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DistrictUKAddress createDistrictUKAddress() {
- DistrictUKAddressImpl districtUKAddress = new DistrictUKAddressImpl();
- return districtUKAddress;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InternationalPrice createInternationalPrice() {
- InternationalPriceImpl internationalPrice = new InternationalPriceImpl();
- return internationalPrice;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Price createPrice() {
- PriceImpl price = new PriceImpl();
- return price;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UKAddress createUKAddress() {
- UKAddressImpl ukAddress = new UKAddressImpl();
- return ukAddress;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public USAddress createUSAddress() {
- USAddressImpl usAddress = new USAddressImpl();
- return usAddress;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public Customer createCustomer() {
- CustomerImpl customer = new CustomerImpl();
- return customer;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SpecificCustomer createSpecificCustomer() {
- SpecificCustomerImpl specificCustomer = new SpecificCustomerImpl();
- return specificCustomer;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public UKAddressList createUKAddressList() {
- UKAddressListImpl ukAddressList = new UKAddressListImpl();
- return ukAddressList;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ParentOne createParentOne() {
- ParentOneImpl parentOne = new ParentOneImpl();
- return parentOne;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ParentTwo createParentTwo() {
- ParentTwoImpl parentTwo = new ParentTwoImpl();
- return parentTwo;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ChildOne createChildOne() {
- ChildOneImpl childOne = new ChildOneImpl();
- return childOne;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public USState createUSStateFromString(EDataType eDataType, String initialValue) {
- USState result = USState.get(initialValue);
- if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
- return result;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertUSStateToString(EDataType eDataType, Object instanceValue) {
- return instanceValue == null ? null : instanceValue.toString();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public USState createUSStateObjectFromString(EDataType eDataType, String initialValue) {
- return createUSStateFromString(InheritancemappingPackage.Literals.US_STATE, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String convertUSStateObjectToString(EDataType eDataType, Object instanceValue) {
- return convertUSStateToString(InheritancemappingPackage.Literals.US_STATE, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InheritancemappingPackage getInheritancemappingPackage() {
- return (InheritancemappingPackage)getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @deprecated
- * @generated
- */
- @Deprecated
- public static InheritancemappingPackage getPackage() {
- return InheritancemappingPackage.eINSTANCE;
- }
-
-} //InheritancemappingFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InheritancemappingPackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InheritancemappingPackageImpl.java
deleted file mode 100644
index 054579e7e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InheritancemappingPackageImpl.java
+++ /dev/null
@@ -1,954 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: InheritancemappingPackageImpl.java,v 1.10 2009/09/13 14:45:36 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EEnum;
-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;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ChildOne;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Customer;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingFactory;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentOne;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentTwo;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.SpecificCustomer;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- * @generated
- */
-public class InheritancemappingPackageImpl extends EPackageImpl implements InheritancemappingPackage {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass addressEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass contentListEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass districtUKAddressEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass internationalPriceEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass priceEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass ukAddressEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass usAddressEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass customerEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass specificCustomerEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass ukAddressListEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass parentOneEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass parentTwoEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass childOneEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EEnum usStateEEnum = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EDataType usStateObjectEDataType = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private InheritancemappingPackageImpl() {
- super(eNS_URI, InheritancemappingFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>This method is used to initialize {@link InheritancemappingPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static InheritancemappingPackage init() {
- if (isInited) return (InheritancemappingPackage)EPackage.Registry.INSTANCE.getEPackage(InheritancemappingPackage.eNS_URI);
-
- // Obtain or create and register package
- InheritancemappingPackageImpl theInheritancemappingPackage = (InheritancemappingPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof InheritancemappingPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new InheritancemappingPackageImpl());
-
- isInited = true;
-
- // Initialize simple dependencies
- XMLTypePackage.eINSTANCE.eClass();
-
- // Create package meta-data objects
- theInheritancemappingPackage.createPackageContents();
-
- // Initialize created meta-data
- theInheritancemappingPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theInheritancemappingPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(InheritancemappingPackage.eNS_URI, theInheritancemappingPackage);
- return theInheritancemappingPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getAddress() {
- return addressEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAddress_Name() {
- return (EAttribute)addressEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAddress_Street() {
- return (EAttribute)addressEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getAddress_City() {
- return (EAttribute)addressEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getContentList() {
- return contentListEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getContentList_Name() {
- return (EAttribute)contentListEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getContentList_Address() {
- return (EReference)contentListEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getContentList_Price() {
- return (EReference)contentListEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getDistrictUKAddress() {
- return districtUKAddressEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getDistrictUKAddress_District() {
- return (EAttribute)districtUKAddressEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getInternationalPrice() {
- return internationalPriceEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getInternationalPrice_Currency() {
- return (EAttribute)internationalPriceEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getPrice() {
- return priceEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPrice_Name() {
- return (EAttribute)priceEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getPrice_Value() {
- return (EAttribute)priceEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getUKAddress() {
- return ukAddressEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUKAddress_Postcode() {
- return (EAttribute)ukAddressEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getUSAddress() {
- return usAddressEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUSAddress_State() {
- return (EAttribute)usAddressEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUSAddress_Zip() {
- return (EAttribute)usAddressEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCustomer() {
- return customerEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getCustomer_Name() {
- return (EAttribute)customerEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSpecificCustomer() {
- return specificCustomerEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getSpecificCustomer_SpecificName() {
- return (EAttribute)specificCustomerEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getUKAddressList() {
- return ukAddressListEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUKAddressList_Name() {
- return (EAttribute)ukAddressListEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getUKAddressList_Address() {
- return (EReference)ukAddressListEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getParentOne() {
- return parentOneEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getParentTwo() {
- return parentTwoEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getChildOne() {
- return childOneEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EEnum getUSState() {
- return usStateEEnum;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EDataType getUSStateObject() {
- return usStateObjectEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InheritancemappingFactory getInheritancemappingFactory() {
- return (InheritancemappingFactory)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
- addressEClass = createEClass(ADDRESS);
- createEAttribute(addressEClass, ADDRESS__NAME);
- createEAttribute(addressEClass, ADDRESS__STREET);
- createEAttribute(addressEClass, ADDRESS__CITY);
-
- contentListEClass = createEClass(CONTENT_LIST);
- createEAttribute(contentListEClass, CONTENT_LIST__NAME);
- createEReference(contentListEClass, CONTENT_LIST__ADDRESS);
- createEReference(contentListEClass, CONTENT_LIST__PRICE);
-
- districtUKAddressEClass = createEClass(DISTRICT_UK_ADDRESS);
- createEAttribute(districtUKAddressEClass, DISTRICT_UK_ADDRESS__DISTRICT);
-
- internationalPriceEClass = createEClass(INTERNATIONAL_PRICE);
- createEAttribute(internationalPriceEClass, INTERNATIONAL_PRICE__CURRENCY);
-
- priceEClass = createEClass(PRICE);
- createEAttribute(priceEClass, PRICE__NAME);
- createEAttribute(priceEClass, PRICE__VALUE);
-
- ukAddressEClass = createEClass(UK_ADDRESS);
- createEAttribute(ukAddressEClass, UK_ADDRESS__POSTCODE);
-
- usAddressEClass = createEClass(US_ADDRESS);
- createEAttribute(usAddressEClass, US_ADDRESS__STATE);
- createEAttribute(usAddressEClass, US_ADDRESS__ZIP);
-
- customerEClass = createEClass(CUSTOMER);
- createEAttribute(customerEClass, CUSTOMER__NAME);
-
- specificCustomerEClass = createEClass(SPECIFIC_CUSTOMER);
- createEAttribute(specificCustomerEClass, SPECIFIC_CUSTOMER__SPECIFIC_NAME);
-
- ukAddressListEClass = createEClass(UK_ADDRESS_LIST);
- createEAttribute(ukAddressListEClass, UK_ADDRESS_LIST__NAME);
- createEReference(ukAddressListEClass, UK_ADDRESS_LIST__ADDRESS);
-
- parentOneEClass = createEClass(PARENT_ONE);
-
- parentTwoEClass = createEClass(PARENT_TWO);
-
- childOneEClass = createEClass(CHILD_ONE);
-
- // Create enums
- usStateEEnum = createEEnum(US_STATE);
-
- // Create data types
- usStateObjectEDataType = createEDataType(US_STATE_OBJECT);
- }
-
- /**
- * <!-- 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
- districtUKAddressEClass.getESuperTypes().add(this.getUKAddress());
- internationalPriceEClass.getESuperTypes().add(this.getPrice());
- ukAddressEClass.getESuperTypes().add(this.getAddress());
- usAddressEClass.getESuperTypes().add(this.getAddress());
- specificCustomerEClass.getESuperTypes().add(this.getCustomer());
- childOneEClass.getESuperTypes().add(this.getParentOne());
- childOneEClass.getESuperTypes().add(this.getParentTwo());
-
- // Initialize classes and features; add operations and parameters
- initEClass(addressEClass, Address.class, "Address", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getAddress_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, Address.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAddress_Street(), theXMLTypePackage.getString(), "street", null, 1, 1, Address.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getAddress_City(), theXMLTypePackage.getString(), "city", null, 1, 1, Address.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(contentListEClass, ContentList.class, "ContentList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getContentList_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, ContentList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getContentList_Address(), this.getAddress(), null, "address", null, 1, -1, ContentList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getContentList_Price(), this.getPrice(), null, "price", null, 1, -1, ContentList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(districtUKAddressEClass, DistrictUKAddress.class, "DistrictUKAddress", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getDistrictUKAddress_District(), theXMLTypePackage.getString(), "district", null, 1, 1, DistrictUKAddress.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(internationalPriceEClass, InternationalPrice.class, "InternationalPrice", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getInternationalPrice_Currency(), theXMLTypePackage.getString(), "currency", null, 1, 1, InternationalPrice.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(priceEClass, Price.class, "Price", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPrice_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, Price.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPrice_Value(), theXMLTypePackage.getDecimal(), "value", null, 1, 1, Price.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(ukAddressEClass, UKAddress.class, "UKAddress", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getUKAddress_Postcode(), theXMLTypePackage.getString(), "postcode", null, 1, 1, UKAddress.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(usAddressEClass, USAddress.class, "USAddress", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getUSAddress_State(), this.getUSState(), "state", "AK", 1, 1, USAddress.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getUSAddress_Zip(), theXMLTypePackage.getPositiveInteger(), "zip", null, 1, 1, USAddress.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(customerEClass, Customer.class, "Customer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getCustomer_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, Customer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(specificCustomerEClass, SpecificCustomer.class, "SpecificCustomer", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getSpecificCustomer_SpecificName(), theXMLTypePackage.getString(), "specificName", null, 0, 1, SpecificCustomer.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(ukAddressListEClass, UKAddressList.class, "UKAddressList", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getUKAddressList_Name(), theXMLTypePackage.getString(), "name", null, 1, 1, UKAddressList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getUKAddressList_Address(), this.getUKAddress(), null, "address", null, 0, -1, UKAddressList.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(parentOneEClass, ParentOne.class, "ParentOne", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(parentTwoEClass, ParentTwo.class, "ParentTwo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- initEClass(childOneEClass, ChildOne.class, "ChildOne", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
-
- // Initialize enums and add enum literals
- initEEnum(usStateEEnum, USState.class, "USState");
- addEEnumLiteral(usStateEEnum, USState.AK_LITERAL);
- addEEnumLiteral(usStateEEnum, USState.AL_LITERAL);
- addEEnumLiteral(usStateEEnum, USState.AR_LITERAL);
-
- // Initialize data types
- initEDataType(usStateObjectEDataType, USState.class, "USStateObject", IS_SERIALIZABLE, IS_GENERATED_INSTANCE_CLASS);
-
- // Create resource
- createResource(eNS_URI);
-
- // Create annotations
- // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
- createExtendedMetaDataAnnotations();
- // teneo.jpa
- createTeneoAnnotations();
- }
-
- /**
- * Initializes the annotations for <b>teneo.jpa</b>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void createTeneoAnnotations() {
- String source = "teneo.jpa";
- addAnnotation
- (addressEClass,
- source,
- new String[] {
- "appinfo", "@Inheritance(strategy=JOINED)\n\t\t\t"
- });
- addAnnotation
- (getAddress_Name(),
- source,
- new String[] {
- "appinfo", "@Id"
- });
- addAnnotation
- (getContentList_Name(),
- source,
- new String[] {
- "appinfo", "@Id"
- });
- addAnnotation
- (internationalPriceEClass,
- source,
- new String[] {
- "appinfo", "\n\t\t\t\t@DiscriminatorValue(\"myInternationalPrice\")\n\t\t\t"
- });
- addAnnotation
- (priceEClass,
- source,
- new String[] {
- "appinfo", "\n\t\t\t\t@Table(name=\"myprice\")\n\t\t\t\t@Inheritance(strategy=SINGLE_TABLE)\n\t\t\t\t@DiscriminatorColumn(name=\"DISCRIMINATOR\", discriminatorType=STRING, column=@Column(index=\"discrIndex,ohterindex\", length=120))\n\t\t\t\t@DiscriminatorValue(\"myPrice\")\n\t\t\t"
- });
- addAnnotation
- (usAddressEClass,
- source,
- new String[] {
- "appinfo", "@Table(name=\"UNITEDSTATESADDRESS\")\n\t\t\t"
- });
- addAnnotation
- (customerEClass,
- source,
- new String[] {
- "appinfo", "\t\t\t\t@Inheritance(strategy=TABLE_PER_CLASS)\t\t\t"
- });
- addAnnotation
- (getCustomer_Name(),
- source,
- new String[] {
- "appinfo", "@Id"
- });
- addAnnotation
- (getUKAddressList_Name(),
- source,
- new String[] {
- "appinfo", "@Id"
- });
- }
-
- /**
- * 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
- (addressEClass,
- source,
- new String[] {
- "name", "Address",
- "kind", "elementOnly"
- });
- addAnnotation
- (getAddress_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name"
- });
- addAnnotation
- (getAddress_Street(),
- source,
- new String[] {
- "kind", "element",
- "name", "street"
- });
- addAnnotation
- (getAddress_City(),
- source,
- new String[] {
- "kind", "element",
- "name", "city"
- });
- addAnnotation
- (contentListEClass,
- source,
- new String[] {
- "name", "contentList",
- "kind", "elementOnly"
- });
- addAnnotation
- (getContentList_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name"
- });
- addAnnotation
- (getContentList_Address(),
- source,
- new String[] {
- "kind", "element",
- "name", "address"
- });
- addAnnotation
- (getContentList_Price(),
- source,
- new String[] {
- "kind", "element",
- "name", "price"
- });
- addAnnotation
- (districtUKAddressEClass,
- source,
- new String[] {
- "name", "DistrictUKAddress",
- "kind", "elementOnly"
- });
- addAnnotation
- (getDistrictUKAddress_District(),
- source,
- new String[] {
- "kind", "element",
- "name", "district"
- });
- addAnnotation
- (internationalPriceEClass,
- source,
- new String[] {
- "name", "InternationalPrice",
- "kind", "elementOnly"
- });
- addAnnotation
- (getInternationalPrice_Currency(),
- source,
- new String[] {
- "kind", "element",
- "name", "currency"
- });
- addAnnotation
- (priceEClass,
- source,
- new String[] {
- "name", "Price",
- "kind", "elementOnly"
- });
- addAnnotation
- (getPrice_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name"
- });
- addAnnotation
- (getPrice_Value(),
- source,
- new String[] {
- "kind", "element",
- "name", "value"
- });
- addAnnotation
- (ukAddressEClass,
- source,
- new String[] {
- "name", "UKAddress",
- "kind", "elementOnly"
- });
- addAnnotation
- (getUKAddress_Postcode(),
- source,
- new String[] {
- "kind", "element",
- "name", "postcode"
- });
- addAnnotation
- (usAddressEClass,
- source,
- new String[] {
- "name", "USAddress",
- "kind", "elementOnly"
- });
- addAnnotation
- (getUSAddress_State(),
- source,
- new String[] {
- "kind", "element",
- "name", "state"
- });
- addAnnotation
- (getUSAddress_Zip(),
- source,
- new String[] {
- "kind", "element",
- "name", "zip"
- });
- addAnnotation
- (customerEClass,
- source,
- new String[] {
- "name", "Price",
- "kind", "elementOnly"
- });
- addAnnotation
- (getCustomer_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name"
- });
- addAnnotation
- (specificCustomerEClass,
- source,
- new String[] {
- "name", "Price",
- "kind", "elementOnly"
- });
- addAnnotation
- (getSpecificCustomer_SpecificName(),
- source,
- new String[] {
- "kind", "element",
- "name", "name"
- });
- addAnnotation
- (usStateEEnum,
- source,
- new String[] {
- "name", "USState"
- });
- addAnnotation
- (usStateObjectEDataType,
- source,
- new String[] {
- "name", "USState:Object",
- "baseType", "USState"
- });
- addAnnotation
- (ukAddressListEClass,
- source,
- new String[] {
- "name", "contentList",
- "kind", "elementOnly"
- });
- addAnnotation
- (getUKAddressList_Name(),
- source,
- new String[] {
- "kind", "element",
- "name", "name"
- });
- addAnnotation
- (getUKAddressList_Address(),
- source,
- new String[] {
- "kind", "element",
- "name", "address"
- });
- }
-
-} //InheritancemappingPackageImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InternationalPriceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InternationalPriceImpl.java
deleted file mode 100644
index d5bf68cf8..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/InternationalPriceImpl.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: InternationalPriceImpl.java,v 1.3 2007/02/08 23:09:20 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>International Price</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl#getCurrency <em>Currency</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class InternationalPriceImpl extends PriceImpl implements InternationalPrice {
- /**
- * The default value of the '{@link #getCurrency() <em>Currency</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCurrency()
- * @generated
- * @ordered
- */
- protected static final String CURRENCY_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getCurrency() <em>Currency</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getCurrency()
- * @generated
- * @ordered
- */
- protected String currency = CURRENCY_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected InternationalPriceImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.INTERNATIONAL_PRICE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getCurrency() {
- return currency;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setCurrency(String newCurrency) {
- String oldCurrency = currency;
- currency = newCurrency;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, InheritancemappingPackage.INTERNATIONAL_PRICE__CURRENCY, oldCurrency, currency));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case InheritancemappingPackage.INTERNATIONAL_PRICE__CURRENCY:
- return getCurrency();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case InheritancemappingPackage.INTERNATIONAL_PRICE__CURRENCY:
- setCurrency((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.INTERNATIONAL_PRICE__CURRENCY:
- setCurrency(CURRENCY_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.INTERNATIONAL_PRICE__CURRENCY:
- return CURRENCY_EDEFAULT == null ? currency != null : !CURRENCY_EDEFAULT.equals(currency);
- }
- 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(" (currency: ");
- result.append(currency);
- result.append(')');
- return result.toString();
- }
-
-} //InternationalPriceImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ParentOneImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ParentOneImpl.java
deleted file mode 100644
index 2ddf7ef5c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ParentOneImpl.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ParentOneImpl.java,v 1.1 2008/03/12 07:30:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentOne;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Parent One</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class ParentOneImpl extends EObjectImpl implements ParentOne {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ParentOneImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.PARENT_ONE;
- }
-
-} //ParentOneImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ParentTwoImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ParentTwoImpl.java
deleted file mode 100644
index 7194ed8a2..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/ParentTwoImpl.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ParentTwoImpl.java,v 1.1 2008/03/12 07:30:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentTwo;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Parent Two</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class ParentTwoImpl extends EObjectImpl implements ParentTwo {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ParentTwoImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.PARENT_TWO;
- }
-
-} //ParentTwoImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/PriceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/PriceImpl.java
deleted file mode 100644
index 455c09601..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/PriceImpl.java
+++ /dev/null
@@ -1,220 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: PriceImpl.java,v 1.3 2007/02/08 23:09:20 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-import java.math.BigDecimal;
-
-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;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Price</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PriceImpl extends EObjectImpl implements Price {
- /**
- * 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;
-
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final BigDecimal VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected BigDecimal value = VALUE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected PriceImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.PRICE;
- }
-
- /**
- * <!-- 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, InheritancemappingPackage.PRICE__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BigDecimal getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(BigDecimal newValue) {
- BigDecimal oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, InheritancemappingPackage.PRICE__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case InheritancemappingPackage.PRICE__NAME:
- return getName();
- case InheritancemappingPackage.PRICE__VALUE:
- return getValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case InheritancemappingPackage.PRICE__NAME:
- setName((String)newValue);
- return;
- case InheritancemappingPackage.PRICE__VALUE:
- setValue((BigDecimal)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.PRICE__NAME:
- setName(NAME_EDEFAULT);
- return;
- case InheritancemappingPackage.PRICE__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.PRICE__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case InheritancemappingPackage.PRICE__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- }
- 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(", value: ");
- result.append(value);
- result.append(')');
- return result.toString();
- }
-
-} //PriceImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/SpecificCustomerImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/SpecificCustomerImpl.java
deleted file mode 100644
index c78f24f40..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/SpecificCustomerImpl.java
+++ /dev/null
@@ -1,166 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SpecificCustomerImpl.java,v 1.1 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.SpecificCustomer;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Specific Customer</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl#getSpecificName <em>Specific Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SpecificCustomerImpl extends CustomerImpl implements SpecificCustomer {
- /**
- * The default value of the '{@link #getSpecificName() <em>Specific Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSpecificName()
- * @generated
- * @ordered
- */
- protected static final String SPECIFIC_NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSpecificName() <em>Specific Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getSpecificName()
- * @generated
- * @ordered
- */
- protected String specificName = SPECIFIC_NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SpecificCustomerImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.SPECIFIC_CUSTOMER;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getSpecificName() {
- return specificName;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setSpecificName(String newSpecificName) {
- String oldSpecificName = specificName;
- specificName = newSpecificName;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, InheritancemappingPackage.SPECIFIC_CUSTOMER__SPECIFIC_NAME, oldSpecificName, specificName));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case InheritancemappingPackage.SPECIFIC_CUSTOMER__SPECIFIC_NAME:
- return getSpecificName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case InheritancemappingPackage.SPECIFIC_CUSTOMER__SPECIFIC_NAME:
- setSpecificName((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.SPECIFIC_CUSTOMER__SPECIFIC_NAME:
- setSpecificName(SPECIFIC_NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.SPECIFIC_CUSTOMER__SPECIFIC_NAME:
- return SPECIFIC_NAME_EDEFAULT == null ? specificName != null : !SPECIFIC_NAME_EDEFAULT.equals(specificName);
- }
- 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(" (specificName: ");
- result.append(specificName);
- result.append(')');
- return result.toString();
- }
-
-} //SpecificCustomerImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/UKAddressImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/UKAddressImpl.java
deleted file mode 100644
index 7d2eb8aee..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/UKAddressImpl.java
+++ /dev/null
@@ -1,163 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UKAddressImpl.java,v 1.3 2007/02/08 23:09:20 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>UK Address</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl#getPostcode <em>Postcode</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class UKAddressImpl extends AddressImpl implements UKAddress {
- /**
- * The default value of the '{@link #getPostcode() <em>Postcode</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPostcode()
- * @generated
- * @ordered
- */
- protected static final String POSTCODE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPostcode() <em>Postcode</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getPostcode()
- * @generated
- * @ordered
- */
- protected String postcode = POSTCODE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected UKAddressImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.UK_ADDRESS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getPostcode() {
- return postcode;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setPostcode(String newPostcode) {
- String oldPostcode = postcode;
- postcode = newPostcode;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, InheritancemappingPackage.UK_ADDRESS__POSTCODE, oldPostcode, postcode));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case InheritancemappingPackage.UK_ADDRESS__POSTCODE:
- return getPostcode();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case InheritancemappingPackage.UK_ADDRESS__POSTCODE:
- setPostcode((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.UK_ADDRESS__POSTCODE:
- setPostcode(POSTCODE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.UK_ADDRESS__POSTCODE:
- return POSTCODE_EDEFAULT == null ? postcode != null : !POSTCODE_EDEFAULT.equals(postcode);
- }
- 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(" (postcode: ");
- result.append(postcode);
- result.append(')');
- return result.toString();
- }
-
-} //UKAddressImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/UKAddressListImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/UKAddressListImpl.java
deleted file mode 100644
index 93252d00a..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/UKAddressListImpl.java
+++ /dev/null
@@ -1,226 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UKAddressListImpl.java,v 1.1 2008/03/10 22:19:03 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-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;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>UK Address List</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl#getAddress <em>Address</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class UKAddressListImpl extends EObjectImpl implements UKAddressList {
- /**
- * 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;
-
- /**
- * The cached value of the '{@link #getAddress() <em>Address</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getAddress()
- * @generated
- * @ordered
- */
- protected EList<UKAddress> address;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected UKAddressListImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.UK_ADDRESS_LIST;
- }
-
- /**
- * <!-- 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, InheritancemappingPackage.UK_ADDRESS_LIST__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<UKAddress> getAddress() {
- if (address == null) {
- address = new EObjectContainmentEList<UKAddress>(UKAddress.class, this, InheritancemappingPackage.UK_ADDRESS_LIST__ADDRESS);
- }
- return address;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case InheritancemappingPackage.UK_ADDRESS_LIST__ADDRESS:
- return ((InternalEList<?>)getAddress()).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 InheritancemappingPackage.UK_ADDRESS_LIST__NAME:
- return getName();
- case InheritancemappingPackage.UK_ADDRESS_LIST__ADDRESS:
- return getAddress();
- }
- 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 InheritancemappingPackage.UK_ADDRESS_LIST__NAME:
- setName((String)newValue);
- return;
- case InheritancemappingPackage.UK_ADDRESS_LIST__ADDRESS:
- getAddress().clear();
- getAddress().addAll((Collection<? extends UKAddress>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.UK_ADDRESS_LIST__NAME:
- setName(NAME_EDEFAULT);
- return;
- case InheritancemappingPackage.UK_ADDRESS_LIST__ADDRESS:
- getAddress().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.UK_ADDRESS_LIST__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case InheritancemappingPackage.UK_ADDRESS_LIST__ADDRESS:
- return address != null && !address.isEmpty();
- }
- 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();
- }
-
-} //UKAddressListImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/USAddressImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/USAddressImpl.java
deleted file mode 100644
index f4c3ec280..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/USAddressImpl.java
+++ /dev/null
@@ -1,288 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: USAddressImpl.java,v 1.4 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl;
-
-import java.math.BigInteger;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>US Address</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl#getState <em>State</em>}</li>
- * <li>{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl#getZip <em>Zip</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class USAddressImpl extends AddressImpl implements USAddress {
- /**
- * The default value of the '{@link #getState() <em>State</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getState()
- * @generated
- * @ordered
- */
- protected static final USState STATE_EDEFAULT = USState.AK_LITERAL;
-
- /**
- * The cached value of the '{@link #getState() <em>State</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getState()
- * @generated
- * @ordered
- */
- protected USState state = STATE_EDEFAULT;
-
- /**
- * This is true if the State attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean stateESet;
-
- /**
- * The default value of the '{@link #getZip() <em>Zip</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getZip()
- * @generated
- * @ordered
- */
- protected static final BigInteger ZIP_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getZip() <em>Zip</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getZip()
- * @generated
- * @ordered
- */
- protected BigInteger zip = ZIP_EDEFAULT;
-
- /**
- * This is true if the Zip attribute has been set.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- protected boolean zipESet;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected USAddressImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return InheritancemappingPackage.Literals.US_ADDRESS;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public USState getState() {
- return state;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setState(USState newState) {
- USState oldState = state;
- state = newState == null ? STATE_EDEFAULT : newState;
- boolean oldStateESet = stateESet;
- stateESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, InheritancemappingPackage.US_ADDRESS__STATE, oldState, state, !oldStateESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetState() {
- USState oldState = state;
- boolean oldStateESet = stateESet;
- state = STATE_EDEFAULT;
- stateESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, InheritancemappingPackage.US_ADDRESS__STATE, oldState, STATE_EDEFAULT, oldStateESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetState() {
- return stateESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public BigInteger getZip() {
- return zip;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setZip(BigInteger newZip) {
- BigInteger oldZip = zip;
- zip = newZip;
- boolean oldZipESet = zipESet;
- zipESet = true;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, InheritancemappingPackage.US_ADDRESS__ZIP, oldZip, zip, !oldZipESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void unsetZip() {
- BigInteger oldZip = zip;
- boolean oldZipESet = zipESet;
- zip = ZIP_EDEFAULT;
- zipESet = false;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.UNSET, InheritancemappingPackage.US_ADDRESS__ZIP, oldZip, ZIP_EDEFAULT, oldZipESet));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isSetZip() {
- return zipESet;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case InheritancemappingPackage.US_ADDRESS__STATE:
- return getState();
- case InheritancemappingPackage.US_ADDRESS__ZIP:
- return getZip();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case InheritancemappingPackage.US_ADDRESS__STATE:
- setState((USState)newValue);
- return;
- case InheritancemappingPackage.US_ADDRESS__ZIP:
- setZip((BigInteger)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.US_ADDRESS__STATE:
- unsetState();
- return;
- case InheritancemappingPackage.US_ADDRESS__ZIP:
- unsetZip();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case InheritancemappingPackage.US_ADDRESS__STATE:
- return isSetState();
- case InheritancemappingPackage.US_ADDRESS__ZIP:
- return isSetZip();
- }
- 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(" (state: ");
- if (stateESet) result.append(state); else result.append("<unset>");
- result.append(", zip: ");
- if (zipESet) result.append(zip); else result.append("<unset>");
- result.append(')');
- return result.toString();
- }
-
-} //USAddressImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/package.jdo b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/package.jdo
deleted file mode 100644
index 141539810..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/impl/package.jdo
+++ /dev/null
@@ -1,151 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-
-<jdo>
- <package name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl">
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="address" identity-type="application">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address"/>
- <implements name="org.eclipse.emf.ecore.EObject"/>
- <implements name="org.eclipse.emf.common.notify.Notifier"/>
- <inheritance strategy="new-table"/>
- <version strategy="version-number" column="e_version"/>
- <field name="name" persistence-modifier="persistent" primary-key="true"/>
- <field name="street" persistence-modifier="persistent" null-value="exception"/>
- <field name="city" persistence-modifier="persistent" null-value="exception"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="contentlist" identity-type="application">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList"/>
- <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="ContentList"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="name" persistence-modifier="persistent" primary-key="true"/>
- <field name="address" persistence-modifier="persistent" delete-action="restrict">
- <collection element-type="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" dependent-element="false">
- <extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
- </collection>
- <element>
- <column name="contentlist_address_name" allows-null="true"/>
- </element>
- <order column="CONTENTLIST_ADDRESS_IDX"/>
- <foreign-key delete-action="restrict" update-action="cascade" name="contentlist_address"/>
- </field>
- <field name="price" persistence-modifier="persistent" delete-action="restrict">
- <collection element-type="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" dependent-element="false">
- <extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
- </collection>
- <element>
- <column name="contentlist_price_name" allows-null="true"/>
- </element>
- <order column="CONTENTLIST_PRICE_IDX"/>
- <foreign-key delete-action="restrict" update-action="cascade" name="contentlist_price"/>
- </field>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="districtukaddress" identity-type="application">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress"/>
- <inheritance strategy="new-table"/>
- <version strategy="version-number" column="e_version"/>
- <field name="district" persistence-modifier="persistent" null-value="exception"/>
- <field name="districtESet" persistence-modifier="persistent"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice"/>
- <inheritance strategy="superclass-table">
- <discriminator value="myInternationalPrice"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="currency" persistence-modifier="persistent" null-value="none"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="myprice" identity-type="datastore">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price"/>
- <implements name="org.eclipse.emf.ecore.EObject"/>
- <implements name="org.eclipse.emf.common.notify.Notifier"/>
- <inheritance strategy="new-table">
- <discriminator column="DISCRIMINATOR" strategy="value-map" value="myPrice"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="name" persistence-modifier="persistent" null-value="exception"/>
- <field name="value" persistence-modifier="persistent" null-value="exception" embedded="true"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="ukaddress" identity-type="application">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress"/>
- <inheritance strategy="new-table"/>
- <version strategy="version-number" column="e_version"/>
- <field name="postcode" persistence-modifier="persistent" null-value="exception"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="UNITEDSTATESADDRESS" identity-type="application">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress"/>
- <inheritance strategy="new-table"/>
- <version strategy="version-number" column="e_version"/>
- <field name="state" persistence-modifier="persistent" null-value="exception" embedded="true"/>
- <field name="stateESet" persistence-modifier="persistent"/>
- <field name="zip" persistence-modifier="persistent" null-value="exception" embedded="true"/>
- <field name="zipESet" persistence-modifier="persistent"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.CustomerImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="customer" identity-type="datastore">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Customer"/>
- <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="Customer"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="name" persistence-modifier="persistent" null-value="exception"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.SpecificCustomerImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.SpecificCustomer"/>
- <inheritance strategy="superclass-table">
- <discriminator value="SpecificCustomer"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="specificName" persistence-modifier="persistent" null-value="none"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressListImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="ukaddresslist" identity-type="datastore">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList"/>
- <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="UKAddressList"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- <field name="name" persistence-modifier="persistent" null-value="exception"/>
- <field name="address" persistence-modifier="persistent" delete-action="restrict">
- <collection element-type="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" dependent-element="true">
- <extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
- </collection>
- <element>
- <column name="ukaddresslist_address_e_id" allows-null="true"/>
- </element>
- <order column="UKADDRESSLIST_ADDRESS_IDX"/>
- <foreign-key delete-action="cascade" update-action="cascade" name="ukaddresslist_address"/>
- </field>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentOneImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="parentone" identity-type="datastore">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentOne"/>
- <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="ParentOne"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ParentTwoImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="parenttwo" identity-type="datastore">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentTwo"/>
- <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="ParentTwo"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- </class>
- <class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ChildOneImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
- <implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ChildOne"/>
- <inheritance strategy="superclass-table">
- <discriminator value="ChildOne"/>
- </inheritance>
- <version strategy="version-number" column="e_version"/>
- </class>
- </package>
-</jdo> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.ecore
deleted file mode 100644
index 47178a467..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.ecore
+++ /dev/null
@@ -1,232 +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="inheritancemapping"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping"
- nsPrefix="inheritancemapping">
- <eClassifiers xsi:type="ecore:EClass" name="Address" abstract="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Address"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Inheritance(strategy=JOINED)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Id"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="street" unique="false"
- 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="element"/>
- <details key="name" value="street"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="city" unique="false" 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="element"/>
- <details key="name" value="city"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ContentList">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="contentList"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Id"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="address" lowerBound="1"
- upperBound="-1" eType="#//Address" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="address"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="price" lowerBound="1" upperBound="-1"
- eType="#//Price" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="price"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DistrictUKAddress" eSuperTypes="#//UKAddress">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="DistrictUKAddress"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="district" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"
- unsettable="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="district"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="InternationalPrice" eSuperTypes="#//Price">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;@DiscriminatorValue(&quot;myInternationalPrice&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="InternationalPrice"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="currency" unique="false"
- 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="element"/>
- <details key="name" value="currency"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Price">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;@Table(name=&quot;myprice&quot;)&#xA;&#x9;&#x9;&#x9;&#x9;@Inheritance(strategy=SINGLE_TABLE)&#xA;&#x9;&#x9;&#x9;&#x9;@DiscriminatorColumn(name=&quot;DISCRIMINATOR&quot;, discriminatorType=STRING, column=@Column(index=&quot;discrIndex,ohterindex&quot;, length=120))&#xA;&#x9;&#x9;&#x9;&#x9;@DiscriminatorValue(&quot;myPrice&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Price"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" 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="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" unique="false" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Decimal">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="value"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="UKAddress" eSuperTypes="#//Address">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="UKAddress"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="postcode" unique="false"
- 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="element"/>
- <details key="name" value="postcode"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="USAddress" eSuperTypes="#//Address">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="USAddress"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Table(name=&quot;UNITEDSTATESADDRESS&quot;)&#xA;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="state" unique="false" lowerBound="1"
- eType="#//USState" defaultValueLiteral="AK" unsettable="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="state"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="zip" unique="false" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//PositiveInteger"
- unsettable="true">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="zip"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Customer">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#x9;&#x9;&#x9;&#x9;@Inheritance(strategy=TABLE_PER_CLASS)&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Price"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Id"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SpecificCustomer" eSuperTypes="#//Customer">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Price"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="specificName" unique="false"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="USState">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="USState"/>
- </eAnnotations>
- <eLiterals name="AK"/>
- <eLiterals name="AL" value="1"/>
- <eLiterals name="AR" value="2"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EDataType" name="USStateObject" instanceClassName="org.eclipse.emf.common.util.Enumerator">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="USState:Object"/>
- <details key="baseType" value="USState"/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="UKAddressList">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="contentList"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Id"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="address" upperBound="-1"
- eType="#//UKAddress" containment="true" resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="address"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ParentOne"/>
- <eClassifiers xsi:type="ecore:EClass" name="ParentTwo"/>
- <eClassifiers xsi:type="ecore:EClass" name="ChildOne" eSuperTypes="#//ParentOne #//ParentTwo"/>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.genmodel
deleted file mode 100644
index 6b6edb917..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/model/inheritancemapping.genmodel
+++ /dev/null
@@ -1,57 +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="inheritancemapping" importerID="org.eclipse.emf.importer.ecore"
- complianceLevel="5.0">
- <foreignModel>inheritancemapping.ecore</foreignModel>
- <genPackages prefix="Inheritancemapping" basePackage="org.eclipse.emf.teneo.samples.emf.annotations"
- resource="XML" disposableProviderFactory="true" ecorePackage="inheritancemapping.ecore#/">
- <genEnums ecoreEnum="inheritancemapping.ecore#//USState">
- <genEnumLiterals ecoreEnumLiteral="inheritancemapping.ecore#//USState/AK"/>
- <genEnumLiterals ecoreEnumLiteral="inheritancemapping.ecore#//USState/AL"/>
- <genEnumLiterals ecoreEnumLiteral="inheritancemapping.ecore#//USState/AR"/>
- </genEnums>
- <genDataTypes ecoreDataType="inheritancemapping.ecore#//USStateObject"/>
- <genClasses image="false" ecoreClass="inheritancemapping.ecore#//Address">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//Address/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//Address/street"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//Address/city"/>
- </genClasses>
- <genClasses ecoreClass="inheritancemapping.ecore#//ContentList">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//ContentList/name"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference inheritancemapping.ecore#//ContentList/address"/>
- <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference inheritancemapping.ecore#//ContentList/price"/>
- </genClasses>
- <genClasses ecoreClass="inheritancemapping.ecore#//DistrictUKAddress">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//DistrictUKAddress/district"/>
- </genClasses>
- <genClasses ecoreClass="inheritancemapping.ecore#//InternationalPrice">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//InternationalPrice/currency"/>
- </genClasses>
- <genClasses ecoreClass="inheritancemapping.ecore#//Price">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//Price/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//Price/value"/>
- </genClasses>
- <genClasses ecoreClass="inheritancemapping.ecore#//UKAddress">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//UKAddress/postcode"/>
- </genClasses>
- <genClasses ecoreClass="inheritancemapping.ecore#//USAddress">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//USAddress/state"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//USAddress/zip"/>
- </genClasses>
- <genClasses ecoreClass="inheritancemapping.ecore#//Customer">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//Customer/name"/>
- </genClasses>
- <genClasses ecoreClass="inheritancemapping.ecore#//SpecificCustomer">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//SpecificCustomer/specificName"/>
- </genClasses>
- <genClasses ecoreClass="inheritancemapping.ecore#//UKAddressList">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute inheritancemapping.ecore#//UKAddressList/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference inheritancemapping.ecore#//UKAddressList/address"/>
- </genClasses>
- <genClasses ecoreClass="inheritancemapping.ecore#//ParentOne"/>
- <genClasses ecoreClass="inheritancemapping.ecore#//ParentTwo"/>
- <genClasses ecoreClass="inheritancemapping.ecore#//ChildOne"/>
- </genPackages>
-</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingAdapterFactory.java
deleted file mode 100644
index 9d4023b9b..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingAdapterFactory.java
+++ /dev/null
@@ -1,340 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: InheritancemappingAdapterFactory.java,v 1.6 2008/07/13 13:12:37 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage
- * @generated
- */
-public class InheritancemappingAdapterFactory extends AdapterFactoryImpl {
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static InheritancemappingPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InheritancemappingAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = InheritancemappingPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject)object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected InheritancemappingSwitch<Adapter> modelSwitch =
- new InheritancemappingSwitch<Adapter>() {
- @Override
- public Adapter caseAddress(Address object) {
- return createAddressAdapter();
- }
- @Override
- public Adapter caseContentList(ContentList object) {
- return createContentListAdapter();
- }
- @Override
- public Adapter caseDistrictUKAddress(DistrictUKAddress object) {
- return createDistrictUKAddressAdapter();
- }
- @Override
- public Adapter caseInternationalPrice(InternationalPrice object) {
- return createInternationalPriceAdapter();
- }
- @Override
- public Adapter casePrice(Price object) {
- return createPriceAdapter();
- }
- @Override
- public Adapter caseUKAddress(UKAddress object) {
- return createUKAddressAdapter();
- }
- @Override
- public Adapter caseUSAddress(USAddress object) {
- return createUSAddressAdapter();
- }
- @Override
- public Adapter caseCustomer(Customer object) {
- return createCustomerAdapter();
- }
- @Override
- public Adapter caseSpecificCustomer(SpecificCustomer object) {
- return createSpecificCustomerAdapter();
- }
- @Override
- public Adapter caseUKAddressList(UKAddressList object) {
- return createUKAddressListAdapter();
- }
- @Override
- public Adapter caseParentOne(ParentOne object) {
- return createParentOneAdapter();
- }
- @Override
- public Adapter caseParentTwo(ParentTwo object) {
- return createParentTwoAdapter();
- }
- @Override
- public Adapter caseChildOne(ChildOne object) {
- return createChildOneAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param target the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject)target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address <em>Address</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address
- * @generated
- */
- public Adapter createAddressAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList <em>Content 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 org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList
- * @generated
- */
- public Adapter createContentListAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress <em>District UK Address</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress
- * @generated
- */
- public Adapter createDistrictUKAddressAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice <em>International Price</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice
- * @generated
- */
- public Adapter createInternationalPriceAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price <em>Price</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price
- * @generated
- */
- public Adapter createPriceAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress <em>UK Address</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress
- * @generated
- */
- public Adapter createUKAddressAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress <em>US Address</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress
- * @generated
- */
- public Adapter createUSAddressAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Customer <em>Customer</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Customer
- * @generated
- */
- public Adapter createCustomerAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.SpecificCustomer <em>Specific Customer</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.SpecificCustomer
- * @generated
- */
- public Adapter createSpecificCustomerAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList <em>UK Address 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 org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList
- * @generated
- */
- public Adapter createUKAddressListAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentOne <em>Parent One</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentOne
- * @generated
- */
- public Adapter createParentOneAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentTwo <em>Parent Two</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentTwo
- * @generated
- */
- public Adapter createParentTwoAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ChildOne <em>Child One</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- * @return the new adapter.
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ChildOne
- * @generated
- */
- public Adapter createChildOneAdapter() {
- 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;
- }
-
-} //InheritancemappingAdapterFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingResourceFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingResourceFactoryImpl.java
deleted file mode 100644
index 8463d0139..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingResourceFactoryImpl.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: InheritancemappingResourceFactoryImpl.java,v 1.2 2007/02/08 23:09:20 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.resource.Resource;
-
-import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
-
-import org.eclipse.emf.ecore.xmi.XMLResource;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource Factory</b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.util.InheritancemappingResourceImpl
- * @generated
- */
-public class InheritancemappingResourceFactoryImpl extends ResourceFactoryImpl {
- /**
- * Creates an instance of the resource factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InheritancemappingResourceFactoryImpl() {
- super();
- }
-
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Resource createResource(URI uri) {
- XMLResource result = new InheritancemappingResourceImpl(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;
- }
-
-} //InheritancemappingResourceFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingResourceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingResourceImpl.java
deleted file mode 100644
index 7d05e47cf..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingResourceImpl.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: InheritancemappingResourceImpl.java,v 1.1 2006/07/11 16:57:00 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.util;
-
-import org.eclipse.emf.common.util.URI;
-
-import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Resource </b> associated with the package.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.util.InheritancemappingResourceFactoryImpl
- * @generated
- */
-public class InheritancemappingResourceImpl extends XMLResourceImpl {
- /**
- * Creates an instance of the resource.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param uri the URI of the new resource.
- * @generated
- */
- public InheritancemappingResourceImpl(URI uri) {
- super(uri);
- }
-
-} //InheritancemappingResourceImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingSwitch.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingSwitch.java
deleted file mode 100644
index 0e3485da5..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingSwitch.java
+++ /dev/null
@@ -1,390 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: InheritancemappingSwitch.java,v 1.5 2008/03/12 07:30:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.util;
-
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.*;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
- * to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- * @see org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage
- * @generated
- */
-public class InheritancemappingSwitch<T> {
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected static InheritancemappingPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InheritancemappingSwitch() {
- if (modelPackage == null) {
- modelPackage = InheritancemappingPackage.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 InheritancemappingPackage.ADDRESS: {
- Address address = (Address)theEObject;
- T result = caseAddress(address);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case InheritancemappingPackage.CONTENT_LIST: {
- ContentList contentList = (ContentList)theEObject;
- T result = caseContentList(contentList);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case InheritancemappingPackage.DISTRICT_UK_ADDRESS: {
- DistrictUKAddress districtUKAddress = (DistrictUKAddress)theEObject;
- T result = caseDistrictUKAddress(districtUKAddress);
- if (result == null) result = caseUKAddress(districtUKAddress);
- if (result == null) result = caseAddress(districtUKAddress);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case InheritancemappingPackage.INTERNATIONAL_PRICE: {
- InternationalPrice internationalPrice = (InternationalPrice)theEObject;
- T result = caseInternationalPrice(internationalPrice);
- if (result == null) result = casePrice(internationalPrice);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case InheritancemappingPackage.PRICE: {
- Price price = (Price)theEObject;
- T result = casePrice(price);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case InheritancemappingPackage.UK_ADDRESS: {
- UKAddress ukAddress = (UKAddress)theEObject;
- T result = caseUKAddress(ukAddress);
- if (result == null) result = caseAddress(ukAddress);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case InheritancemappingPackage.US_ADDRESS: {
- USAddress usAddress = (USAddress)theEObject;
- T result = caseUSAddress(usAddress);
- if (result == null) result = caseAddress(usAddress);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case InheritancemappingPackage.CUSTOMER: {
- Customer customer = (Customer)theEObject;
- T result = caseCustomer(customer);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case InheritancemappingPackage.SPECIFIC_CUSTOMER: {
- SpecificCustomer specificCustomer = (SpecificCustomer)theEObject;
- T result = caseSpecificCustomer(specificCustomer);
- if (result == null) result = caseCustomer(specificCustomer);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case InheritancemappingPackage.UK_ADDRESS_LIST: {
- UKAddressList ukAddressList = (UKAddressList)theEObject;
- T result = caseUKAddressList(ukAddressList);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case InheritancemappingPackage.PARENT_ONE: {
- ParentOne parentOne = (ParentOne)theEObject;
- T result = caseParentOne(parentOne);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case InheritancemappingPackage.PARENT_TWO: {
- ParentTwo parentTwo = (ParentTwo)theEObject;
- T result = caseParentTwo(parentTwo);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case InheritancemappingPackage.CHILD_ONE: {
- ChildOne childOne = (ChildOne)theEObject;
- T result = caseChildOne(childOne);
- if (result == null) result = caseParentOne(childOne);
- if (result == null) result = caseParentTwo(childOne);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- default: return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Address</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>Address</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseAddress(Address object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Content 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>Content List</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseContentList(ContentList object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>District UK Address</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>District UK Address</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseDistrictUKAddress(DistrictUKAddress object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>International Price</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>International Price</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseInternationalPrice(InternationalPrice object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Price</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>Price</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePrice(Price object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>UK Address</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>UK Address</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUKAddress(UKAddress object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>US Address</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>US Address</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUSAddress(USAddress object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Customer</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>Customer</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseCustomer(Customer object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Specific Customer</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>Specific Customer</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseSpecificCustomer(SpecificCustomer object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>UK Address 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>UK Address List</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseUKAddressList(UKAddressList object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Parent One</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>Parent One</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseParentOne(ParentOne object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Parent Two</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>Parent Two</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseParentTwo(ParentTwo object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Child One</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>Child One</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseChildOne(ChildOne 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;
- }
-
-} //InheritancemappingSwitch
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingXMLProcessor.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingXMLProcessor.java
deleted file mode 100644
index 15f1be68c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/util/InheritancemappingXMLProcessor.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: InheritancemappingXMLProcessor.java,v 1.2 2007/02/08 23:09:20 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.util;
-
-import java.util.Map;
-
-import org.eclipse.emf.ecore.EPackage;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InheritancemappingPackage;
-
-/**
- * This class contains helper methods to serialize and deserialize XML documents
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class InheritancemappingXMLProcessor extends XMLProcessor {
- /**
- * Public constructor to instantiate the helper.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public InheritancemappingXMLProcessor() {
- super((EPackage.Registry.INSTANCE));
- InheritancemappingPackage.eINSTANCE.eClass();
- }
-
- /**
- * Register for "*" and "xml" file extensions the InheritancemappingResourceFactoryImpl 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 InheritancemappingResourceFactoryImpl());
- registrations.put(STAR_EXTENSION, new InheritancemappingResourceFactoryImpl());
- }
- return registrations;
- }
-
-} //InheritancemappingXMLProcessor
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/AddressValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/AddressValidator.java
deleted file mode 100644
index 9571b24fe..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/AddressValidator.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: AddressValidator.java,v 1.1 2007/02/08 23:09:22 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address}.
- * 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 AddressValidator {
- boolean validate();
-
- boolean validateName(String value);
- boolean validateStreet(String value);
- boolean validateCity(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ChildOneValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ChildOneValidator.java
deleted file mode 100644
index 2568ce82e..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ChildOneValidator.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ChildOneValidator.java,v 1.1 2008/03/12 07:30:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ChildOne}.
- * 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 ChildOneValidator {
- boolean validate();
-
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ContentListValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ContentListValidator.java
deleted file mode 100644
index f36ddc724..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ContentListValidator.java
+++ /dev/null
@@ -1,26 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ContentListValidator.java,v 1.1 2007/02/08 23:09:22 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address;
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList}.
- * 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 ContentListValidator {
- boolean validate();
-
- boolean validateName(String value);
- boolean validateAddress(EList<Address> value);
- boolean validatePrice(EList<Price> value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/CustomerValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/CustomerValidator.java
deleted file mode 100644
index 126f67564..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/CustomerValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: CustomerValidator.java,v 1.1 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Customer}.
- * 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 CustomerValidator {
- boolean validate();
-
- boolean validateName(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/DistrictUKAddressValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/DistrictUKAddressValidator.java
deleted file mode 100644
index 4f6f313e6..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/DistrictUKAddressValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: DistrictUKAddressValidator.java,v 1.1 2007/02/08 23:09:22 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress}.
- * 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 DistrictUKAddressValidator {
- boolean validate();
-
- boolean validateDistrict(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/InternationalPriceValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/InternationalPriceValidator.java
deleted file mode 100644
index 8a09e0370..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/InternationalPriceValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: InternationalPriceValidator.java,v 1.1 2007/02/08 23:09:22 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice}.
- * 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 InternationalPriceValidator {
- boolean validate();
-
- boolean validateCurrency(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ParentOneValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ParentOneValidator.java
deleted file mode 100644
index 90eff01a4..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ParentOneValidator.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ParentOneValidator.java,v 1.1 2008/03/12 07:30:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentOne}.
- * 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 ParentOneValidator {
- boolean validate();
-
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ParentTwoValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ParentTwoValidator.java
deleted file mode 100644
index 00cb57434..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/ParentTwoValidator.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: ParentTwoValidator.java,v 1.1 2008/03/12 07:30:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ParentTwo}.
- * 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 ParentTwoValidator {
- boolean validate();
-
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/PriceValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/PriceValidator.java
deleted file mode 100644
index d73f348e7..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/PriceValidator.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: PriceValidator.java,v 1.1 2007/02/08 23:09:22 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-import java.math.BigDecimal;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price}.
- * 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 PriceValidator {
- boolean validate();
-
- boolean validateName(String value);
- boolean validateValue(BigDecimal value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/SpecificCustomerValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/SpecificCustomerValidator.java
deleted file mode 100644
index eab0e6224..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/SpecificCustomerValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: SpecificCustomerValidator.java,v 1.1 2007/11/15 14:48:27 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.SpecificCustomer}.
- * 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 SpecificCustomerValidator {
- boolean validate();
-
- boolean validateSpecificName(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/UKAddressListValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/UKAddressListValidator.java
deleted file mode 100644
index 724c7ab0c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/UKAddressListValidator.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UKAddressListValidator.java,v 1.1 2008/03/10 22:19:03 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddressList}.
- * 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 UKAddressListValidator {
- boolean validate();
-
- boolean validateName(String value);
- boolean validateAddress(EList<UKAddress> value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/UKAddressValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/UKAddressValidator.java
deleted file mode 100644
index be947fbed..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/UKAddressValidator.java
+++ /dev/null
@@ -1,20 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: UKAddressValidator.java,v 1.1 2007/02/08 23:09:22 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress}.
- * 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 UKAddressValidator {
- boolean validate();
-
- boolean validatePostcode(String value);
-}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/USAddressValidator.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/USAddressValidator.java
deleted file mode 100644
index 616100fca..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/inheritancemapping/validation/USAddressValidator.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id: USAddressValidator.java,v 1.1 2007/02/08 23:09:22 mtaal Exp $
- */
-package org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.validation;
-
-import java.math.BigInteger;
-
-import org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USState;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress}.
- * 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 USAddressValidator {
- boolean validate();
-
- boolean validateState(USState value);
- boolean validateZip(BigInteger value);
-}

Back to the top