Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: da97a257903b66b6a68b1e2ec0ce263adb744107 (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
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">

<!--	Generated by Teneo on Mon Apr 23 04:36:55 CEST 2007 -->
<jdo>
	<package name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl">
		<class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.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.schemaprimerpo.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="exception"/>
			<field name="quantity" persistence-modifier="persistent" null-value="exception" embedded="true"/>
			<field name="uSPrice" persistence-modifier="persistent" null-value="exception" embedded="true"/>
			<field name="comment" persistence-modifier="persistent" null-value="none"/>
			<field name="shipDate" persistence-modifier="persistent" null-value="none" serialized="true"/>
			<field name="partNum" persistence-modifier="persistent" null-value="exception"/>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.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.schemaprimerpo.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="shipTo" persistence-modifier="persistent" dependent="true" delete-action="restrict" null-value="none">
				<foreign-key delete-action="cascade" update-action="cascade">
					<column name="usaddress_shipto_e_id" allows-null="true"/>
				</foreign-key>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.USAddressImpl"/>
			</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="usaddress_billto_e_id" allows-null="false"/>
				</foreign-key>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.USAddressImpl"/>
			</field>
			<field name="comment" persistence-modifier="persistent" null-value="none"/>
			<field name="items" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.ItemImpl" dependent-element="true">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="PURCHASEORDER_ITEMS_IDX"/>
				<column name="purchaseorder_items_e_id" allows-null="true"/>
				<foreign-key delete-action="cascade" update-action="cascade"/>
			</field>
			<field name="orderDate" persistence-modifier="persistent" null-value="none" serialized="true"/>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.impl.USAddressImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="usaddress" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.schemaprimerpo.USAddress"/>
			<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="USAddress"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="name" persistence-modifier="persistent" null-value="exception"/>
			<field name="street" persistence-modifier="persistent" null-value="exception"/>
			<field name="city" persistence-modifier="persistent" null-value="exception"/>
			<field name="state" persistence-modifier="persistent" null-value="exception"/>
			<field name="zip" persistence-modifier="persistent" null-value="exception" embedded="true"/>
			<field name="country" persistence-modifier="persistent" null-value="none"/>
			<field name="countryESet" persistence-modifier="persistent"/>
		</class>
	</package>
</jdo>

Back to the top