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/joincolumns/model')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/model/jc.ecore51
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/model/jc.genmodel25
2 files changed, 0 insertions, 76 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/model/jc.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/model/jc.ecore
deleted file mode 100644
index 07d639c7b..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/model/jc.ecore
+++ /dev/null
@@ -1,51 +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="joincolumns"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/joincolumns" nsPrefix="joincolumns">
- <eClassifiers xsi:type="ecore:EClass" name="Parent" eSuperTypes="#//Person">
- <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
- eType="#//Child" containment="true">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="//this is a comment&#xA;@JoinColumns({@JoinColumn(name=&quot;myParentFirstName&quot; referencedColumnName=&quot;firstName&quot;),&#xA;&#x9;@JoinColumn(name=&quot;myParentLastName&quot; referencedColumnName=&quot;lastName&quot;)})"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Child" eSuperTypes="#//Person"/>
- <eClassifiers xsi:type="ecore:EClass" name="Person">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@IdClass(org.eclipse.emf.teneo.samples.emf.annotations.compositeid.PersonID)"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="firstName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Id"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="lastName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Id"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="friends" upperBound="-1"
- eType="#//Person" eOpposite="#//Person/oppositeFriends">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@ManyToMany(indexed=false)"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="oppositeFriends" upperBound="-1"
- eType="#//Person" eOpposite="#//Person/friends">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@ManyToMany(indexed=false)"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="House">
- <eStructuralFeatures xsi:type="ecore:EReference" name="owner" eType="#//Parent"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="visitors" upperBound="-1"
- eType="#//Person">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@JoinColumns({@JoinColumn(name=&quot;wrongcolumn&quot;)})&#xA;// This is a comment&#xA;@JoinTable(joinColumns={@JoinColumn(name=&quot;rightcolumn&quot;)})"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/model/jc.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/model/jc.genmodel
deleted file mode 100644
index 26c81c91c..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/model/jc.genmodel
+++ /dev/null
@@ -1,25 +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="Jc" importerID="org.eclipse.emf.importer.ecore"
- complianceLevel="5.0">
- <foreignModel>jc.ecore</foreignModel>
- <genPackages prefix="Joincolumns" basePackage="org.eclipse.emf.teneo.samples.emf.annotations"
- disposableProviderFactory="true" ecorePackage="jc.ecore#/">
- <genClasses ecoreClass="jc.ecore#//Parent">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference jc.ecore#//Parent/children"/>
- </genClasses>
- <genClasses ecoreClass="jc.ecore#//Child"/>
- <genClasses ecoreClass="jc.ecore#//Person">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jc.ecore#//Person/firstName"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute jc.ecore#//Person/lastName"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference jc.ecore#//Person/friends"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference jc.ecore#//Person/oppositeFriends"/>
- </genClasses>
- <genClasses ecoreClass="jc.ecore#//House">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference jc.ecore#//House/owner"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference jc.ecore#//House/visitors"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>

Back to the top