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/embedded/model/embedded.xsd')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/model/embedded.xsd119
1 files changed, 0 insertions, 119 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/model/embedded.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/model/embedded.xsd
deleted file mode 100644
index dac9a032a..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/embedded/model/embedded.xsd
+++ /dev/null
@@ -1,119 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/embedded"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:this="http://www.eclipse.org/emf/teneo/samples/emf/annotations/embedded"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema">
-
- <xsd:complexType name="Embedder">
- <xsd:sequence>
- <xsd:element name="firstEmbedded" type="this:Embeddable">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Embedded
- @AttributeOverride(name="myString" column=@Column(name="columnString3"))
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="secondEmbedded" type="this:Embeddable">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Embedded
- @AttributeOverride(name="myString" column=@Column(name="columnString1"))
- @AttributeOverride(name="myInteger" column=@Column(name="columnInteger1"))
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="thirdEmbedded" type="this:Embeddable">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Embedded
- @AttributeOverride(name="myString" column=@Column(name="columnString2"))
- @AttributeOverride(name="myInteger" column=@Column(name="columnInteger2"))
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="fourthEmbedded" type="this:Embeddable" maxOccurs="unbounded">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Embedded
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="fifthEmbedded" type="this:Embeddable">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Embedded
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- <xsd:element name="alsoEmbeddable" type="this:AlsoEmbeddable"/>
- <xsd:element name="anotherEmbedded" type="this:AnotherEmbeddable">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Embedded
- @AttributeOverride(name="nestedEmbedded.nestedName" column=@Column(name="ne_nestedname"))
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="Embeddable">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Embeddable</xsd:appinfo>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element name="myString" type="xsd:string"/>
- <xsd:element name="myInteger" type="xsd:int"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="AlsoEmbeddable">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Embeddable</xsd:appinfo>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="AnotherEmbeddable">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Embeddable</xsd:appinfo>
- </xsd:annotation>
- <xsd:complexContent>
- <xsd:extension base="this:AlsoEmbeddable">
- <xsd:sequence>
- <xsd:element name="anotherName" type="xsd:string"/>
- <xsd:element name="aOneToMany" ecore:reference="this:AOneToMany" type="xsd:IDREF" maxOccurs="unbounded"/>
- <xsd:element name="nestedEmbedded" type="this:NestedEmbeddable">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Embedded
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
-
- <xsd:complexType name="NestedEmbeddable">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Embeddable</xsd:appinfo>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element name="nestedName" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="AOneToMany">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Embeddable</xsd:appinfo>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string"/>
- </xsd:sequence>
- </xsd:complexType>
-
- </xsd:schema>

Back to the top