Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 432 lines (389 sloc) 18.518 kb
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
4f64490 [2.0] Adjusted mapping file.
romanb authored
4 targetNamespace="http://doctrine-project.org/schemas/orm/doctrine-mapping"
5 xmlns:orm="http://doctrine-project.org/schemas/orm/doctrine-mapping"
969480f [2.0] Adjusted mapping file.
romanb authored
6 elementFormDefault="qualified">
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
7
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
8 <xs:annotation>
9 <xs:documentation><![CDATA[
10 This is the XML Schema for the object/relational
4f64490 [2.0] Adjusted mapping file.
romanb authored
11 mapping file used by the Doctrine ORM.
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
12 ]]></xs:documentation>
13 </xs:annotation>
14
15 <xs:element name="doctrine-mapping">
16 <xs:complexType>
17 <xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
18 <xs:element name="mapped-superclass" type="orm:mapped-superclass" minOccurs="0" maxOccurs="unbounded" />
19 <xs:element name="entity" type="orm:entity" minOccurs="0" maxOccurs="unbounded" />
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
20 <xs:element name="embeddable" type="orm:embeddable" minOccurs="0" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
21 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
22 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
23 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
24 </xs:complexType>
25 </xs:element>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
26
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
27 <xs:complexType name="emptyType">
28 <xs:sequence>
29 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
30 </xs:sequence>
31 <xs:anyAttribute namespace="##other"/>
32 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
33
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
34 <xs:complexType name="cascade-type">
35 <xs:sequence>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
36 <xs:element name="cascade-all" type="orm:emptyType" minOccurs="0"/>
37 <xs:element name="cascade-persist" type="orm:emptyType" minOccurs="0"/>
38 <xs:element name="cascade-merge" type="orm:emptyType" minOccurs="0"/>
39 <xs:element name="cascade-remove" type="orm:emptyType" minOccurs="0"/>
40 <xs:element name="cascade-refresh" type="orm:emptyType" minOccurs="0"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
41 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
42 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
43 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
44 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
45
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
46 <xs:simpleType name="lifecycle-callback-type">
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
47 <xs:restriction base="xs:token">
48 <xs:enumeration value="prePersist"/>
49 <xs:enumeration value="postPersist"/>
50 <xs:enumeration value="preUpdate"/>
51 <xs:enumeration value="postUpdate"/>
52 <xs:enumeration value="preRemove"/>
53 <xs:enumeration value="postRemove"/>
54 <xs:enumeration value="postLoad"/>
55 </xs:restriction>
56 </xs:simpleType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
57
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
58 <xs:complexType name="lifecycle-callback">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
59 <xs:sequence>
60 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
61 </xs:sequence>
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
62 <xs:attribute name="type" type="orm:lifecycle-callback-type" use="required" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
63 <xs:attribute name="method" type="xs:NMTOKEN" use="required" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
64 <xs:anyAttribute namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
65 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
66
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
67 <xs:complexType name="lifecycle-callbacks">
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
68 <xs:sequence>
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
69 <xs:element name="lifecycle-callback" type="orm:lifecycle-callback" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
70 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
71 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
72 <xs:anyAttribute namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
73 </xs:complexType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
74
a31289b @guilhermeblanco Added support to NamedQueries through ClassMetadata.
guilhermeblanco authored
75 <xs:complexType name="named-query">
76 <xs:attribute name="name" type="xs:string" use="required" />
77 <xs:attribute name="query" type="xs:string" use="required" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
78 <xs:anyAttribute namespace="##other"/>
a31289b @guilhermeblanco Added support to NamedQueries through ClassMetadata.
guilhermeblanco authored
79 </xs:complexType>
80
81 <xs:complexType name="named-queries">
82 <xs:sequence>
83 <xs:element name="named-query" type="orm:named-query" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
84 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
a31289b @guilhermeblanco Added support to NamedQueries through ClassMetadata.
guilhermeblanco authored
85 </xs:sequence>
86 </xs:complexType>
87
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
88 <xs:complexType name="entity">
89 <xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
90 <xs:element name="indexes" type="orm:indexes" minOccurs="0"/>
91 <xs:element name="unique-constraints" type="orm:unique-constraints" minOccurs="0"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
92 <xs:element name="discriminator-column" type="orm:discriminator-column" minOccurs="0"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
93 <xs:element name="discriminator-map" type="orm:discriminator-map" minOccurs="0"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
94 <xs:element name="lifecycle-callbacks" type="orm:lifecycle-callbacks" minOccurs="0" maxOccurs="1" />
a31289b @guilhermeblanco Added support to NamedQueries through ClassMetadata.
guilhermeblanco authored
95 <xs:element name="named-queries" type="orm:named-queries" minOccurs="0" maxOccurs="1" />
b83945d @beberlei DDC-1333 - Fix bug in xsd
beberlei authored
96 <xs:element name="id" type="orm:id" minOccurs="0" maxOccurs="unbounded" />
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
97 <xs:element name="field" type="orm:field" minOccurs="0" maxOccurs="unbounded"/>
cc960ba @guilhermeblanco More work around Value Objects.
guilhermeblanco authored
98 <xs:element name="embedded" type="orm:embedded" minOccurs="0" maxOccurs="unbounded"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
99 <xs:element name="one-to-one" type="orm:one-to-one" minOccurs="0" maxOccurs="unbounded"/>
100 <xs:element name="one-to-many" type="orm:one-to-many" minOccurs="0" maxOccurs="unbounded" />
674e9be [2.0][DDC-242][DDC-243] Fixed.
romanb authored
101 <xs:element name="many-to-one" type="orm:many-to-one" minOccurs="0" maxOccurs="unbounded" />
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
102 <xs:element name="many-to-many" type="orm:many-to-many" minOccurs="0" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
103 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
104 </xs:sequence>
105 <xs:attribute name="name" type="xs:string" use="required" />
106 <xs:attribute name="table" type="xs:NMTOKEN" />
107 <xs:attribute name="schema" type="xs:NMTOKEN" />
988d229 @beberlei Fix XSD Schema
beberlei authored
108 <xs:attribute name="repository-class" type="xs:string"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
109 <xs:attribute name="inheritance-type" type="orm:inheritance-type"/>
bd28cb1 @beberlei DDC-645 - Demoted <change-tracking-policy /> to an attribute on <enti…
beberlei authored
110 <xs:attribute name="change-tracking-policy" type="orm:change-tracking-policy" />
34ad308 @beberlei [DDC-692] Add respective metadata mapping possiblities for read-only …
beberlei authored
111 <xs:attribute name="read-only" type="xs:boolean" default="false" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
112 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
113 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
114
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
115 <xs:complexType name="mapped-superclass" >
116 <xs:complexContent>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
117 <xs:extension base="orm:entity">
118 <xs:sequence>
119 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
120 </xs:sequence>
121 <xs:anyAttribute namespace="##other"/>
122 </xs:extension>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
123 </xs:complexContent>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
124 </xs:complexType>
bd28cb1 @beberlei DDC-645 - Demoted <change-tracking-policy /> to an attribute on <enti…
beberlei authored
125
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
126 <xs:complexType name="embeddable" >
127 <xs:complexContent>
128 <xs:extension base="orm:entity">
129 <xs:sequence>
130 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
131 </xs:sequence>
132 <xs:anyAttribute namespace="##other"/>
133 </xs:extension>
134 </xs:complexContent>
135 </xs:complexType>
136
bd28cb1 @beberlei DDC-645 - Demoted <change-tracking-policy /> to an attribute on <enti…
beberlei authored
137 <xs:simpleType name="change-tracking-policy">
138 <xs:restriction base="xs:token">
139 <xs:enumeration value="DEFERRED_IMPLICIT"/>
140 <xs:enumeration value="DEFERRED_EXPLICIT"/>
141 <xs:enumeration value="NOTIFY"/>
142 </xs:restriction>
143 </xs:simpleType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
144
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
145 <xs:simpleType name="inheritance-type">
6e5a506 [2.0] Converted constant values from strings to integers.
romanb authored
146 <xs:restriction base="xs:token">
147 <xs:enumeration value="SINGLE_TABLE"/>
148 <xs:enumeration value="JOINED"/>
149 <xs:enumeration value="TABLE_PER_CLASS"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
150 </xs:restriction>
151 </xs:simpleType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
152
153 <xs:simpleType name="generator-strategy">
154 <xs:restriction base="xs:token">
155 <xs:enumeration value="TABLE"/>
156 <xs:enumeration value="SEQUENCE"/>
157 <xs:enumeration value="IDENTITY"/>
158 <xs:enumeration value="AUTO"/>
159 </xs:restriction>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
160 </xs:simpleType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
161
162 <xs:simpleType name="fk-action">
163 <xs:restriction base="xs:token">
164 <xs:enumeration value="CASCADE"/>
165 <xs:enumeration value="RESTRICT"/>
90725fa @alanbem fixed wrong on-delete XML Schema mapping
alanbem authored
166 <xs:enumeration value="SET NULL"/>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
167 </xs:restriction>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
168 </xs:simpleType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
169
170 <xs:simpleType name="fetch-type">
171 <xs:restriction base="xs:token">
172 <xs:enumeration value="EAGER"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
173 <xs:enumeration value="LAZY"/>
f572be9 @beberlei DDC-546 - Add EXTRALAZY to doctrine-mapping.xsd enumeration of fetch-…
beberlei authored
174 <xs:enumeration value="EXTRALAZY"/>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
175 </xs:restriction>
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
176 </xs:simpleType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
177
178 <xs:complexType name="field">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
179 <xs:sequence>
180 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
181 </xs:sequence>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
182 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
183 <xs:attribute name="type" type="xs:NMTOKEN" default="string" />
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
184 <xs:attribute name="column" type="xs:NMTOKEN" />
185 <xs:attribute name="length" type="xs:NMTOKEN" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
186 <xs:attribute name="unique" type="xs:boolean" default="false" />
187 <xs:attribute name="nullable" type="xs:boolean" default="false" />
188 <xs:attribute name="version" type="xs:boolean" />
ee9aa00 [2.0] DDC-271 - Add columnDefinition for Join-Column in Annotation, X…
beberlei authored
189 <xs:attribute name="column-definition" type="xs:string" />
f2aacf4 @beberlei DDC-628 - Fix missing precision and scale attributes on doctrine-mapp…
beberlei authored
190 <xs:attribute name="precision" type="xs:integer" use="optional" />
191 <xs:attribute name="scale" type="xs:integer" use="optional" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
192 <xs:anyAttribute namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
193 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
194
cc960ba @guilhermeblanco More work around Value Objects.
guilhermeblanco authored
195 <xs:complexType name="embedded">
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
196 <xs:sequence>
197 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
198 </xs:sequence>
199 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
200 <xs:attribute name="class" type="xs:NMTOKEN" use="required" />
d519074 @guilhermeblanco First round of refactorings after initial commit about VOs implementa…
guilhermeblanco authored
201 <xs:attribute name="prefix" type="xs:NMTOKEN" />
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
202 <xs:anyAttribute namespace="##other"/>
203 </xs:complexType>
204
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
205 <xs:complexType name="discriminator-column">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
206 <xs:sequence>
207 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
208 </xs:sequence>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
209 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
210 <xs:attribute name="type" type="xs:NMTOKEN" use="required" />
211 <xs:attribute name="field-name" type="xs:NMTOKEN" />
212 <xs:attribute name="length" type="xs:NMTOKEN" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
213 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
214 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
215
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
216 <xs:complexType name="unique-constraint">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
217 <xs:sequence>
218 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
219 </xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
220 <xs:attribute name="name" type="xs:NMTOKEN" use="optional"/>
f2aacf4 @beberlei DDC-628 - Fix missing precision and scale attributes on doctrine-mapp…
beberlei authored
221 <xs:attribute name="columns" type="xs:string" use="required"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
222 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
223 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
224
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
225 <xs:complexType name="unique-constraints">
226 <xs:sequence>
227 <xs:element name="unique-constraint" type="orm:unique-constraint" minOccurs="1" maxOccurs="unbounded"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
228 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
229 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
230 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
231 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
232
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
233 <xs:complexType name="index">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
234 <xs:sequence>
235 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
236 </xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
237 <xs:attribute name="name" type="xs:NMTOKEN" use="optional"/>
05bf847 @pkruithof The `columns` attribute of the `index` type was `xs:NMTOKENS`, theref…
pkruithof authored
238 <xs:attribute name="columns" type="xs:string" use="required"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
239 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
240 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
241
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
242 <xs:complexType name="indexes">
243 <xs:sequence>
244 <xs:element name="index" type="orm:index" minOccurs="1" maxOccurs="unbounded"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
245 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
246 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
247 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
248 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
249
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
250 <xs:complexType name="discriminator-mapping">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
251 <xs:sequence>
252 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
253 </xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
254 <xs:attribute name="value" type="xs:NMTOKEN" use="required"/>
3be6218 @beberlei DDC-1208 - Allow namespace separator in <discriminator-mapping />
beberlei authored
255 <xs:attribute name="class" type="xs:string" use="required"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
256 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
257 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
258
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
259 <xs:complexType name="discriminator-map">
260 <xs:sequence>
261 <xs:element name="discriminator-mapping" type="orm:discriminator-mapping" minOccurs="1" maxOccurs="unbounded"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
262 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
263 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
264 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
265 </xs:complexType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
266
267 <xs:complexType name="generator">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
268 <xs:sequence>
269 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
270 </xs:sequence>
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
271 <xs:attribute name="strategy" type="orm:generator-strategy" use="optional" default="AUTO" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
272 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
273 </xs:complexType>
274
275 <xs:complexType name="id">
276 <xs:sequence>
277 <xs:element name="generator" type="orm:generator" minOccurs="0" />
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
278 <xs:element name="sequence-generator" type="orm:sequence-generator" minOccurs="0" maxOccurs="1" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
279 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
280 </xs:sequence>
281 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
2a00501 @beberlei DDC-117 - Add XML and YML Driver support for associated identifier.
beberlei authored
282 <xs:attribute name="type" type="xs:NMTOKEN" />
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
283 <xs:attribute name="column" type="xs:NMTOKEN" />
2a00501 @beberlei DDC-117 - Add XML and YML Driver support for associated identifier.
beberlei authored
284 <xs:attribute name="association-key" type="xs:boolean" default="false" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
285 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
286 </xs:complexType>
287
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
288 <xs:complexType name="sequence-generator">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
289 <xs:sequence>
290 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
291 </xs:sequence>
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
292 <xs:attribute name="sequence-name" type="xs:NMTOKEN" use="required" />
293 <xs:attribute name="allocation-size" type="xs:integer" use="optional" default="1" />
294 <xs:attribute name="initial-value" type="xs:integer" use="optional" default="1" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
295 <xs:anyAttribute namespace="##other"/>
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
296 </xs:complexType>
297
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
298 <xs:complexType name="inverse-join-columns">
299 <xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
300 <xs:element name="join-column" type="orm:join-column" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
301 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
302 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
303 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
304 </xs:complexType>
305
306 <xs:complexType name="join-column">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
307 <xs:sequence>
308 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
309 </xs:sequence>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
310 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
311 <xs:attribute name="referenced-column-name" type="xs:NMTOKEN" use="optional" default="id" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
312 <xs:attribute name="unique" type="xs:boolean" default="false" />
313 <xs:attribute name="nullable" type="xs:boolean" default="true" />
314 <xs:attribute name="on-delete" type="orm:fk-action" />
315 <xs:attribute name="on-update" type="orm:fk-action" />
ee9aa00 [2.0] DDC-271 - Add columnDefinition for Join-Column in Annotation, X…
beberlei authored
316 <xs:attribute name="column-definition" type="xs:string" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
317 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
318 </xs:complexType>
319
320 <xs:complexType name="join-columns">
321 <xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
322 <xs:element name="join-column" type="orm:join-column" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
323 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
324 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
325 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
326 </xs:complexType>
327
328 <xs:complexType name="join-table">
329 <xs:sequence>
330 <xs:element name="join-columns" type="orm:join-columns" />
331 <xs:element name="inverse-join-columns" type="orm:join-columns" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
332 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
333 </xs:sequence>
334 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
335 <xs:attribute name="schema" type="xs:NMTOKEN" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
336 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
337 </xs:complexType>
338
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
339 <xs:complexType name="order-by">
340 <xs:sequence>
341 <xs:element name="order-by-field" type="orm:order-by-field" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
342 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
343 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
344 <xs:anyAttribute namespace="##other"/>
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
345 </xs:complexType>
346
347 <xs:complexType name="order-by-field">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
348 <xs:sequence>
349 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
350 </xs:sequence>
351 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
352 <xs:attribute name="direction" type="orm:order-by-direction" default="ASC" />
353 <xs:anyAttribute namespace="##other"/>
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
354 </xs:complexType>
355
457d832 [2.0] DDC-195 - Updated XSD Schema
beberlei authored
356 <xs:simpleType name="order-by-direction">
357 <xs:restriction base="xs:token">
358 <xs:enumeration value="ASC"/>
359 <xs:enumeration value="DESC"/>
360 </xs:restriction>
361 </xs:simpleType>
362
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
363 <xs:complexType name="many-to-many">
364 <xs:sequence>
365 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
366 <xs:element name="join-table" type="orm:join-table" minOccurs="0" />
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
367 <xs:element name="order-by" type="orm:order-by" minOccurs="0" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
368 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
369 </xs:sequence>
988d229 @beberlei Fix XSD Schema
beberlei authored
370 <xs:attribute name="target-entity" type="xs:string" use="required" />
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
371 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
674e9be [2.0][DDC-242][DDC-243] Fixed.
romanb authored
372 <xs:attribute name="mapped-by" type="xs:NMTOKEN" />
da2dee0 @beberlei [DDC-250] Small typo fix in xsd
beberlei authored
373 <xs:attribute name="index-by" type="xs:NMTOKEN" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
374 <xs:attribute name="inversed-by" type="xs:NMTOKEN" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
375 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
376 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
377 </xs:complexType>
378
379 <xs:complexType name="one-to-many">
380 <xs:sequence>
381 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
382 <xs:element name="order-by" type="orm:order-by" minOccurs="0" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
383 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
384 </xs:sequence>
988d229 @beberlei Fix XSD Schema
beberlei authored
385 <xs:attribute name="target-entity" type="xs:string" use="required" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
386 <xs:attribute name="mapped-by" type="xs:NMTOKEN" use="required" />
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
387 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
da2dee0 @beberlei [DDC-250] Small typo fix in xsd
beberlei authored
388 <xs:attribute name="index-by" type="xs:NMTOKEN" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
389 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
390 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
391 <xs:anyAttribute namespace="##other"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
392 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
393
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
394 <xs:complexType name="many-to-one">
395 <xs:sequence>
396 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
397 <xs:choice minOccurs="0" maxOccurs="1">
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
398 <xs:element name="join-column" type="orm:join-column"/>
399 <xs:element name="join-columns" type="orm:join-columns"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
400 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
401 </xs:choice>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
402 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
403 </xs:sequence>
988d229 @beberlei Fix XSD Schema
beberlei authored
404 <xs:attribute name="target-entity" type="xs:string" use="required" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
405 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
406 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
407 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
408 <xs:attribute name="inversed-by" type="xs:NMTOKEN" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
409 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
410 </xs:complexType>
5ef2395 @guilhermeblanco Mapping support for Embeddables (VOs).
guilhermeblanco authored
411
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
412 <xs:complexType name="one-to-one">
413 <xs:sequence>
414 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
415 <xs:choice minOccurs="0" maxOccurs="1">
416 <xs:element name="join-column" type="orm:join-column"/>
417 <xs:element name="join-columns" type="orm:join-columns"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
418 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
419 </xs:choice>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
420 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
421 </xs:sequence>
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
422 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
988d229 @beberlei Fix XSD Schema
beberlei authored
423 <xs:attribute name="target-entity" type="xs:string" use="required" />
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
424 <xs:attribute name="mapped-by" type="xs:NMTOKEN" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
425 <xs:attribute name="inversed-by" type="xs:NMTOKEN" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
426 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
427 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
428 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
429 </xs:complexType>
430
988d229 @beberlei Fix XSD Schema
beberlei authored
431 </xs:schema>
Something went wrong with that request. Please try again.