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/forcedidbag/model')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/ForcedIdBag.genmodel19
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/ForcedIdBag.xsd27
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/forcedidbag.ecore50
3 files changed, 0 insertions, 96 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/ForcedIdBag.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/ForcedIdBag.genmodel
deleted file mode 100644
index e221d7487..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/ForcedIdBag.genmodel
+++ /dev/null
@@ -1,19 +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="ForcedIdBag" importerID="org.eclipse.xsd.ecore.importer"
- complianceLevel="5.0">
- <foreignModel>ForcedIdBag.xsd</foreignModel>
- <genPackages prefix="Forcedidbag" basePackage="org.eclipse.emf.teneo.samples.emf.annotations"
- resource="XML" disposableProviderFactory="true" ecorePackage="forcedidbag.ecore#/">
- <genClasses ecoreClass="forcedidbag.ecore#//Role">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute forcedidbag.ecore#//Role/name"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference forcedidbag.ecore#//Role/users"/>
- </genClasses>
- <genClasses ecoreClass="forcedidbag.ecore#//User">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute forcedidbag.ecore#//User/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EReference forcedidbag.ecore#//User/roles"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/ForcedIdBag.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/ForcedIdBag.xsd
deleted file mode 100644
index 8dfb7ea33..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/ForcedIdBag.xsd
+++ /dev/null
@@ -1,27 +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/Forcedidbag"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:this="http://www.eclipse.org/emf/teneo/samples/emf/annotations/Forcedidbag">
-
- <xsd:complexType name="User">
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string"/>
- <xsd:element name="role" type="xsd:anyURI" ecore:reference="this:Role" minOccurs="0" maxOccurs="unbounded" ecore:opposite="users" ecore:name="roles">
- <xsd:annotation>
- <xsd:appinfo source="teneo.hibernate">@IdBag @JoinTable(name="myjoin")</xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="Role">
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string"/>
- <xsd:element name="users" type="xsd:anyURI" ecore:reference="this:User" ecore:opposite="role" minOccurs="0" maxOccurs="unbounded">
- <xsd:annotation>
- <xsd:appinfo source="teneo.hibernate">@IdBag</xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-
-</xsd:schema> \ No newline at end of file
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/forcedidbag.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/forcedidbag.ecore
deleted file mode 100644
index 21fc213ce..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/forcedidbag/model/forcedidbag.ecore
+++ /dev/null
@@ -1,50 +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="forcedidbag"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/Forcedidbag" nsPrefix="forcedidbag">
- <eClassifiers xsi:type="ecore:EClass" name="Role">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="Role"/>
- <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="users" upperBound="-1"
- eType="#//User" eOpposite="#//User/roles">
- <eAnnotations source="teneo.hibernate">
- <details key="appinfo" value="@IdBag"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="users"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="User">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="User"/>
- <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="roles" upperBound="-1"
- eType="#//Role" eOpposite="#//Role/users">
- <eAnnotations source="teneo.hibernate">
- <details key="appinfo" value="@IdBag @JoinTable(name=&quot;myjoin&quot;)"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="role"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>

Back to the top