blob: 94bcbd397d2b883b31af4f2f7895fb9996ee2b05 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
<!-- Generated by Teneo on Wed Jul 18 17:03:47 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl">
<class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="address" identity-type="application">
<implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Address"/>
<implements name="org.eclipse.emf.ecore.EObject"/>
<implements name="org.eclipse.emf.common.notify.Notifier"/>
<inheritance strategy="new-table"/>
<version strategy="version-number" column="e_version"/>
<field name="name" persistence-modifier="persistent" primary-key="true"/>
<field name="street" persistence-modifier="persistent" null-value="exception"/>
<field name="city" persistence-modifier="persistent" null-value="exception"/>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.ContentListImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="contentlist" identity-type="application">
<implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.ContentList"/>
<implements name="org.eclipse.emf.ecore.EObject"/>
<implements name="org.eclipse.emf.common.notify.Notifier"/>
<inheritance strategy="new-table"/>
<version strategy="version-number" column="e_version"/>
<field name="name" persistence-modifier="persistent" primary-key="true"/>
<field name="address" persistence-modifier="persistent" delete-action="restrict">
<collection element-type="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.AddressImpl" dependent-element="false">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<element>
<column name="contentlist_address_name" allows-null="true"/>
</element>
<order column="CONTENTLIST_ADDRESS_IDX"/>
<foreign-key delete-action="restrict" update-action="cascade"/>
</field>
<field name="price" persistence-modifier="persistent" delete-action="restrict">
<collection element-type="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" dependent-element="false">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<element>
<column name="contentlist_price_name" allows-null="true"/>
</element>
<order column="CONTENTLIST_PRICE_IDX"/>
<foreign-key delete-action="restrict" update-action="cascade"/>
</field>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.DistrictUKAddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="districtukaddress" identity-type="application">
<implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.DistrictUKAddress"/>
<inheritance strategy="new-table"/>
<version strategy="version-number" column="e_version"/>
<field name="district" persistence-modifier="persistent" null-value="none"/>
<field name="districtESet" persistence-modifier="persistent"/>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.InternationalPriceImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.InternationalPrice"/>
<inheritance strategy="superclass-table">
<discriminator value="myInternationalPrice"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="currency" persistence-modifier="persistent" null-value="none"/>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.PriceImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="myprice" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.Price"/>
<implements name="org.eclipse.emf.ecore.EObject"/>
<implements name="org.eclipse.emf.common.notify.Notifier"/>
<inheritance strategy="new-table">
<discriminator column="DISCRIMINATOR" strategy="value-map" value="myPrice"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="name" persistence-modifier="persistent" null-value="exception"/>
<field name="value" persistence-modifier="persistent" null-value="exception" embedded="true"/>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.UKAddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="ukaddress" identity-type="application">
<implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.UKAddress"/>
<inheritance strategy="new-table"/>
<version strategy="version-number" column="e_version"/>
<field name="postcode" persistence-modifier="persistent" null-value="exception"/>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.impl.USAddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="UNITEDSTATESADDRESS" identity-type="application">
<implements name="org.eclipse.emf.teneo.samples.emf.annotations.inheritancemapping.USAddress"/>
<inheritance strategy="new-table"/>
<version strategy="version-number" column="e_version"/>
<field name="state" persistence-modifier="persistent" null-value="none" embedded="true"/>
<field name="stateESet" persistence-modifier="persistent"/>
<field name="zip" persistence-modifier="persistent" null-value="none" embedded="true"/>
<field name="zipESet" persistence-modifier="persistent"/>
</class>
</package>
</jdo>