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

<!--	Generated by Teneo on Wed Jul 18 17:04:28 CEST 2007 -->
<jdo>
	<package name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl">
		<class name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ItemImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="MYITEMTABLE" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.Item"/>
			<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="Item"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<unique>
				<column name="MYSTR"/>
				<column name="MYINT"/>
				<column name="MYPROJECT"/>
			</unique>
			<field name="name" persistence-modifier="persistent" null-value="exception">
				<column name="MYSTR" allows-null="true"/>
			</field>
			<field name="project" persistence-modifier="persistent" delete-action="restrict" null-value="none">
				<foreign-key/>
				<column name="MYPROJECT" allows-null="true"/>
				<extension vendor-name="jpox" key="implementation-classes" value="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ProjectImpl"/>
			</field>
			<field name="age" persistence-modifier="persistent" null-value="none">
				<column name="MYINT" allows-null="true"/>
			</field>
			<field name="ageESet" persistence-modifier="persistent"/>
		</class>
		<class name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.impl.ProjectImpl" requires-extent="true" persistence-modifier="persistence-capable" detachable="true" table="project" identity-type="datastore">
			<implements name="org.eclipse.emf.teneo.samples.emf.annotations.uniqueconstraints.Project"/>
			<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="Project"/>
			</inheritance>
			<version strategy="version-number" column="e_version"/>
			<field name="name" persistence-modifier="persistent" null-value="exception"/>
		</class>
	</package>
</jdo>

Back to the top