Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/InheritanceAnnotationAction.persistence.xml')
-rwxr-xr-xtests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/InheritanceAnnotationAction.persistence.xml43
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/InheritanceAnnotationAction.persistence.xml b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/InheritanceAnnotationAction.persistence.xml
new file mode 100755
index 000000000..bf95c48c7
--- /dev/null
+++ b/tests/org.eclipse.emf.teneo.commontest/src/org/eclipse/emf/teneo/test/emf/annotations/InheritanceAnnotationAction.persistence.xml
@@ -0,0 +1,43 @@
+<?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="ChildOne">
+ <entity extends="ParentTwo"/>
+ </eclass>
+
+ <eclass name="Price">
+ <table name="myprice" />
+ <inheritance>SINGLE_TABLE</inheritance>
+ <discriminator-column name="DISCRIMINATOR" discriminator-type="STRING" />
+ <discriminator-value>myPrice</discriminator-value>
+ </eclass>
+
+ <eclass name="InternationalPrice">
+ <discriminator-value>myInternationalPrice</discriminator-value>
+ </eclass>
+
+ <eclass name="Address">
+ <inheritance>JOINED</inheritance>
+ <property name="name">
+ <id />
+ </property>
+ </eclass>
+
+ <eclass name="USAddress">
+ <table name="UNITEDSTATESADDRESS"/>
+ </eclass>
+
+ </epackage>
+
+</persistence-mapping> \ No newline at end of file

Back to the top