Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormtaal2007-03-30 15:38:57 +0000
committermtaal2007-03-30 15:38:57 +0000
commit86bfb95f5acb9c02f83e2884779cfad44f9a9f0e (patch)
tree20736f729117886ed80fbd214e6e353df6152d4e
parent8837da8d03a0af2ada74d68b420e632cbcc65bcc (diff)
downloadorg.eclipse.emf.teneo-86bfb95f5acb9c02f83e2884779cfad44f9a9f0e.tar.gz
org.eclipse.emf.teneo-86bfb95f5acb9c02f83e2884779cfad44f9a9f0e.tar.xz
org.eclipse.emf.teneo-86bfb95f5acb9c02f83e2884779cfad44f9a9f0e.zip
Solved multiple inheritance bug
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/extlibrary.Book.jdo4
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/main.ChildObject2.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.basic.Basic.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.Book.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.column.Book.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.compositeid.Parent.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.duplicates.ChildItem.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.Book.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.lazy.Book.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.lob.Person.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.AddIDDocument.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.nmset.MyItem.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.set.ContainedItem.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.toone.Address.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.Item.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachelist.Contacts.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.Contacts.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachtest.TestA.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.elist.featuremap.PriceByQuantityType.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relation1to1.ContainedChildNR.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relation1ton.Main.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relationntom.Main.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.accounting.Account.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.catalog.CatalogType.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.epo2.Item.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.forum.Forum.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.inv.PType.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.library.Book.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.play.ActType.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.product.ProductType.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.DocumentRoot.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.Book.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.sunBooks.AuthorsType.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.workflow.Workflow.jdo4
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.anytype.A.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.A.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.Element.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Book.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.Address.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.Address.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.statesByCountry.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.listunion.statesByCountry.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.DocumentRoot.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.A.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.Member.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.PurchaseOrder.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleList.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.ComplexNumber.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.ComplexAAA.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.abstractreference.Address.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.bagduplicate.Person.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.enumtest.Item.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.inheritance.Annotation.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.interfacetrue.Address.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.simplenm.Me.jdo2
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/testinheritance.SomeResource.jdo30
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/ParentTwo.java29
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/SomeReference.java54
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/TestinheritanceFactory.java11
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/TestinheritancePackage.java126
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/Child2Impl.java67
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/ChildImpl.java67
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/ParentTwoImpl.java65
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/SomeReferenceImpl.java161
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/TestinheritanceFactoryImpl.java13
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/TestinheritancePackageImpl.java51
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/model/testinheritance.ecore9
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/model/testinheritance.genmodel4
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/util/TestinheritanceAdapterFactory.java19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/testinheritance/util/TestinheritanceSwitch.java23
74 files changed, 774 insertions, 77 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/extlibrary.Book.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/extlibrary.Book.jdo
index 68ab50572..464503fde 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/extlibrary.Book.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/extlibrary.Book.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:19:54 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:06 CEST 2007 -->
<jdo>
<package name="extlibrary.impl">
<class name="extlibrary.impl.BookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
@@ -108,7 +108,7 @@
<discriminator value="CirculatingItem"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
- <field name="copies" persistence-modifier="persistent" null-value="exception"/>
+ <field name="copies" persistence-modifier="persistent" null-value="none"/>
<field name="borrowers" persistence-modifier="persistent" delete-action="restrict">
<collection element-type="extlibrary.impl.BorrowerImpl" dependent-element="false">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/main.ChildObject2.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/main.ChildObject2.jdo
index 2f8cf436a..39511784b 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/main.ChildObject2.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/main.ChildObject2.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:22:42 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:41 CEST 2007 -->
<jdo>
<package name="main.impl">
<class name="main.impl.ChildObject2Impl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.basic.Basic.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.basic.Basic.jdo
index 12a9741df..988a52894 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.basic.Basic.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.basic.Basic.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:43 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:14 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.basic.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.basic.impl.BasicImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="basic" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.Book.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.Book.jdo
index e5accf314..76d059701 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.Book.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.Book.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:38 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:09 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.BookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="book" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.column.Book.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.column.Book.jdo
index b1efdcc78..db7e8f5a4 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.column.Book.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.column.Book.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:45 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:15 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.column.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.column.impl.BookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="mybooktable" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.compositeid.Parent.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.compositeid.Parent.jdo
index 46e916fde..731396b31 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.compositeid.Parent.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.compositeid.Parent.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:39 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:10 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.compositeid.impl.ParentImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="application">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.duplicates.ChildItem.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.duplicates.ChildItem.jdo
index c8e19c824..00ab6874b 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.duplicates.ChildItem.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.duplicates.ChildItem.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:47 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:17 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.duplicates.impl.ChildItemImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="childitem" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.Book.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.Book.jdo
index 7447e59d1..1b6bb28af 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.Book.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.Book.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:35 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:06 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.edatatypeColumn.impl.BookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="mybooktable" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID.jdo
index 3dcec4b8d..49b54fa8e 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.id.IdentityID.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:46 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:16 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.id.impl.IdentityIDImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="identityid" identity-type="application">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address.jdo
index eb9c3c841..f3e27cc5b 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:46 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:16 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="address" identity-type="application">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.lazy.Book.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.lazy.Book.jdo
index 9d26b900a..5616d2516 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.lazy.Book.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.lazy.Book.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:41 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:12 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.lazy.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.lazy.impl.BookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="book" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.lob.Person.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.lob.Person.jdo
index b0459bac4..3f23039af 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.lob.Person.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.lob.Person.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:37 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:07 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.lob.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.lob.impl.PersonImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="person" identity-type="application">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr.jdo
index 77d855bb6..f9fd826d8 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.manytomany.Cntr.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:42 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:12 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.manytomany.impl.CntrImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="cntr" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.AddIDDocument.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.AddIDDocument.jdo
index c9502be6c..626050f84 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.AddIDDocument.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.AddIDDocument.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:33 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:04 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.mappedsuperclass.impl.AddIDDocumentImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="addiddocument" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.nmset.MyItem.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.nmset.MyItem.jdo
index 8c6271b39..3647e33df 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.nmset.MyItem.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.nmset.MyItem.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:48 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:19 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.nmset.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.nmset.impl.MyItemImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="myitem" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer.jdo
index a414c2ee1..a93d4e9f2 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.Printer.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:36 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:06 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.secondarytable.impl.PrinterImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="printer" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.set.ContainedItem.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.set.ContainedItem.jdo
index 8c633b16f..3878aeba3 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.set.ContainedItem.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.set.ContainedItem.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:51 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:20 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.set.impl.ContainedItemImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="containeditem" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.toone.Address.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.toone.Address.jdo
index 1e2d12e96..e3fd161e7 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.toone.Address.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.toone.Address.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:40 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:11 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.AddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="address" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.Item.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.Item.jdo
index 275e4258d..fe35a0b00 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.Item.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.Item.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:43 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:13 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ItemImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="MYITEMTABLE" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachelist.Contacts.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachelist.Contacts.jdo
index 94f8e815f..c3a0e3066 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachelist.Contacts.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachelist.Contacts.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:58 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:24 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.detach.detachelist.impl">
<class name="org.eclipse.emf.teneo.samples.emf.detach.detachelist.impl.ContactsImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="contacts" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.Contacts.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.Contacts.jdo
index f31e58428..f69b03837 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.Contacts.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.Contacts.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:59 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:25 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.impl">
<class name="org.eclipse.emf.teneo.samples.emf.detach.detachfeaturemap.impl.ContactsImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="contacts" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachtest.TestA.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachtest.TestA.jdo
index 8e835c9a6..125d24989 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachtest.TestA.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.detach.detachtest.TestA.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:18:57 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:23 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.detach.detachtest.impl">
<class name="org.eclipse.emf.teneo.samples.emf.detach.detachtest.impl.TestAImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="testa" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.elist.featuremap.PriceByQuantityType.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.elist.featuremap.PriceByQuantityType.jdo
index a19d5fa60..594d08e6c 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.elist.featuremap.PriceByQuantityType.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.elist.featuremap.PriceByQuantityType.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:19:01 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:27 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl">
<class name="org.eclipse.emf.teneo.samples.emf.elist.featuremap.impl.PriceByQuantityTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="pricebyquantitytype" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relation1to1.ContainedChildNR.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relation1to1.ContainedChildNR.jdo
index eef8a0a38..7abf8faf1 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relation1to1.ContainedChildNR.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relation1to1.ContainedChildNR.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:19:05 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:33 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl">
<class name="org.eclipse.emf.teneo.samples.emf.relation.relation1to1.impl.ContainedChildNRImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="containedchildnr" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relation1ton.Main.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relation1ton.Main.jdo
index 716b905c5..1cfabb15e 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relation1ton.Main.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relation1ton.Main.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:19:06 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:34 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl">
<class name="org.eclipse.emf.teneo.samples.emf.relation.relation1ton.impl.MainImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="main" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relationntom.Main.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relationntom.Main.jdo
index 48b7bbc99..8024e72dd 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relationntom.Main.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.relation.relationntom.Main.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:19:07 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:34:35 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl">
<class name="org.eclipse.emf.teneo.samples.emf.relation.relationntom.impl.MainImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="main" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.accounting.Account.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.accounting.Account.jdo
index f41db67d4..10ec0df83 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.accounting.Account.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.accounting.Account.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:20:21 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:22 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.accounting.impl.AccountImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="account" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.catalog.CatalogType.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.catalog.CatalogType.jdo
index 79585d188..cf9ed582e 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.catalog.CatalogType.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.catalog.CatalogType.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:20:37 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:31 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.CatalogTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="catalogtype" identity-type="application">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.epo2.Item.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.epo2.Item.jdo
index 5b89c1198..a31bd8d15 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.epo2.Item.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.epo2.Item.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:20:19 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:21 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.ItemImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="item" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.forum.Forum.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.forum.Forum.jdo
index ce0f36c07..f9b8354ca 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.forum.Forum.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.forum.Forum.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:20:35 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:30 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.ForumImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="forum" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.inv.PType.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.inv.PType.jdo
index 5cdb2c1e4..32b582280 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.inv.PType.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.inv.PType.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:20:16 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:19 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.inv.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.inv.impl.PTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="ptype" identity-type="application">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.library.Book.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.library.Book.jdo
index a6975a91e..1e9708b07 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.library.Book.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.library.Book.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:20:09 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:15 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.library.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="book" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.play.ActType.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.play.ActType.jdo
index d51c0648c..c1c29bc06 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.play.ActType.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.play.ActType.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:20:25 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:26 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.play.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.play.impl.ActTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="acttype" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.product.ProductType.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.product.ProductType.jdo
index 1a9217643..deb36c903 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.product.ProductType.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.product.ProductType.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:20:28 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:27 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.product.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ProductTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="producttype" identity-type="application">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.DocumentRoot.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.DocumentRoot.jdo
index 732308e3d..f3dbd26b4 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.DocumentRoot.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.DocumentRoot.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:20:31 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:29 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.ItemImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="item" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.Book.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.Book.jdo
index b432477be..61aeeabe0 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.Book.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.Book.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:19:53 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:05 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.schoollibrary.library.impl.BookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="book" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.sunBooks.AuthorsType.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.sunBooks.AuthorsType.jdo
index 11769aab3..9ac95f8d6 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.sunBooks.AuthorsType.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.sunBooks.AuthorsType.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:20:14 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:17 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.AuthorsTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="authorstype" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.workflow.Workflow.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.workflow.Workflow.jdo
index 8de0b0354..680e807fb 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.workflow.Workflow.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.sample.workflow.Workflow.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:20:11 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:16 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.WorkflowImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
@@ -124,7 +124,7 @@
<version strategy="version-number" column="e_version"/>
<field name="subworkflow" persistence-modifier="persistent" delete-action="restrict" null-value="none">
<foreign-key>
- <column name="workflow_subworkflow_id" allows-null="true"/>
+ <column name="workflow_subworkflow_id" allows-null="false"/>
</foreign-key>
<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.workflow.impl.WorkflowImpl"/>
</field>
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.anytype.A.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.anytype.A.jdo
index 5443376c7..7cd569a14 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.anytype.A.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.anytype.A.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:58 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:21 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.anytype.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.anytype.impl.AImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="a" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.A.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.A.jdo
index de8e96287..e9c71c84a 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.A.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.A.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:44 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:13 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl.AImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="a" identity-type="application">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.Element.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.Element.jdo
index dcb19f35e..9b05f7da8 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.Element.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.Element.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:28 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:03 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl.ElementImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="element" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Book.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Book.jdo
index 3a5b35d63..53d689156 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Book.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.Book.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:21 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:59 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.emap.impl.BookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="book" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.Address.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.Address.jdo
index 61e7551c5..6a8e0b9e6 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.Address.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.Address.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:39 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:08 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.extension.impl.AddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="address" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.Address.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.Address.jdo
index 7f4e36180..674637bf9 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.Address.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.Address.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:48 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:16 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.groupall.impl.AddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="address" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.statesByCountry.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.statesByCountry.jdo
index 2a83f4fdb..54370e091 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.statesByCountry.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.statesByCountry.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:23 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:00 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.list.impl.statesByCountryImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="statesbycountry" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.listunion.statesByCountry.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.listunion.statesByCountry.jdo
index f5f67c3c4..f373250bf 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.listunion.statesByCountry.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.listunion.statesByCountry.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:26 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:01 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.listunion.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.listunion.impl.statesByCountryImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="statesbycountry" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.DocumentRoot.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.DocumentRoot.jdo
index 19846dff9..d836fc30f 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.DocumentRoot.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.DocumentRoot.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:36 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:06 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.mixed.impl.LetterBodyTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="letterbodytype" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.A.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.A.jdo
index 6f3377fcd..2d216aa06 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.A.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.A.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:30 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:04 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.nestedgroup.impl.AImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="a" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.Member.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.Member.jdo
index b3197c5bb..4f0fb7871 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.Member.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.Member.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:41 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:12 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.restriction.impl.MemberImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.PurchaseOrder.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.PurchaseOrder.jdo
index 5592bad4a..5c4e88b53 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.PurchaseOrder.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.PurchaseOrder.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:46 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:14 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simplefeaturemap.impl.PurchaseOrderImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="purchaseorder" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleList.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleList.jdo
index f81331bd9..45c921815 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleList.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.SimpleList.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:19 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:35:57 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.simpletypes.impl.SimpleListImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="simplelist" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.ComplexNumber.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.ComplexNumber.jdo
index c25d0c556..02e8ad495 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.ComplexNumber.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.ComplexNumber.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:50 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:18 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitution.impl.ComplexNumberImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="complexnumber" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.ComplexAAA.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.ComplexAAA.jdo
index cb252db60..efb488ef4 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.ComplexAAA.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.ComplexAAA.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:21:53 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:20 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl">
<class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.substitutionzvon.impl.ComplexAAAImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="complexaaa" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.abstractreference.Address.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.abstractreference.Address.jdo
index 9a9188af1..48decb62d 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.abstractreference.Address.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.abstractreference.Address.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:23:03 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:51 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl">
<class name="org.eclipse.emf.teneo.samples.issues.abstractreference.impl.AddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="address" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.bagduplicate.Person.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.bagduplicate.Person.jdo
index 48e7c7c3d..df938b3ae 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.bagduplicate.Person.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.bagduplicate.Person.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:22:50 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:45 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.issues.bagduplicate.impl">
<class name="org.eclipse.emf.teneo.samples.issues.bagduplicate.impl.PersonImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="person" identity-type="application">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.enumtest.Item.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.enumtest.Item.jdo
index bf7ba65d5..fdadb6ab5 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.enumtest.Item.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.enumtest.Item.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:22:54 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:47 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.issues.enumtest.impl">
<class name="org.eclipse.emf.teneo.samples.issues.enumtest.impl.ItemImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="item" identity-type="application">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.inheritance.Annotation.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.inheritance.Annotation.jdo
index bea3fff25..9bf434988 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.inheritance.Annotation.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.inheritance.Annotation.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:22:45 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:44 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.issues.inheritance.impl">
<class name="org.eclipse.emf.teneo.samples.issues.inheritance.impl.AnnotationImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="application">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.interfacetrue.Address.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.interfacetrue.Address.jdo
index 28bba5d6b..36fa8462f 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.interfacetrue.Address.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.interfacetrue.Address.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:22:59 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:49 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.issues.interfacetrue.impl">
<class name="org.eclipse.emf.teneo.samples.issues.interfacetrue.impl.USAddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="usaddress" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.simplenm.Me.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.simplenm.Me.jdo
index c7687f855..c6a0081c7 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.simplenm.Me.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.issues.simplenm.Me.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:23:07 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:52 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.issues.simplenm.impl">
<class name="org.eclipse.emf.teneo.samples.issues.simplenm.impl.MeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="me" identity-type="datastore">
diff --git a/examples/org.eclipse.emf.teneo.samples/jdofiles/testinheritance.SomeResource.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/testinheritance.SomeResource.jdo
index 035a31c47..c76180522 100644
--- a/examples/org.eclipse.emf.teneo.samples/jdofiles/testinheritance.SomeResource.jdo
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/testinheritance.SomeResource.jdo
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
-<!-- Generated by Teneo on Sat Mar 24 11:22:39 CET 2007 -->
+<!-- Generated by Teneo on Fri Mar 30 06:36:37 CEST 2007 -->
<jdo>
<package name="testinheritance.impl">
<class name="testinheritance.impl.SomeResourceImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
@@ -76,6 +76,12 @@
<inheritance strategy="subclass-table"/>
<version strategy="version-number" column="e_version"/>
<field name="testId" persistence-modifier="persistent" primary-key="true"/>
+ <field name="someReference" persistence-modifier="persistent" delete-action="restrict" null-value="exception">
+ <foreign-key>
+ <column name="somereference_somereference_name" allows-null="false"/>
+ </foreign-key>
+ <extension vendor-name="jpox" key="implementation-classes" value="testinheritance.impl.SomeReferenceImpl"/>
+ </field>
</class>
<class name="testinheritance.impl.ParentZeroImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="parentzero" identity-type="datastore">
<implements name="testinheritance.ParentZero"/>
@@ -92,6 +98,12 @@
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="age" persistence-modifier="persistent" null-value="none"/>
+ <field name="someReference" persistence-modifier="persistent" delete-action="restrict" null-value="exception">
+ <foreign-key>
+ <column name="somereference_somereference_name" allows-null="false"/>
+ </foreign-key>
+ <extension vendor-name="jpox" key="implementation-classes" value="testinheritance.impl.SomeReferenceImpl"/>
+ </field>
</class>
<class name="testinheritance.impl.Child2Impl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="child2" identity-type="datastore">
<implements name="testinheritance.Child2"/>
@@ -101,6 +113,22 @@
<version strategy="version-number" column="e_version"/>
<field name="age" persistence-modifier="persistent" null-value="none"/>
<field name="anotherProperty" persistence-modifier="persistent" null-value="none"/>
+ <field name="someReference" persistence-modifier="persistent" delete-action="restrict" null-value="exception">
+ <foreign-key>
+ <column name="somereference_somereference_name" allows-null="false"/>
+ </foreign-key>
+ <extension vendor-name="jpox" key="implementation-classes" value="testinheritance.impl.SomeReferenceImpl"/>
+ </field>
+ </class>
+ <class name="testinheritance.impl.SomeReferenceImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="somereference" identity-type="application">
+ <implements name="testinheritance.SomeReference"/>
+ <implements name="org.eclipse.emf.ecore.EObject"/>
+ <implements name="org.eclipse.emf.common.notify.Notifier"/>
+ <inheritance strategy="new-table">
+ <discriminator column="DTYPE" strategy="value-map" value="SomeReference"/>
+ </inheritance>
+ <version strategy="version-number" column="e_version"/>
+ <field name="name" persistence-modifier="persistent" primary-key="true"/>
</class>
</package>
</jdo> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/ParentTwo.java b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/ParentTwo.java
index 689ac8941..0589f7296 100644
--- a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/ParentTwo.java
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/ParentTwo.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ParentTwo.java,v 1.1.2.2 2007/03/21 16:09:28 mtaal Exp $
+ * $Id: ParentTwo.java,v 1.1.2.3 2007/03/30 15:38:59 mtaal Exp $
*/
package testinheritance;
@@ -17,6 +17,7 @@ import org.eclipse.emf.ecore.EObject;
* The following features are supported:
* <ul>
* <li>{@link testinheritance.ParentTwo#getTestId <em>Test Id</em>}</li>
+ * <li>{@link testinheritance.ParentTwo#getSomeReference <em>Some Reference</em>}</li>
* </ul>
* </p>
*
@@ -51,4 +52,30 @@ public interface ParentTwo extends EObject {
*/
void setTestId(long value);
+ /**
+ * Returns the value of the '<em><b>Some Reference</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Some Reference</em>' reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Some Reference</em>' reference.
+ * @see #setSomeReference(SomeReference)
+ * @see testinheritance.TestinheritancePackage#getParentTwo_SomeReference()
+ * @model required="true"
+ * @generated
+ */
+ SomeReference getSomeReference();
+
+ /**
+ * Sets the value of the '{@link testinheritance.ParentTwo#getSomeReference <em>Some Reference</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Some Reference</em>' reference.
+ * @see #getSomeReference()
+ * @generated
+ */
+ void setSomeReference(SomeReference value);
+
} // ParentTwo \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/SomeReference.java b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/SomeReference.java
new file mode 100644
index 000000000..9784a1005
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/SomeReference.java
@@ -0,0 +1,54 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: SomeReference.java,v 1.1.2.2 2007/03/30 15:38:59 mtaal Exp $
+ */
+package testinheritance;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Some Reference</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link testinheritance.SomeReference#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see testinheritance.TestinheritancePackage#getSomeReference()
+ * @model
+ * @generated
+ */
+public interface SomeReference extends EObject {
+ /**
+ * Returns the value of the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Name</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Name</em>' attribute.
+ * @see #setName(String)
+ * @see testinheritance.TestinheritancePackage#getSomeReference_Name()
+ * @model annotation="teneo.jpa appinfo='@Id'"
+ * @generated
+ */
+ String getName();
+
+ /**
+ * Sets the value of the '{@link testinheritance.SomeReference#getName <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Name</em>' attribute.
+ * @see #getName()
+ * @generated
+ */
+ void setName(String value);
+
+} // SomeReference \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/TestinheritanceFactory.java b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/TestinheritanceFactory.java
index 8856c77d2..f5b49bd17 100644
--- a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/TestinheritanceFactory.java
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/TestinheritanceFactory.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: TestinheritanceFactory.java,v 1.1.2.3 2007/03/21 16:09:28 mtaal Exp $
+ * $Id: TestinheritanceFactory.java,v 1.1.2.4 2007/03/30 15:38:59 mtaal Exp $
*/
package testinheritance;
@@ -107,6 +107,15 @@ public interface TestinheritanceFactory extends EFactory {
Child2 createChild2();
/**
+ * Returns a new object of class '<em>Some Reference</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Some Reference</em>'.
+ * @generated
+ */
+ SomeReference createSomeReference();
+
+ /**
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/TestinheritancePackage.java b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/TestinheritancePackage.java
index f5068680a..5a5034552 100644
--- a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/TestinheritancePackage.java
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/TestinheritancePackage.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: TestinheritancePackage.java,v 1.1.2.4 2007/03/24 11:55:45 mtaal Exp $
+ * $Id: TestinheritancePackage.java,v 1.1.2.5 2007/03/30 15:38:59 mtaal Exp $
*/
package testinheritance;
@@ -256,13 +256,22 @@ public interface TestinheritancePackage extends EPackage {
int PARENT_TWO__TEST_ID = 0;
/**
+ * The feature id for the '<em><b>Some Reference</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int PARENT_TWO__SOME_REFERENCE = 1;
+
+ /**
* The number of structural features of the '<em>Parent Two</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int PARENT_TWO_FEATURE_COUNT = 1;
+ int PARENT_TWO_FEATURE_COUNT = 2;
/**
* The meta object id for the '{@link testinheritance.impl.ParentZeroImpl <em>Parent Zero</em>}' class.
@@ -321,13 +330,22 @@ public interface TestinheritancePackage extends EPackage {
int CHILD__TEST_ID = PARENT_ZERO_FEATURE_COUNT + 0;
/**
+ * The feature id for the '<em><b>Some Reference</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHILD__SOME_REFERENCE = PARENT_ZERO_FEATURE_COUNT + 1;
+
+ /**
* The feature id for the '<em><b>Age</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CHILD__AGE = PARENT_ZERO_FEATURE_COUNT + 1;
+ int CHILD__AGE = PARENT_ZERO_FEATURE_COUNT + 2;
/**
* The number of structural features of the '<em>Child</em>' class.
@@ -336,7 +354,7 @@ public interface TestinheritancePackage extends EPackage {
* @generated
* @ordered
*/
- int CHILD_FEATURE_COUNT = PARENT_ZERO_FEATURE_COUNT + 2;
+ int CHILD_FEATURE_COUNT = PARENT_ZERO_FEATURE_COUNT + 3;
/**
* The meta object id for the '{@link testinheritance.impl.Child2Impl <em>Child2</em>}' class.
@@ -376,13 +394,22 @@ public interface TestinheritancePackage extends EPackage {
int CHILD2__TEST_ID = PARENT_ZERO_FEATURE_COUNT + 1;
/**
+ * The feature id for the '<em><b>Some Reference</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int CHILD2__SOME_REFERENCE = PARENT_ZERO_FEATURE_COUNT + 2;
+
+ /**
* The feature id for the '<em><b>Age</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int CHILD2__AGE = PARENT_ZERO_FEATURE_COUNT + 2;
+ int CHILD2__AGE = PARENT_ZERO_FEATURE_COUNT + 3;
/**
* The number of structural features of the '<em>Child2</em>' class.
@@ -391,7 +418,36 @@ public interface TestinheritancePackage extends EPackage {
* @generated
* @ordered
*/
- int CHILD2_FEATURE_COUNT = PARENT_ZERO_FEATURE_COUNT + 3;
+ int CHILD2_FEATURE_COUNT = PARENT_ZERO_FEATURE_COUNT + 4;
+
+
+ /**
+ * The meta object id for the '{@link testinheritance.impl.SomeReferenceImpl <em>Some Reference</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see testinheritance.impl.SomeReferenceImpl
+ * @see testinheritance.impl.TestinheritancePackageImpl#getSomeReference()
+ * @generated
+ */
+ int SOME_REFERENCE = 9;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SOME_REFERENCE__NAME = 0;
+
+ /**
+ * The number of structural features of the '<em>Some Reference</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SOME_REFERENCE_FEATURE_COUNT = 1;
/**
@@ -532,6 +588,17 @@ public interface TestinheritancePackage extends EPackage {
EAttribute getParentTwo_TestId();
/**
+ * Returns the meta object for the reference '{@link testinheritance.ParentTwo#getSomeReference <em>Some Reference</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the reference '<em>Some Reference</em>'.
+ * @see testinheritance.ParentTwo#getSomeReference()
+ * @see #getParentTwo()
+ * @generated
+ */
+ EReference getParentTwo_SomeReference();
+
+ /**
* Returns the meta object for class '{@link testinheritance.ParentZero <em>Parent Zero</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -595,6 +662,27 @@ public interface TestinheritancePackage extends EPackage {
EAttribute getChild2_Age();
/**
+ * Returns the meta object for class '{@link testinheritance.SomeReference <em>Some Reference</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Some Reference</em>'.
+ * @see testinheritance.SomeReference
+ * @generated
+ */
+ EClass getSomeReference();
+
+ /**
+ * Returns the meta object for the attribute '{@link testinheritance.SomeReference#getName <em>Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see testinheritance.SomeReference#getName()
+ * @see #getSomeReference()
+ * @generated
+ */
+ EAttribute getSomeReference_Name();
+
+ /**
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -733,6 +821,14 @@ public interface TestinheritancePackage extends EPackage {
EAttribute PARENT_TWO__TEST_ID = eINSTANCE.getParentTwo_TestId();
/**
+ * The meta object literal for the '<em><b>Some Reference</b></em>' reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference PARENT_TWO__SOME_REFERENCE = eINSTANCE.getParentTwo_SomeReference();
+
+ /**
* The meta object literal for the '{@link testinheritance.impl.ParentZeroImpl <em>Parent Zero</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -786,6 +882,24 @@ public interface TestinheritancePackage extends EPackage {
*/
EAttribute CHILD2__AGE = eINSTANCE.getChild2_Age();
+ /**
+ * The meta object literal for the '{@link testinheritance.impl.SomeReferenceImpl <em>Some Reference</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see testinheritance.impl.SomeReferenceImpl
+ * @see testinheritance.impl.TestinheritancePackageImpl#getSomeReference()
+ * @generated
+ */
+ EClass SOME_REFERENCE = eINSTANCE.getSomeReference();
+
+ /**
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute SOME_REFERENCE__NAME = eINSTANCE.getSomeReference_Name();
+
}
} //TestinheritancePackage
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/Child2Impl.java b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/Child2Impl.java
index 3060e3d90..e3f823880 100644
--- a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/Child2Impl.java
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/Child2Impl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: Child2Impl.java,v 1.1.2.2 2007/03/21 16:09:27 mtaal Exp $
+ * $Id: Child2Impl.java,v 1.1.2.3 2007/03/30 15:38:59 mtaal Exp $
*/
package testinheritance.impl;
@@ -10,11 +10,14 @@ import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import testinheritance.Child2;
import testinheritance.ParentOne;
import testinheritance.ParentTwo;
+import testinheritance.SomeReference;
import testinheritance.TestinheritancePackage;
/**
@@ -26,6 +29,7 @@ import testinheritance.TestinheritancePackage;
* <ul>
* <li>{@link testinheritance.impl.Child2Impl#getAnotherProperty <em>Another Property</em>}</li>
* <li>{@link testinheritance.impl.Child2Impl#getTestId <em>Test Id</em>}</li>
+ * <li>{@link testinheritance.impl.Child2Impl#getSomeReference <em>Some Reference</em>}</li>
* <li>{@link testinheritance.impl.Child2Impl#getAge <em>Age</em>}</li>
* </ul>
* </p>
@@ -74,6 +78,16 @@ public class Child2Impl extends ParentZeroImpl implements Child2 {
protected long testId = TEST_ID_EDEFAULT;
/**
+ * The cached value of the '{@link #getSomeReference() <em>Some Reference</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSomeReference()
+ * @generated
+ * @ordered
+ */
+ protected SomeReference someReference = null;
+
+ /**
* The default value of the '{@link #getAge() <em>Age</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -158,6 +172,44 @@ public class Child2Impl extends ParentZeroImpl implements Child2 {
* <!-- end-user-doc -->
* @generated
*/
+ public SomeReference getSomeReference() {
+ if (someReference != null && someReference.eIsProxy()) {
+ InternalEObject oldSomeReference = (InternalEObject)someReference;
+ someReference = (SomeReference)eResolveProxy(oldSomeReference);
+ if (someReference != oldSomeReference) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, TestinheritancePackage.CHILD2__SOME_REFERENCE, oldSomeReference, someReference));
+ }
+ }
+ return someReference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SomeReference basicGetSomeReference() {
+ return someReference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSomeReference(SomeReference newSomeReference) {
+ SomeReference oldSomeReference = someReference;
+ someReference = newSomeReference;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, TestinheritancePackage.CHILD2__SOME_REFERENCE, oldSomeReference, someReference));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public long getAge() {
return age;
}
@@ -185,6 +237,9 @@ public class Child2Impl extends ParentZeroImpl implements Child2 {
return new Long(getAnotherProperty());
case TestinheritancePackage.CHILD2__TEST_ID:
return new Long(getTestId());
+ case TestinheritancePackage.CHILD2__SOME_REFERENCE:
+ if (resolve) return getSomeReference();
+ return basicGetSomeReference();
case TestinheritancePackage.CHILD2__AGE:
return new Long(getAge());
}
@@ -204,6 +259,9 @@ public class Child2Impl extends ParentZeroImpl implements Child2 {
case TestinheritancePackage.CHILD2__TEST_ID:
setTestId(((Long)newValue).longValue());
return;
+ case TestinheritancePackage.CHILD2__SOME_REFERENCE:
+ setSomeReference((SomeReference)newValue);
+ return;
case TestinheritancePackage.CHILD2__AGE:
setAge(((Long)newValue).longValue());
return;
@@ -224,6 +282,9 @@ public class Child2Impl extends ParentZeroImpl implements Child2 {
case TestinheritancePackage.CHILD2__TEST_ID:
setTestId(TEST_ID_EDEFAULT);
return;
+ case TestinheritancePackage.CHILD2__SOME_REFERENCE:
+ setSomeReference((SomeReference)null);
+ return;
case TestinheritancePackage.CHILD2__AGE:
setAge(AGE_EDEFAULT);
return;
@@ -242,6 +303,8 @@ public class Child2Impl extends ParentZeroImpl implements Child2 {
return anotherProperty != ANOTHER_PROPERTY_EDEFAULT;
case TestinheritancePackage.CHILD2__TEST_ID:
return testId != TEST_ID_EDEFAULT;
+ case TestinheritancePackage.CHILD2__SOME_REFERENCE:
+ return someReference != null;
case TestinheritancePackage.CHILD2__AGE:
return age != AGE_EDEFAULT;
}
@@ -263,6 +326,7 @@ public class Child2Impl extends ParentZeroImpl implements Child2 {
if (baseClass == ParentTwo.class) {
switch (derivedFeatureID) {
case TestinheritancePackage.CHILD2__TEST_ID: return TestinheritancePackage.PARENT_TWO__TEST_ID;
+ case TestinheritancePackage.CHILD2__SOME_REFERENCE: return TestinheritancePackage.PARENT_TWO__SOME_REFERENCE;
default: return -1;
}
}
@@ -284,6 +348,7 @@ public class Child2Impl extends ParentZeroImpl implements Child2 {
if (baseClass == ParentTwo.class) {
switch (baseFeatureID) {
case TestinheritancePackage.PARENT_TWO__TEST_ID: return TestinheritancePackage.CHILD2__TEST_ID;
+ case TestinheritancePackage.PARENT_TWO__SOME_REFERENCE: return TestinheritancePackage.CHILD2__SOME_REFERENCE;
default: return -1;
}
}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/ChildImpl.java b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/ChildImpl.java
index cdd126b46..760852bfc 100644
--- a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/ChildImpl.java
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/ChildImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ChildImpl.java,v 1.1.2.2 2007/03/21 16:09:27 mtaal Exp $
+ * $Id: ChildImpl.java,v 1.1.2.3 2007/03/30 15:38:59 mtaal Exp $
*/
package testinheritance.impl;
@@ -10,10 +10,13 @@ import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import testinheritance.Child;
import testinheritance.ParentTwo;
+import testinheritance.SomeReference;
import testinheritance.TestinheritancePackage;
/**
@@ -24,6 +27,7 @@ import testinheritance.TestinheritancePackage;
* The following features are implemented:
* <ul>
* <li>{@link testinheritance.impl.ChildImpl#getTestId <em>Test Id</em>}</li>
+ * <li>{@link testinheritance.impl.ChildImpl#getSomeReference <em>Some Reference</em>}</li>
* <li>{@link testinheritance.impl.ChildImpl#getAge <em>Age</em>}</li>
* </ul>
* </p>
@@ -52,6 +56,16 @@ public class ChildImpl extends ParentZeroImpl implements Child {
protected long testId = TEST_ID_EDEFAULT;
/**
+ * The cached value of the '{@link #getSomeReference() <em>Some Reference</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSomeReference()
+ * @generated
+ * @ordered
+ */
+ protected SomeReference someReference = null;
+
+ /**
* The default value of the '{@link #getAge() <em>Age</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -115,6 +129,44 @@ public class ChildImpl extends ParentZeroImpl implements Child {
* <!-- end-user-doc -->
* @generated
*/
+ public SomeReference getSomeReference() {
+ if (someReference != null && someReference.eIsProxy()) {
+ InternalEObject oldSomeReference = (InternalEObject)someReference;
+ someReference = (SomeReference)eResolveProxy(oldSomeReference);
+ if (someReference != oldSomeReference) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, TestinheritancePackage.CHILD__SOME_REFERENCE, oldSomeReference, someReference));
+ }
+ }
+ return someReference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SomeReference basicGetSomeReference() {
+ return someReference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSomeReference(SomeReference newSomeReference) {
+ SomeReference oldSomeReference = someReference;
+ someReference = newSomeReference;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, TestinheritancePackage.CHILD__SOME_REFERENCE, oldSomeReference, someReference));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public long getAge() {
return age;
}
@@ -140,6 +192,9 @@ public class ChildImpl extends ParentZeroImpl implements Child {
switch (featureID) {
case TestinheritancePackage.CHILD__TEST_ID:
return new Long(getTestId());
+ case TestinheritancePackage.CHILD__SOME_REFERENCE:
+ if (resolve) return getSomeReference();
+ return basicGetSomeReference();
case TestinheritancePackage.CHILD__AGE:
return new Long(getAge());
}
@@ -156,6 +211,9 @@ public class ChildImpl extends ParentZeroImpl implements Child {
case TestinheritancePackage.CHILD__TEST_ID:
setTestId(((Long)newValue).longValue());
return;
+ case TestinheritancePackage.CHILD__SOME_REFERENCE:
+ setSomeReference((SomeReference)newValue);
+ return;
case TestinheritancePackage.CHILD__AGE:
setAge(((Long)newValue).longValue());
return;
@@ -173,6 +231,9 @@ public class ChildImpl extends ParentZeroImpl implements Child {
case TestinheritancePackage.CHILD__TEST_ID:
setTestId(TEST_ID_EDEFAULT);
return;
+ case TestinheritancePackage.CHILD__SOME_REFERENCE:
+ setSomeReference((SomeReference)null);
+ return;
case TestinheritancePackage.CHILD__AGE:
setAge(AGE_EDEFAULT);
return;
@@ -189,6 +250,8 @@ public class ChildImpl extends ParentZeroImpl implements Child {
switch (featureID) {
case TestinheritancePackage.CHILD__TEST_ID:
return testId != TEST_ID_EDEFAULT;
+ case TestinheritancePackage.CHILD__SOME_REFERENCE:
+ return someReference != null;
case TestinheritancePackage.CHILD__AGE:
return age != AGE_EDEFAULT;
}
@@ -204,6 +267,7 @@ public class ChildImpl extends ParentZeroImpl implements Child {
if (baseClass == ParentTwo.class) {
switch (derivedFeatureID) {
case TestinheritancePackage.CHILD__TEST_ID: return TestinheritancePackage.PARENT_TWO__TEST_ID;
+ case TestinheritancePackage.CHILD__SOME_REFERENCE: return TestinheritancePackage.PARENT_TWO__SOME_REFERENCE;
default: return -1;
}
}
@@ -219,6 +283,7 @@ public class ChildImpl extends ParentZeroImpl implements Child {
if (baseClass == ParentTwo.class) {
switch (baseFeatureID) {
case TestinheritancePackage.PARENT_TWO__TEST_ID: return TestinheritancePackage.CHILD__TEST_ID;
+ case TestinheritancePackage.PARENT_TWO__SOME_REFERENCE: return TestinheritancePackage.CHILD__SOME_REFERENCE;
default: return -1;
}
}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/ParentTwoImpl.java b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/ParentTwoImpl.java
index e019f88f3..ac5b85c37 100644
--- a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/ParentTwoImpl.java
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/ParentTwoImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: ParentTwoImpl.java,v 1.1.2.2 2007/03/21 16:09:27 mtaal Exp $
+ * $Id: ParentTwoImpl.java,v 1.1.2.3 2007/03/30 15:38:59 mtaal Exp $
*/
package testinheritance.impl;
@@ -10,10 +10,13 @@ import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.InternalEObject;
+
import org.eclipse.emf.ecore.impl.ENotificationImpl;
import org.eclipse.emf.ecore.impl.EObjectImpl;
import testinheritance.ParentTwo;
+import testinheritance.SomeReference;
import testinheritance.TestinheritancePackage;
/**
@@ -24,6 +27,7 @@ import testinheritance.TestinheritancePackage;
* The following features are implemented:
* <ul>
* <li>{@link testinheritance.impl.ParentTwoImpl#getTestId <em>Test Id</em>}</li>
+ * <li>{@link testinheritance.impl.ParentTwoImpl#getSomeReference <em>Some Reference</em>}</li>
* </ul>
* </p>
*
@@ -51,6 +55,16 @@ public class ParentTwoImpl extends EObjectImpl implements ParentTwo {
protected long testId = TEST_ID_EDEFAULT;
/**
+ * The cached value of the '{@link #getSomeReference() <em>Some Reference</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getSomeReference()
+ * @generated
+ * @ordered
+ */
+ protected SomeReference someReference = null;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -94,10 +108,51 @@ public class ParentTwoImpl extends EObjectImpl implements ParentTwo {
* <!-- end-user-doc -->
* @generated
*/
+ public SomeReference getSomeReference() {
+ if (someReference != null && someReference.eIsProxy()) {
+ InternalEObject oldSomeReference = (InternalEObject)someReference;
+ someReference = (SomeReference)eResolveProxy(oldSomeReference);
+ if (someReference != oldSomeReference) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, TestinheritancePackage.PARENT_TWO__SOME_REFERENCE, oldSomeReference, someReference));
+ }
+ }
+ return someReference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public SomeReference basicGetSomeReference() {
+ return someReference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setSomeReference(SomeReference newSomeReference) {
+ SomeReference oldSomeReference = someReference;
+ someReference = newSomeReference;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, TestinheritancePackage.PARENT_TWO__SOME_REFERENCE, oldSomeReference, someReference));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case TestinheritancePackage.PARENT_TWO__TEST_ID:
return new Long(getTestId());
+ case TestinheritancePackage.PARENT_TWO__SOME_REFERENCE:
+ if (resolve) return getSomeReference();
+ return basicGetSomeReference();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -112,6 +167,9 @@ public class ParentTwoImpl extends EObjectImpl implements ParentTwo {
case TestinheritancePackage.PARENT_TWO__TEST_ID:
setTestId(((Long)newValue).longValue());
return;
+ case TestinheritancePackage.PARENT_TWO__SOME_REFERENCE:
+ setSomeReference((SomeReference)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -126,6 +184,9 @@ public class ParentTwoImpl extends EObjectImpl implements ParentTwo {
case TestinheritancePackage.PARENT_TWO__TEST_ID:
setTestId(TEST_ID_EDEFAULT);
return;
+ case TestinheritancePackage.PARENT_TWO__SOME_REFERENCE:
+ setSomeReference((SomeReference)null);
+ return;
}
super.eUnset(featureID);
}
@@ -139,6 +200,8 @@ public class ParentTwoImpl extends EObjectImpl implements ParentTwo {
switch (featureID) {
case TestinheritancePackage.PARENT_TWO__TEST_ID:
return testId != TEST_ID_EDEFAULT;
+ case TestinheritancePackage.PARENT_TWO__SOME_REFERENCE:
+ return someReference != null;
}
return super.eIsSet(featureID);
}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/SomeReferenceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/SomeReferenceImpl.java
new file mode 100644
index 000000000..ab5e0aaf4
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/SomeReferenceImpl.java
@@ -0,0 +1,161 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: SomeReferenceImpl.java,v 1.1.2.2 2007/03/30 15:38:59 mtaal Exp $
+ */
+package testinheritance.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import testinheritance.SomeReference;
+import testinheritance.TestinheritancePackage;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Some Reference</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link testinheritance.impl.SomeReferenceImpl#getName <em>Name</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class SomeReferenceImpl extends EObjectImpl implements SomeReference {
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected SomeReferenceImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return TestinheritancePackage.Literals.SOME_REFERENCE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, TestinheritancePackage.SOME_REFERENCE__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case TestinheritancePackage.SOME_REFERENCE__NAME:
+ return getName();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case TestinheritancePackage.SOME_REFERENCE__NAME:
+ setName((String)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case TestinheritancePackage.SOME_REFERENCE__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case TestinheritancePackage.SOME_REFERENCE__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (name: ");
+ result.append(name);
+ result.append(')');
+ return result.toString();
+ }
+
+} //SomeReferenceImpl \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/TestinheritanceFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/TestinheritanceFactoryImpl.java
index 2c53e0fed..ecab1e7e7 100644
--- a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/TestinheritanceFactoryImpl.java
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/TestinheritanceFactoryImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: TestinheritanceFactoryImpl.java,v 1.1.2.3 2007/03/21 16:09:27 mtaal Exp $
+ * $Id: TestinheritanceFactoryImpl.java,v 1.1.2.4 2007/03/30 15:38:59 mtaal Exp $
*/
package testinheritance.impl;
@@ -68,6 +68,7 @@ public class TestinheritanceFactoryImpl extends EFactoryImpl implements Testinhe
case TestinheritancePackage.PARENT_ZERO: return createParentZero();
case TestinheritancePackage.CHILD: return createChild();
case TestinheritancePackage.CHILD2: return createChild2();
+ case TestinheritancePackage.SOME_REFERENCE: return createSomeReference();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -168,6 +169,16 @@ public class TestinheritanceFactoryImpl extends EFactoryImpl implements Testinhe
* <!-- end-user-doc -->
* @generated
*/
+ public SomeReference createSomeReference() {
+ SomeReferenceImpl someReference = new SomeReferenceImpl();
+ return someReference;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public TestinheritancePackage getTestinheritancePackage() {
return (TestinheritancePackage)getEPackage();
}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/TestinheritancePackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/TestinheritancePackageImpl.java
index 4600dfe08..81592ab18 100644
--- a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/TestinheritancePackageImpl.java
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/impl/TestinheritancePackageImpl.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: TestinheritancePackageImpl.java,v 1.1.2.4 2007/03/24 11:55:45 mtaal Exp $
+ * $Id: TestinheritancePackageImpl.java,v 1.1.2.5 2007/03/30 15:38:59 mtaal Exp $
*/
package testinheritance.impl;
@@ -21,6 +21,7 @@ import testinheritance.ParentTwo;
import testinheritance.ParentZero;
import testinheritance.SomeBaseClass;
import testinheritance.SomeOtherBaseClass;
+import testinheritance.SomeReference;
import testinheritance.SomeResource;
import testinheritance.TestinheritanceFactory;
import testinheritance.TestinheritancePackage;
@@ -96,6 +97,13 @@ public class TestinheritancePackageImpl extends EPackageImpl implements Testinhe
private EClass child2EClass = null;
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass someReferenceEClass = null;
+
+ /**
* Creates an instance of the model <b>Package</b>, registered with
* {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
* package URI value.
@@ -285,6 +293,15 @@ public class TestinheritancePackageImpl extends EPackageImpl implements Testinhe
* <!-- end-user-doc -->
* @generated
*/
+ public EReference getParentTwo_SomeReference() {
+ return (EReference)parentTwoEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getParentZero() {
return parentZeroEClass;
}
@@ -339,6 +356,24 @@ public class TestinheritancePackageImpl extends EPackageImpl implements Testinhe
* <!-- end-user-doc -->
* @generated
*/
+ public EClass getSomeReference() {
+ return someReferenceEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getSomeReference_Name() {
+ return (EAttribute)someReferenceEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public TestinheritanceFactory getTestinheritanceFactory() {
return (TestinheritanceFactory)getEFactoryInstance();
}
@@ -380,6 +415,7 @@ public class TestinheritancePackageImpl extends EPackageImpl implements Testinhe
parentTwoEClass = createEClass(PARENT_TWO);
createEAttribute(parentTwoEClass, PARENT_TWO__TEST_ID);
+ createEReference(parentTwoEClass, PARENT_TWO__SOME_REFERENCE);
parentZeroEClass = createEClass(PARENT_ZERO);
createEAttribute(parentZeroEClass, PARENT_ZERO__NAME);
@@ -389,6 +425,9 @@ public class TestinheritancePackageImpl extends EPackageImpl implements Testinhe
child2EClass = createEClass(CHILD2);
createEAttribute(child2EClass, CHILD2__AGE);
+
+ someReferenceEClass = createEClass(SOME_REFERENCE);
+ createEAttribute(someReferenceEClass, SOME_REFERENCE__NAME);
}
/**
@@ -442,6 +481,7 @@ public class TestinheritancePackageImpl extends EPackageImpl implements Testinhe
initEClass(parentTwoEClass, ParentTwo.class, "ParentTwo", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getParentTwo_TestId(), ecorePackage.getELong(), "testId", null, 0, 1, ParentTwo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getParentTwo_SomeReference(), this.getSomeReference(), null, "someReference", null, 1, 1, ParentTwo.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(parentZeroEClass, ParentZero.class, "ParentZero", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getParentZero_Name(), ecorePackage.getEString(), "name", null, 0, 1, ParentZero.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -452,6 +492,9 @@ public class TestinheritancePackageImpl extends EPackageImpl implements Testinhe
initEClass(child2EClass, Child2.class, "Child2", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getChild2_Age(), ecorePackage.getELong(), "age", null, 0, 1, Child2.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEClass(someReferenceEClass, SomeReference.class, "SomeReference", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getSomeReference_Name(), ecorePackage.getEString(), "name", null, 0, 1, SomeReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
// Create resource
createResource(eNS_URI);
@@ -485,6 +528,12 @@ public class TestinheritancePackageImpl extends EPackageImpl implements Testinhe
source,
new String[] {
"appinfo", "@MappedSuperclass"
+ });
+ addAnnotation
+ (getSomeReference_Name(),
+ source,
+ new String[] {
+ "appinfo", "@Id"
});
}
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/model/testinheritance.ecore b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/model/testinheritance.ecore
index 16f4c465f..b55ee2871 100644
--- a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/model/testinheritance.ecore
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/model/testinheritance.ecore
@@ -28,6 +28,8 @@
<details key="appinfo" value="@Id"/>
</eAnnotations>
</eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="someReference" lowerBound="1"
+ eType="#//SomeReference"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ParentZero">
<eAnnotations source="teneo.jpa">
@@ -41,4 +43,11 @@
<eClassifiers xsi:type="ecore:EClass" name="Child2" eSuperTypes="#//ParentZero #//ParentOne #//ParentTwo">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="age" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//ELong"/>
</eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="SomeReference">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
+ <eAnnotations source="teneo.jpa">
+ <details key="appinfo" value="@Id"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/model/testinheritance.genmodel b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/model/testinheritance.genmodel
index a2a0840bb..dbf6d6733 100644
--- a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/model/testinheritance.genmodel
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/model/testinheritance.genmodel
@@ -22,6 +22,7 @@
</genClasses>
<genClasses ecoreClass="testinheritance.ecore#//ParentTwo">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute testinheritance.ecore#//ParentTwo/testId"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference testinheritance.ecore#//ParentTwo/someReference"/>
</genClasses>
<genClasses ecoreClass="testinheritance.ecore#//ParentZero">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute testinheritance.ecore#//ParentZero/name"/>
@@ -32,5 +33,8 @@
<genClasses ecoreClass="testinheritance.ecore#//Child2">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute testinheritance.ecore#//Child2/age"/>
</genClasses>
+ <genClasses ecoreClass="testinheritance.ecore#//SomeReference">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute testinheritance.ecore#//SomeReference/name"/>
+ </genClasses>
</genPackages>
</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/util/TestinheritanceAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/util/TestinheritanceAdapterFactory.java
index d7ec186b2..744681489 100644
--- a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/util/TestinheritanceAdapterFactory.java
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/util/TestinheritanceAdapterFactory.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: TestinheritanceAdapterFactory.java,v 1.1.2.3 2007/03/21 16:09:28 mtaal Exp $
+ * $Id: TestinheritanceAdapterFactory.java,v 1.1.2.4 2007/03/30 15:38:59 mtaal Exp $
*/
package testinheritance.util;
@@ -97,6 +97,9 @@ public class TestinheritanceAdapterFactory extends AdapterFactoryImpl {
public Object caseChild2(Child2 object) {
return createChild2Adapter();
}
+ public Object caseSomeReference(SomeReference object) {
+ return createSomeReferenceAdapter();
+ }
public Object defaultCase(EObject object) {
return createEObjectAdapter();
}
@@ -242,6 +245,20 @@ public class TestinheritanceAdapterFactory extends AdapterFactoryImpl {
}
/**
+ * Creates a new adapter for an object of class '{@link testinheritance.SomeReference <em>Some Reference</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 testinheritance.SomeReference
+ * @generated
+ */
+ public Adapter createSomeReferenceAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for the default case.
* <!-- begin-user-doc -->
* This default implementation returns null.
diff --git a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/util/TestinheritanceSwitch.java b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/util/TestinheritanceSwitch.java
index 52f165ecf..ecd988d20 100644
--- a/examples/org.eclipse.emf.teneo.samples/src/testinheritance/util/TestinheritanceSwitch.java
+++ b/examples/org.eclipse.emf.teneo.samples/src/testinheritance/util/TestinheritanceSwitch.java
@@ -2,7 +2,7 @@
* <copyright>
* </copyright>
*
- * $Id: TestinheritanceSwitch.java,v 1.1.2.3 2007/03/21 16:09:28 mtaal Exp $
+ * $Id: TestinheritanceSwitch.java,v 1.1.2.4 2007/03/30 15:38:59 mtaal Exp $
*/
package testinheritance.util;
@@ -148,6 +148,12 @@ public class TestinheritanceSwitch {
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case TestinheritancePackage.SOME_REFERENCE: {
+ SomeReference someReference = (SomeReference)theEObject;
+ Object result = caseSomeReference(someReference);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
default: return defaultCase(theEObject);
}
}
@@ -288,6 +294,21 @@ public class TestinheritanceSwitch {
}
/**
+ * Returns the result of interpretting the object as an instance of '<em>Some Reference</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 interpretting the object as an instance of '<em>Some Reference</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object caseSomeReference(SomeReference object) {
+ return null;
+ }
+
+ /**
* Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;

Back to the top