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

<!--	Generated by Teneo on Wed Jul 18 17:04:02 CEST 2007 -->
<jdo>
	<package name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl">
		<class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.BookImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="book" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.Book"/>
			<implements name="org.eclipse.emf.ecore.EObject"/>
			<implements name="org.eclipse.emf.common.notify.Notifier"/>
			<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"/>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.WriterImpl"/>
			</field>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.LibraryImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="library" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.Library"/>
			<implements name="org.eclipse.emf.ecore.EObject"/>
			<implements name="org.eclipse.emf.common.notify.Notifier"/>
			<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.annotations.cascadenotall.impl.WriterImpl" dependent-element="false">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<element>
					<column name="library_writers_e_id" allows-null="true"/>
				</element>
				<order column="LIBRARY_WRITERS_IDX"/>
				<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.annotations.cascadenotall.impl.BookImpl" dependent-element="false">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<element>
					<column name="library_books_e_id" allows-null="true"/>
				</element>
				<order column="LIBRARY_BOOKS_IDX"/>
				<foreign-key delete-action="cascade" update-action="cascade"/>
			</field>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.WriterImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="writer" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.Writer"/>
			<implements name="org.eclipse.emf.ecore.EObject"/>
			<implements name="org.eclipse.emf.common.notify.Notifier"/>
			<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" mapped-by="author" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.annotations.cascadenotall.impl.BookImpl" dependent-element="false">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="WRITER_BOOKS_IDX"/>
				<foreign-key delete-action="restrict" update-action="cascade"/>
			</field>
		</class>
	</package>
</jdo>

Back to the top