blob: c1feb98ead2a1ff4aaaf5128001a540381a59532 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<?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="myId" type="xsd:long">
<xsd:annotation>
<xsd:appinfo source="teneo.jpa">@Id</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="myGenericInfo" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ParentDocument">
<xsd:annotation>
<xsd:appinfo source="teneo.jpa">@MappedSuperclass</xsd:appinfo>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="this:Document">
<xsd:sequence>
<xsd:element name="myName" type="xsd:string"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="SpecificDocument">
<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>
|