blob: 9b94e8b5ea2702b1f32fec19266fc452ad02235a (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
<!-- Generated by Teneo on Thu Mar 29 23:47:09 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.CatalogTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="catalogtype" identity-type="application">
<implements name="org.eclipse.emf.teneo.samples.emf.sample.catalog.CatalogType"/>
<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="CatalogType"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="name" persistence-modifier="persistent" primary-key="true"/>
<field name="description" persistence-modifier="persistent" null-value="exception"/>
<field name="subCatalog" persistence-modifier="persistent" delete-action="restrict">
<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.CatalogTypeImpl" dependent-element="false">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<order column="CATALOGTYPE_SUBCATALOG_IDX"/>
<column name="catalogtype_subcatalog_name" allows-null="true"/>
<foreign-key delete-action="restrict" update-action="cascade"/>
</field>
<field name="product" persistence-modifier="persistent" delete-action="restrict">
<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.ProductTypeImpl" dependent-element="false">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<order column="CATALOGTYPE_PRODUCT_IDX"/>
<column name="catalogtype_product_name" allows-null="true"/>
<foreign-key delete-action="restrict" update-action="cascade"/>
</field>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.PriceTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="pricetype" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.sample.catalog.PriceType"/>
<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="PriceType"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="price" persistence-modifier="persistent" null-value="none"/>
<field name="priceESet" persistence-modifier="persistent"/>
<field name="quantityTo" persistence-modifier="persistent" null-value="none"/>
<field name="quantityToESet" persistence-modifier="persistent"/>
<field name="supplier" persistence-modifier="persistent" delete-action="restrict" null-value="exception">
<foreign-key>
<column name="suppliertype_supplier_e_id" allows-null="false"/>
</foreign-key>
<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.SupplierTypeImpl"/>
</field>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.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.catalog.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" primary-key="true"/>
<field name="description" persistence-modifier="persistent" null-value="none"/>
<field name="descriptionESet" persistence-modifier="persistent"/>
<field name="remark" persistence-modifier="persistent" delete-action="restrict">
<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.StringTypeImpl" dependent-element="true">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<order column="PRODUCTTYPE_REMARK_IDX"/>
<column name="producttype_remark_code" allows-null="true"/>
<foreign-key delete-action="cascade" update-action="cascade"/>
</field>
<field name="price" persistence-modifier="persistent" dependent="true" delete-action="restrict" null-value="none">
<foreign-key delete-action="cascade" update-action="cascade">
<column name="pricetype_price_e_id" allows-null="false"/>
</foreign-key>
<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.PriceTypeImpl"/>
</field>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.impl.StringTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="stringtype" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.sample.catalog.StringType"/>
<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="StringType"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="value" persistence-modifier="persistent" null-value="exception"/>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.catalog.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.catalog.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>
|