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/naturalId/model')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/model/naturalid.ecore42
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/model/naturalid.genmodel23
2 files changed, 0 insertions, 65 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/model/naturalid.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/model/naturalid.ecore
deleted file mode 100644
index c8ff93874..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/model/naturalid.ecore
+++ /dev/null
@@ -1,42 +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="naturalId"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/naturalid" nsPrefix="naturalid">
- <eClassifiers xsi:type="ecore:EClass" name="Person">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="firstName" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@NaturalId"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="lastName" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@NaturalId"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="age" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="family" lowerBound="1"
- eType="#//Family">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@NaturalId"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="callName" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Family">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@NaturalId"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="age" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="id" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Id&#xA;@GeneratedValue"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/model/naturalid.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/model/naturalid.genmodel
deleted file mode 100644
index 1c3b20a39..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/naturalId/model/naturalid.genmodel
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.emf.teneo.samples/src"
- modelPluginID="org.eclipse.emf.teneo.samples" modelName="Naturalid" importerID="org.eclipse.emf.importer.ecore"
- complianceLevel="5.0" copyrightFields="false">
- <foreignModel>naturalid.ecore</foreignModel>
- <genPackages prefix="NaturalId" basePackage="org.eclipse.emf.teneo.samples.emf.annotations"
- disposableProviderFactory="true" ecorePackage="naturalid.ecore#/">
- <genClasses ecoreClass="naturalid.ecore#//Person">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naturalid.ecore#//Person/firstName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naturalid.ecore#//Person/lastName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naturalid.ecore#//Person/age"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference naturalid.ecore#//Person/family"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naturalid.ecore#//Person/callName"/>
- </genClasses>
- <genClasses ecoreClass="naturalid.ecore#//Family">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naturalid.ecore#//Family/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naturalid.ecore#//Family/age"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute naturalid.ecore#//Family/id"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>

Back to the top