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/hb/generator/id/model')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.ecore68
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.ecore_diagram7
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.genmodel21
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.xsd57
4 files changed, 0 insertions, 153 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.ecore b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.ecore
deleted file mode 100644
index c93250eba..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.ecore
+++ /dev/null
@@ -1,68 +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="id"
- nsURI="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id"
- nsPrefix="id">
- <eAnnotations source="teneo.hibernate">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;@GenericGenerator(name=&quot;system-uuid&quot;, strategy = &quot;uuid&quot;)&#xA;&#x9;&#x9;&#x9;@GenericGenerator(name=&quot;hibseq&quot;, strategy = &quot;hilo&quot;, parameters = {&#xA;&#x9;&#x9;&#x9;@Parameter(name=&quot;table&quot;, value = &quot;hilo_table&quot;), @Parameter(name=&quot;column&quot;,&#xA;&#x9;&#x9;&#x9;value=&quot;the_hilo_column&quot;) } )&#xA;&#x9;&#x9;"/>
- </eAnnotations>
- <eClassifiers xsi:type="ecore:EClass" name="IdentityID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="IdentityID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="myid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long"
- unsettable="true">
- <eAnnotations source="teneo.hibernate">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@Id @GeneratedValue(strategy=&quot;IDENTITY&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="myid"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SimpleID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="SimpleID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="autoID" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long"
- unsettable="true">
- <eAnnotations source="teneo.hibernate">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@Id @GeneratedValue @Column(name=&quot;AUTOD&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="autoID"/>
- </eAnnotations>
- </eStructuralFeatures>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="generated" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long" unsettable="true">
- <eAnnotations source="teneo.hibernate">
- <details key="appinfo" value="@Version @Generated(ALWAYS)"/>
- </eAnnotations>
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="kind" value="element"/>
- <details key="name" value="generated"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="TableID">
- <eAnnotations source="http:///org/eclipse/emf/ecore/util/ExtendedMetaData">
- <details key="name" value="TableID"/>
- <details key="kind" value="elementOnly"/>
- </eAnnotations>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="myid" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2003/XMLType#//Long"
- unsettable="true">
- <eAnnotations source="teneo.hibernate">
- <details key="appinfo" value="&#xA;&#x9;&#x9;&#x9;&#x9;&#x9;&#x9;@Id @GeneratedValue(generator=&quot;hibseq&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="myid"/>
- </eAnnotations>
- </eStructuralFeatures>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.ecore_diagram b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.ecore_diagram
deleted file mode 100644
index 194d6724a..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.ecore_diagram
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.0/notation" xmi:id="_VFyQwTkkEdu5Sv8ZTgiyXQ" type="Ecore" measurementUnit="Pixel">
- <styles xmi:type="notation:PageStyle" xmi:id="_VFyQwjkkEdu5Sv8ZTgiyXQ"/>
- <styles xmi:type="notation:GuideStyle" xmi:id="_VFyQwzkkEdu5Sv8ZTgiyXQ"/>
- <styles xmi:type="notation:DescriptionStyle" xmi:id="_VFyQxDkkEdu5Sv8ZTgiyXQ"/>
- <element xmi:type="ecore:EPackage" href="id.ecore#/"/>
-</notation:Diagram>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.genmodel b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.genmodel
deleted file mode 100644
index 591fa4961..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.genmodel
+++ /dev/null
@@ -1,21 +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="Id" importerID="org.eclipse.xsd.ecore.importer"
- complianceLevel="5.0">
- <foreignModel>id.xsd</foreignModel>
- <genPackages prefix="Id" basePackage="org.eclipse.emf.teneo.samples.emf.annotations.hb.generator"
- resource="XML" disposableProviderFactory="true" ecorePackage="id.ecore#/">
- <genClasses ecoreClass="id.ecore#//IdentityID">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute id.ecore#//IdentityID/myid"/>
- </genClasses>
- <genClasses ecoreClass="id.ecore#//SimpleID">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute id.ecore#//SimpleID/autoID"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute id.ecore#//SimpleID/generated"/>
- </genClasses>
- <genClasses ecoreClass="id.ecore#//TableID">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute id.ecore#//TableID/myid"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.xsd
deleted file mode 100644
index ec8468d09..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/hb/generator/id/model/id.xsd
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema
- targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id"
- xmlns="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:lib="http://www.eclipse.org/emf/teneo/samples/emf/annotations/hb/generator/id"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
->
-
- <xsd:annotation>
- <xsd:appinfo source="teneo.hibernate">
- @GenericGenerator(name="system-uuid", strategy = "uuid")
- @GenericGenerator(name="hibseq", strategy = "hilo", parameters = {
- @Parameter(name="table", value = "hilo_table"), @Parameter(name="column",
- value="the_hilo_column") } )
- </xsd:appinfo>
- </xsd:annotation>
-
- <xsd:complexType name="SimpleID">
- <xsd:sequence>
- <xsd:element name="autoID" type="xsd:long" minOccurs="0">
- <xsd:annotation>
- <xsd:appinfo source="teneo.hibernate">
- @Id @GeneratedValue @Column(name="AUTOD")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="generated" type="xsd:long">
- <xsd:annotation>
- <xsd:appinfo source="teneo.hibernate">@Version @Generated(ALWAYS)</xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="TableID">
- <xsd:sequence>
- <xsd:element name="myid" type="xsd:long">
- <xsd:annotation>
- <xsd:appinfo source="teneo.hibernate">
- @Id @GeneratedValue(generator="hibseq")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- <xsd:complexType name="IdentityID">
- <xsd:sequence>
- <xsd:element name="myid" type="xsd:long">
- <xsd:annotation>
- <xsd:appinfo source="teneo.hibernate">
- @Id @GeneratedValue(strategy="IDENTITY")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-</xsd:schema>

Back to the top