diff options
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/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/embeddedid/model/EmbeddedId.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/model/EmbeddedId.genmodel deleted file mode 100644 index 4a348859d..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/model/EmbeddedId.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="EmbeddedId" rootExtendsInterface="java.io.Serializable" - rootImplementsInterface="" importerID="org.eclipse.xsd.ecore.importer" complianceLevel="5.0"> - <foreignModel>EmbeddedId.xsd</foreignModel> - <genPackages prefix="Embeddedid" basePackage="org.eclipse.emf.teneo.samples.emf.annotations" - resource="XML" disposableProviderFactory="true" ecorePackage="embeddedid.ecore#/"> - <genClasses ecoreClass="embeddedid.ecore#//Name"> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute embeddedid.ecore#//Name/firstName"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute embeddedid.ecore#//Name/lastName"/> - </genClasses> - <genClasses ecoreClass="embeddedid.ecore#//Person"> - <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference embeddedid.ecore#//Person/name"/> - <genFeatures createChild="false" ecoreFeature="ecore:EAttribute embeddedid.ecore#//Person/address"/> - </genClasses> - </genPackages> -</genmodel:GenModel> diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/model/EmbeddedId.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/model/EmbeddedId.xsd deleted file mode 100644 index fbc4eab0e..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/model/EmbeddedId.xsd +++ /dev/null @@ -1,30 +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/embeddedid" - xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:this="http://www.eclipse.org/emf/teneo/samples/emf/annotations/embeddedid"> - - <xsd:complexType name="Person"> - <xsd:sequence> - <xsd:element name="name" type="this:Name"> - <xsd:annotation> - <xsd:appinfo source="teneo.jpa">@EmbeddedId</xsd:appinfo> - </xsd:annotation> - </xsd:element> - <xsd:element name="address" type="xsd:string" minOccurs="0"> - <xsd:annotation> - <xsd:appinfo source="teneo.jpa">@Lob</xsd:appinfo> - </xsd:annotation> - </xsd:element> - </xsd:sequence> - </xsd:complexType> - - <xsd:complexType name="Name"> - <xsd:annotation> - <xsd:appinfo source="teneo.jpa">@Embeddable</xsd:appinfo> - </xsd:annotation> - <xsd:sequence> - <xsd:element name="firstName" type="xsd:string"/> - <xsd:element name="lastName" type="xsd:string"/> - </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/embeddedid/model/embeddedid.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/model/embeddedid.ecore deleted file mode 100644 index 436e75761..000000000 --- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embeddedid/model/embeddedid.ecore +++ /dev/null @@ -1,55 +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="embeddedid" - nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/embeddedid" nsPrefix="embeddedid"> - <eClassifiers xsi:type="ecore:EClass" name="Name"> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@Embeddable"/> - </eAnnotations> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="Name"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="firstName" 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="firstName"/> - </eAnnotations> - </eStructuralFeatures> - <eStructuralFeatures xsi:type="ecore:EAttribute" name="lastName" 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="lastName"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> - <eClassifiers xsi:type="ecore:EClass" name="Person"> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="name" value="Person"/> - <details key="kind" value="elementOnly"/> - </eAnnotations> - <eStructuralFeatures xsi:type="ecore:EReference" name="name" lowerBound="1" eType="#//Name" - containment="true" resolveProxies="false"> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@EmbeddedId"/> - </eAnnotations> - <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:EAttribute" name="address" unique="false" - eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//String"> - <eAnnotations source="teneo.jpa"> - <details key="appinfo" value="@Lob"/> - </eAnnotations> - <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData"> - <details key="kind" value="element"/> - <details key="name" value="address"/> - </eAnnotations> - </eStructuralFeatures> - </eClassifiers> -</ecore:EPackage> |