Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/org.eclipse.emf.teneo.samples/META-INF/MANIFEST.MF5
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/extlibrary.Book.jdo2
-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.jdo17
-rw-r--r--examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.Item.jdo19
-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.jdo2
-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.datetime.DocumentRoot.jdo23
-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/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/DatetimeFactory.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/DatetimePackage.java333
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/DocumentRoot.java115
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/TestDate.java83
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/DatetimeFactoryImpl.java108
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/DatetimePackageImpl.java342
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/DocumentRootImpl.java279
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/TestDateImpl.java215
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeAdapterFactory.java137
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeResourceFactoryImpl.java55
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeResourceImpl.java32
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeSwitch.java151
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeXMLProcessor.java50
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/model/datetime.ecore66
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/model/datetime.genmodel20
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/model/datetime.xsd15
77 files changed, 2174 insertions, 60 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/META-INF/MANIFEST.MF b/examples/org.eclipse.emf.teneo.samples/META-INF/MANIFEST.MF
index ff5a75407..6379871ac 100644
--- a/examples/org.eclipse.emf.teneo.samples/META-INF/MANIFEST.MF
+++ b/examples/org.eclipse.emf.teneo.samples/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %Plugin.name
Bundle-SymbolicName: org.eclipse.emf.teneo.samples
-Bundle-Version: 0.8.0.qualifier
+Bundle-Version: 0.7.5.qualifier
Bundle-Localization: plugin
Require-Bundle: org.eclipse.emf.ecore.xmi,
org.eclipse.core.runtime,
@@ -224,6 +224,9 @@ Export-Package: extlibrary,
org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes,
org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.impl,
org.eclipse.emf.teneo.samples.emf.schemaconstructs.attributes.util,
+ org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime,
+ org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl,
+ org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.util,
org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs,
org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.impl,
org.eclipse.emf.teneo.samples.emf.schemaconstructs.ecoreattrs.util,
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 0dcde6848..35f5a6b6d 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 Thu Feb 08 20:43:56 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:14 CET 2007 -->
<jdo>
<package name="extlibrary.impl">
<class name="extlibrary.impl.BookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
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 784850eb1..2e1abd8fe 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 Thu Feb 08 20:45:24 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:31 CET 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 202b53e03..868f28bf8 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 Thu Feb 08 20:42:45 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:11 CET 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 eadddcd7a..e6cc7ebcf 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 Thu Feb 08 20:42:37 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:06 CET 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 4cc004b41..a8b98fc4f 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 Thu Feb 08 20:42:47 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:13 CET 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 7be36e9cf..bcea74fea 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 Thu Feb 08 20:42:38 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:07 CET 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 e45761728..0a0ac1579 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 Thu Feb 08 20:42:50 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:15 CET 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 4bdccdc6c..8054972cf 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 Thu Feb 08 20:42:26 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:03 CET 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 d4a3fd3ce..2bb9b9bcd 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 Thu Feb 08 20:42:48 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:14 CET 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 07980b537..4b7acb0c4 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 Thu Feb 08 20:42:48 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:14 CET 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 b351a0a98..f4dda1c74 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 Thu Feb 08 20:42:41 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:08 CET 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 1134ea03d..345e2641d 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 Thu Feb 08 20:42:36 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:05 CET 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 b7726c309..66aad141a 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 Thu Feb 08 20:42:43 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:09 CET 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 552d99341..8ff389e72 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 Thu Feb 08 20:42:24 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:02 CET 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 a6f2aa8e4..f9ec8cc23 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 Thu Feb 08 20:42:51 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:16 CET 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 d5940a9cf..e38e12c3c 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 Thu Feb 08 20:42:27 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:04 CET 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 735ee7b54..02103f74e 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 Thu Feb 08 20:42:52 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:18 CET 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 fe76174f4..11e0f2d66 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 Thu Feb 08 20:42:39 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:08 CET 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">
@@ -14,6 +14,17 @@
<version strategy="version-number" column="e_version"/>
<field name="city" persistence-modifier="persistent" null-value="exception"/>
</class>
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.ArmImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="arm" identity-type="datastore">
+ <implements name="org.eclipse.emf.teneo.samples.emf.annotations.toone.Arm"/>
+ <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="Arm"/>
+ </inheritance>
+ <version strategy="version-number" column="e_version"/>
+ <field name="length" persistence-modifier="persistent" null-value="none"/>
+ <field name="lengthESet" persistence-modifier="persistent"/>
+ </class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.HeadImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="head" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.annotations.toone.Head"/>
<implements name="org.eclipse.emf.ecore.EObject"/>
@@ -46,6 +57,10 @@
<foreign-key delete-action="cascade" update-action="cascade"/>
<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.HeadImpl"/>
</field>
+ <field name="leftArm" persistence-modifier="persistent" delete-action="restrict" null-value="none">
+ <foreign-key/>
+ <extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.annotations.toone.impl.ArmImpl"/>
+ </field>
</class>
</package>
</jdo> \ No newline at end of file
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 458f497bf..5c881e95d 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 Thu Feb 08 20:42:43 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:10 CET 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">
@@ -15,14 +15,31 @@
<unique>
<column name="MYSTR"/>
<column name="MYINT"/>
+ <column name="MYPROJECT"/>
</unique>
<field name="name" persistence-modifier="persistent" null-value="exception">
<column name="MYSTR" allows-null="true"/>
</field>
+ <field name="project" persistence-modifier="persistent" delete-action="restrict" null-value="none">
+ <foreign-key>
+ <column name="MYPROJECT" allows-null="true"/>
+ </foreign-key>
+ <extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ProjectImpl"/>
+ </field>
<field name="age" persistence-modifier="persistent" null-value="none">
<column name="MYINT" allows-null="true"/>
</field>
<field name="ageESet" persistence-modifier="persistent"/>
</class>
+ <class name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ProjectImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="project" identity-type="datastore">
+ <implements name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.Project"/>
+ <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="Project"/>
+ </inheritance>
+ <version strategy="version-number" column="e_version"/>
+ <field name="name" persistence-modifier="persistent" null-value="exception"/>
+ </class>
</package>
</jdo> \ No newline at end of file
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 94d548ae2..f6940c036 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 Thu Feb 08 20:43:00 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:24 CET 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 fc7b77d20..552d60ba1 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 Thu Feb 08 20:43:01 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:25 CET 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 14fdc1388..ccb5d9dc5 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 Thu Feb 08 20:42:58 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:23 CET 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 e3a10287d..4cb3310d5 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 Thu Feb 08 20:43:03 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:27 CET 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 09e768bf3..561d96cc1 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 Thu Feb 08 20:43:08 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:31 CET 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 3dcfa207c..0a1b98ff6 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 Thu Feb 08 20:43:09 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:32 CET 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 bd81c3b92..217aad541 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 Thu Feb 08 20:43:10 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:40:33 CET 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 97247ebe8..58bec65f3 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 Thu Feb 08 20:44:04 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:20 CET 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 6e208d2e8..6a2643291 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 Thu Feb 08 20:44:13 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:28 CET 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 ee0dbc7e2..ba89436b5 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 Thu Feb 08 20:44:03 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:19 CET 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 f57290504..e41a3d215 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 Thu Feb 08 20:44:12 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:27 CET 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 50c700ac6..4ddceca2b 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 Thu Feb 08 20:43:58 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:15 CET 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 0e6eb4be5..d69d5f063 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 Thu Feb 08 20:43:52 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:10 CET 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 c1414a413..428c9ab7e 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 Thu Feb 08 20:44:07 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:23 CET 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 90ef199f8..c163cd233 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 Thu Feb 08 20:44:09 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:24 CET 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 e00b41b87..b723380c7 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 Thu Feb 08 20:44:10 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:26 CET 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 c39076f33..62caa9f4b 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 Thu Feb 08 20:44:01 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:17 CET 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 a00bdc9e1..ad7aa98df 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 Thu Feb 08 20:43:54 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:12 CET 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 dbe28908c..6b1c3bf23 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 Thu Feb 08 20:43:53 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:11 CET 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">
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 43591d226..c9bb6888c 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 Thu Feb 08 20:45:09 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:17 CET 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 4b069c4bf..63316d7cb 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 Thu Feb 08 20:45:00 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:08 CET 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.datetime.DocumentRoot.jdo b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot.jdo
new file mode 100644
index 000000000..dedc5e7ea
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/jdofiles/org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot.jdo
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
+
+<!-- Generated by Teneo on Mon Mar 05 18:25:34 CET 2007 -->
+<jdo>
+ <package name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl">
+ <class name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="testdate" identity-type="datastore">
+ <implements name="org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate"/>
+ <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="TestDate"/>
+ </inheritance>
+ <version strategy="version-number" column="e_version"/>
+ <field name="date" persistence-modifier="persistent" null-value="exception" field-type="org.eclipse.emf.ecore.xml.type.internal.XMLCalendar">
+ <column jdbc-type="TIMESTAMP" name="date"/>
+ </field>
+ <field name="datetime" persistence-modifier="persistent" null-value="exception" field-type="org.eclipse.emf.ecore.xml.type.internal.XMLCalendar">
+ <column jdbc-type="TIMESTAMP" name="datetime"/>
+ </field>
+ </class>
+ </package>
+</jdo> \ No newline at end of file
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 e038b0472..926699eae 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 Thu Feb 08 20:44:51 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:00 CET 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 e74ef8fb0..2a92ee5d1 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 Thu Feb 08 20:44:46 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:53 CET 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 b48e223db..1dc25b870 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 Thu Feb 08 20:44:57 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:05 CET 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 6a7897bcc..81aab9d8b 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 Thu Feb 08 20:45:03 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:11 CET 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 a6afcec89..1b6be98b3 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 Thu Feb 08 20:44:48 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:56 CET 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 48c6483af..8a8ac7000 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 Thu Feb 08 20:44:50 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:58 CET 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 0e6872862..0847fc2b7 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 Thu Feb 08 20:44:56 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:03 CET 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 8d5241a79..73f5468b5 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 Thu Feb 08 20:44:54 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:01 CET 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 a415d135d..a4f4dd4d0 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 Thu Feb 08 20:44:58 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:06 CET 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 544d2cfdf..236dee312 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 Thu Feb 08 20:45:01 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:10 CET 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 78a3b2e8f..85159488e 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 Thu Feb 08 20:44:47 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:41:55 CET 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 637cf614e..008fcedca 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 Thu Feb 08 20:45:04 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:13 CET 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 57a0bb114..3aa8055d0 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 Thu Feb 08 20:45:06 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:15 CET 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 7dd6a7b31..6c1f85ef8 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 Thu Feb 08 20:45:35 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:39 CET 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 b68c98929..52a6fdc26 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 Thu Feb 08 20:45:27 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:34 CET 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 16d39821f..6d019cd32 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 Thu Feb 08 20:45:31 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:36 CET 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 dc7439d07..7abc56fe1 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 Thu Feb 08 20:45:26 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:32 CET 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 e52f1d599..8f509a3b3 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 Thu Feb 08 20:45:33 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:38 CET 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" 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 ce48e31ca..7626187d4 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 Thu Feb 08 20:45:36 CET 2007 -->
+<!-- Generated by Teneo on Mon Mar 05 18:42:41 CET 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/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/DatetimeFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/DatetimeFactory.java
new file mode 100644
index 000000000..54ca371fd
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/DatetimeFactory.java
@@ -0,0 +1,55 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: DatetimeFactory.java,v 1.1.2.2 2007/03/05 18:07:52 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime;
+
+import org.eclipse.emf.ecore.EFactory;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Factory</b> for the model.
+ * It provides a create method for each non-abstract class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage
+ * @generated
+ */
+public interface DatetimeFactory extends EFactory {
+ /**
+ * The singleton instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ DatetimeFactory eINSTANCE = org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DatetimeFactoryImpl.init();
+
+ /**
+ * Returns a new object of class '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Document Root</em>'.
+ * @generated
+ */
+ DocumentRoot createDocumentRoot();
+
+ /**
+ * Returns a new object of class '<em>Test Date</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Test Date</em>'.
+ * @generated
+ */
+ TestDate createTestDate();
+
+ /**
+ * Returns the package supported by this factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the package supported by this factory.
+ * @generated
+ */
+ DatetimePackage getDatetimePackage();
+
+} //DatetimeFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/DatetimePackage.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/DatetimePackage.java
new file mode 100644
index 000000000..6b8cfd51b
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/DatetimePackage.java
@@ -0,0 +1,333 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: DatetimePackage.java,v 1.1.2.2 2007/03/05 18:07:52 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Package</b> for the model.
+ * It contains accessors for the meta objects to represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimeFactory
+ * @model kind="package"
+ * @generated
+ */
+public interface DatetimePackage extends EPackage {
+ /**
+ * The package name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNAME = "datetime";
+
+ /**
+ * The package namespace URI.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_URI = "http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/datetime";
+
+ /**
+ * The package namespace name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ String eNS_PREFIX = "datetime";
+
+ /**
+ * The singleton instance of the package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ DatetimePackage eINSTANCE = org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DatetimePackageImpl.init();
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DocumentRootImpl
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DatetimePackageImpl#getDocumentRoot()
+ * @generated
+ */
+ int DOCUMENT_ROOT = 0;
+
+ /**
+ * The feature id for the '<em><b>Mixed</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__MIXED = 0;
+
+ /**
+ * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XMLNS_PREFIX_MAP = 1;
+
+ /**
+ * The feature id for the '<em><b>XSI Schema Location</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = 2;
+
+ /**
+ * The feature id for the '<em><b>Root</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT__ROOT = 3;
+
+ /**
+ * The number of structural features of the '<em>Document Root</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int DOCUMENT_ROOT_FEATURE_COUNT = 4;
+
+ /**
+ * The meta object id for the '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl <em>Test Date</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DatetimePackageImpl#getTestDate()
+ * @generated
+ */
+ int TEST_DATE = 1;
+
+ /**
+ * The feature id for the '<em><b>Date</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEST_DATE__DATE = 0;
+
+ /**
+ * The feature id for the '<em><b>Datetime</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEST_DATE__DATETIME = 1;
+
+ /**
+ * The number of structural features of the '<em>Test Date</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int TEST_DATE_FEATURE_COUNT = 2;
+
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Document Root</em>'.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot
+ * @generated
+ */
+ EClass getDocumentRoot();
+
+ /**
+ * Returns the meta object for the attribute list '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getMixed <em>Mixed</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute list '<em>Mixed</em>'.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getMixed()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EAttribute getDocumentRoot_Mixed();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XMLNS Prefix Map</em>'.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getXMLNSPrefixMap()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * Returns the meta object for the map '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the map '<em>XSI Schema Location</em>'.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getXSISchemaLocation()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * Returns the meta object for the containment reference '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getRoot <em>Root</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Root</em>'.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getRoot()
+ * @see #getDocumentRoot()
+ * @generated
+ */
+ EReference getDocumentRoot_Root();
+
+ /**
+ * Returns the meta object for class '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate <em>Test Date</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Test Date</em>'.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate
+ * @generated
+ */
+ EClass getTestDate();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate#getDate <em>Date</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Date</em>'.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate#getDate()
+ * @see #getTestDate()
+ * @generated
+ */
+ EAttribute getTestDate_Date();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate#getDatetime <em>Datetime</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Datetime</em>'.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate#getDatetime()
+ * @see #getTestDate()
+ * @generated
+ */
+ EAttribute getTestDate_Datetime();
+
+ /**
+ * Returns the factory that creates the instances of the model.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the factory that creates the instances of the model.
+ * @generated
+ */
+ DatetimeFactory getDatetimeFactory();
+
+ /**
+ * <!-- begin-user-doc -->
+ * Defines literals for the meta objects that represent
+ * <ul>
+ * <li>each class,</li>
+ * <li>each feature of each class,</li>
+ * <li>each enum,</li>
+ * <li>and each data type</li>
+ * </ul>
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ interface Literals {
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DocumentRootImpl <em>Document Root</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DocumentRootImpl
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DatetimePackageImpl#getDocumentRoot()
+ * @generated
+ */
+ EClass DOCUMENT_ROOT = eINSTANCE.getDocumentRoot();
+
+ /**
+ * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute DOCUMENT_ROOT__MIXED = eINSTANCE.getDocumentRoot_Mixed();
+
+ /**
+ * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XMLNS_PREFIX_MAP = eINSTANCE.getDocumentRoot_XMLNSPrefixMap();
+
+ /**
+ * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__XSI_SCHEMA_LOCATION = eINSTANCE.getDocumentRoot_XSISchemaLocation();
+
+ /**
+ * The meta object literal for the '<em><b>Root</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference DOCUMENT_ROOT__ROOT = eINSTANCE.getDocumentRoot_Root();
+
+ /**
+ * The meta object literal for the '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl <em>Test Date</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DatetimePackageImpl#getTestDate()
+ * @generated
+ */
+ EClass TEST_DATE = eINSTANCE.getTestDate();
+
+ /**
+ * The meta object literal for the '<em><b>Date</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TEST_DATE__DATE = eINSTANCE.getTestDate_Date();
+
+ /**
+ * The meta object literal for the '<em><b>Datetime</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute TEST_DATE__DATETIME = eINSTANCE.getTestDate_Datetime();
+
+ }
+
+} //DatetimePackage
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/DocumentRoot.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/DocumentRoot.java
new file mode 100644
index 000000000..56fccdbaa
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/DocumentRoot.java
@@ -0,0 +1,115 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: DocumentRoot.java,v 1.1.2.2 2007/03/05 18:07:52 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.util.FeatureMap;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getRoot <em>Root</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage#getDocumentRoot()
+ * @model extendedMetaData="name='' kind='mixed'"
+ * @generated
+ */
+public interface DocumentRoot extends EObject {
+ /**
+ * Returns the value of the '<em><b>Mixed</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.util.FeatureMap.Entry}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Mixed</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Mixed</em>' attribute list.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage#getDocumentRoot_Mixed()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.EFeatureMapEntry" many="true"
+ * extendedMetaData="kind='elementWildcard' name=':mixed'"
+ * @generated
+ */
+ FeatureMap getMixed();
+
+ /**
+ * Returns the value of the '<em><b>XMLNS Prefix Map</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XMLNS Prefix Map</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XMLNS Prefix Map</em>' map.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage#getDocumentRoot_XMLNSPrefixMap()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
+ * extendedMetaData="kind='attribute' name='xmlns:prefix'"
+ * @generated
+ */
+ EMap getXMLNSPrefixMap();
+
+ /**
+ * Returns the value of the '<em><b>XSI Schema Location</b></em>' map.
+ * The key is of type {@link java.lang.String},
+ * and the value is of type {@link java.lang.String},
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>XSI Schema Location</em>' map isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>XSI Schema Location</em>' map.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage#getDocumentRoot_XSISchemaLocation()
+ * @model mapType="org.eclipse.emf.ecore.EStringToStringMapEntry" keyType="java.lang.String" valueType="java.lang.String" transient="true"
+ * extendedMetaData="kind='attribute' name='xsi:schemaLocation'"
+ * @generated
+ */
+ EMap getXSISchemaLocation();
+
+ /**
+ * Returns the value of the '<em><b>Root</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Root</em>' containment reference isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Root</em>' containment reference.
+ * @see #setRoot(TestDate)
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage#getDocumentRoot_Root()
+ * @model containment="true" upper="-2" transient="true" volatile="true" derived="true"
+ * extendedMetaData="kind='element' name='root' namespace='##targetNamespace'"
+ * @generated
+ */
+ TestDate getRoot();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot#getRoot <em>Root</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Root</em>' containment reference.
+ * @see #getRoot()
+ * @generated
+ */
+ void setRoot(TestDate value);
+
+} // DocumentRoot \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/TestDate.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/TestDate.java
new file mode 100644
index 000000000..b3f5e8d52
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/TestDate.java
@@ -0,0 +1,83 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: TestDate.java,v 1.1.2.2 2007/03/05 18:07:52 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime;
+
+import org.eclipse.emf.ecore.EObject;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Test Date</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate#getDate <em>Date</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate#getDatetime <em>Datetime</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage#getTestDate()
+ * @model extendedMetaData="name='TestDate' kind='elementOnly'"
+ * @generated
+ */
+public interface TestDate extends EObject {
+ /**
+ * Returns the value of the '<em><b>Date</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Date</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Date</em>' attribute.
+ * @see #setDate(Object)
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage#getTestDate_Date()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.Date" required="true"
+ * extendedMetaData="kind='element' name='date' namespace='##targetNamespace'"
+ * @generated
+ */
+ Object getDate();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate#getDate <em>Date</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Date</em>' attribute.
+ * @see #getDate()
+ * @generated
+ */
+ void setDate(Object value);
+
+ /**
+ * Returns the value of the '<em><b>Datetime</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Datetime</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Datetime</em>' attribute.
+ * @see #setDatetime(Object)
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage#getTestDate_Datetime()
+ * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.DateTime" required="true"
+ * extendedMetaData="kind='element' name='datetime' namespace='##targetNamespace'"
+ * @generated
+ */
+ Object getDatetime();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate#getDatetime <em>Datetime</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Datetime</em>' attribute.
+ * @see #getDatetime()
+ * @generated
+ */
+ void setDatetime(Object value);
+
+} // TestDate \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/DatetimeFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/DatetimeFactoryImpl.java
new file mode 100644
index 000000000..ffd5659fa
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/DatetimeFactoryImpl.java
@@ -0,0 +1,108 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: DatetimeFactoryImpl.java,v 1.1.2.2 2007/03/05 18:07:53 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.impl.EFactoryImpl;
+
+import org.eclipse.emf.ecore.plugin.EcorePlugin;
+
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Factory</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DatetimeFactoryImpl extends EFactoryImpl implements DatetimeFactory {
+ /**
+ * Creates the default factory implementation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static DatetimeFactory init() {
+ try {
+ DatetimeFactory theDatetimeFactory = (DatetimeFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/datetime");
+ if (theDatetimeFactory != null) {
+ return theDatetimeFactory;
+ }
+ }
+ catch (Exception exception) {
+ EcorePlugin.INSTANCE.log(exception);
+ }
+ return new DatetimeFactoryImpl();
+ }
+
+ /**
+ * Creates an instance of the factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatetimeFactoryImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EObject create(EClass eClass) {
+ switch (eClass.getClassifierID()) {
+ case DatetimePackage.DOCUMENT_ROOT: return createDocumentRoot();
+ case DatetimePackage.TEST_DATE: return createTestDate();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
+ }
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DocumentRoot createDocumentRoot() {
+ DocumentRootImpl documentRoot = new DocumentRootImpl();
+ return documentRoot;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TestDate createTestDate() {
+ TestDateImpl testDate = new TestDateImpl();
+ return testDate;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatetimePackage getDatetimePackage() {
+ return (DatetimePackage)getEPackage();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @deprecated
+ * @generated
+ */
+ public static DatetimePackage getPackage() {
+ return DatetimePackage.eINSTANCE;
+ }
+
+} //DatetimeFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/DatetimePackageImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/DatetimePackageImpl.java
new file mode 100644
index 000000000..08b271e5f
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/DatetimePackageImpl.java
@@ -0,0 +1,342 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: DatetimePackageImpl.java,v 1.1.2.2 2007/03/05 18:07:53 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl;
+
+import org.eclipse.emf.ecore.EAttribute;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EReference;
+
+import org.eclipse.emf.ecore.impl.EPackageImpl;
+
+import org.eclipse.emf.ecore.xml.type.XMLTypePackage;
+
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimeFactory;
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage;
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot;
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model <b>Package</b>.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DatetimePackageImpl extends EPackageImpl implements DatetimePackage {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass documentRootEClass = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass testDateEClass = null;
+
+ /**
+ * Creates an instance of the model <b>Package</b>, registered with
+ * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * package URI value.
+ * <p>Note: the correct way to create the package is via the static
+ * factory method {@link #init init()}, which also performs
+ * initialization of the package, or returns the registered package,
+ * if one already exists.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.ecore.EPackage.Registry
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage#eNS_URI
+ * @see #init()
+ * @generated
+ */
+ private DatetimePackageImpl() {
+ super(eNS_URI, DatetimeFactory.eINSTANCE);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private static boolean isInited = false;
+
+ /**
+ * Creates, registers, and initializes the <b>Package</b> for this
+ * model, and for any others upon which it depends. Simple
+ * dependencies are satisfied by calling this method on all
+ * dependent packages before doing anything else. This method drives
+ * initialization for interdependent packages directly, in parallel
+ * with this package, itself.
+ * <p>Of this package and its interdependencies, all packages which
+ * have not yet been registered by their URI values are first created
+ * and registered. The packages are then initialized in two steps:
+ * meta-model objects for all of the packages are created before any
+ * are initialized, since one package's meta-model objects may refer to
+ * those of another.
+ * <p>Invocation of this method will not affect any packages that have
+ * already been initialized.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #eNS_URI
+ * @see #createPackageContents()
+ * @see #initializePackageContents()
+ * @generated
+ */
+ public static DatetimePackage init() {
+ if (isInited) return (DatetimePackage)EPackage.Registry.INSTANCE.getEPackage(DatetimePackage.eNS_URI);
+
+ // Obtain or create and register package
+ DatetimePackageImpl theDatetimePackage = (DatetimePackageImpl)(EPackage.Registry.INSTANCE.getEPackage(eNS_URI) instanceof DatetimePackageImpl ? EPackage.Registry.INSTANCE.getEPackage(eNS_URI) : new DatetimePackageImpl());
+
+ isInited = true;
+
+ // Initialize simple dependencies
+ XMLTypePackage.eINSTANCE.eClass();
+
+ // Create package meta-data objects
+ theDatetimePackage.createPackageContents();
+
+ // Initialize created meta-data
+ theDatetimePackage.initializePackageContents();
+
+ // Mark meta-data to indicate it can't be changed
+ theDatetimePackage.freeze();
+
+ return theDatetimePackage;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getDocumentRoot() {
+ return documentRootEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getDocumentRoot_Mixed() {
+ return (EAttribute)documentRootEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XMLNSPrefixMap() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_XSISchemaLocation() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getDocumentRoot_Root() {
+ return (EReference)documentRootEClass.getEStructuralFeatures().get(3);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getTestDate() {
+ return testDateEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTestDate_Date() {
+ return (EAttribute)testDateEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getTestDate_Datetime() {
+ return (EAttribute)testDateEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatetimeFactory getDatetimeFactory() {
+ return (DatetimeFactory)getEFactoryInstance();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isCreated = false;
+
+ /**
+ * Creates the meta-model objects for the package. This method is
+ * guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void createPackageContents() {
+ if (isCreated) return;
+ isCreated = true;
+
+ // Create classes and their features
+ documentRootEClass = createEClass(DOCUMENT_ROOT);
+ createEAttribute(documentRootEClass, DOCUMENT_ROOT__MIXED);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ createEReference(documentRootEClass, DOCUMENT_ROOT__ROOT);
+
+ testDateEClass = createEClass(TEST_DATE);
+ createEAttribute(testDateEClass, TEST_DATE__DATE);
+ createEAttribute(testDateEClass, TEST_DATE__DATETIME);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private boolean isInitialized = false;
+
+ /**
+ * Complete the initialization of the package and its meta-model. This
+ * method is guarded to have no affect on any invocation but its first.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void initializePackageContents() {
+ if (isInitialized) return;
+ isInitialized = true;
+
+ // Initialize package
+ setName(eNAME);
+ setNsPrefix(eNS_PREFIX);
+ setNsURI(eNS_URI);
+
+ // Obtain other dependent packages
+ XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI);
+
+ // Add supertypes to classes
+
+ // Initialize classes and features; add operations and parameters
+ initEClass(documentRootEClass, DocumentRoot.class, "DocumentRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getDocumentRoot_Mixed(), ecorePackage.getEFeatureMapEntry(), "mixed", null, 0, -1, null, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_XMLNSPrefixMap(), ecorePackage.getEStringToStringMapEntry(), null, "xMLNSPrefixMap", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_XSISchemaLocation(), ecorePackage.getEStringToStringMapEntry(), null, "xSISchemaLocation", null, 0, -1, null, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getDocumentRoot_Root(), this.getTestDate(), null, "root", null, 0, -2, null, IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
+
+ initEClass(testDateEClass, TestDate.class, "TestDate", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getTestDate_Date(), theXMLTypePackage.getDate(), "date", null, 1, 1, TestDate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getTestDate_Datetime(), theXMLTypePackage.getDateTime(), "datetime", null, 1, 1, TestDate.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
+ // Create resource
+ createResource(eNS_URI);
+
+ // Create annotations
+ // http:///org/eclipse/emf/ecore/util/ExtendedMetaData
+ createExtendedMetaDataAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createExtendedMetaDataAnnotations() {
+ String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData";
+ addAnnotation
+ (documentRootEClass,
+ source,
+ new String[] {
+ "name", "",
+ "kind", "mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_Mixed(),
+ source,
+ new String[] {
+ "kind", "elementWildcard",
+ "name", ":mixed"
+ });
+ addAnnotation
+ (getDocumentRoot_XMLNSPrefixMap(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xmlns:prefix"
+ });
+ addAnnotation
+ (getDocumentRoot_XSISchemaLocation(),
+ source,
+ new String[] {
+ "kind", "attribute",
+ "name", "xsi:schemaLocation"
+ });
+ addAnnotation
+ (getDocumentRoot_Root(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "root",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (testDateEClass,
+ source,
+ new String[] {
+ "name", "TestDate",
+ "kind", "elementOnly"
+ });
+ addAnnotation
+ (getTestDate_Date(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "date",
+ "namespace", "##targetNamespace"
+ });
+ addAnnotation
+ (getTestDate_Datetime(),
+ source,
+ new String[] {
+ "kind", "element",
+ "name", "datetime",
+ "namespace", "##targetNamespace"
+ });
+ }
+
+} //DatetimePackageImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/DocumentRootImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/DocumentRootImpl.java
new file mode 100644
index 000000000..b66a7845c
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/DocumentRootImpl.java
@@ -0,0 +1,279 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: DocumentRootImpl.java,v 1.1.2.2 2007/03/05 18:07:53 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+
+import org.eclipse.emf.common.util.EMap;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.emf.ecore.InternalEObject;
+
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+import org.eclipse.emf.ecore.impl.EStringToStringMapEntryImpl;
+
+import org.eclipse.emf.ecore.util.BasicFeatureMap;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.FeatureMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage;
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot;
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Document Root</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DocumentRootImpl#getMixed <em>Mixed</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DocumentRootImpl#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DocumentRootImpl#getXSISchemaLocation <em>XSI Schema Location</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.DocumentRootImpl#getRoot <em>Root</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class DocumentRootImpl extends EObjectImpl implements DocumentRoot {
+ /**
+ * The cached value of the '{@link #getMixed() <em>Mixed</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getMixed()
+ * @generated
+ * @ordered
+ */
+ protected FeatureMap mixed = null;
+
+ /**
+ * The cached value of the '{@link #getXMLNSPrefixMap() <em>XMLNS Prefix Map</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXMLNSPrefixMap()
+ * @generated
+ * @ordered
+ */
+ protected EMap xMLNSPrefixMap = null;
+
+ /**
+ * The cached value of the '{@link #getXSISchemaLocation() <em>XSI Schema Location</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getXSISchemaLocation()
+ * @generated
+ * @ordered
+ */
+ protected EMap xSISchemaLocation = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DocumentRootImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return DatetimePackage.Literals.DOCUMENT_ROOT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public FeatureMap getMixed() {
+ if (mixed == null) {
+ mixed = new BasicFeatureMap(this, DatetimePackage.DOCUMENT_ROOT__MIXED);
+ }
+ return mixed;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap getXMLNSPrefixMap() {
+ if (xMLNSPrefixMap == null) {
+ xMLNSPrefixMap = new EcoreEMap(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, DatetimePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP);
+ }
+ return xMLNSPrefixMap;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap getXSISchemaLocation() {
+ if (xSISchemaLocation == null) {
+ xSISchemaLocation = new EcoreEMap(EcorePackage.Literals.ESTRING_TO_STRING_MAP_ENTRY, EStringToStringMapEntryImpl.class, this, DatetimePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION);
+ }
+ return xSISchemaLocation;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TestDate getRoot() {
+ return (TestDate)getMixed().get(DatetimePackage.Literals.DOCUMENT_ROOT__ROOT, true);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetRoot(TestDate newRoot, NotificationChain msgs) {
+ return ((FeatureMap.Internal)getMixed()).basicAdd(DatetimePackage.Literals.DOCUMENT_ROOT__ROOT, newRoot, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setRoot(TestDate newRoot) {
+ ((FeatureMap.Internal)getMixed()).set(DatetimePackage.Literals.DOCUMENT_ROOT__ROOT, newRoot);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case DatetimePackage.DOCUMENT_ROOT__MIXED:
+ return ((InternalEList)getMixed()).basicRemove(otherEnd, msgs);
+ case DatetimePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return ((InternalEList)getXMLNSPrefixMap()).basicRemove(otherEnd, msgs);
+ case DatetimePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return ((InternalEList)getXSISchemaLocation()).basicRemove(otherEnd, msgs);
+ case DatetimePackage.DOCUMENT_ROOT__ROOT:
+ return basicSetRoot(null, msgs);
+ }
+ return super.eInverseRemove(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DatetimePackage.DOCUMENT_ROOT__MIXED:
+ if (coreType) return getMixed();
+ return ((FeatureMap.Internal)getMixed()).getWrapper();
+ case DatetimePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ if (coreType) return getXMLNSPrefixMap();
+ else return getXMLNSPrefixMap().map();
+ case DatetimePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ if (coreType) return getXSISchemaLocation();
+ else return getXSISchemaLocation().map();
+ case DatetimePackage.DOCUMENT_ROOT__ROOT:
+ return getRoot();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DatetimePackage.DOCUMENT_ROOT__MIXED:
+ ((FeatureMap.Internal)getMixed()).set(newValue);
+ return;
+ case DatetimePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
+ return;
+ case DatetimePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
+ return;
+ case DatetimePackage.DOCUMENT_ROOT__ROOT:
+ setRoot((TestDate)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DatetimePackage.DOCUMENT_ROOT__MIXED:
+ getMixed().clear();
+ return;
+ case DatetimePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ getXMLNSPrefixMap().clear();
+ return;
+ case DatetimePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ getXSISchemaLocation().clear();
+ return;
+ case DatetimePackage.DOCUMENT_ROOT__ROOT:
+ setRoot((TestDate)null);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DatetimePackage.DOCUMENT_ROOT__MIXED:
+ return mixed != null && !mixed.isEmpty();
+ case DatetimePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
+ return xMLNSPrefixMap != null && !xMLNSPrefixMap.isEmpty();
+ case DatetimePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
+ return xSISchemaLocation != null && !xSISchemaLocation.isEmpty();
+ case DatetimePackage.DOCUMENT_ROOT__ROOT:
+ return getRoot() != null;
+ }
+ 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(" (mixed: ");
+ result.append(mixed);
+ result.append(')');
+ return result.toString();
+ }
+
+} //DocumentRootImpl \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/TestDateImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/TestDateImpl.java
new file mode 100644
index 000000000..209367550
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/impl/TestDateImpl.java
@@ -0,0 +1,215 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: TestDateImpl.java,v 1.1.2.2 2007/03/05 18:07:53 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl;
+
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+import org.eclipse.emf.ecore.impl.EObjectImpl;
+
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage;
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>Test Date</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * <ul>
+ * <li>{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl#getDate <em>Date</em>}</li>
+ * <li>{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.impl.TestDateImpl#getDatetime <em>Datetime</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @generated
+ */
+public class TestDateImpl extends EObjectImpl implements TestDate {
+ /**
+ * The default value of the '{@link #getDate() <em>Date</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDate()
+ * @generated
+ * @ordered
+ */
+ protected static final Object DATE_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDate() <em>Date</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDate()
+ * @generated
+ * @ordered
+ */
+ protected Object date = DATE_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getDatetime() <em>Datetime</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDatetime()
+ * @generated
+ * @ordered
+ */
+ protected static final Object DATETIME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getDatetime() <em>Datetime</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDatetime()
+ * @generated
+ * @ordered
+ */
+ protected Object datetime = DATETIME_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TestDateImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected EClass eStaticClass() {
+ return DatetimePackage.Literals.TEST_DATE;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getDate() {
+ return date;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDate(Object newDate) {
+ Object oldDate = date;
+ date = newDate;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatetimePackage.TEST_DATE__DATE, oldDate, date));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getDatetime() {
+ return datetime;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDatetime(Object newDatetime) {
+ Object oldDatetime = datetime;
+ datetime = newDatetime;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, DatetimePackage.TEST_DATE__DATETIME, oldDatetime, datetime));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object eGet(int featureID, boolean resolve, boolean coreType) {
+ switch (featureID) {
+ case DatetimePackage.TEST_DATE__DATE:
+ return getDate();
+ case DatetimePackage.TEST_DATE__DATETIME:
+ return getDatetime();
+ }
+ return super.eGet(featureID, resolve, coreType);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eSet(int featureID, Object newValue) {
+ switch (featureID) {
+ case DatetimePackage.TEST_DATE__DATE:
+ setDate((Object)newValue);
+ return;
+ case DatetimePackage.TEST_DATE__DATETIME:
+ setDatetime((Object)newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case DatetimePackage.TEST_DATE__DATE:
+ setDate(DATE_EDEFAULT);
+ return;
+ case DatetimePackage.TEST_DATE__DATETIME:
+ setDatetime(DATETIME_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case DatetimePackage.TEST_DATE__DATE:
+ return DATE_EDEFAULT == null ? date != null : !DATE_EDEFAULT.equals(date);
+ case DatetimePackage.TEST_DATE__DATETIME:
+ return DATETIME_EDEFAULT == null ? datetime != null : !DATETIME_EDEFAULT.equals(datetime);
+ }
+ 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(" (date: ");
+ result.append(date);
+ result.append(", datetime: ");
+ result.append(datetime);
+ result.append(')');
+ return result.toString();
+ }
+
+} //TestDateImpl \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeAdapterFactory.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeAdapterFactory.java
new file mode 100644
index 000000000..6abdb4ae5
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeAdapterFactory.java
@@ -0,0 +1,137 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: DatetimeAdapterFactory.java,v 1.1.2.2 2007/03/05 18:07:52 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.util;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Adapter Factory</b> for the model.
+ * It provides an adapter <code>createXXX</code> method for each class of the model.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage
+ * @generated
+ */
+public class DatetimeAdapterFactory extends AdapterFactoryImpl {
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static DatetimePackage modelPackage;
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatetimeAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = DatetimePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc -->
+ * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
+ * <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+ /**
+ * The switch the delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected DatetimeSwitch modelSwitch =
+ new DatetimeSwitch() {
+ public Object caseDocumentRoot(DocumentRoot object) {
+ return createDocumentRootAdapter();
+ }
+ public Object caseTestDate(TestDate object) {
+ return createTestDateAdapter();
+ }
+ public Object defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ public Adapter createAdapter(Notifier target) {
+ return (Adapter)modelSwitch.doSwitch((EObject)target);
+ }
+
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot <em>Document Root</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DocumentRoot
+ * @generated
+ */
+ public Adapter createDocumentRootAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate <em>Test Date</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.TestDate
+ * @generated
+ */
+ public Adapter createTestDateAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+} //DatetimeAdapterFactory
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeResourceFactoryImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeResourceFactoryImpl.java
new file mode 100644
index 000000000..a93bf8515
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeResourceFactoryImpl.java
@@ -0,0 +1,55 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: DatetimeResourceFactoryImpl.java,v 1.1.2.2 2007/03/05 18:07:52 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl;
+
+import org.eclipse.emf.ecore.xmi.XMLResource;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource Factory</b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.util.DatetimeResourceImpl
+ * @generated
+ */
+public class DatetimeResourceFactoryImpl extends ResourceFactoryImpl {
+ /**
+ * Creates an instance of the resource factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatetimeResourceFactoryImpl() {
+ super();
+ }
+
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Resource createResource(URI uri) {
+ XMLResource result = new DatetimeResourceImpl(uri);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE);
+
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+ result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE);
+
+ result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE);
+ return result;
+ }
+
+} //DatetimeResourceFactoryImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeResourceImpl.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeResourceImpl.java
new file mode 100644
index 000000000..d45926d4d
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeResourceImpl.java
@@ -0,0 +1,32 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: DatetimeResourceImpl.java,v 1.1.2.2 2007/03/05 18:07:52 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.util;
+
+import org.eclipse.emf.common.util.URI;
+
+import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Resource </b> associated with the package.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.util.DatetimeResourceFactoryImpl
+ * @generated
+ */
+public class DatetimeResourceImpl extends XMLResourceImpl {
+ /**
+ * Creates an instance of the resource.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param uri the URI of the new resource.
+ * @generated
+ */
+ public DatetimeResourceImpl(URI uri) {
+ super(uri);
+ }
+
+} //DatetimeResourceImpl
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeSwitch.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeSwitch.java
new file mode 100644
index 000000000..80a450a36
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeSwitch.java
@@ -0,0 +1,151 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: DatetimeSwitch.java,v 1.1.2.2 2007/03/05 18:07:52 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.util;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.*;
+
+/**
+ * <!-- begin-user-doc -->
+ * The <b>Switch</b> for the model's inheritance hierarchy.
+ * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
+ * to invoke the <code>caseXXX</code> method for each class of the model,
+ * starting with the actual class of the object
+ * and proceeding up the inheritance hierarchy
+ * until a non-null result is returned,
+ * which is the result of the switch.
+ * <!-- end-user-doc -->
+ * @see org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage
+ * @generated
+ */
+public class DatetimeSwitch {
+ /**
+ * The cached model package
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected static DatetimePackage modelPackage;
+
+ /**
+ * Creates an instance of the switch.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatetimeSwitch() {
+ if (modelPackage == null) {
+ modelPackage = DatetimePackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ public Object doSwitch(EObject theEObject) {
+ return doSwitch(theEObject.eClass(), theEObject);
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected Object doSwitch(EClass theEClass, EObject theEObject) {
+ if (theEClass.eContainer() == modelPackage) {
+ return doSwitch(theEClass.getClassifierID(), theEObject);
+ }
+ else {
+ List eSuperTypes = theEClass.getESuperTypes();
+ return
+ eSuperTypes.isEmpty() ?
+ defaultCase(theEObject) :
+ doSwitch((EClass)eSuperTypes.get(0), theEObject);
+ }
+ }
+
+ /**
+ * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @generated
+ */
+ protected Object doSwitch(int classifierID, EObject theEObject) {
+ switch (classifierID) {
+ case DatetimePackage.DOCUMENT_ROOT: {
+ DocumentRoot documentRoot = (DocumentRoot)theEObject;
+ Object result = caseDocumentRoot(documentRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ case DatetimePackage.TEST_DATE: {
+ TestDate testDate = (TestDate)theEObject;
+ Object result = caseTestDate(testDate);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
+ }
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>Document Root</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>Document Root</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object caseDocumentRoot(DocumentRoot object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>Test Date</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>Test Date</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public Object caseTestDate(TestDate object) {
+ return null;
+ }
+
+ /**
+ * Returns the result of interpretting the object as an instance of '<em>EObject</em>'.
+ * <!-- begin-user-doc -->
+ * This implementation returns null;
+ * returning a non-null result will terminate the switch, but this is the last case anyway.
+ * <!-- end-user-doc -->
+ * @param object the target of the switch.
+ * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject)
+ * @generated
+ */
+ public Object defaultCase(EObject object) {
+ return null;
+ }
+
+} //DatetimeSwitch
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeXMLProcessor.java b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeXMLProcessor.java
new file mode 100644
index 000000000..85da60280
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/datetime/util/DatetimeXMLProcessor.java
@@ -0,0 +1,50 @@
+/**
+ * <copyright>
+ * </copyright>
+ *
+ * $Id: DatetimeXMLProcessor.java,v 1.1.2.2 2007/03/05 18:07:52 mtaal Exp $
+ */
+package org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.util;
+
+import java.util.Map;
+
+import org.eclipse.emf.ecore.EPackage;
+
+import org.eclipse.emf.ecore.xmi.util.XMLProcessor;
+
+import org.eclipse.emf.teneo.samples.emf.schemaconstructs.datetime.DatetimePackage;
+
+/**
+ * This class contains helper methods to serialize and deserialize XML documents
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class DatetimeXMLProcessor extends XMLProcessor {
+ /**
+ * Public constructor to instantiate the helper.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DatetimeXMLProcessor() {
+ super((EPackage.Registry.INSTANCE));
+ DatetimePackage.eINSTANCE.eClass();
+ }
+
+ /**
+ * Register for "*" and "xml" file extensions the DatetimeResourceFactoryImpl factory.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected Map getRegistrations() {
+ if (registrations == null) {
+ super.getRegistrations();
+ registrations.put(XML_EXTENSION, new DatetimeResourceFactoryImpl());
+ registrations.put(STAR_EXTENSION, new DatetimeResourceFactoryImpl());
+ }
+ return registrations;
+ }
+
+} //DatetimeXMLProcessor
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/model/datetime.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/model/datetime.ecore
new file mode 100644
index 000000000..a6c6ca9f7
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/model/datetime.ecore
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ecore:EPackage xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="datetime"
+ nsURI="http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/datetime"
+ nsPrefix="datetime">
+ <eClassifiers xsi:type="ecore:EClass" name="DocumentRoot">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value=""/>
+ <details key="kind" value="mixed"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="mixed" unique="false" upperBound="-1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EFeatureMapEntry">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="elementWildcard"/>
+ <details key="name" value=":mixed"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xMLNSPrefixMap" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xmlns:prefix"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="xSISchemaLocation" upperBound="-1"
+ eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EStringToStringMapEntry"
+ transient="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="attribute"/>
+ <details key="name" value="xsi:schemaLocation"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="root" upperBound="-2" eType="#//TestDate"
+ volatile="true" transient="true" derived="true" containment="true" resolveProxies="false">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="root"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xsi:type="ecore:EClass" name="TestDate">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="name" value="TestDate"/>
+ <details key="kind" value="elementOnly"/>
+ </eAnnotations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="date" unique="false" lowerBound="1"
+ eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Date">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="date"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="datetime" unique="false"
+ lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//DateTime">
+ <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
+ <details key="kind" value="element"/>
+ <details key="name" value="datetime"/>
+ <details key="namespace" value="##targetNamespace"/>
+ </eAnnotations>
+ </eStructuralFeatures>
+ </eClassifiers>
+</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/model/datetime.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/model/datetime.genmodel
new file mode 100644
index 000000000..97fb9f4ba
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/model/datetime.genmodel
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<genmodel:GenModel xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
+ xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.teneo.samples/src"
+ modelPluginID="org.eclipse.emf.teneo.samples" modelName="Datetime" importerID="org.eclipse.xsd.ecore.importer">
+ <foreignModel>datetime.xsd</foreignModel>
+ <genPackages prefix="Datetime" basePackage="org.eclipse.emf.teneo.samples.emf.schemaconstructs"
+ resource="XML" disposableProviderFactory="true" ecorePackage="datetime.ecore#/">
+ <genClasses ecoreClass="datetime.ecore#//DocumentRoot">
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EAttribute datetime.ecore#//DocumentRoot/mixed"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference datetime.ecore#//DocumentRoot/xMLNSPrefixMap"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference datetime.ecore#//DocumentRoot/xSISchemaLocation"/>
+ <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference datetime.ecore#//DocumentRoot/root"/>
+ </genClasses>
+ <genClasses ecoreClass="datetime.ecore#//TestDate">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datetime.ecore#//TestDate/date"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute datetime.ecore#//TestDate/datetime"/>
+ </genClasses>
+ </genPackages>
+</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/model/datetime.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/model/datetime.xsd
new file mode 100644
index 000000000..3a92cff45
--- /dev/null
+++ b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/schemaconstructs/model/datetime.xsd
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schema
+ targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/datetime"
+ elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:td="http://www.eclipse.org/emf/teneo/samples/emf/schemaconstructs/datetime">
+
+ <complexType name="TestDate">
+ <sequence>
+ <element name="date" type="date"></element>
+ <element name="datetime" type="dateTime"></element>
+ </sequence>
+ </complexType>
+
+ <element name="root" type="td:TestDate"></element>
+</schema> \ No newline at end of file

Back to the top