blob: 035a31c47a778bc8a4385a3ea64245732b283592 (
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
<!-- Generated by Teneo on Sat Mar 24 11:22:39 CET 2007 -->
<jdo>
<package name="testinheritance.impl">
<class name="testinheritance.impl.SomeResourceImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
<implements name="testinheritance.SomeResource"/>
<inheritance strategy="superclass-table">
<discriminator value="SomeResource"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="property" persistence-modifier="persistent" null-value="none"/>
<field name="nameValuePairs" persistence-modifier="persistent" delete-action="restrict">
<collection element-type="testinheritance.impl.NameValuePairImpl" dependent-element="false">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<order column="SOMEOTHERBASECLASS_NAMEVALUEPAIRS_IDX"/>
<column name="someotherbaseclass_namevaluepairs_e_id" allows-null="true"/>
<foreign-key delete-action="restrict" update-action="cascade"/>
</field>
</class>
<class name="testinheritance.impl.SomeBaseClassImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="somebaseclass" identity-type="datastore">
<implements name="testinheritance.SomeBaseClass"/>
<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="SomeBaseClass"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="anotherProperty" persistence-modifier="persistent" null-value="none"/>
</class>
<class name="testinheritance.impl.SomeOtherBaseClassImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="someotherbaseclass" identity-type="datastore">
<implements name="testinheritance.SomeOtherBaseClass"/>
<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="SomeOtherBaseClass"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="property" persistence-modifier="persistent" null-value="none"/>
<field name="nameValuePairs" persistence-modifier="persistent" delete-action="restrict">
<collection element-type="testinheritance.impl.NameValuePairImpl" dependent-element="false">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<order column="SOMEOTHERBASECLASSNAMEVALUEPAIRS1_IDX"/>
<column name="someotherbaseclass_namevaluepairs_e_id" allows-null="true"/>
<foreign-key delete-action="restrict" update-action="cascade"/>
</field>
</class>
<class name="testinheritance.impl.NameValuePairImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="namevaluepair" identity-type="datastore">
<implements name="testinheritance.NameValuePair"/>
<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="NameValuePair"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="name" persistence-modifier="persistent" null-value="none"/>
<field name="value" persistence-modifier="persistent" null-value="none"/>
</class>
<class name="testinheritance.impl.ParentOneImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="parentone" identity-type="datastore">
<implements name="testinheritance.ParentOne"/>
<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="ParentOne"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="anotherProperty" persistence-modifier="persistent" null-value="none"/>
</class>
<class name="testinheritance.impl.ParentTwoImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="parenttwo" identity-type="application">
<implements name="testinheritance.ParentTwo"/>
<implements name="org.eclipse.emf.ecore.EObject"/>
<implements name="org.eclipse.emf.common.notify.Notifier"/>
<inheritance strategy="subclass-table"/>
<version strategy="version-number" column="e_version"/>
<field name="testId" persistence-modifier="persistent" primary-key="true"/>
</class>
<class name="testinheritance.impl.ParentZeroImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="parentzero" identity-type="datastore">
<implements name="testinheritance.ParentZero"/>
<implements name="org.eclipse.emf.ecore.EObject"/>
<implements name="org.eclipse.emf.common.notify.Notifier"/>
<inheritance strategy="subclass-table"/>
<version strategy="version-number" column="e_version"/>
<field name="name" persistence-modifier="persistent" null-value="none"/>
</class>
<class name="testinheritance.impl.ChildImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="child" identity-type="datastore">
<implements name="testinheritance.Child"/>
<inheritance strategy="new-table">
<discriminator column="DTYPE" strategy="value-map" value="Child"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="age" persistence-modifier="persistent" null-value="none"/>
</class>
<class name="testinheritance.impl.Child2Impl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="child2" identity-type="datastore">
<implements name="testinheritance.Child2"/>
<inheritance strategy="new-table">
<discriminator column="DTYPE" strategy="value-map" value="Child2"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="age" persistence-modifier="persistent" null-value="none"/>
<field name="anotherProperty" persistence-modifier="persistent" null-value="none"/>
</class>
</package>
</jdo>
|