Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e03b0c8858e22cbdba2eb208e5775eca2a03e6b7 (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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">

<!--	Generated by Teneo on Fri Mar 30 21:44:58 CEST 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">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.epo2.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"/>
			<field name="productName" persistence-modifier="persistent" null-value="none"/>
			<field name="quantity" persistence-modifier="persistent" null-value="none"/>
			<field name="usPrice" persistence-modifier="persistent" null-value="none"/>
			<field name="comment" persistence-modifier="persistent" null-value="none"/>
			<field name="shipDate" persistence-modifier="persistent" null-value="none" embedded="true"/>
			<field name="partNum" persistence-modifier="persistent" null-value="none"/>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.USAddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.epo2.USAddress"/>
			<inheritance strategy="superclass-table">
				<discriminator value="USAddress"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="street" persistence-modifier="persistent" null-value="none"/>
			<field name="city" persistence-modifier="persistent" null-value="none"/>
			<field name="state" persistence-modifier="persistent" null-value="none"/>
			<field name="zip" persistence-modifier="persistent" null-value="none"/>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.PurchaseOrderImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="purchaseorder" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.epo2.PurchaseOrder"/>
			<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="PurchaseOrder"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="items" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.ItemImpl" dependent-element="true">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="PURCHASEORDER_ITEMS_IDX"/>
				<column name="item_order_e_id" allows-null="true"/>
				<foreign-key delete-action="cascade" update-action="cascade"/>
			</field>
			<field name="billTo" persistence-modifier="persistent" dependent="true" delete-action="restrict" null-value="none">
				<foreign-key delete-action="cascade" update-action="cascade">
					<column name="address_billto_e_id" allows-null="false"/>
				</foreign-key>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.AddressImpl"/>
			</field>
			<field name="shipTo" persistence-modifier="persistent" dependent="true" delete-action="restrict" null-value="none">
				<foreign-key delete-action="cascade" update-action="cascade">
					<column name="address_shipto_e_id" allows-null="true"/>
				</foreign-key>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.AddressImpl"/>
			</field>
			<field name="comment" persistence-modifier="persistent" null-value="none"/>
			<field name="orderDate" persistence-modifier="persistent" null-value="none" embedded="true"/>
			<field name="status" persistence-modifier="persistent" null-value="none" embedded="true"/>
			<field name="customer" persistence-modifier="persistent" delete-action="restrict" null-value="none">
				<foreign-key>
					<column name="purchaseorder_customer_e_id" allows-null="true"/>
				</foreign-key>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.CustomerImpl"/>
			</field>
			<field name="previousOrder" persistence-modifier="persistent" delete-action="restrict" null-value="none">
				<foreign-key>
					<column name="purchaseorder_previousorder_e_id" allows-null="true"/>
				</foreign-key>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.PurchaseOrderImpl"/>
			</field>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.AddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="address" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.epo2.Address"/>
			<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="Address"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="name" persistence-modifier="persistent" null-value="none"/>
			<field name="country" persistence-modifier="persistent" null-value="none"/>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.SupplierImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="supplier" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.epo2.Supplier"/>
			<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="Supplier"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="name" persistence-modifier="persistent" null-value="none"/>
			<field name="customers" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.CustomerImpl" dependent-element="true">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="SUPPLIER_CUSTOMERS_IDX"/>
				<column name="supplier_customers_e_id" allows-null="true"/>
				<foreign-key delete-action="cascade" update-action="cascade"/>
			</field>
			<field name="orders" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.PurchaseOrderImpl" dependent-element="true">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="SUPPLIER_ORDERS_IDX"/>
				<column name="supplier_orders_e_id" allows-null="true"/>
				<foreign-key delete-action="cascade" update-action="cascade"/>
			</field>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.CustomerImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="customer" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.epo2.Customer"/>
			<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="Customer"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="customerID" persistence-modifier="persistent" null-value="none"/>
			<field name="orders" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.PurchaseOrderImpl" dependent-element="false">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="CUSTOMER_ORDERS_IDX"/>
				<column name="purchaseorder_customer_e_id" allows-null="true"/>
				<foreign-key delete-action="restrict" update-action="cascade"/>
			</field>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.GlobalAddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.epo2.GlobalAddress"/>
			<inheritance strategy="superclass-table">
				<discriminator value="GlobalAddress"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="location" persistence-modifier="persistent">
				<collection element-type="java.lang.String">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<join/>
				<order column="GLOBALADDRESS_LOCATION_IDX"/>
			</field>
			<field name="countryCode" persistence-modifier="persistent" null-value="none"/>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.epo2.impl.GlobalLocationImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="globallocation" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.epo2.GlobalLocation"/>
			<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="GlobalLocation"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="countryCode" persistence-modifier="persistent" null-value="none"/>
		</class>
	</package>
</jdo>

Back to the top