blob: eb9c3c8416cfaea06e41dcb5fd907d63dbfb50c1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
<!-- Generated by Teneo on Sat Mar 24 11:18:46 CET 2007 -->
<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">
<discriminator column="DTYPE" strategy="value-map" value="ContentList"/>
</inheritance>
<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>
<order column="CONTENTLIST_ADDRESS_IDX"/>
<column name="contentlist_address_name" allows-null="true"/>
<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>
<order column="CONTENTLIST_PRICE_IDX"/>
<column name="contentlist_price_name" allows-null="true"/>
<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>
|