Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-01-06 12:09:44 -0500
committerEike Stepper2013-01-06 12:09:44 -0500
commite7032728305172ac8832c3b65d9596f239d03d18 (patch)
treed91bc66e791a88d42468881c0f37ac32a0f51e8d /plugins/org.eclipse.emf.cdo.tests.model1
parent723c9eb3bec04657d4f643161559e08b931199a2 (diff)
downloadcdo-e7032728305172ac8832c3b65d9596f239d03d18.tar.gz
cdo-e7032728305172ac8832c3b65d9596f239d03d18.tar.xz
cdo-e7032728305172ac8832c3b65d9596f239d03d18.zip
model1
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests.model1')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/META-INF/MANIFEST.MF10
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/model/model1.legacy-genmodel146
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/model/model1.legacy.genmodel (renamed from plugins/org.eclipse.emf.cdo.tests.model1/model/model1.martin.legacy.genmodel)18
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Address.java15
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Category.java15
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Company.java19
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Customer.java13
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Order.java11
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderAddress.java11
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderDetail.java15
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product1.java19
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/PurchaseOrder.java13
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/SalesOrder.java13
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Supplier.java11
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/VAT.java9
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1FactoryImpl.java4
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/Model1Factory.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/Model1Factory.java)15
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/Model1Package.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/Model1Package.java)250
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/AddressImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/AddressImpl.java)10
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/CategoryImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/CategoryImpl.java)10
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/CompanyImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/CompanyImpl.java)14
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/CustomerImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/CustomerImpl.java)8
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/Model1FactoryImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/Model1FactoryImpl.java)12
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/Model1PackageImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/Model1PackageImpl.java)10
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/OrderAddressImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/OrderAddressImpl.java)14
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/OrderDetailImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/OrderDetailImpl.java)10
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/OrderImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/OrderImpl.java)6
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/Product1Impl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/Product1Impl.java)14
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/ProductToOrderImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/ProductToOrderImpl.java)4
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/PurchaseOrderImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/PurchaseOrderImpl.java)4
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/SalesOrderImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/SalesOrderImpl.java)8
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/SupplierImpl.java (renamed from plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/SupplierImpl.java)8
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/util/Model1AdapterFactory.java381
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/util/Model1Switch.java436
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1AdapterFactory.java8
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1Switch.java44
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/AddressValidator.java30
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/CategoryValidator.java35
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/CompanyValidator.java42
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/CustomerValidator.java32
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderAddressValidator.java24
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderDetailValidator.java33
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderValidator.java30
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/Product1Validator.java35
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/PurchaseOrderValidator.java32
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/SalesOrderValidator.java30
-rw-r--r--plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/SupplierValidator.java34
47 files changed, 1212 insertions, 753 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.tests.model1/META-INF/MANIFEST.MF
index 0a1c2efd33..ef1052651d 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/META-INF/MANIFEST.MF
@@ -9,9 +9,9 @@ Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ClassPath: .
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
org.eclipse.emf.cdo;bundle-version="[4.0.0,5.0.0)";visibility:=reexport
-Export-Package: org.eclipse.emf.cdo.tests.legacy.model1;version="3.0.300",
- org.eclipse.emf.cdo.tests.legacy.model1.impl;version="3.0.300",
- org.eclipse.emf.cdo.tests.model1;version="3.0.300",
+Export-Package: org.eclipse.emf.cdo.tests.model1;version="3.0.300",
org.eclipse.emf.cdo.tests.model1.impl;version="3.0.300",
- org.eclipse.emf.cdo.tests.model1.util;version="3.0.300",
- org.eclipse.emf.cdo.tests.model1.validation;version="3.0.300"
+ org.eclipse.emf.cdo.tests.model1.legacy;version="3.0.300",
+ org.eclipse.emf.cdo.tests.model1.legacy.impl;version="3.0.300",
+ org.eclipse.emf.cdo.tests.model1.legacy.util;version="3.0.300",
+ org.eclipse.emf.cdo.tests.model1.util;version="3.0.300"
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/model/model1.legacy-genmodel b/plugins/org.eclipse.emf.cdo.tests.model1/model/model1.legacy-genmodel
deleted file mode 100644
index 260d0854b5..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.model1/model/model1.legacy-genmodel
+++ /dev/null
@@ -1,146 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel 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" xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" copyrightText="Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.&#xD;&#xA;All rights reserved. This program and the accompanying materials&#xD;&#xA;are made available under the terms of the Eclipse Public License v1.0&#xD;&#xA;which accompanies this distribution, and is available at&#xD;&#xA;http://www.eclipse.org/legal/epl-v10.html&#xD;&#xA;&#xD;&#xA;Contributors:&#xD;&#xA; Eike Stepper - initial API and implementation" modelDirectory="/org.eclipse.emf.cdo.tests.model1/src" editDirectory="" editorDirectory="" modelPluginID="org.eclipse.emf.cdo.tests.model1" modelName="Model1" updateClasspath="false" codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" runtimeVersion="2.6">
- <foreignModel>model1.ecore</foreignModel>
- <modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
- <genPackages prefix="Model1" basePackage="org.eclipse.emf.cdo.tests.legacy" disposableProviderFactory="true" literalsInterface="false" extensibleProviderFactory="true" childCreationExtenders="true">
- <ecorePackage href="model1.ecore#/"/>
- <genEnums typeSafeEnumCompatible="false">
- <ecoreEnum href="model1.ecore#//VAT"/>
- <genEnumLiterals>
- <ecoreEnumLiteral href="model1.ecore#//VAT/vat0"/>
- </genEnumLiterals>
- <genEnumLiterals>
- <ecoreEnumLiteral href="model1.ecore#//VAT/vat7"/>
- </genEnumLiterals>
- <genEnumLiterals>
- <ecoreEnumLiteral href="model1.ecore#//VAT/vat15"/>
- </genEnumLiterals>
- </genEnums>
- <genClasses>
- <ecoreClass href="model1.ecore#//Address"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model1.ecore#//Address/name"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model1.ecore#//Address/street"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model1.ecore#//Address/city"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model1.ecore#//Company"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//Company/categories"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//Company/suppliers"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//Company/customers"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//Company/purchaseOrders"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//Company/salesOrders"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model1.ecore#//Supplier"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//Supplier/purchaseOrders"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model1.ecore#//Supplier/preferred"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model1.ecore#//Customer"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//Customer/salesOrders"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//Customer/orderByProduct"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model1.ecore#//Order"/>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//Order/orderDetails"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model1.ecore#//OrderDetail"/>
- <genFeatures property="None" notify="false" createChild="false">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//OrderDetail/order"/>
- </genFeatures>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//OrderDetail/product"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model1.ecore#//OrderDetail/price"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model1.ecore#//PurchaseOrder"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model1.ecore#//PurchaseOrder/date"/>
- </genFeatures>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//PurchaseOrder/supplier"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model1.ecore#//SalesOrder"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model1.ecore#//SalesOrder/id"/>
- </genFeatures>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//SalesOrder/customer"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model1.ecore#//Category"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model1.ecore#//Category/name"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//Category/categories"/>
- </genFeatures>
- <genFeatures property="None" children="true" createChild="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//Category/products"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model1.ecore#//Product1"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model1.ecore#//Product1/name"/>
- </genFeatures>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//Product1/orderDetails"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model1.ecore#//Product1/vat"/>
- </genFeatures>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model1.ecore#//Product1/description"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model1.ecore#//OrderAddress"/>
- <genFeatures createChild="false">
- <ecoreFeature xsi:type="ecore:EAttribute" href="model1.ecore#//OrderAddress/testAttribute"/>
- </genFeatures>
- </genClasses>
- <genClasses>
- <ecoreClass href="model1.ecore#//ProductToOrder"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//ProductToOrder/key"/>
- </genFeatures>
- <genFeatures notify="false" createChild="false" propertySortChoices="true">
- <ecoreFeature xsi:type="ecore:EReference" href="model1.ecore#//ProductToOrder/value"/>
- </genFeatures>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/model/model1.martin.legacy.genmodel b/plugins/org.eclipse.emf.cdo.tests.model1/model/model1.legacy.genmodel
index 0ccb645950..113bd85ce3 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/model/model1.martin.legacy.genmodel
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/model/model1.legacy.genmodel
@@ -1,11 +1,16 @@
<?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.cdo.tests.model1/src"
- modelPluginID="org.eclipse.emf.cdo.tests.model1" modelName="Model1.martin" importerID="org.eclipse.emf.importer.ecore"
- complianceLevel="5.0" copyrightFields="false" runtimeVersion="2.6">
+<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" copyrightText="Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.&#xD;&#xA;All rights reserved. This program and the accompanying materials&#xD;&#xA;are made available under the terms of the Eclipse Public License v1.0&#xD;&#xA;which accompanies this distribution, and is available at&#xD;&#xA;http://www.eclipse.org/legal/epl-v10.html&#xD;&#xA;&#xD;&#xA;Contributors:&#xD;&#xA; Eike Stepper - initial API and implementation"
+ modelDirectory="/org.eclipse.emf.cdo.tests.model1/src" editDirectory="" editorDirectory=""
+ modelPluginID="org.eclipse.emf.cdo.tests.model1" modelName="Model1" updateClasspath="false"
+ codeFormatting="true" testsDirectory="" importerID="org.eclipse.emf.importer.ecore"
+ complianceLevel="5.0" runtimeVersion="2.6">
<foreignModel>model1.ecore</foreignModel>
- <genPackages prefix="Model1" disposableProviderFactory="true" ecorePackage="model1.ecore#/">
+ <modelPluginVariables>CDO=org.eclipse.emf.cdo</modelPluginVariables>
+ <genPackages prefix="Model1" basePackage="org.eclipse.emf.cdo.tests" disposableProviderFactory="true"
+ metaDataPackageSuffix="legacy" classPackageSuffix="legacy.impl" utilityPackageSuffix="legacy.util"
+ literalsInterface="false" extensibleProviderFactory="true" childCreationExtenders="true"
+ ecorePackage="model1.ecore#/">
<genEnums typeSafeEnumCompatible="false" ecoreEnum="model1.ecore#//VAT">
<genEnumLiterals ecoreEnumLiteral="model1.ecore#//VAT/vat0"/>
<genEnumLiterals ecoreEnumLiteral="model1.ecore#//VAT/vat7"/>
@@ -56,6 +61,7 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Product1/name"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference model1.ecore#//Product1/orderDetails"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Product1/vat"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Product1/otherVATs"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute model1.ecore#//Product1/description"/>
</genClasses>
<genClasses ecoreClass="model1.ecore#//OrderAddress">
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Address.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Address.java
index 89ee7cc5df..dbb994c481 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Address.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Address.java
@@ -24,13 +24,20 @@ import org.eclipse.emf.ecore.EObject;
* </ul>
* </p>
*
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getAddress()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getAddress()
* @model
* @generated
*/
public interface Address extends EObject
{
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
@@ -39,7 +46,7 @@ public interface Address extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getAddress_Name()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getAddress_Name()
* @model
* @generated
*/
@@ -65,7 +72,7 @@ public interface Address extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Street</em>' attribute.
* @see #setStreet(String)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getAddress_Street()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getAddress_Street()
* @model
* @generated
*/
@@ -91,7 +98,7 @@ public interface Address extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>City</em>' attribute.
* @see #setCity(String)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getAddress_City()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getAddress_City()
* @model
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Category.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Category.java
index 2d2ca0be35..731ec0337a 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Category.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Category.java
@@ -25,13 +25,20 @@ import org.eclipse.emf.ecore.EObject;
* </ul>
* </p>
*
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCategory()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCategory()
* @model
* @generated
*/
public interface Category extends EObject
{
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
@@ -40,7 +47,7 @@ public interface Category extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCategory_Name()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCategory_Name()
* @model
* @generated
*/
@@ -67,7 +74,7 @@ public interface Category extends EObject
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Categories</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCategory_Categories()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCategory_Categories()
* @model containment="true"
* @generated
*/
@@ -83,7 +90,7 @@ public interface Category extends EObject
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Products</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCategory_Products()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCategory_Products()
* @model containment="true"
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Company.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Company.java
index 98cacda872..2347144bf4 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Company.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Company.java
@@ -26,13 +26,20 @@ import org.eclipse.emf.common.util.EList;
* </ul>
* </p>
*
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCompany()
* @model
* @generated
*/
public interface Company extends Address
{
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
* Returns the value of the '<em><b>Categories</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.Category}.
* <!-- begin-user-doc -->
@@ -42,7 +49,7 @@ public interface Company extends Address
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Categories</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_Categories()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCompany_Categories()
* @model containment="true"
* @generated
*/
@@ -58,7 +65,7 @@ public interface Company extends Address
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Suppliers</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_Suppliers()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCompany_Suppliers()
* @model containment="true"
* @generated
*/
@@ -74,7 +81,7 @@ public interface Company extends Address
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Purchase Orders</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_PurchaseOrders()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCompany_PurchaseOrders()
* @model containment="true"
* @generated
*/
@@ -90,7 +97,7 @@ public interface Company extends Address
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Customers</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_Customers()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCompany_Customers()
* @model containment="true"
* @generated
*/
@@ -106,7 +113,7 @@ public interface Company extends Address
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Sales Orders</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCompany_SalesOrders()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCompany_SalesOrders()
* @model containment="true"
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Customer.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Customer.java
index 3e44bd0e52..e9434fbd88 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Customer.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Customer.java
@@ -24,13 +24,20 @@ import org.eclipse.emf.common.util.EMap;
* </ul>
* </p>
*
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCustomer()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCustomer()
* @model
* @generated
*/
public interface Customer extends Address
{
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
* Returns the value of the '<em><b>Sales Orders</b></em>' reference list.
* The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.SalesOrder}.
* It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer <em>Customer</em>}'.
@@ -41,7 +48,7 @@ public interface Customer extends Address
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Sales Orders</em>' reference list.
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCustomer_SalesOrders()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCustomer_SalesOrders()
* @see org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer
* @model opposite="customer"
* @generated
@@ -59,7 +66,7 @@ public interface Customer extends Address
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Order By Product</em>' map.
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getCustomer_OrderByProduct()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getCustomer_OrderByProduct()
* @model mapType="org.eclipse.emf.cdo.tests.model1.ProductToOrder<org.eclipse.emf.cdo.tests.model1.Product1, org.eclipse.emf.cdo.tests.model1.SalesOrder>"
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Order.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Order.java
index 00119b1b39..72322d48cc 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Order.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Order.java
@@ -23,7 +23,7 @@ import org.eclipse.emf.ecore.EObject;
* </ul>
* </p>
*
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrder()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getOrder()
* @model abstract="true"
* annotation="teneo.jpa value='@Entity(name=\"BaseOrder\")'"
* @generated
@@ -31,6 +31,13 @@ import org.eclipse.emf.ecore.EObject;
public interface Order extends EObject
{
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
* Returns the value of the '<em><b>Order Details</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.OrderDetail}.
* It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder <em>Order</em>}'.
@@ -41,7 +48,7 @@ public interface Order extends EObject
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Order Details</em>' containment reference list.
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrder_OrderDetails()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getOrder_OrderDetails()
* @see org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder
* @model opposite="order" containment="true"
* @generated
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderAddress.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderAddress.java
index 6014fe7510..d4a0621bb6 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderAddress.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderAddress.java
@@ -20,13 +20,20 @@ package org.eclipse.emf.cdo.tests.model1;
* </ul>
* </p>
*
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderAddress()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getOrderAddress()
* @model annotation="teneo.jpa value='@AssociationOverride(name=\"orderDetails\", joinColumns=@JoinColumn(name=\"orderdetails_orderaddressid\"))'"
* @generated
*/
public interface OrderAddress extends Address, Order, OrderDetail
{
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
* Returns the value of the '<em><b>Test Attribute</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
@@ -36,7 +43,7 @@ public interface OrderAddress extends Address, Order, OrderDetail
* <!-- end-user-doc -->
* @return the value of the '<em>Test Attribute</em>' attribute.
* @see #setTestAttribute(boolean)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderAddress_TestAttribute()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getOrderAddress_TestAttribute()
* @model
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderDetail.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderDetail.java
index 7665f4e09d..e5958a9302 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderDetail.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/OrderDetail.java
@@ -24,13 +24,20 @@ import org.eclipse.emf.ecore.EObject;
* </ul>
* </p>
*
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderDetail()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getOrderDetail()
* @model
* @generated
*/
public interface OrderDetail extends EObject
{
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
* Returns the value of the '<em><b>Order</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails <em>Order Details</em>}'.
* <!-- begin-user-doc -->
@@ -41,7 +48,7 @@ public interface OrderDetail extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Order</em>' container reference.
* @see #setOrder(Order)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderDetail_Order()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getOrderDetail_Order()
* @see org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails
* @model opposite="orderDetails" required="true" transient="false"
* @generated
@@ -68,7 +75,7 @@ public interface OrderDetail extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Product</em>' reference.
* @see #setProduct(Product1)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderDetail_Product()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getOrderDetail_Product()
* @see org.eclipse.emf.cdo.tests.model1.Product1#getOrderDetails
* @model opposite="orderDetails"
* @generated
@@ -93,7 +100,7 @@ public interface OrderDetail extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Price</em>' attribute.
* @see #setPrice(float)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getOrderDetail_Price()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getOrderDetail_Price()
* @model
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product1.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product1.java
index 10727e4517..cfe8204bef 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product1.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Product1.java
@@ -27,13 +27,20 @@ import org.eclipse.emf.ecore.EObject;
* </ul>
* </p>
*
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getProduct1()
* @model
* @generated
*/
public interface Product1 extends EObject
{
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
* Returns the value of the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
@@ -42,7 +49,7 @@ public interface Product1 extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Name</em>' attribute.
* @see #setName(String)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_Name()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getProduct1_Name()
* @model annotation="teneo.jpa value='@Id'"
* @generated
*/
@@ -70,7 +77,7 @@ public interface Product1 extends EObject
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Order Details</em>' reference list.
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_OrderDetails()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getProduct1_OrderDetails()
* @see org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct
* @model opposite="product"
* @generated
@@ -89,7 +96,7 @@ public interface Product1 extends EObject
* @return the value of the '<em>Vat</em>' attribute.
* @see org.eclipse.emf.cdo.tests.model1.VAT
* @see #setVat(VAT)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_Vat()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getProduct1_Vat()
* @model default="vat15"
* @generated
*/
@@ -119,7 +126,7 @@ public interface Product1 extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Other VA Ts</em>' attribute list.
* @see org.eclipse.emf.cdo.tests.model1.VAT
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_OtherVATs()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getProduct1_OtherVATs()
* @model default="vat15"
* @generated
*/
@@ -135,7 +142,7 @@ public interface Product1 extends EObject
* <!-- end-user-doc -->
* @return the value of the '<em>Description</em>' attribute.
* @see #setDescription(String)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getProduct1_Description()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getProduct1_Description()
* @model transient="true"
* @generated
*/
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/PurchaseOrder.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/PurchaseOrder.java
index f8873444a4..b257ae6ee4 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/PurchaseOrder.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/PurchaseOrder.java
@@ -23,13 +23,20 @@ import java.util.Date;
* </ul>
* </p>
*
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getPurchaseOrder()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getPurchaseOrder()
* @model
* @generated
*/
public interface PurchaseOrder extends Order
{
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
* Returns the value of the '<em><b>Date</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
@@ -38,7 +45,7 @@ public interface PurchaseOrder extends Order
* <!-- end-user-doc -->
* @return the value of the '<em>Date</em>' attribute.
* @see #setDate(Date)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getPurchaseOrder_Date()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getPurchaseOrder_Date()
* @model
* @generated
*/
@@ -65,7 +72,7 @@ public interface PurchaseOrder extends Order
* <!-- end-user-doc -->
* @return the value of the '<em>Supplier</em>' reference.
* @see #setSupplier(Supplier)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getPurchaseOrder_Supplier()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getPurchaseOrder_Supplier()
* @see org.eclipse.emf.cdo.tests.model1.Supplier#getPurchaseOrders
* @model opposite="purchaseOrders" required="true"
* @generated
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/SalesOrder.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/SalesOrder.java
index c5756231d7..e5d2bde11a 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/SalesOrder.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/SalesOrder.java
@@ -21,13 +21,20 @@ package org.eclipse.emf.cdo.tests.model1;
* </ul>
* </p>
*
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getSalesOrder()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getSalesOrder()
* @model
* @generated
*/
public interface SalesOrder extends Order
{
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
@@ -36,7 +43,7 @@ public interface SalesOrder extends Order
* <!-- end-user-doc -->
* @return the value of the '<em>Id</em>' attribute.
* @see #setId(int)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getSalesOrder_Id()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getSalesOrder_Id()
* @model
* @generated
*/
@@ -64,7 +71,7 @@ public interface SalesOrder extends Order
* <!-- end-user-doc -->
* @return the value of the '<em>Customer</em>' reference.
* @see #setCustomer(Customer)
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getSalesOrder_Customer()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getSalesOrder_Customer()
* @see org.eclipse.emf.cdo.tests.model1.Customer#getSalesOrders
* @model opposite="salesOrders" required="true"
* @generated
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Supplier.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Supplier.java
index c0de3d4f69..e7f3553f79 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Supplier.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/Supplier.java
@@ -23,13 +23,20 @@ import org.eclipse.emf.common.util.EList;
* </ul>
* </p>
*
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getSupplier()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getSupplier()
* @model
* @generated
*/
public interface Supplier extends Address
{
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
* Returns the value of the '<em><b>Purchase Orders</b></em>' reference list.
* The list contents are of type {@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder}.
* It is bidirectional and its opposite is '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier <em>Supplier</em>}'.
@@ -40,7 +47,7 @@ public interface Supplier extends Address
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Purchase Orders</em>' reference list.
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getSupplier_PurchaseOrders()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getSupplier_PurchaseOrders()
* @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier
* @model opposite="supplier"
* @generated
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/VAT.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/VAT.java
index 84074b7fd3..228da50f15 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/VAT.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/VAT.java
@@ -19,7 +19,7 @@ import java.util.List;
/**
* <!-- begin-user-doc --> A representation of the literals of the enumeration '<em><b>VAT</b></em>', and utility
* methods for working with them. <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.model1.Model1Package#getVAT()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package#getVAT()
* @model
* @generated
*/
@@ -53,6 +53,13 @@ public enum VAT implements Enumerator
VAT15(15, "vat15", "vat15");
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
* The '<em><b>Vat0</b></em>' literal value.
* <!-- begin-user-doc -->
* <p>
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1FactoryImpl.java
index 63e5b45c2a..d32ef2c1f4 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1FactoryImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/impl/Model1FactoryImpl.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Eike Stepper - initial API and implementation
*/
@@ -33,6 +33,8 @@ import org.eclipse.emf.ecore.plugin.EcorePlugin;
import java.util.Map;
+//import org.eclipse.emf.cdo.tests.model1.*;
+
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
* @generated
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/Model1Factory.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/Model1Factory.java
index a4901c00ea..cf98be6035 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/Model1Factory.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/Model1Factory.java
@@ -8,7 +8,7 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1;
+package org.eclipse.emf.cdo.tests.model1.legacy;
import org.eclipse.emf.cdo.tests.model1.Address;
import org.eclipse.emf.cdo.tests.model1.Category;
@@ -20,14 +20,17 @@ import org.eclipse.emf.cdo.tests.model1.Product1;
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
import org.eclipse.emf.cdo.tests.model1.SalesOrder;
import org.eclipse.emf.cdo.tests.model1.Supplier;
+import org.eclipse.emf.ecore.EFactory;
/**
- * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a create method for each non-abstract class of
- * the model. <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Model1Package
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model. It provides a create method for each non-abstract class of the model.
+ * @extends org.eclipse.emf.cdo.tests.model1.Model1Factory
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package
* @generated
*/
-public interface Model1Factory extends org.eclipse.emf.cdo.tests.model1.Model1Factory
+public interface Model1Factory extends EFactory, org.eclipse.emf.cdo.tests.model1.Model1Factory
{
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
@@ -40,7 +43,7 @@ public interface Model1Factory extends org.eclipse.emf.cdo.tests.model1.Model1Fa
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- Model1Factory eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1FactoryImpl.init();
+ Model1Factory eINSTANCE = org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1FactoryImpl.init();
/**
* Returns a new object of class '<em>Address</em>'.
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/Model1Package.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/Model1Package.java
index 0a2dc323f9..944fe9da99 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/Model1Package.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/Model1Package.java
@@ -8,11 +8,12 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1;
+package org.eclipse.emf.cdo.tests.model1.legacy;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EEnum;
+import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
/**
@@ -23,13 +24,14 @@ import org.eclipse.emf.ecore.EReference;
* <li>each enum,</li>
* <li>and each data type</li>
* </ul>
+ * @extends org.eclipse.emf.cdo.tests.model1.Model1Package
* <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Model1Factory
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Factory
* @model kind="package"
* annotation="teneo.jpa value='@hbGenericGenerators({@GenericGenerator(name=\"system-uuid\", strategy = \"org.eclipse.emf.cdo.server.internal.hibernate.tuplizer.CDOUUIDHexGenerator\")})'"
* @generated
*/
-public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Package
+public interface Model1Package extends EPackage, org.eclipse.emf.cdo.tests.model1.Model1Package
{
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
@@ -46,7 +48,7 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
/**
* The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
String eNS_URI = "http://www.eclipse.org/emf/CDO/tests/legacy/model1/1.0.0";
@@ -63,13 +65,13 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
- Model1Package eINSTANCE = org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl.init();
+ Model1Package eINSTANCE = org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl.init();
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.AddressImpl <em>Address</em>}' class.
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.AddressImpl <em>Address</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.AddressImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getAddress()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.AddressImpl
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl#getAddress()
* @generated
*/
int ADDRESS = 0;
@@ -107,10 +109,10 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
int ADDRESS_FEATURE_COUNT = 3;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CompanyImpl <em>Company</em>}' class.
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CompanyImpl <em>Company</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.CompanyImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getCompany()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.CompanyImpl
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl#getCompany()
* @generated
*/
int COMPANY = 1;
@@ -193,10 +195,10 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
int COMPANY_FEATURE_COUNT = ADDRESS_FEATURE_COUNT + 5;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.SupplierImpl <em>Supplier</em>}' class.
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.SupplierImpl <em>Supplier</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.SupplierImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getSupplier()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.SupplierImpl
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl#getSupplier()
* @generated
*/
int SUPPLIER = 2;
@@ -228,7 +230,7 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
/**
* The feature id for the '<em><b>Purchase Orders</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
* @ordered
*/
@@ -251,10 +253,10 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
int SUPPLIER_FEATURE_COUNT = ADDRESS_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CustomerImpl <em>Customer</em>}' class.
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CustomerImpl <em>Customer</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.CustomerImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getCustomer()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.CustomerImpl
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl#getCustomer()
* @generated
*/
int CUSTOMER = 3;
@@ -308,10 +310,10 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
int CUSTOMER_FEATURE_COUNT = ADDRESS_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderImpl <em>Order</em>}' class.
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderImpl <em>Order</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getOrder()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderImpl
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl#getOrder()
* @generated
*/
int ORDER = 4;
@@ -334,10 +336,10 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
int ORDER_FEATURE_COUNT = 1;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderDetailImpl <em>Order Detail</em>}' class.
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderDetailImpl <em>Order Detail</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderDetailImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getOrderDetail()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderDetailImpl
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl#getOrderDetail()
* @generated
*/
int ORDER_DETAIL = 5;
@@ -369,17 +371,17 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
/**
* The number of structural features of the '<em>Order Detail</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
* @ordered
*/
int ORDER_DETAIL_FEATURE_COUNT = 3;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.PurchaseOrderImpl <em>Purchase Order</em>}' class.
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.PurchaseOrderImpl <em>Purchase Order</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.PurchaseOrderImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getPurchaseOrder()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.PurchaseOrderImpl
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl#getPurchaseOrder()
* @generated
*/
int PURCHASE_ORDER = 6;
@@ -412,17 +414,17 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
/**
* The number of structural features of the '<em>Purchase Order</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
* @ordered
*/
int PURCHASE_ORDER_FEATURE_COUNT = ORDER_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.SalesOrderImpl <em>Sales Order</em>}' class.
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.SalesOrderImpl <em>Sales Order</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.SalesOrderImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getSalesOrder()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.SalesOrderImpl
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl#getSalesOrder()
* @generated
*/
int SALES_ORDER = 7;
@@ -455,17 +457,17 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
/**
* The number of structural features of the '<em>Sales Order</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
* @ordered
*/
int SALES_ORDER_FEATURE_COUNT = ORDER_FEATURE_COUNT + 2;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CategoryImpl <em>Category</em>}' class.
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CategoryImpl <em>Category</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.CategoryImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getCategory()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.CategoryImpl
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl#getCategory()
* @generated
*/
int CATEGORY = 8;
@@ -505,10 +507,10 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
int CATEGORY_FEATURE_COUNT = 3;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.Product1Impl <em>Product1</em>}' class.
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.Product1Impl <em>Product1</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Product1Impl
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getProduct1()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Product1Impl
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl#getProduct1()
* @generated
*/
int PRODUCT1 = 9;
@@ -524,7 +526,7 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
/**
* The feature id for the '<em><b>Order Details</b></em>' reference list. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
* @ordered
*/
@@ -564,10 +566,10 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
int PRODUCT1_FEATURE_COUNT = 5;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderAddressImpl <em>Order Address</em>}' class.
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderAddressImpl <em>Order Address</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderAddressImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getOrderAddress()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderAddressImpl
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl#getOrderAddress()
* @generated
*/
int ORDER_ADDRESS = 10;
@@ -640,17 +642,17 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
/**
* The number of structural features of the '<em>Order Address</em>' class. <!-- begin-user-doc --> <!-- end-user-doc
* -->
- *
+ *
* @generated
* @ordered
*/
int ORDER_ADDRESS_FEATURE_COUNT = ADDRESS_FEATURE_COUNT + 5;
/**
- * The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.ProductToOrderImpl <em>Product To Order</em>}' class.
+ * The meta object id for the '{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.ProductToOrderImpl <em>Product To Order</em>}' class.
* <!-- begin-user-doc --> <!-- end-user-doc -->
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.ProductToOrderImpl
- * @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getProductToOrder()
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.ProductToOrderImpl
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.impl.Model1PackageImpl#getProductToOrder()
* @generated
*/
int PRODUCT_TO_ORDER = 11;
@@ -683,7 +685,7 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
/**
* The meta object id for the '{@link org.eclipse.emf.cdo.tests.legacy.model1.VAT <em>VAT</em>}' enum. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @see org.eclipse.emf.cdo.tests.legacy.model1.VAT
* @see org.eclipse.emf.cdo.tests.legacy.model1.impl.Model1PackageImpl#getVAT()
* @generated
@@ -693,7 +695,7 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model1.Address <em>Address</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Address</em>'.
* @see org.eclipse.emf.cdo.tests.legacy.model1.Address
* @generated
@@ -701,30 +703,30 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
EClass getAddress();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model1.Address#getName <em>Name</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.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.cdo.tests.legacy.model1.Address#getName()
+ * @see org.eclipse.emf.cdo.tests.model1.Address#getName()
* @see #getAddress()
* @generated
*/
EAttribute getAddress_Name();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model1.Address#getStreet <em>Street</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.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.cdo.tests.legacy.model1.Address#getStreet()
+ * @see org.eclipse.emf.cdo.tests.model1.Address#getStreet()
* @see #getAddress()
* @generated
*/
EAttribute getAddress_Street();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model1.Address#getCity <em>City</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.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.cdo.tests.legacy.model1.Address#getCity()
+ * @see org.eclipse.emf.cdo.tests.model1.Address#getCity()
* @see #getAddress()
* @generated
*/
@@ -733,7 +735,7 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model1.Company <em>Company</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Company</em>'.
* @see org.eclipse.emf.cdo.tests.legacy.model1.Company
* @generated
@@ -741,33 +743,33 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
EClass getCompany();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model1.Company#getCategories <em>Categories</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Company#getCategories <em>Categories</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the containment reference list '<em>Categories</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Company#getCategories()
+ * @see org.eclipse.emf.cdo.tests.model1.Company#getCategories()
* @see #getCompany()
* @generated
*/
EReference getCompany_Categories();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model1.Company#getSuppliers <em>Suppliers</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Company#getSuppliers <em>Suppliers</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the containment reference list '<em>Suppliers</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Company#getSuppliers()
+ * @see org.eclipse.emf.cdo.tests.model1.Company#getSuppliers()
* @see #getCompany()
* @generated
*/
EReference getCompany_Suppliers();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model1.Company#getCustomers <em>Customers</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Company#getCustomers <em>Customers</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the containment reference list '<em>Customers</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Company#getCustomers()
+ * @see org.eclipse.emf.cdo.tests.model1.Company#getCustomers()
* @see #getCompany()
* @generated
*/
@@ -777,7 +779,7 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
* Returns the meta object for the containment reference list '
* {@link org.eclipse.emf.cdo.tests.legacy.model1.Company#getPurchaseOrders <em>Purchase Orders</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the containment reference list '<em>Purchase Orders</em>'.
* @see org.eclipse.emf.cdo.tests.legacy.model1.Company#getPurchaseOrders()
* @see #getCompany()
@@ -786,21 +788,21 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
EReference getCompany_PurchaseOrders();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model1.Company#getSalesOrders <em>Sales Orders</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Company#getSalesOrders <em>Sales Orders</em>}'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
* @return the meta object for the containment reference list '<em>Sales Orders</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Company#getSalesOrders()
+ * @see org.eclipse.emf.cdo.tests.model1.Company#getSalesOrders()
* @see #getCompany()
* @generated
*/
EReference getCompany_SalesOrders();
/**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model1.Supplier <em>Supplier</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model1.Supplier <em>Supplier</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Supplier</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Supplier
+ * @see org.eclipse.emf.cdo.tests.model1.Supplier
* @generated
*/
EClass getSupplier();
@@ -809,7 +811,7 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
* Returns the meta object for the reference list '
* {@link org.eclipse.emf.cdo.tests.legacy.model1.Supplier#getPurchaseOrders <em>Purchase Orders</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Purchase Orders</em>'.
* @see org.eclipse.emf.cdo.tests.legacy.model1.Supplier#getPurchaseOrders()
* @see #getSupplier()
@@ -818,40 +820,40 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
EReference getSupplier_PurchaseOrders();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model1.Supplier#isPreferred <em>Preferred</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Supplier#isPreferred <em>Preferred</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Preferred</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Supplier#isPreferred()
+ * @see org.eclipse.emf.cdo.tests.model1.Supplier#isPreferred()
* @see #getSupplier()
* @generated
*/
EAttribute getSupplier_Preferred();
/**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model1.Customer <em>Customer</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model1.Customer <em>Customer</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Customer</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Customer
+ * @see org.eclipse.emf.cdo.tests.model1.Customer
* @generated
*/
EClass getCustomer();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.legacy.model1.Customer#getSalesOrders <em>Sales Orders</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.emf.cdo.tests.model1.Customer#getSalesOrders <em>Sales Orders</em>}'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
* @return the meta object for the reference list '<em>Sales Orders</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Customer#getSalesOrders()
+ * @see org.eclipse.emf.cdo.tests.model1.Customer#getSalesOrders()
* @see #getCustomer()
* @generated
*/
EReference getCustomer_SalesOrders();
/**
- * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.legacy.model1.Customer#getOrderByProduct <em>Order By Product</em>}'.
+ * Returns the meta object for the map '{@link org.eclipse.emf.cdo.tests.model1.Customer#getOrderByProduct <em>Order By Product</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the map '<em>Order By Product</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Customer#getOrderByProduct()
+ * @see org.eclipse.emf.cdo.tests.model1.Customer#getOrderByProduct()
* @see #getCustomer()
* @generated
*/
@@ -860,7 +862,7 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
/**
* Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model1.Order <em>Order</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for class '<em>Order</em>'.
* @see org.eclipse.emf.cdo.tests.legacy.model1.Order
* @generated
@@ -868,170 +870,170 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
EClass getOrder();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model1.Order#getOrderDetails <em>Order Details</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails <em>Order Details</em>}'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
* @return the meta object for the containment reference list '<em>Order Details</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Order#getOrderDetails()
+ * @see org.eclipse.emf.cdo.tests.model1.Order#getOrderDetails()
* @see #getOrder()
* @generated
*/
EReference getOrder_OrderDetails();
/**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model1.OrderDetail <em>Order Detail</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail <em>Order Detail</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Order Detail</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.OrderDetail
+ * @see org.eclipse.emf.cdo.tests.model1.OrderDetail
* @generated
*/
EClass getOrderDetail();
/**
- * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.legacy.model1.OrderDetail#getOrder <em>Order</em>}'.
+ * Returns the meta object for the container reference '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder <em>Order</em>}'.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
* @return the meta object for the container reference '<em>Order</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.OrderDetail#getOrder()
+ * @see org.eclipse.emf.cdo.tests.model1.OrderDetail#getOrder()
* @see #getOrderDetail()
* @generated
*/
EReference getOrderDetail_Order();
/**
- * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.legacy.model1.OrderDetail#getProduct <em>Product</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct <em>Product</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the reference '<em>Product</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.OrderDetail#getProduct()
+ * @see org.eclipse.emf.cdo.tests.model1.OrderDetail#getProduct()
* @see #getOrderDetail()
* @generated
*/
EReference getOrderDetail_Product();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model1.OrderDetail#getPrice <em>Price</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail#getPrice <em>Price</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Price</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.OrderDetail#getPrice()
+ * @see org.eclipse.emf.cdo.tests.model1.OrderDetail#getPrice()
* @see #getOrderDetail()
* @generated
*/
EAttribute getOrderDetail_Price();
/**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model1.PurchaseOrder <em>Purchase Order</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder <em>Purchase Order</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Purchase Order</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.PurchaseOrder
+ * @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder
* @generated
*/
EClass getPurchaseOrder();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model1.PurchaseOrder#getDate <em>Date</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getDate <em>Date</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Date</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.PurchaseOrder#getDate()
+ * @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getDate()
* @see #getPurchaseOrder()
* @generated
*/
EAttribute getPurchaseOrder_Date();
/**
- * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.legacy.model1.PurchaseOrder#getSupplier <em>Supplier</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier <em>Supplier</em>}'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
* @return the meta object for the reference '<em>Supplier</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.PurchaseOrder#getSupplier()
+ * @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder#getSupplier()
* @see #getPurchaseOrder()
* @generated
*/
EReference getPurchaseOrder_Supplier();
/**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model1.SalesOrder <em>Sales Order</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder <em>Sales Order</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Sales Order</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.SalesOrder
+ * @see org.eclipse.emf.cdo.tests.model1.SalesOrder
* @generated
*/
EClass getSalesOrder();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model1.SalesOrder#getId <em>Id</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getId <em>Id</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Id</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.SalesOrder#getId()
+ * @see org.eclipse.emf.cdo.tests.model1.SalesOrder#getId()
* @see #getSalesOrder()
* @generated
*/
EAttribute getSalesOrder_Id();
/**
- * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.legacy.model1.SalesOrder#getCustomer <em>Customer</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer <em>Customer</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the reference '<em>Customer</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.SalesOrder#getCustomer()
+ * @see org.eclipse.emf.cdo.tests.model1.SalesOrder#getCustomer()
* @see #getSalesOrder()
* @generated
*/
EReference getSalesOrder_Customer();
/**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model1.Category <em>Category</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model1.Category <em>Category</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Category</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Category
+ * @see org.eclipse.emf.cdo.tests.model1.Category
* @generated
*/
EClass getCategory();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model1.Category#getName <em>Name</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Category#getName <em>Name</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Category#getName()
+ * @see org.eclipse.emf.cdo.tests.model1.Category#getName()
* @see #getCategory()
* @generated
*/
EAttribute getCategory_Name();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model1.Category#getCategories <em>Categories</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Category#getCategories <em>Categories</em>}'.
* <!-- begin-user-doc
* --> <!-- end-user-doc -->
* @return the meta object for the containment reference list '<em>Categories</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Category#getCategories()
+ * @see org.eclipse.emf.cdo.tests.model1.Category#getCategories()
* @see #getCategory()
* @generated
*/
EReference getCategory_Categories();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.legacy.model1.Category#getProducts <em>Products</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.emf.cdo.tests.model1.Category#getProducts <em>Products</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the containment reference list '<em>Products</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Category#getProducts()
+ * @see org.eclipse.emf.cdo.tests.model1.Category#getProducts()
* @see #getCategory()
* @generated
*/
EReference getCategory_Products();
/**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model1.Product1 <em>Product1</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model1.Product1 <em>Product1</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Product1</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Product1
+ * @see org.eclipse.emf.cdo.tests.model1.Product1
* @generated
*/
EClass getProduct1();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model1.Product1#getName <em>Name</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Product1#getName <em>Name</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Product1#getName()
+ * @see org.eclipse.emf.cdo.tests.model1.Product1#getName()
* @see #getProduct1()
* @generated
*/
@@ -1041,7 +1043,7 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
* Returns the meta object for the reference list '
* {@link org.eclipse.emf.cdo.tests.legacy.model1.Product1#getOrderDetails <em>Order Details</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the reference list '<em>Order Details</em>'.
* @see org.eclipse.emf.cdo.tests.legacy.model1.Product1#getOrderDetails()
* @see #getProduct1()
@@ -1050,41 +1052,41 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
EReference getProduct1_OrderDetails();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model1.Product1#getVat <em>Vat</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Product1#getVat <em>Vat</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Vat</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Product1#getVat()
+ * @see org.eclipse.emf.cdo.tests.model1.Product1#getVat()
* @see #getProduct1()
* @generated
*/
EAttribute getProduct1_Vat();
/**
- * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.legacy.model1.Product1#getOtherVATs <em>Other VA Ts</em>}'.
+ * Returns the meta object for the attribute list '{@link org.eclipse.emf.cdo.tests.model1.Product1#getOtherVATs <em>Other VA Ts</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the meta object for the attribute list '<em>Other VA Ts</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Product1#getOtherVATs()
+ * @see org.eclipse.emf.cdo.tests.model1.Product1#getOtherVATs()
* @see #getProduct1()
* @generated
*/
EAttribute getProduct1_OtherVATs();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.legacy.model1.Product1#getDescription <em>Description</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.cdo.tests.model1.Product1#getDescription <em>Description</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for the attribute '<em>Description</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.Product1#getDescription()
+ * @see org.eclipse.emf.cdo.tests.model1.Product1#getDescription()
* @see #getProduct1()
* @generated
*/
EAttribute getProduct1_Description();
/**
- * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.legacy.model1.OrderAddress <em>Order Address</em>}'.
+ * Returns the meta object for class '{@link org.eclipse.emf.cdo.tests.model1.OrderAddress <em>Order Address</em>}'.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @return the meta object for class '<em>Order Address</em>'.
- * @see org.eclipse.emf.cdo.tests.legacy.model1.OrderAddress
+ * @see org.eclipse.emf.cdo.tests.model1.OrderAddress
* @generated
*/
EClass getOrderAddress();
@@ -1093,7 +1095,7 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
* Returns the meta object for the attribute '
* {@link org.eclipse.emf.cdo.tests.legacy.model1.OrderAddress#isTestAttribute <em>Test Attribute</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for the attribute '<em>Test Attribute</em>'.
* @see org.eclipse.emf.cdo.tests.legacy.model1.OrderAddress#isTestAttribute()
* @see #getOrderAddress()
@@ -1107,8 +1109,8 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
* <!-- end-user-doc -->
* @return the meta object for class '<em>Product To Order</em>'.
* @see java.util.Map.Entry
- * @model keyType="org.eclipse.emf.cdo.tests.legacy.model1.Product1"
- * valueType="org.eclipse.emf.cdo.tests.legacy.model1.SalesOrder"
+ * @model keyType="org.eclipse.emf.cdo.tests.model1.Product1"
+ * valueType="org.eclipse.emf.cdo.tests.model1.SalesOrder"
* @generated
*/
EClass getProductToOrder();
@@ -1138,7 +1140,7 @@ public interface Model1Package extends org.eclipse.emf.cdo.tests.model1.Model1Pa
/**
* Returns the meta object for enum '{@link org.eclipse.emf.cdo.tests.legacy.model1.VAT <em>VAT</em>}'. <!--
* begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @return the meta object for enum '<em>VAT</em>'.
* @see org.eclipse.emf.cdo.tests.legacy.model1.VAT
* @generated
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/AddressImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/AddressImpl.java
index dc41e00a26..77f22193b0 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/AddressImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/AddressImpl.java
@@ -8,10 +8,10 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.Address;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
@@ -23,9 +23,9 @@ import org.eclipse.emf.ecore.impl.EObjectImpl;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.AddressImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.AddressImpl#getStreet <em>Street</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.AddressImpl#getCity <em>City</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.AddressImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.AddressImpl#getStreet <em>Street</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.AddressImpl#getCity <em>City</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/CategoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/CategoryImpl.java
index d4b2edcb03..1d31f4bbae 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/CategoryImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/CategoryImpl.java
@@ -8,11 +8,11 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.Category;
import org.eclipse.emf.cdo.tests.model1.Product1;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
@@ -31,9 +31,9 @@ import java.util.Collection;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CategoryImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CategoryImpl#getCategories <em>Categories</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CategoryImpl#getProducts <em>Products</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CategoryImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CategoryImpl#getCategories <em>Categories</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CategoryImpl#getProducts <em>Products</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/CompanyImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/CompanyImpl.java
index 1a2677d157..fc565da799 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/CompanyImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/CompanyImpl.java
@@ -8,15 +8,15 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.Category;
import org.eclipse.emf.cdo.tests.model1.Company;
import org.eclipse.emf.cdo.tests.model1.Customer;
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
import org.eclipse.emf.cdo.tests.model1.SalesOrder;
import org.eclipse.emf.cdo.tests.model1.Supplier;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
@@ -32,11 +32,11 @@ import java.util.Collection;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CompanyImpl#getCategories <em>Categories</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CompanyImpl#getSuppliers <em>Suppliers</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CompanyImpl#getCustomers <em>Customers</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CompanyImpl#getPurchaseOrders <em>Purchase Orders</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CompanyImpl#getSalesOrders <em>Sales Orders</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CompanyImpl#getCategories <em>Categories</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CompanyImpl#getSuppliers <em>Suppliers</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CompanyImpl#getCustomers <em>Customers</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CompanyImpl#getPurchaseOrders <em>Purchase Orders</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CompanyImpl#getSalesOrders <em>Sales Orders</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/CustomerImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/CustomerImpl.java
index 9d301ecb75..070af935f6 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/CustomerImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/CustomerImpl.java
@@ -8,12 +8,12 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.Customer;
import org.eclipse.emf.cdo.tests.model1.Product1;
import org.eclipse.emf.cdo.tests.model1.SalesOrder;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
@@ -32,8 +32,8 @@ import java.util.Collection;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CustomerImpl#getSalesOrders <em>Sales Orders</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.CustomerImpl#getOrderByProduct <em>Order By Product</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CustomerImpl#getSalesOrders <em>Sales Orders</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.CustomerImpl#getOrderByProduct <em>Order By Product</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/Model1FactoryImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/Model1FactoryImpl.java
index 000302f3f9..a4e062c83c 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/Model1FactoryImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/Model1FactoryImpl.java
@@ -8,10 +8,8 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Factory;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.Address;
import org.eclipse.emf.cdo.tests.model1.Category;
import org.eclipse.emf.cdo.tests.model1.Company;
@@ -23,6 +21,8 @@ import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
import org.eclipse.emf.cdo.tests.model1.SalesOrder;
import org.eclipse.emf.cdo.tests.model1.Supplier;
import org.eclipse.emf.cdo.tests.model1.VAT;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Factory;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EDataType;
@@ -33,6 +33,8 @@ import org.eclipse.emf.ecore.plugin.EcorePlugin;
import java.util.Map;
+//import org.eclipse.emf.cdo.tests.model1.*;
+
/**
* <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- end-user-doc -->
* @generated
@@ -47,7 +49,7 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory
/**
* Creates the default factory implementation. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
+ *
* @generated NOT
*/
public static Model1Factory init()
@@ -264,8 +266,10 @@ public class Model1FactoryImpl extends EFactoryImpl implements Model1Factory
{
VAT result = VAT.get(initialValue);
if (result == null)
+ {
throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '"
+ eDataType.getName() + "'");
+ }
return result;
}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/Model1PackageImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/Model1PackageImpl.java
index d3059a3f7f..fdb3eeb081 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/Model1PackageImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/Model1PackageImpl.java
@@ -8,10 +8,8 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Factory;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.Address;
import org.eclipse.emf.cdo.tests.model1.Category;
import org.eclipse.emf.cdo.tests.model1.Company;
@@ -23,7 +21,8 @@ import org.eclipse.emf.cdo.tests.model1.Product1;
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
import org.eclipse.emf.cdo.tests.model1.SalesOrder;
import org.eclipse.emf.cdo.tests.model1.Supplier;
-import org.eclipse.emf.cdo.tests.model1.VAT;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Factory;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
@@ -33,6 +32,7 @@ import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import java.util.Map;
+//import org.eclipse.emf.cdo.tests.model1.VAT;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
@@ -824,7 +824,7 @@ public class Model1PackageImpl extends EPackageImpl implements Model1Package
!IS_DERIVED, IS_ORDERED);
// Initialize enums and add enum literals
- initEEnum(vatEEnum, VAT.class, "VAT");
+ initEEnum(vatEEnum, org.eclipse.emf.cdo.tests.model1.VAT.class, "VAT");
addEEnumLiteral(vatEEnum, org.eclipse.emf.cdo.tests.model1.VAT.VAT0);
addEEnumLiteral(vatEEnum, org.eclipse.emf.cdo.tests.model1.VAT.VAT7);
addEEnumLiteral(vatEEnum, org.eclipse.emf.cdo.tests.model1.VAT.VAT15);
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/OrderAddressImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/OrderAddressImpl.java
index e552f4fec0..19df5bc739 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/OrderAddressImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/OrderAddressImpl.java
@@ -8,13 +8,13 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.Order;
import org.eclipse.emf.cdo.tests.model1.OrderAddress;
import org.eclipse.emf.cdo.tests.model1.OrderDetail;
import org.eclipse.emf.cdo.tests.model1.Product1;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
@@ -33,11 +33,11 @@ import java.util.Collection;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderAddressImpl#getOrderDetails <em>Order Details</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderAddressImpl#getOrder <em>Order</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderAddressImpl#getProduct <em>Product</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderAddressImpl#getPrice <em>Price</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderAddressImpl#isTestAttribute <em>Test Attribute</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderAddressImpl#getOrderDetails <em>Order Details</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderAddressImpl#getOrder <em>Order</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderAddressImpl#getProduct <em>Product</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderAddressImpl#getPrice <em>Price</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderAddressImpl#isTestAttribute <em>Test Attribute</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/OrderDetailImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/OrderDetailImpl.java
index 51302df7f2..3082cca7b7 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/OrderDetailImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/OrderDetailImpl.java
@@ -8,12 +8,12 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.Order;
import org.eclipse.emf.cdo.tests.model1.OrderDetail;
import org.eclipse.emf.cdo.tests.model1.Product1;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
@@ -28,9 +28,9 @@ import org.eclipse.emf.ecore.util.EcoreUtil;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderDetailImpl#getOrder <em>Order</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderDetailImpl#getProduct <em>Product</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderDetailImpl#getPrice <em>Price</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderDetailImpl#getOrder <em>Order</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderDetailImpl#getProduct <em>Product</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderDetailImpl#getPrice <em>Price</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/OrderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/OrderImpl.java
index a5f028c594..7da8a5efc2 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/OrderImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/OrderImpl.java
@@ -8,11 +8,11 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.Order;
import org.eclipse.emf.cdo.tests.model1.OrderDetail;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.common.util.EList;
@@ -29,7 +29,7 @@ import java.util.Collection;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.OrderImpl#getOrderDetails <em>Order Details</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.OrderImpl#getOrderDetails <em>Order Details</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/Product1Impl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/Product1Impl.java
index e91cf25f7d..855677ad8c 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/Product1Impl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/Product1Impl.java
@@ -8,12 +8,12 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.OrderDetail;
import org.eclipse.emf.cdo.tests.model1.Product1;
import org.eclipse.emf.cdo.tests.model1.VAT;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
@@ -33,11 +33,11 @@ import java.util.Collection;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.Product1Impl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.Product1Impl#getOrderDetails <em>Order Details</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.Product1Impl#getVat <em>Vat</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.Product1Impl#getOtherVATs <em>Other VA Ts</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.Product1Impl#getDescription <em>Description</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.Product1Impl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.Product1Impl#getOrderDetails <em>Order Details</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.Product1Impl#getVat <em>Vat</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.Product1Impl#getOtherVATs <em>Other VA Ts</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.Product1Impl#getDescription <em>Description</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/ProductToOrderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/ProductToOrderImpl.java
index 7ef6d38144..97ad6dadfc 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/ProductToOrderImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/ProductToOrderImpl.java
@@ -8,11 +8,11 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.Product1;
import org.eclipse.emf.cdo.tests.model1.SalesOrder;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.util.BasicEMap;
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/PurchaseOrderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/PurchaseOrderImpl.java
index 367c6288f3..27d12e1f1c 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/PurchaseOrderImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/PurchaseOrderImpl.java
@@ -8,11 +8,11 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
import org.eclipse.emf.cdo.tests.model1.Supplier;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/SalesOrderImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/SalesOrderImpl.java
index 3302ccdaad..2177864c0c 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/SalesOrderImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/SalesOrderImpl.java
@@ -8,11 +8,11 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.Customer;
import org.eclipse.emf.cdo.tests.model1.SalesOrder;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
@@ -25,8 +25,8 @@ import org.eclipse.emf.ecore.impl.ENotificationImpl;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.SalesOrderImpl#getId <em>Id</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.SalesOrderImpl#getCustomer <em>Customer</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.SalesOrderImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.SalesOrderImpl#getCustomer <em>Customer</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/SupplierImpl.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/SupplierImpl.java
index 7c264f31b4..2b9c67a7d7 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/legacy/model1/impl/SupplierImpl.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/impl/SupplierImpl.java
@@ -8,11 +8,11 @@
* Contributors:
* Eike Stepper - initial API and implementation
*/
-package org.eclipse.emf.cdo.tests.legacy.model1.impl;
+package org.eclipse.emf.cdo.tests.model1.legacy.impl;
-import org.eclipse.emf.cdo.tests.legacy.model1.Model1Package;
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
import org.eclipse.emf.cdo.tests.model1.Supplier;
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
@@ -30,8 +30,8 @@ import java.util.Collection;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.SupplierImpl#getPurchaseOrders <em>Purchase Orders</em>}</li>
- * <li>{@link org.eclipse.emf.cdo.tests.legacy.model1.impl.SupplierImpl#isPreferred <em>Preferred</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.SupplierImpl#getPurchaseOrders <em>Purchase Orders</em>}</li>
+ * <li>{@link org.eclipse.emf.cdo.tests.model1.legacy.impl.SupplierImpl#isPreferred <em>Preferred</em>}</li>
* </ul>
* </p>
*
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/util/Model1AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/util/Model1AdapterFactory.java
new file mode 100644
index 0000000000..c0bd4fe981
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/util/Model1AdapterFactory.java
@@ -0,0 +1,381 @@
+/**
+ * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.tests.model1.legacy.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.cdo.tests.model1.*;
+
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package
+ * @generated
+ */
+public class Model1AdapterFactory extends AdapterFactoryImpl
+{
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static Model1Package modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Model1AdapterFactory()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = Model1Package.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 Model1Switch<Adapter> modelSwitch = new Model1Switch<Adapter>()
+ {
+ @Override
+ public Adapter caseAddress(Address object)
+ {
+ return createAddressAdapter();
+ }
+
+ @Override
+ public Adapter caseCompany(Company object)
+ {
+ return createCompanyAdapter();
+ }
+
+ @Override
+ public Adapter caseSupplier(Supplier object)
+ {
+ return createSupplierAdapter();
+ }
+
+ @Override
+ public Adapter caseCustomer(Customer object)
+ {
+ return createCustomerAdapter();
+ }
+
+ @Override
+ public Adapter caseOrder(Order object)
+ {
+ return createOrderAdapter();
+ }
+
+ @Override
+ public Adapter caseOrderDetail(OrderDetail object)
+ {
+ return createOrderDetailAdapter();
+ }
+
+ @Override
+ public Adapter casePurchaseOrder(PurchaseOrder object)
+ {
+ return createPurchaseOrderAdapter();
+ }
+
+ @Override
+ public Adapter caseSalesOrder(SalesOrder object)
+ {
+ return createSalesOrderAdapter();
+ }
+
+ @Override
+ public Adapter caseCategory(Category object)
+ {
+ return createCategoryAdapter();
+ }
+
+ @Override
+ public Adapter caseProduct1(Product1 object)
+ {
+ return createProduct1Adapter();
+ }
+
+ @Override
+ public Adapter caseOrderAddress(OrderAddress object)
+ {
+ return createOrderAddressAdapter();
+ }
+
+ @Override
+ public Adapter caseProductToOrder(Map.Entry<Product1, SalesOrder> object)
+ {
+ return createProductToOrderAdapter();
+ }
+
+ @Override
+ public Adapter defaultCase(EObject object)
+ {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target)
+ {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.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.cdo.tests.model1.Address
+ * @generated
+ */
+ public Adapter createAddressAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Company <em>Company</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.tests.model1.Company
+ * @generated
+ */
+ public Adapter createCompanyAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Supplier <em>Supplier</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.tests.model1.Supplier
+ * @generated
+ */
+ public Adapter createSupplierAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.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.cdo.tests.model1.Customer
+ * @generated
+ */
+ public Adapter createCustomerAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Order <em>Order</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.tests.model1.Order
+ * @generated
+ */
+ public Adapter createOrderAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.OrderDetail <em>Order Detail</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.tests.model1.OrderDetail
+ * @generated
+ */
+ public Adapter createOrderDetailAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder <em>Purchase Order</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.tests.model1.PurchaseOrder
+ * @generated
+ */
+ public Adapter createPurchaseOrderAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.SalesOrder <em>Sales Order</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.tests.model1.SalesOrder
+ * @generated
+ */
+ public Adapter createSalesOrderAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Category <em>Category</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.tests.model1.Category
+ * @generated
+ */
+ public Adapter createCategoryAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Product1 <em>Product1</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.cdo.tests.model1.Product1
+ * @generated
+ */
+ public Adapter createProduct1Adapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.OrderAddress <em>Order 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.cdo.tests.model1.OrderAddress
+ * @generated
+ */
+ public Adapter createOrderAddressAdapter()
+ {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>Product To Order</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 java.util.Map.Entry
+ * @generated
+ */
+ public Adapter createProductToOrderAdapter()
+ {
+ 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;
+ }
+
+} //Model1AdapterFactory
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/util/Model1Switch.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/util/Model1Switch.java
new file mode 100644
index 0000000000..101f051605
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/legacy/util/Model1Switch.java
@@ -0,0 +1,436 @@
+/**
+ * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ */
+package org.eclipse.emf.cdo.tests.model1.legacy.util;
+
+import java.util.List;
+import java.util.Map;
+
+import org.eclipse.emf.cdo.tests.model1.*;
+
+import org.eclipse.emf.cdo.tests.model1.legacy.Model1Package;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.cdo.tests.model1.legacy.Model1Package
+ * @generated
+ */
+public class Model1Switch<T>
+{
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Eike Stepper - initial API and implementation";
+
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static Model1Package modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Model1Switch()
+ {
+ if (modelPackage == null)
+ {
+ modelPackage = Model1Package.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 Model1Package.ADDRESS:
+ {
+ Address address = (Address)theEObject;
+ T result = caseAddress(address);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Model1Package.COMPANY:
+ {
+ Company company = (Company)theEObject;
+ T result = caseCompany(company);
+ if (result == null)
+ result = caseAddress(company);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Model1Package.SUPPLIER:
+ {
+ Supplier supplier = (Supplier)theEObject;
+ T result = caseSupplier(supplier);
+ if (result == null)
+ result = caseAddress(supplier);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Model1Package.CUSTOMER:
+ {
+ Customer customer = (Customer)theEObject;
+ T result = caseCustomer(customer);
+ if (result == null)
+ result = caseAddress(customer);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Model1Package.ORDER:
+ {
+ Order order = (Order)theEObject;
+ T result = caseOrder(order);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Model1Package.ORDER_DETAIL:
+ {
+ OrderDetail orderDetail = (OrderDetail)theEObject;
+ T result = caseOrderDetail(orderDetail);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Model1Package.PURCHASE_ORDER:
+ {
+ PurchaseOrder purchaseOrder = (PurchaseOrder)theEObject;
+ T result = casePurchaseOrder(purchaseOrder);
+ if (result == null)
+ result = caseOrder(purchaseOrder);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Model1Package.SALES_ORDER:
+ {
+ SalesOrder salesOrder = (SalesOrder)theEObject;
+ T result = caseSalesOrder(salesOrder);
+ if (result == null)
+ result = caseOrder(salesOrder);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Model1Package.CATEGORY:
+ {
+ Category category = (Category)theEObject;
+ T result = caseCategory(category);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Model1Package.PRODUCT1:
+ {
+ Product1 product1 = (Product1)theEObject;
+ T result = caseProduct1(product1);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Model1Package.ORDER_ADDRESS:
+ {
+ OrderAddress orderAddress = (OrderAddress)theEObject;
+ T result = caseOrderAddress(orderAddress);
+ if (result == null)
+ result = caseAddress(orderAddress);
+ if (result == null)
+ result = caseOrder(orderAddress);
+ if (result == null)
+ result = caseOrderDetail(orderAddress);
+ if (result == null)
+ result = defaultCase(theEObject);
+ return result;
+ }
+ case Model1Package.PRODUCT_TO_ORDER:
+ {
+ @SuppressWarnings("unchecked")
+ Map.Entry<Product1, SalesOrder> productToOrder = (Map.Entry<Product1, SalesOrder>)theEObject;
+ T result = caseProductToOrder(productToOrder);
+ 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>Company</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>Company</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCompany(Company object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Supplier</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>Supplier</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSupplier(Supplier 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>Order</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>Order</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOrder(Order object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Order Detail</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>Order Detail</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOrderDetail(OrderDetail object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Purchase Order</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>Purchase Order</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T casePurchaseOrder(PurchaseOrder object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Sales Order</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>Sales Order</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseSalesOrder(SalesOrder object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Category</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>Category</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseCategory(Category object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Product1</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>Product1</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProduct1(Product1 object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Order 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>Order Address</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseOrderAddress(OrderAddress object)
+ {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpreting the object as an instance of '<em>Product To Order</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>Product To Order</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseProductToOrder(Map.Entry<Product1, SalesOrder> 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;
+ }
+
+} //Model1Switch
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1AdapterFactory.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1AdapterFactory.java
index 0d6ec676a5..1af8dbe263 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1AdapterFactory.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1AdapterFactory.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Eike Stepper - initial API and implementation
*/
@@ -30,6 +30,8 @@ import org.eclipse.emf.ecore.EObject;
import java.util.Map;
+//import org.eclipse.emf.cdo.tests.model1.*;
+
/**
* <!-- 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 -->
@@ -248,7 +250,7 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
* Creates a new adapter for an object of class '{@link java.util.Map.Entry <em>Product To Order</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 java.util.Map.Entry
* @generated
@@ -314,7 +316,7 @@ public class Model1AdapterFactory extends AdapterFactoryImpl
* Creates a new adapter for an object of class '{@link org.eclipse.emf.cdo.tests.model1.Order <em>Order</em>}'. <!--
* begin-user-doc --> This default implementation returns null so that we can easily ignore cases; it's useful to
* ignore a case when inheritance will catch all the cases anyway. <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @see org.eclipse.emf.cdo.tests.model1.Order
* @generated
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1Switch.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1Switch.java
index b4050c710e..dddeeda2fc 100644
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1Switch.java
+++ b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/util/Model1Switch.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Eike Stepper - initial API and implementation
*/
@@ -29,6 +29,8 @@ import org.eclipse.emf.ecore.util.Switch;
import java.util.Map;
+//import org.eclipse.emf.cdo.tests.model1.*;
+
/**
* <!-- 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,
@@ -89,7 +91,9 @@ public class Model1Switch<T> extends Switch<T>
Address address = (Address)theEObject;
T result = caseAddress(address);
if (result == null)
+ {
result = defaultCase(theEObject);
+ }
return result;
}
case Model1Package.COMPANY:
@@ -97,9 +101,13 @@ public class Model1Switch<T> extends Switch<T>
Company company = (Company)theEObject;
T result = caseCompany(company);
if (result == null)
+ {
result = caseAddress(company);
+ }
if (result == null)
+ {
result = defaultCase(theEObject);
+ }
return result;
}
case Model1Package.SUPPLIER:
@@ -107,9 +115,13 @@ public class Model1Switch<T> extends Switch<T>
Supplier supplier = (Supplier)theEObject;
T result = caseSupplier(supplier);
if (result == null)
+ {
result = caseAddress(supplier);
+ }
if (result == null)
+ {
result = defaultCase(theEObject);
+ }
return result;
}
case Model1Package.CUSTOMER:
@@ -117,9 +129,13 @@ public class Model1Switch<T> extends Switch<T>
Customer customer = (Customer)theEObject;
T result = caseCustomer(customer);
if (result == null)
+ {
result = caseAddress(customer);
+ }
if (result == null)
+ {
result = defaultCase(theEObject);
+ }
return result;
}
case Model1Package.ORDER:
@@ -127,7 +143,9 @@ public class Model1Switch<T> extends Switch<T>
Order order = (Order)theEObject;
T result = caseOrder(order);
if (result == null)
+ {
result = defaultCase(theEObject);
+ }
return result;
}
case Model1Package.ORDER_DETAIL:
@@ -135,7 +153,9 @@ public class Model1Switch<T> extends Switch<T>
OrderDetail orderDetail = (OrderDetail)theEObject;
T result = caseOrderDetail(orderDetail);
if (result == null)
+ {
result = defaultCase(theEObject);
+ }
return result;
}
case Model1Package.PURCHASE_ORDER:
@@ -143,9 +163,13 @@ public class Model1Switch<T> extends Switch<T>
PurchaseOrder purchaseOrder = (PurchaseOrder)theEObject;
T result = casePurchaseOrder(purchaseOrder);
if (result == null)
+ {
result = caseOrder(purchaseOrder);
+ }
if (result == null)
+ {
result = defaultCase(theEObject);
+ }
return result;
}
case Model1Package.SALES_ORDER:
@@ -153,9 +177,13 @@ public class Model1Switch<T> extends Switch<T>
SalesOrder salesOrder = (SalesOrder)theEObject;
T result = caseSalesOrder(salesOrder);
if (result == null)
+ {
result = caseOrder(salesOrder);
+ }
if (result == null)
+ {
result = defaultCase(theEObject);
+ }
return result;
}
case Model1Package.CATEGORY:
@@ -163,7 +191,9 @@ public class Model1Switch<T> extends Switch<T>
Category category = (Category)theEObject;
T result = caseCategory(category);
if (result == null)
+ {
result = defaultCase(theEObject);
+ }
return result;
}
case Model1Package.PRODUCT1:
@@ -171,7 +201,9 @@ public class Model1Switch<T> extends Switch<T>
Product1 product1 = (Product1)theEObject;
T result = caseProduct1(product1);
if (result == null)
+ {
result = defaultCase(theEObject);
+ }
return result;
}
case Model1Package.ORDER_ADDRESS:
@@ -179,13 +211,21 @@ public class Model1Switch<T> extends Switch<T>
OrderAddress orderAddress = (OrderAddress)theEObject;
T result = caseOrderAddress(orderAddress);
if (result == null)
+ {
result = caseAddress(orderAddress);
+ }
if (result == null)
+ {
result = caseOrder(orderAddress);
+ }
if (result == null)
+ {
result = caseOrderDetail(orderAddress);
+ }
if (result == null)
+ {
result = defaultCase(theEObject);
+ }
return result;
}
case Model1Package.PRODUCT_TO_ORDER:
@@ -194,7 +234,9 @@ public class Model1Switch<T> extends Switch<T>
Map.Entry<Product1, SalesOrder> productToOrder = (Map.Entry<Product1, SalesOrder>)theEObject;
T result = caseProductToOrder(productToOrder);
if (result == null)
+ {
result = defaultCase(theEObject);
+ }
return result;
}
default:
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/AddressValidator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/AddressValidator.java
deleted file mode 100644
index b8106b13e0..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/AddressValidator.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.model1.validation;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.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.
- *
- * @since 2.0
- */
-public interface AddressValidator
-{
- boolean validate();
-
- boolean validateName(String value);
-
- boolean validateStreet(String value);
-
- boolean validateCity(String value);
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/CategoryValidator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/CategoryValidator.java
deleted file mode 100644
index d89773790f..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/CategoryValidator.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.model1.validation;
-
-import org.eclipse.emf.cdo.tests.model1.Category;
-import org.eclipse.emf.cdo.tests.model1.Product1;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.Category}. 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.
- *
- * @since 2.0
- */
-public interface CategoryValidator
-{
- boolean validate();
-
- boolean validateName(String value);
-
- boolean validateCategories(EList<Category> value);
-
- boolean validateProducts(EList<Product1> value);
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/CompanyValidator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/CompanyValidator.java
deleted file mode 100644
index 9d9f67d39c..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/CompanyValidator.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.model1.validation;
-
-import org.eclipse.emf.cdo.tests.model1.Category;
-import org.eclipse.emf.cdo.tests.model1.Customer;
-import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
-import org.eclipse.emf.cdo.tests.model1.SalesOrder;
-import org.eclipse.emf.cdo.tests.model1.Supplier;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.Company}. 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.
- *
- * @since 2.0
- */
-public interface CompanyValidator
-{
- boolean validate();
-
- boolean validateCategories(EList<Category> value);
-
- boolean validateSuppliers(EList<Supplier> value);
-
- boolean validatePurchaseOrders(EList<PurchaseOrder> value);
-
- boolean validateCustomers(EList<Customer> value);
-
- boolean validateSalesOrders(EList<SalesOrder> value);
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/CustomerValidator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/CustomerValidator.java
deleted file mode 100644
index 9e31b80c92..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/CustomerValidator.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.model1.validation;
-
-import org.eclipse.emf.cdo.tests.model1.SalesOrder;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.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.
- *
- * @since 2.0
- */
-public interface CustomerValidator
-{
- boolean validate();
-
- boolean validateName(String value);
-
- boolean validateSalesOrders(EList<SalesOrder> value);
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderAddressValidator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderAddressValidator.java
deleted file mode 100644
index 52efc90ae6..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderAddressValidator.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.model1.validation;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.OrderAddress}. 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 OrderAddressValidator
-{
- boolean validate();
-
- boolean validateTestAttribute(boolean value);
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderDetailValidator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderDetailValidator.java
deleted file mode 100644
index 4310bb84f1..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderDetailValidator.java
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.model1.validation;
-
-import org.eclipse.emf.cdo.tests.model1.Order;
-import org.eclipse.emf.cdo.tests.model1.Product1;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.OrderDetail}. 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.
- *
- * @since 2.0
- */
-public interface OrderDetailValidator
-{
- boolean validate();
-
- boolean validateOrder(Order value);
-
- boolean validateProduct(Product1 value);
-
- boolean validatePrice(float value);
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderValidator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderValidator.java
deleted file mode 100644
index 445dcca68e..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/OrderValidator.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.model1.validation;
-
-import org.eclipse.emf.cdo.tests.model1.OrderDetail;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.Order}. 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.
- *
- * @since 2.0
- */
-public interface OrderValidator
-{
- boolean validate();
-
- boolean validateOrderDetails(EList<OrderDetail> value);
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/Product1Validator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/Product1Validator.java
deleted file mode 100644
index 3cda49f9e9..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/Product1Validator.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.model1.validation;
-
-import org.eclipse.emf.cdo.tests.model1.OrderDetail;
-import org.eclipse.emf.cdo.tests.model1.VAT;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.Product1}. 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 Product1Validator
-{
- boolean validate();
-
- boolean validateName(String value);
-
- boolean validateOrderDetails(EList<OrderDetail> value);
-
- boolean validateVat(VAT value);
-
- boolean validateDescription(String value);
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/PurchaseOrderValidator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/PurchaseOrderValidator.java
deleted file mode 100644
index ef522cbcf0..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/PurchaseOrderValidator.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.model1.validation;
-
-import org.eclipse.emf.cdo.tests.model1.Supplier;
-
-import java.util.Date;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.PurchaseOrder}. 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.
- *
- * @since 2.0
- */
-public interface PurchaseOrderValidator
-{
- boolean validate();
-
- boolean validateDate(Date value);
-
- boolean validateSupplier(Supplier value);
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/SalesOrderValidator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/SalesOrderValidator.java
deleted file mode 100644
index 7fa3bea866..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/SalesOrderValidator.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.model1.validation;
-
-import org.eclipse.emf.cdo.tests.model1.Customer;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.SalesOrder}. 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.
- *
- * @since 2.0
- */
-public interface SalesOrderValidator
-{
- boolean validate();
-
- boolean validateId(int value);
-
- boolean validateCustomer(Customer value);
-}
diff --git a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/SupplierValidator.java b/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/SupplierValidator.java
deleted file mode 100644
index 7e10d44921..0000000000
--- a/plugins/org.eclipse.emf.cdo.tests.model1/src/org/eclipse/emf/cdo/tests/model1/validation/SupplierValidator.java
+++ /dev/null
@@ -1,34 +0,0 @@
-/*
- * Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Eike Stepper - initial API and implementation
- */
-package org.eclipse.emf.cdo.tests.model1.validation;
-
-import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * A sample validator interface for {@link org.eclipse.emf.cdo.tests.model1.Supplier}. 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.
- *
- * @since 2.0
- */
-public interface SupplierValidator
-{
- boolean validate();
-
- boolean validatePurchaseOrders(EList<PurchaseOrder> value);
-
- boolean validatePreferred(boolean value);
-
- boolean validateName(String value);
-}

Back to the top