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/hbmapkeys/model')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.ecore114
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.genmodel31
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.xsd56
3 files changed, 0 insertions, 201 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.ecore
deleted file mode 100644
index cbf900ef6..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.ecore
+++ /dev/null
@@ -1,114 +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="hbmapkeys"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys" nsPrefix="hbmapkeys">
- <eClassifiers xsi:type="ecore:EClass" name="Book">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Book"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="title" 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>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="writersByName" upperBound="-1"
- eType="#//StringToWriterMapEntry" containment="true" resolveProxies="false">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@HbMapKey(columns=@Column(name=&quot;THENAMEOFTHEWRITER&quot;))&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@JoinColumn(name=&quot;JOIN_COLUMN_WRITER&quot;)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="writersByName"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="cityByWriter" upperBound="-1"
- eType="#//WriterToCityMapEntry" containment="true" resolveProxies="false">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@MapKeyManyToMany(targetEntity=&quot;Writer&quot;, joinColumns=@JoinColumn(name=&quot;THE_CITYWRITER_ID&quot;))&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@JoinColumn(name=&quot;JOIN_COLUMN_CITY&quot;)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="cityByWriter"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="City">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="City"/>
- <details key="kind" value="elementOnly"/>
- </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>
- <eStructuralFeatures xsi:type="ecore:EReference" name="cityWriter" lowerBound="1"
- eType="#//Writer" resolveProxies="false">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@JoinColumn(name=&quot;THE_CITYWRITER_ID&quot;)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="cityWriter"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="StringToWriterMapEntry" instanceClassName="java.util.Map$Entry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="StringToWriterMapEntry"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="key" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="key"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//Writer"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="value"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Writer">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Writer"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String">
- <eAnnotations source="teneo.jpa">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@Column(name=&quot;THENAMEOFTHEWRITER&quot;)&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;"/>
- </eAnnotations>
- <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="WriterToCityMapEntry" instanceClassName="java.util.Map$Entry">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="WriterToCityMapEntry"/>
- <details key="kind" value="empty"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EReference" name="key" eType="#//Writer"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="key"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EReference" name="value" eType="#//City"
- resolveProxies="false">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="attribute"/>
- <details key="name" value="value"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.genmodel
deleted file mode 100644
index f4033f112..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.genmodel
+++ /dev/null
@@ -1,31 +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="Hbmapkeys" importerID="org.eclipse.xsd.ecore.importer"
- complianceLevel="5.0" copyrightFields="false">
- <foreignModel>hbmapkeys.xsd</foreignModel>
- <genPackages prefix="Hbmapkeys" basePackage="org.eclipse.emf.teneo.samples.emf.annotations"
- resource="XML" disposableProviderFactory="true" ecorePackage="hbmapkeys.ecore#/">
- <genClasses ecoreClass="hbmapkeys.ecore#//Book">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hbmapkeys.ecore#//Book/title"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference hbmapkeys.ecore#//Book/writersByName"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference hbmapkeys.ecore#//Book/cityByWriter"/>
- </genClasses>
- <genClasses ecoreClass="hbmapkeys.ecore#//City">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hbmapkeys.ecore#//City/name"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hbmapkeys.ecore#//City/cityWriter"/>
- </genClasses>
- <genClasses ecoreClass="hbmapkeys.ecore#//StringToWriterMapEntry">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hbmapkeys.ecore#//StringToWriterMapEntry/key"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hbmapkeys.ecore#//StringToWriterMapEntry/value"/>
- </genClasses>
- <genClasses ecoreClass="hbmapkeys.ecore#//Writer">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute hbmapkeys.ecore#//Writer/name"/>
- </genClasses>
- <genClasses ecoreClass="hbmapkeys.ecore#//WriterToCityMapEntry">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hbmapkeys.ecore#//WriterToCityMapEntry/key"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference hbmapkeys.ecore#//WriterToCityMapEntry/value"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.xsd
deleted file mode 100644
index 5b7f8120f..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hbmapkeys/model/hbmapkeys.xsd
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hbmapkeys">
- <xsd:complexType name="Book">
- <xsd:sequence>
- <xsd:element name="title" type="xsd:string" />
- <xsd:element maxOccurs="unbounded" minOccurs="0" name="writersByName" type="StringToWriterMapEntry">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @HbMapKey(columns=@Column(name="THENAMEOFTHEWRITER"))
- @JoinColumn(name="JOIN_COLUMN_WRITER")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element maxOccurs="unbounded" minOccurs="0" name="cityByWriter" type="WriterToCityMapEntry">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @MapKeyManyToMany(targetEntity="Writer", joinColumns=@JoinColumn(name="THE_CITYWRITER_ID"))
- @JoinColumn(name="JOIN_COLUMN_CITY")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="Writer">
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Column(name="THENAMEOFTHEWRITER")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="City">
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string"/>
- <xsd:element name="cityWriter" type="xsd:IDREF" ecore:reference="Writer">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @JoinColumn(name="THE_CITYWRITER_ID")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType ecore:instanceClass="java.util.Map$Entry" name="StringToWriterMapEntry">
- <xsd:attribute name="key" type="xsd:string" />
- <xsd:attribute name="value" type="xsd:IDREF" ecore:reference="Writer" />
- </xsd:complexType>
- <xsd:complexType ecore:instanceClass="java.util.Map$Entry" name="WriterToCityMapEntry">
- <xsd:attribute name="key" type="xsd:IDREF" ecore:reference="Writer" />
- <xsd:attribute name="value" type="xsd:IDREF" ecore:reference="City" />
- </xsd:complexType>
-</xsd:schema> \ No newline at end of file

Back to the top