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/mappedsuperclass/model/mps.xsd')
-rw-r--r--examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/model/mps.xsd65
1 files changed, 0 insertions, 65 deletions
diff --git a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/model/mps.xsd b/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/model/mps.xsd
deleted file mode 100644
index 6fee39563..000000000
--- a/examples/org.eclipse.emf.teneo.samples/src/org/eclipse/emf/teneo/samples/emf/annotations/mappedsuperclass/model/mps.xsd
+++ /dev/null
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsd:schema
- targetNamespace="http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclass"
- xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:this="http://www.eclipse.org/emf/teneo/samples/emf/annotations/mappedsuperclass"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
->
-
- <xsd:complexType name="Document">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@MappedSuperclass</xsd:appinfo>
- </xsd:annotation>
- <xsd:sequence>
- <xsd:element name="myGenericInfo" type="xsd:string" />
- </xsd:sequence>
- </xsd:complexType>
-
- <xsd:complexType name="AddIDDocument">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Entity</xsd:appinfo>
- </xsd:annotation>
- <xsd:complexContent>
- <xsd:extension base="this:Document">
- <xsd:sequence>
- <xsd:element name="name" type="xsd:string" />
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
-
- <xsd:complexType name="ParentDocument">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Entity @MappedSuperclass</xsd:appinfo>
- </xsd:annotation>
- <xsd:complexContent>
- <xsd:extension base="this:Document">
- <xsd:sequence>
- <xsd:element name="myName" type="xsd:string">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">
- @Column(name=XXX,nullable="false")
- </xsd:appinfo>
- </xsd:annotation>
- </xsd:element>
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
-
- <xsd:complexType name="SpecificDocument">
- <xsd:annotation>
- <xsd:appinfo source="teneo.jpa">@Entity
- @AttributeOverrides({@AttributeOverride(name="myName",
- column=@Column(name="PARENTDOCUMENT_NAME", length="50"))})
- </xsd:appinfo>
- </xsd:annotation>
- <xsd:complexContent>
- <xsd:extension base="this:ParentDocument">
- <xsd:sequence>
- <xsd:element name="mySpecificInfo" type="xsd:string" />
- </xsd:sequence>
- </xsd:extension>
- </xsd:complexContent>
- </xsd:complexType>
-</xsd:schema>

Back to the top