Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.xsd')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.xsd50
1 files changed, 0 insertions, 50 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.xsd
deleted file mode 100644
index 90e263cf7..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/id/model/id.xsd
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/id"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:lib="http://www.eclipse.org/emf/teneo/samples/emf/annotations/id"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @SequenceGenerator(name="GENERATOR" sequenceName="mySequenceName")
- </xsd:appinfo>
- </xsd:annotation>
-
- <xsd:complexType name="SimpleID">
- <xsd:sequence>
- <xsd:element name="autoID" type="xsd:long">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Id
- @GeneratedValue
- @Column(name="AUTOD" nullable="false")
- </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.jpa">
- @Id
- @GeneratedValue(strategy="TABLE")
- </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.jpa">
- @Id
- @GeneratedValue(strategy="IDENTITY")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
- </xsd:schema>

Back to the top