Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 01451cbe460dd483906a61f39c0390e493acbc77 (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
<?xml version="1.0" encoding="utf-8"?>
<persistence-mapping xmlns="http://www.eclipse.org/emft/teneo"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

	<!-- Template for TestAction persistence mapping. -->

	<epackage namespace-uri="http://www.eclipse.org/emf/teneo/samples/emf/annotations/inheritancemapping">

		<eclass name="ContentList">
			<property name="name">
				<id />
			</property>
		</eclass>

		<eclass name="Price">
			<table name="myprice" />
			<inheritance>TABLE_PER_CLASS</inheritance>
			<property name="name">
				<id />
			</property>
		</eclass>

		<eclass name="Address">
			<inheritance>JOINED</inheritance>
			<property name="name">
				<id />
			</property>
		</eclass>

	</epackage>

</persistence-mapping>

Back to the top