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/hibernate/model/city.ecore')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/model/city.ecore56
1 files changed, 0 insertions, 56 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/model/city.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/model/city.ecore
deleted file mode 100644
index 7c6c3747d..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hibernate/model/city.ecore
+++ /dev/null
@@ -1,56 +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="hibernate"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hibernate" nsPrefix="hibernate">
- <eClassifiers xsi:type="ecore:EClass" name="City">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@Entity(name=&quot;Stad&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="title"/>
- </eAnnotations>
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@Id"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="streets" upperBound="-1"
- eType="#//Street" containment="true" eOpposite="#//Street/city">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@NotFound(action=IGNORE)&#xA;@OneToMany(mappedBy=&quot;city&quot;, indexed=false)"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Street">
- <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>
- <eStructuralFeatures xsi:type="ecore:EReference" name="city" lowerBound="1" eType="#//City"
- eOpposite="#//City/streets">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="@JoinColumn(name=&quot;CITY_FK&quot;, nullable=false)&#xA;@ManyToOne(optional=false)&#xA;"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="State">
- <eStructuralFeatures xsi:type="ecore:EReference" name="stateDetail" eType="#//StateDetail"
- eOpposite="#//StateDetail/state">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@OneToOne(mappedBy=&quot;state&quot;, fetch=LAZY)&#xA;@Fetch(value=JOIN)"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="StateDetail">
- <eStructuralFeatures xsi:type="ecore:EReference" name="state" eType="#//State"
- eOpposite="#//State/stateDetail">
- <eAnnotations source="teneo.jpa">
- <details key="value" value="@OneToOne(optional=true, fetch=EAGER)&#xA;@JoinColumn(name=&quot;STATE_ID&quot;)"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>

Back to the top