blob: 8107e7e0250bebf908ff083204bf197a30a7e8f8 (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">
<!-- Generated by Teneo on Mon Apr 23 04:35:54 CEST 2007 -->
<jdo>
<package name="org.eclipse.emf.teneo.samples.emf.sample.library.impl">
<class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="book" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.sample.library.Book"/>
<implements name="org.eclipse.emf.teneo.samples.emf.sample.library.SerializableEObject"/>
<implements name="org.eclipse.emf.ecore.EObject"/>
<implements name="org.eclipse.emf.common.notify.Notifier"/>
<implements name="java.io.Serializable"/>
<inheritance strategy="new-table"/>
<version strategy="version-number" column="e_version"/>
<field name="title" persistence-modifier="persistent" null-value="exception"/>
<field name="pages" persistence-modifier="persistent" null-value="none"/>
<field name="pagesESet" persistence-modifier="persistent"/>
<field name="category" persistence-modifier="persistent" null-value="none" embedded="true"/>
<field name="categoryESet" persistence-modifier="persistent"/>
<field name="author" persistence-modifier="persistent" delete-action="restrict" null-value="none">
<foreign-key>
<column name="book_author_e_id" allows-null="true"/>
</foreign-key>
<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl"/>
</field>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.LibraryImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="library" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.sample.library.Library"/>
<implements name="org.eclipse.emf.teneo.samples.emf.sample.library.SerializableEObject"/>
<implements name="org.eclipse.emf.ecore.EObject"/>
<implements name="org.eclipse.emf.common.notify.Notifier"/>
<implements name="java.io.Serializable"/>
<inheritance strategy="new-table"/>
<version strategy="version-number" column="e_version"/>
<field name="name" persistence-modifier="persistent" null-value="exception"/>
<field name="writers" persistence-modifier="persistent" delete-action="restrict">
<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" dependent-element="true">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<order column="LIBRARY_WRITERS_IDX"/>
<column name="library_writers_e_id" allows-null="true"/>
<foreign-key delete-action="cascade" update-action="cascade"/>
</field>
<field name="books" persistence-modifier="persistent" delete-action="restrict">
<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" dependent-element="true">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<order column="LIBRARY_BOOKS_IDX"/>
<column name="library_books_e_id" allows-null="true"/>
<foreign-key delete-action="cascade" update-action="cascade"/>
</field>
</class>
<class name="org.eclipse.emf.teneo.samples.emf.sample.library.impl.WriterImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="writer" identity-type="datastore">
<implements name="org.eclipse.emf.teneo.samples.emf.sample.library.Writer"/>
<implements name="org.eclipse.emf.teneo.samples.emf.sample.library.SerializableEObject"/>
<implements name="org.eclipse.emf.ecore.EObject"/>
<implements name="org.eclipse.emf.common.notify.Notifier"/>
<implements name="java.io.Serializable"/>
<inheritance strategy="new-table"/>
<version strategy="version-number" column="e_version"/>
<field name="name" persistence-modifier="persistent" null-value="exception"/>
<field name="books" persistence-modifier="persistent" delete-action="restrict">
<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.library.impl.BookImpl" dependent-element="false">
<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
</collection>
<order column="WRITER_BOOKS_IDX"/>
<column name="book_author_e_id" allows-null="true"/>
<foreign-key delete-action="restrict" update-action="cascade"/>
</field>
</class>
</package>
</jdo>
|