Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 258849fd2c2dffdd05283aecc7bba2f01330b170 (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
103
104
105
106
107
108
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE jdo SYSTEM "file:/javax/jdo/jdo.dtd">

<!--	Generated by Teneo on Mon Apr 23 04:36:56 CEST 2007 -->
<jdo>
	<package name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl">
		<class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.ForumImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="forum" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.forum.Forum"/>
			<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="Forum"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="title" persistence-modifier="persistent" null-value="exception"/>
			<field name="members" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.MemberImpl" dependent-element="true">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="FORUM_MEMBERS_IDX"/>
				<column name="forum_members_e_id" allows-null="true"/>
				<foreign-key delete-action="cascade" update-action="cascade"/>
			</field>
			<field name="topics" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.TopicImpl" dependent-element="true">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="FORUM_TOPICS_IDX"/>
				<column name="forum_topics_e_id" allows-null="true"/>
				<foreign-key delete-action="cascade" update-action="cascade"/>
			</field>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.MemberImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="member" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.forum.Member"/>
			<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="Member"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="nickname" persistence-modifier="persistent" null-value="exception"/>
			<field name="posts" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.PostImpl" dependent-element="false">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="MEMBER_POSTS_IDX"/>
				<column name="post_author_e_id" allows-null="true"/>
				<foreign-key delete-action="restrict" update-action="cascade"/>
			</field>
			<field name="created" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.TopicImpl" dependent-element="false">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="MEMBER_CREATED_IDX"/>
				<column name="topic_creator_e_id" allows-null="true"/>
				<foreign-key delete-action="restrict" update-action="cascade"/>
			</field>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.PostImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="post" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.forum.Post"/>
			<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="Post"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="comment" persistence-modifier="persistent" null-value="exception"/>
			<field name="author" persistence-modifier="persistent" delete-action="restrict" null-value="none">
				<foreign-key>
					<column name="post_author_e_id" allows-null="true"/>
				</foreign-key>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.MemberImpl"/>
			</field>
			<field name="topic" persistence-modifier="persistent" delete-action="restrict" null-value="none">
				<foreign-key>
					<column name="post_topic_e_id" allows-null="true"/>
				</foreign-key>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.TopicImpl"/>
			</field>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.TopicImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="topic" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.sample.forum.Topic"/>
			<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="Topic"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="title" persistence-modifier="persistent" null-value="exception"/>
			<field name="category" persistence-modifier="persistent" null-value="none" embedded="true"/>
			<field name="categoryESet" persistence-modifier="persistent"/>
			<field name="creator" persistence-modifier="persistent" delete-action="restrict" null-value="none">
				<foreign-key>
					<column name="topic_creator_e_id" allows-null="true"/>
				</foreign-key>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.MemberImpl"/>
			</field>
			<field name="posts" persistence-modifier="persistent" delete-action="restrict">
				<collection element-type="org.eclipse.emf.teneo.samples.emf.sample.forum.impl.PostImpl" dependent-element="false">
					<extension vendor-name="jpox" key="cache-lazy-loading" value="true"/>
				</collection>
				<order column="TOPIC_POSTS_IDX"/>
				<column name="post_topic_e_id" allows-null="true"/>
				<foreign-key delete-action="restrict" update-action="cascade"/>
			</field>
		</class>
	</package>
</jdo>

Back to the top