diff options
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model')
3 files changed, 0 insertions, 104 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model/NMSet.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model/NMSet.genmodel deleted file mode 100644 index 2ac361142..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model/NMSet.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="NMSet" importerID="org.eclipse.xsd.ecore.importer" - complianceLevel="5.0"> - <foreignModel>NMSet.xsd</foreignModel> - <genPackages prefix="Nmset" basePackage="org.eclipse.emf.teneo.samples.emf.annotations" - resource="XML" disposableProviderFactory="true" ecorePackage="nmset.ecore#/"> - <genClasses ecoreClass="nmset.ecore#//MyItem"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute nmset.ecore#//MyItem/name"/> - <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference nmset.ecore#//MyItem/yourItem"/> - </genClasses> - <genClasses ecoreClass="nmset.ecore#//YourItem"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute nmset.ecore#//YourItem/name"/> - <genFeatures notify="false" createChild="false" ecoreFeature="ecore:EReference nmset.ecore#//YourItem/myItem"/> - </genClasses> - </genPackages> -</genmodel:GenModel> diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model/NMSet.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model/NMSet.xsd deleted file mode 100644 index a754076ff..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model/NMSet.xsd +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsd:schema targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/nmset" - xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" - xmlns:this="http://www.eclipse.org/emf/teneo/samples/emf/annotations/nmset" - xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - - <!-- Test nm relations with sets on both sides --> - - <xsd:complexType name="MyItem"> - <xsd:sequence> - <xsd:element name="name" type="xsd:string"/> - <xsd:element name="yourItem" type="xsd:anyURI" - ecore:reference="this:YourItem" ecore:opposite="myItem" maxOccurs="unbounded"> - <xsd:annotation> - <xsd:appinfo source="teneo.jpa">@ManyToMany(Indexed=false)</xsd:appinfo> - </xsd:annotation> - </xsd:element> - </xsd:sequence> - </xsd:complexType> - - <xsd:complexType name="YourItem"> - <xsd:sequence> - <xsd:element name="name" type="xsd:string"/> - <xsd:element name="myItem" type="xsd:anyURI" - ecore:reference="this:MyItem" ecore:opposite="yourItem" maxOccurs="unbounded"> - <xsd:annotation> - <!-- facet.elver.org is maintained for backwards compatibility --> - <xsd:appinfo source="teneo.jpa">@ManyToMany(Indexed=false)</xsd:appinfo> - </xsd:annotation> - </xsd:element> - </xsd:sequence> - </xsd:complexType> - </xsd:schema> diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model/nmset.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model/nmset.ecore deleted file mode 100644 index 3b198b4f7..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/nmset/model/nmset.ecore +++ /dev/null @@ -1,52 +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="nmset" - nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/nmset" nsPrefix="nmset"> - <eClassifiers xsi:type="ecore:EClass" name="MyItem"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="MyItem"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" 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="yourItem" lowerBound="1" - upperBound="-1" eType="#//YourItem" eOpposite="#//YourItem/myItem"> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@ManyToMany(Indexed=false)"/> - </eAnnotations> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="yourItem"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="YourItem"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="YourItem"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" unique="false" 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="myItem" lowerBound="1" - upperBound="-1" eType="#//MyItem" eOpposite="#//MyItem/yourItem"> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@ManyToMany(Indexed=false)"/> - </eAnnotations> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="myItem"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> -</ecore:EPackage> |