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/jc.ecore')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/joincolumns/model/jc.ecore51
1 files changed, 0 insertions, 51 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>

Back to the top