| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd"> |
| |
| <!-- Generated by Teneo on Wed Jul 18 17:04:28 CEST 2007 --> |
| <jdo> |
| <package name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl"> |
| <class name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ItemImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="MYITEMTABLE" identity-type="datastore"> |
| <implements name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.Item"/> |
| <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="Item"/> |
| </inheritance> |
| <version strategy="version-number" column="e_version"/> |
| <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"/> |
| <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> |