blob: 8f1505291244d98097288a50e96be2c9e5a2c00f (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.AuthorsTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="authorstype" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.AuthorsType"/>
<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="AuthorsType"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="authorName" persistence-modifier="persistent" table="authorstype_authorname">
<collection element-type="java.lang.String">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<join/>
<order column="AUTHORSTYPE_AUTHORNAME_IDX"/>
</field>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.BooksTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="bookstype" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BooksType"/>
<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="BooksType"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="book" persistence-modifier="persistent" delete-action="restrict">
<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.BookTypeImpl" dependent-element="true">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<element>
<column name="bookstype_book_e_id" allows-null="true"/>
</element>
<order column="BOOKSTYPE_BOOK_IDX"/>
<foreign-key delete-action="cascade" update-action="cascade" name="bookstype_book"/>
</field>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.BookTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="booktype" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.BookType"/>
<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="BookType"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="name" persistence-modifier="persistent" null-value="exception"/>
<field name="iSBN" persistence-modifier="persistent" null-value="exception"/>
<field name="iSBNESet" persistence-modifier="persistent"/>
<field name="price" persistence-modifier="persistent" null-value="exception"/>
<field name="authors" persistence-modifier="persistent" dependent="true" delete-action="restrict" null-value="none">
<foreign-key name="booktype_authors"/>
<column name="authorstype_authors_e_id" allows-null="false"/>
<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.AuthorsTypeImpl"/>
</field>
<field name="description" persistence-modifier="persistent" null-value="none"/>
<field name="promotion" persistence-modifier="persistent" dependent="true" delete-action="restrict" null-value="none">
<foreign-key name="booktype_promotion"/>
<column name="promotiontype_promotion_e_id" allows-null="false"/>
<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.PromotionTypeImpl"/>
</field>
<field name="publicationDate" persistence-modifier="persistent" null-value="exception" embedded="true"/>
<field name="bookCategory" persistence-modifier="persistent" null-value="exception" embedded="true"/>
<field name="bookCategoryESet" persistence-modifier="persistent"/>
<field name="itemId" persistence-modifier="persistent" null-value="none"/>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.CollectionTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="collectiontype" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.CollectionType"/>
<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="CollectionType"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="books" persistence-modifier="persistent" dependent="true" delete-action="restrict" null-value="none">
<foreign-key name="collectiontype_books"/>
<column name="bookstype_books_e_id" allows-null="false"/>
<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.BooksTypeImpl"/>
</field>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.impl.PromotionTypeImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="promotiontype" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.sample.sunBooks.PromotionType"/>
<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="PromotionType"/>
</inheritance>
<version strategy="version-number" column="e_version"/>
<field name="discount" persistence-modifier="persistent" null-value="none"/>
<field name="none" persistence-modifier="persistent" null-value="none"/>
</class>
</package>
</jdo>
|