Skip to content
Newer
Older
100644 441 lines (397 sloc) 18.6 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
7c5c62f [2.0] testing post-commit hook
romanb authored
8 <xs:annotation>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
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" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
20 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
21 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
22 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
23 </xs:complexType>
24 </xs:element>
25
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
26 <xs:complexType name="emptyType">
27 <xs:sequence>
28 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
29 </xs:sequence>
30 <xs:anyAttribute namespace="##other"/>
31 </xs:complexType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
32
33 <xs:complexType name="cascade-type">
34 <xs:sequence>
35 <xs:element name="cascade-all" type="orm:emptyType" minOccurs="0"/>
28ca2ac [2.0] Refined implementation and semantics of the merge and detach op…
romanb authored
36 <xs:element name="cascade-persist" type="orm:emptyType" minOccurs="0"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
37 <xs:element name="cascade-merge" type="orm:emptyType" minOccurs="0"/>
28ca2ac [2.0] Refined implementation and semantics of the merge and detach op…
romanb authored
38 <xs:element name="cascade-remove" type="orm:emptyType" minOccurs="0"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
39 <xs:element name="cascade-refresh" type="orm:emptyType" minOccurs="0"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
40 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
41 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
42 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
43 </xs:complexType>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
44
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
45 <xs:simpleType name="lifecycle-callback-type">
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
46 <xs:restriction base="xs:token">
47 <xs:enumeration value="prePersist"/>
48 <xs:enumeration value="postPersist"/>
49 <xs:enumeration value="preUpdate"/>
50 <xs:enumeration value="postUpdate"/>
51 <xs:enumeration value="preRemove"/>
52 <xs:enumeration value="postRemove"/>
53 <xs:enumeration value="postLoad"/>
54 </xs:restriction>
55 </xs:simpleType>
56
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
57 <xs:complexType name="lifecycle-callback">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
58 <xs:sequence>
59 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
60 </xs:sequence>
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
61 <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
62 <xs:attribute name="method" type="xs:NMTOKEN" use="required" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
63 <xs:anyAttribute namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
64 </xs:complexType>
65
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
66 <xs:complexType name="lifecycle-callbacks">
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
67 <xs:sequence>
8523648 [2.0] Fixed lifecycle callback mapping.
romanb authored
68 <xs:element name="lifecycle-callback" type="orm:lifecycle-callback" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
69 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
70 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
71 <xs:anyAttribute namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
72 </xs:complexType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
73
a31289b @guilhermeblanco Added support to NamedQueries through ClassMetadata.
guilhermeblanco authored
74 <xs:complexType name="named-query">
75 <xs:attribute name="name" type="xs:string" use="required" />
76 <xs:attribute name="query" type="xs:string" use="required" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
77 <xs:anyAttribute namespace="##other"/>
a31289b @guilhermeblanco Added support to NamedQueries through ClassMetadata.
guilhermeblanco authored
78 </xs:complexType>
79
80 <xs:complexType name="named-queries">
81 <xs:sequence>
82 <xs:element name="named-query" type="orm:named-query" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
83 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
a31289b @guilhermeblanco Added support to NamedQueries through ClassMetadata.
guilhermeblanco authored
84 </xs:sequence>
85 </xs:complexType>
86
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
87 <xs:complexType name="entity">
88 <xs:sequence>
d68fcd8 @jsor Implement custom options on table level
jsor authored
89 <xs:element name="options" type="orm:options" minOccurs="0" />
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"/>
98 <xs:element name="one-to-one" type="orm:one-to-one" minOccurs="0" maxOccurs="unbounded"/>
99 <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
100 <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
101 <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
102 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
103 </xs:sequence>
104 <xs:attribute name="name" type="xs:string" use="required" />
105 <xs:attribute name="table" type="xs:NMTOKEN" />
106 <xs:attribute name="schema" type="xs:NMTOKEN" />
988d229 @beberlei Fix XSD Schema
beberlei authored
107 <xs:attribute name="repository-class" type="xs:string"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
108 <xs:attribute name="inheritance-type" type="orm:inheritance-type"/>
bd28cb1 @beberlei DDC-645 - Demoted <change-tracking-policy /> to an attribute on <enti…
beberlei authored
109 <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
110 <xs:attribute name="read-only" type="xs:boolean" default="false" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
111 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
112 </xs:complexType>
113
d68fcd8 @jsor Implement custom options on table level
jsor authored
114 <xs:complexType name="option" mixed="true">
115 <xs:sequence minOccurs="0" maxOccurs="unbounded">
116 <xs:element name="option" type="orm:option"/>
117 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
118 </xs:sequence>
119 <xs:attribute name="name" type="xs:NMTOKEN" use="required"/>
120 <xs:anyAttribute namespace="##other"/>
121 </xs:complexType>
122
123 <xs:complexType name="options">
124 <xs:sequence>
125 <xs:element name="option" type="orm:option" minOccurs="0" maxOccurs="unbounded"/>
126 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
127 </xs:sequence>
128 <xs:anyAttribute namespace="##other"/>
129 </xs:complexType>
130
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
131 <xs:complexType name="mapped-superclass" >
132 <xs:complexContent>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
133 <xs:extension base="orm:entity">
134 <xs:sequence>
135 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
136 </xs:sequence>
137 <xs:anyAttribute namespace="##other"/>
138 </xs:extension>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
139 </xs:complexContent>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
140 </xs:complexType>
bd28cb1 @beberlei DDC-645 - Demoted <change-tracking-policy /> to an attribute on <enti…
beberlei authored
141
142 <xs:simpleType name="change-tracking-policy">
143 <xs:restriction base="xs:token">
144 <xs:enumeration value="DEFERRED_IMPLICIT"/>
145 <xs:enumeration value="DEFERRED_EXPLICIT"/>
146 <xs:enumeration value="NOTIFY"/>
147 </xs:restriction>
148 </xs:simpleType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
149
150 <xs:simpleType name="inheritance-type">
6e5a506 [2.0] Converted constant values from strings to integers.
romanb authored
151 <xs:restriction base="xs:token">
152 <xs:enumeration value="SINGLE_TABLE"/>
153 <xs:enumeration value="JOINED"/>
154 <xs:enumeration value="TABLE_PER_CLASS"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
155 </xs:restriction>
156 </xs:simpleType>
6e5a506 [2.0] Converted constant values from strings to integers.
romanb authored
157
158 <xs:simpleType name="generator-strategy">
159 <xs:restriction base="xs:token">
160 <xs:enumeration value="TABLE"/>
161 <xs:enumeration value="SEQUENCE"/>
162 <xs:enumeration value="IDENTITY"/>
163 <xs:enumeration value="AUTO"/>
23d0048 @beberlei [DDC-451] Adjust doctrine-mapping.xsd for new UUID generator
beberlei authored
164 <xs:enumeration value="UUID"/>
2b97f79 @velovint Add support for custom ID generator in XML
velovint authored
165 <xs:enumeration value="CUSTOM" />
6e5a506 [2.0] Converted constant values from strings to integers.
romanb authored
166 </xs:restriction>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
167 </xs:simpleType>
168
169 <xs:simpleType name="fk-action">
170 <xs:restriction base="xs:token">
171 <xs:enumeration value="CASCADE"/>
172 <xs:enumeration value="RESTRICT"/>
90725fa @alanbem fixed wrong on-delete XML Schema mapping
alanbem authored
173 <xs:enumeration value="SET NULL"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
174 </xs:restriction>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
175 </xs:simpleType>
176
177 <xs:simpleType name="fetch-type">
178 <xs:restriction base="xs:token">
179 <xs:enumeration value="EAGER"/>
180 <xs:enumeration value="LAZY"/>
7f3e90e @r1pp3rj4ck Fixed fetch mapping in xsd
r1pp3rj4ck authored
181 <xs:enumeration value="EXTRA_LAZY"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
182 </xs:restriction>
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
183 </xs:simpleType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
184
185 <xs:complexType name="field">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
186 <xs:sequence>
fac820f @jsor Complete custom column option implementation
jsor authored
187 <xs:element name="options" type="orm:options" minOccurs="0" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
188 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
189 </xs:sequence>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
190 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
191 <xs:attribute name="type" type="xs:NMTOKEN" default="string" />
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
192 <xs:attribute name="column" type="xs:NMTOKEN" />
193 <xs:attribute name="length" type="xs:NMTOKEN" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
194 <xs:attribute name="unique" type="xs:boolean" default="false" />
195 <xs:attribute name="nullable" type="xs:boolean" default="false" />
196 <xs:attribute name="version" type="xs:boolean" />
ee9aa00 [2.0] DDC-271 - Add columnDefinition for Join-Column in Annotation, X…
beberlei authored
197 <xs:attribute name="column-definition" type="xs:string" />
f2aacf4 @beberlei DDC-628 - Fix missing precision and scale attributes on doctrine-mapp…
beberlei authored
198 <xs:attribute name="precision" type="xs:integer" use="optional" />
199 <xs:attribute name="scale" type="xs:integer" use="optional" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
200 <xs:anyAttribute namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
201 </xs:complexType>
202
203 <xs:complexType name="discriminator-column">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
204 <xs:sequence>
205 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
206 </xs:sequence>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
207 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
5d01123 @FabioBatSilva Fix DDC-807, DDC-553
FabioBatSilva authored
208 <xs:attribute name="type" type="xs:NMTOKEN"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
209 <xs:attribute name="field-name" type="xs:NMTOKEN" />
210 <xs:attribute name="length" type="xs:NMTOKEN" />
5d01123 @FabioBatSilva Fix DDC-807, DDC-553
FabioBatSilva authored
211 <xs:attribute name="column-definition" type="xs:string" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
212 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
213 </xs:complexType>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
214
215 <xs:complexType name="unique-constraint">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
216 <xs:sequence>
217 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
218 </xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
219 <xs:attribute name="name" type="xs:NMTOKEN" use="optional"/>
f2aacf4 @beberlei DDC-628 - Fix missing precision and scale attributes on doctrine-mapp…
beberlei authored
220 <xs:attribute name="columns" type="xs:string" use="required"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
221 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
222 </xs:complexType>
223
224 <xs:complexType name="unique-constraints">
225 <xs:sequence>
226 <xs:element name="unique-constraint" type="orm:unique-constraint" minOccurs="1" maxOccurs="unbounded"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
227 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
228 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
229 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
230 </xs:complexType>
231
232 <xs:complexType name="index">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
233 <xs:sequence>
234 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
235 </xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
236 <xs:attribute name="name" type="xs:NMTOKEN" use="optional"/>
05bf847 @pkruithof The `columns` attribute of the `index` type was `xs:NMTOKENS`, theref…
pkruithof authored
237 <xs:attribute name="columns" type="xs:string" use="required"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
238 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
239 </xs:complexType>
240
241 <xs:complexType name="indexes">
242 <xs:sequence>
243 <xs:element name="index" type="orm:index" minOccurs="1" maxOccurs="unbounded"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
244 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
245 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
246 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
247 </xs:complexType>
248
249 <xs:complexType name="discriminator-mapping">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
250 <xs:sequence>
251 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
252 </xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
253 <xs:attribute name="value" type="xs:NMTOKEN" use="required"/>
3be6218 @beberlei DDC-1208 - Allow namespace separator in <discriminator-mapping />
beberlei authored
254 <xs:attribute name="class" type="xs:string" use="required"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
255 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
256 </xs:complexType>
257
258 <xs:complexType name="discriminator-map">
259 <xs:sequence>
260 <xs:element name="discriminator-mapping" type="orm:discriminator-mapping" minOccurs="1" maxOccurs="unbounded"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
261 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
262 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
263 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
264 </xs:complexType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
265
266 <xs:complexType name="generator">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
267 <xs:sequence>
268 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
269 </xs:sequence>
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
270 <xs:attribute name="strategy" type="orm:generator-strategy" use="optional" default="AUTO" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
271 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
272 </xs:complexType>
273
274 <xs:complexType name="id">
275 <xs:sequence>
276 <xs:element name="generator" type="orm:generator" minOccurs="0" />
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
277 <xs:element name="sequence-generator" type="orm:sequence-generator" minOccurs="0" maxOccurs="1" />
b72d150 @velovint Rename custom-generator to custom-id-generator in XML mappint to matc…
velovint authored
278 <xs:element name="custom-id-generator" type="orm:custom-id-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" />
5d01123 @FabioBatSilva Fix DDC-807, DDC-553
FabioBatSilva authored
285 <xs:attribute name="column-definition" type="xs:string" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
286 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
287 </xs:complexType>
288
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
289 <xs:complexType name="sequence-generator">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
290 <xs:sequence>
291 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
292 </xs:sequence>
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
293 <xs:attribute name="sequence-name" type="xs:NMTOKEN" use="required" />
294 <xs:attribute name="allocation-size" type="xs:integer" use="optional" default="1" />
295 <xs:attribute name="initial-value" type="xs:integer" use="optional" default="1" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
296 <xs:anyAttribute namespace="##other"/>
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
297 </xs:complexType>
298
b72d150 @velovint Rename custom-generator to custom-id-generator in XML mappint to matc…
velovint authored
299 <xs:complexType name="custom-id-generator">
2b97f79 @velovint Add support for custom ID generator in XML
velovint authored
300 <xs:sequence>
53ecedf @velovint Remove support to pass arguments to custom ID generator's constructor
velovint authored
301 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
2b97f79 @velovint Add support for custom ID generator in XML
velovint authored
302 </xs:sequence>
303 <xs:attribute name="class" type="xs:NMTOKEN" use="required" />
304 </xs:complexType>
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
305
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
306 <xs:complexType name="inverse-join-columns">
307 <xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
308 <xs:element name="join-column" type="orm:join-column" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
309 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
310 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
311 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
312 </xs:complexType>
313
314 <xs:complexType name="join-column">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
315 <xs:sequence>
316 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
317 </xs:sequence>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
318 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
319 <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
320 <xs:attribute name="unique" type="xs:boolean" default="false" />
321 <xs:attribute name="nullable" type="xs:boolean" default="true" />
322 <xs:attribute name="on-delete" type="orm:fk-action" />
323 <xs:attribute name="on-update" type="orm:fk-action" />
ee9aa00 [2.0] DDC-271 - Add columnDefinition for Join-Column in Annotation, X…
beberlei authored
324 <xs:attribute name="column-definition" type="xs:string" />
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-columns">
329 <xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
330 <xs:element name="join-column" type="orm:join-column" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
331 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
332 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
333 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
334 </xs:complexType>
335
336 <xs:complexType name="join-table">
337 <xs:sequence>
338 <xs:element name="join-columns" type="orm:join-columns" />
339 <xs:element name="inverse-join-columns" type="orm:join-columns" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
340 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
341 </xs:sequence>
342 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
343 <xs:attribute name="schema" type="xs:NMTOKEN" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
344 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
345 </xs:complexType>
346
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
347 <xs:complexType name="order-by">
348 <xs:sequence>
349 <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
350 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
351 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
352 <xs:anyAttribute namespace="##other"/>
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
353 </xs:complexType>
354
355 <xs:complexType name="order-by-field">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
356 <xs:sequence>
357 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
358 </xs:sequence>
359 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
360 <xs:attribute name="direction" type="orm:order-by-direction" default="ASC" />
361 <xs:anyAttribute namespace="##other"/>
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
362 </xs:complexType>
363
457d832 [2.0] DDC-195 - Updated XSD Schema
beberlei authored
364 <xs:simpleType name="order-by-direction">
365 <xs:restriction base="xs:token">
366 <xs:enumeration value="ASC"/>
367 <xs:enumeration value="DESC"/>
368 </xs:restriction>
369 </xs:simpleType>
370
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
371 <xs:complexType name="many-to-many">
372 <xs:sequence>
373 <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
374 <xs:element name="join-table" type="orm:join-table" minOccurs="0" />
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
375 <xs:element name="order-by" type="orm:order-by" minOccurs="0" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
376 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
377 </xs:sequence>
988d229 @beberlei Fix XSD Schema
beberlei authored
378 <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
379 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
674e9be [2.0][DDC-242][DDC-243] Fixed.
romanb authored
380 <xs:attribute name="mapped-by" type="xs:NMTOKEN" />
da2dee0 @beberlei [DDC-250] Small typo fix in xsd
beberlei authored
381 <xs:attribute name="index-by" type="xs:NMTOKEN" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
382 <xs:attribute name="inversed-by" type="xs:NMTOKEN" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
383 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
68436fe @beberlei [DDC-1654] Add support for orphanRemoval on ManyToMany associations. …
beberlei authored
384 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
385 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
386 </xs:complexType>
387
388 <xs:complexType name="one-to-many">
389 <xs:sequence>
390 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
391 <xs:element name="order-by" type="orm:order-by" minOccurs="0" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
392 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
393 </xs:sequence>
988d229 @beberlei Fix XSD Schema
beberlei authored
394 <xs:attribute name="target-entity" type="xs:string" use="required" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
395 <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
396 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
da2dee0 @beberlei [DDC-250] Small typo fix in xsd
beberlei authored
397 <xs:attribute name="index-by" type="xs:NMTOKEN" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
398 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
399 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
400 <xs:anyAttribute namespace="##other"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
401 </xs:complexType>
402
403 <xs:complexType name="many-to-one">
404 <xs:sequence>
405 <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
406 <xs:choice minOccurs="0" maxOccurs="1">
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
407 <xs:element name="join-column" type="orm:join-column"/>
408 <xs:element name="join-columns" type="orm:join-columns"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
409 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
410 </xs:choice>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
411 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
412 </xs:sequence>
988d229 @beberlei Fix XSD Schema
beberlei authored
413 <xs:attribute name="target-entity" type="xs:string" use="required" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
414 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
415 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
416 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
417 <xs:attribute name="inversed-by" type="xs:NMTOKEN" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
418 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
419 </xs:complexType>
420
421 <xs:complexType name="one-to-one">
422 <xs:sequence>
423 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
424 <xs:choice minOccurs="0" maxOccurs="1">
425 <xs:element name="join-column" type="orm:join-column"/>
426 <xs:element name="join-columns" type="orm:join-columns"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
427 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
428 </xs:choice>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
429 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
430 </xs:sequence>
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
431 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
988d229 @beberlei Fix XSD Schema
beberlei authored
432 <xs:attribute name="target-entity" type="xs:string" use="required" />
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
433 <xs:attribute name="mapped-by" type="xs:NMTOKEN" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
434 <xs:attribute name="inversed-by" type="xs:NMTOKEN" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
435 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
436 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
437 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
438 </xs:complexType>
439
988d229 @beberlei Fix XSD Schema
beberlei authored
440 </xs:schema>
Something went wrong with that request. Please try again.