Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/model/integerdiscriminator.ecore')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/model/integerdiscriminator.ecore41
1 files changed, 0 insertions, 41 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/model/integerdiscriminator.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/model/integerdiscriminator.ecore
deleted file mode 100644
index 53b621a47..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/integerdiscriminator/model/integerdiscriminator.ecore
+++ /dev/null
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="integerdiscriminator"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/integerdiscriminator"
- nsPrefix="integerdiscriminator">
- <eClassifiers xsi:type="ecore:EClass" name="Super">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Entity&#xA;@Table(name = &quot;SUPER_TABLE&quot;)&#xA;@Inheritance(strategy = InheritanceType.SINGLE_TABLE)&#xA;@DiscriminatorColumn(name = &quot;DISC&quot;, discriminatorType = DiscriminatorType.INTEGER)"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Sub" eSuperTypes="#//Super"/>
- <eClassifiers xsi:type="ecore:EClass" name="OtherSub" eSuperTypes="#//Super">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@DiscriminatorValue(&quot;500&quot;)"/>
- </eAnnotations>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="AbstractSub" abstract="true" eSuperTypes="#//Super"/>
- <eClassifiers xsi:type="ecore:EClass" name="SuperFormula">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Inheritance(strategy = InheritanceType.SINGLE_TABLE)&#xA;@DiscriminatorValue(&quot;1&quot;)&#xA;@DiscriminatorFormula(value=&quot;case when name like 'R%' then 0 when name like 'G%' then 1 else 2 end&quot;)"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="name"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SubFormula" eSuperTypes="#//SuperFormula">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@DiscriminatorValue(&quot;0&quot;)"/>
- </eAnnotations>
- </eClassifiers>
-</ecore:EPackage>

Back to the top