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

<!--	Generated by Teneo on Fri Sep 22 15:33:21 CEST 2006 -->
<jdo>
	<package name="org.eclipse.emf.teneo.samples.emf.sample.product.impl">
		<class name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.ProductTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="producttype" identity-type="application">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.product.ProductType"/>
			<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="ProductType"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="code" persistence-modifier="persistent" null-value="none"/>
			<field name="codeESet" persistence-modifier="persistent"/>
			<field name="id" persistence-modifier="persistent" primary-key="true"/>
			<field name="supplier" persistence-modifier="persistent" dependent="true" delete-action="restrict" null-value="none">
				<foreign-key delete-action="cascade" update-action="cascade">
					<column name="supplier_id" allows-null="false"/>
				</foreign-key>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.product.impl.SupplierTypeImpl"/>
			</field>
			<field name="price" persistence-modifier="persistent" null-value="none"/>
			<field name="priceESet" persistence-modifier="persistent"/>
			<field name="createdOn" persistence-modifier="persistent" null-value="exception" serialized="true"/>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.product.impl.SupplierTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="suppliertype" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.product.SupplierType"/>
			<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="SupplierType"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="name" persistence-modifier="persistent" null-value="exception"/>
			<field name="noOfEmployees" persistence-modifier="persistent" null-value="none"/>
			<field name="noOfEmployeesESet" persistence-modifier="persistent"/>
		</class>
	</package>
</jdo>

Back to the top