Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 409 lines (368 sloc) 17.65 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>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
89 <xs:element name="indexes" type="orm:indexes" minOccurs="0"/>
90 <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
91 <xs:element name="discriminator-column" type="orm:discriminator-column" minOccurs="0"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
92 <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
93 <xs:element name="lifecycle-callbacks" type="orm:lifecycle-callbacks" minOccurs="0" maxOccurs="1" />
a31289b @guilhermeblanco Added support to NamedQueries through ClassMetadata.
guilhermeblanco authored
94 <xs:element name="named-queries" type="orm:named-queries" minOccurs="0" maxOccurs="1" />
97e572e @beberlei DDC-806 - Fix xsd schema not allowing entities without id (in inherit…
beberlei authored
95 <xs:element name="id" type="orm:id" minOccurs="0" maxOccurs="1" />
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
96 <xs:element name="field" type="orm:field" minOccurs="0" maxOccurs="unbounded"/>
97 <xs:element name="one-to-one" type="orm:one-to-one" minOccurs="0" maxOccurs="unbounded"/>
98 <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
99 <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
100 <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
101 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
102 </xs:sequence>
103 <xs:attribute name="name" type="xs:string" use="required" />
104 <xs:attribute name="table" type="xs:NMTOKEN" />
105 <xs:attribute name="schema" type="xs:NMTOKEN" />
988d229 @beberlei Fix XSD Schema
beberlei authored
106 <xs:attribute name="repository-class" type="xs:string"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
107 <xs:attribute name="inheritance-type" type="orm:inheritance-type"/>
bd28cb1 @beberlei DDC-645 - Demoted <change-tracking-policy /> to an attribute on <enti…
beberlei authored
108 <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
109 <xs:attribute name="read-only" type="xs:boolean" default="false" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
110 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
111 </xs:complexType>
112
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
113 <xs:complexType name="mapped-superclass" >
114 <xs:complexContent>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
115 <xs:extension base="orm:entity">
116 <xs:sequence>
117 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
118 </xs:sequence>
119 <xs:anyAttribute namespace="##other"/>
120 </xs:extension>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
121 </xs:complexContent>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
122 </xs:complexType>
bd28cb1 @beberlei DDC-645 - Demoted <change-tracking-policy /> to an attribute on <enti…
beberlei authored
123
124 <xs:simpleType name="change-tracking-policy">
125 <xs:restriction base="xs:token">
126 <xs:enumeration value="DEFERRED_IMPLICIT"/>
127 <xs:enumeration value="DEFERRED_EXPLICIT"/>
128 <xs:enumeration value="NOTIFY"/>
129 </xs:restriction>
130 </xs:simpleType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
131
132 <xs:simpleType name="inheritance-type">
6e5a506 [2.0] Converted constant values from strings to integers.
romanb authored
133 <xs:restriction base="xs:token">
134 <xs:enumeration value="SINGLE_TABLE"/>
135 <xs:enumeration value="JOINED"/>
136 <xs:enumeration value="TABLE_PER_CLASS"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
137 </xs:restriction>
138 </xs:simpleType>
6e5a506 [2.0] Converted constant values from strings to integers.
romanb authored
139
140 <xs:simpleType name="generator-strategy">
141 <xs:restriction base="xs:token">
142 <xs:enumeration value="TABLE"/>
143 <xs:enumeration value="SEQUENCE"/>
144 <xs:enumeration value="IDENTITY"/>
145 <xs:enumeration value="AUTO"/>
146 </xs:restriction>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
147 </xs:simpleType>
148
149 <xs:simpleType name="fk-action">
150 <xs:restriction base="xs:token">
151 <xs:enumeration value="CASCADE"/>
152 <xs:enumeration value="RESTRICT"/>
153 <xs:enumeration value="SET_NULL"/>
154 </xs:restriction>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
155 </xs:simpleType>
156
157 <xs:simpleType name="fetch-type">
158 <xs:restriction base="xs:token">
159 <xs:enumeration value="EAGER"/>
160 <xs:enumeration value="LAZY"/>
f572be9 @beberlei DDC-546 - Add EXTRALAZY to doctrine-mapping.xsd enumeration of fetch-…
beberlei authored
161 <xs:enumeration value="EXTRALAZY"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
162 </xs:restriction>
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
163 </xs:simpleType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
164
165 <xs:complexType name="field">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
166 <xs:sequence>
167 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
168 </xs:sequence>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
169 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
170 <xs:attribute name="type" type="xs:NMTOKEN" default="string" />
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
171 <xs:attribute name="column" type="xs:NMTOKEN" />
172 <xs:attribute name="length" type="xs:NMTOKEN" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
173 <xs:attribute name="unique" type="xs:boolean" default="false" />
174 <xs:attribute name="nullable" type="xs:boolean" default="false" />
175 <xs:attribute name="version" type="xs:boolean" />
ee9aa00 [2.0] DDC-271 - Add columnDefinition for Join-Column in Annotation, X…
beberlei authored
176 <xs:attribute name="column-definition" type="xs:string" />
f2aacf4 @beberlei DDC-628 - Fix missing precision and scale attributes on doctrine-mapp…
beberlei authored
177 <xs:attribute name="precision" type="xs:integer" use="optional" />
178 <xs:attribute name="scale" type="xs:integer" use="optional" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
179 <xs:anyAttribute namespace="##other"/>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
180 </xs:complexType>
181
182 <xs:complexType name="discriminator-column">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
183 <xs:sequence>
184 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
185 </xs:sequence>
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
186 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
187 <xs:attribute name="type" type="xs:NMTOKEN" use="required" />
188 <xs:attribute name="field-name" type="xs:NMTOKEN" />
189 <xs:attribute name="length" type="xs:NMTOKEN" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
190 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
191 </xs:complexType>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
192
193 <xs:complexType name="unique-constraint">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
194 <xs:sequence>
195 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
196 </xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
197 <xs:attribute name="name" type="xs:NMTOKEN" use="optional"/>
f2aacf4 @beberlei DDC-628 - Fix missing precision and scale attributes on doctrine-mapp…
beberlei authored
198 <xs:attribute name="columns" type="xs:string" use="required"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
199 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
200 </xs:complexType>
201
202 <xs:complexType name="unique-constraints">
203 <xs:sequence>
204 <xs:element name="unique-constraint" type="orm:unique-constraint" minOccurs="1" maxOccurs="unbounded"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
205 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
206 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
207 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
208 </xs:complexType>
209
210 <xs:complexType name="index">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
211 <xs:sequence>
212 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
213 </xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
214 <xs:attribute name="name" type="xs:NMTOKEN" use="optional"/>
05bf847 @pkruithof The `columns` attribute of the `index` type was `xs:NMTOKENS`, theref…
pkruithof authored
215 <xs:attribute name="columns" type="xs:string" use="required"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
216 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
217 </xs:complexType>
218
219 <xs:complexType name="indexes">
220 <xs:sequence>
221 <xs:element name="index" type="orm:index" minOccurs="1" maxOccurs="unbounded"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
222 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
223 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
224 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
225 </xs:complexType>
226
227 <xs:complexType name="discriminator-mapping">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
228 <xs:sequence>
229 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
230 </xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
231 <xs:attribute name="value" type="xs:NMTOKEN" use="required"/>
3be6218 @beberlei DDC-1208 - Allow namespace separator in <discriminator-mapping />
beberlei authored
232 <xs:attribute name="class" type="xs:string" use="required"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
233 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
234 </xs:complexType>
235
236 <xs:complexType name="discriminator-map">
237 <xs:sequence>
238 <xs:element name="discriminator-mapping" type="orm:discriminator-mapping" minOccurs="1" maxOccurs="unbounded"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
239 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
240 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
241 <xs:anyAttribute namespace="##other"/>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
242 </xs:complexType>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
243
244 <xs:complexType name="generator">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
245 <xs:sequence>
246 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
247 </xs:sequence>
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
248 <xs:attribute name="strategy" type="orm:generator-strategy" use="optional" default="AUTO" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
249 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
250 </xs:complexType>
251
252 <xs:complexType name="id">
253 <xs:sequence>
254 <xs:element name="generator" type="orm:generator" minOccurs="0" />
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
255 <xs:element name="sequence-generator" type="orm:sequence-generator" minOccurs="0" maxOccurs="1" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
256 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
257 </xs:sequence>
258 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
2a00501 @beberlei DDC-117 - Add XML and YML Driver support for associated identifier.
beberlei authored
259 <xs:attribute name="type" type="xs:NMTOKEN" />
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
260 <xs:attribute name="column" type="xs:NMTOKEN" />
2a00501 @beberlei DDC-117 - Add XML and YML Driver support for associated identifier.
beberlei authored
261 <xs:attribute name="association-key" type="xs:boolean" default="false" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
262 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
263 </xs:complexType>
264
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
265 <xs:complexType name="sequence-generator">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
266 <xs:sequence>
267 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
268 </xs:sequence>
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
269 <xs:attribute name="sequence-name" type="xs:NMTOKEN" use="required" />
270 <xs:attribute name="allocation-size" type="xs:integer" use="optional" default="1" />
271 <xs:attribute name="initial-value" type="xs:integer" use="optional" default="1" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
272 <xs:anyAttribute namespace="##other"/>
987fbee @beberlei DDC-537 Add missing sequence-generator tag definition in doctrine-map…
beberlei authored
273 </xs:complexType>
274
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
275 <xs:complexType name="inverse-join-columns">
276 <xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
277 <xs:element name="join-column" type="orm:join-column" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
278 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
279 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
280 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
281 </xs:complexType>
282
283 <xs:complexType name="join-column">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
284 <xs:sequence>
285 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
286 </xs:sequence>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
287 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
4adc289 [2.0][DDC-284] Fixed. API polish and some convention over configurati…
romanb authored
288 <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
289 <xs:attribute name="unique" type="xs:boolean" default="false" />
290 <xs:attribute name="nullable" type="xs:boolean" default="true" />
291 <xs:attribute name="on-delete" type="orm:fk-action" />
292 <xs:attribute name="on-update" type="orm:fk-action" />
ee9aa00 [2.0] DDC-271 - Add columnDefinition for Join-Column in Annotation, X…
beberlei authored
293 <xs:attribute name="column-definition" type="xs:string" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
294 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
295 </xs:complexType>
296
297 <xs:complexType name="join-columns">
298 <xs:sequence>
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
299 <xs:element name="join-column" type="orm:join-column" minOccurs="1" maxOccurs="unbounded" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
300 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
301 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
302 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
303 </xs:complexType>
304
305 <xs:complexType name="join-table">
306 <xs:sequence>
307 <xs:element name="join-columns" type="orm:join-columns" />
308 <xs:element name="inverse-join-columns" type="orm:join-columns" />
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>
311 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
312 <xs:attribute name="schema" type="xs:NMTOKEN" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
313 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
314 </xs:complexType>
315
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
316 <xs:complexType name="order-by">
317 <xs:sequence>
318 <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
319 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
320 </xs:sequence>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
321 <xs:anyAttribute namespace="##other"/>
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
322 </xs:complexType>
323
324 <xs:complexType name="order-by-field">
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
325 <xs:sequence>
326 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
327 </xs:sequence>
328 <xs:attribute name="name" type="xs:NMTOKEN" use="required" />
329 <xs:attribute name="direction" type="orm:order-by-direction" default="ASC" />
330 <xs:anyAttribute namespace="##other"/>
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
331 </xs:complexType>
332
457d832 [2.0] DDC-195 - Updated XSD Schema
beberlei authored
333 <xs:simpleType name="order-by-direction">
334 <xs:restriction base="xs:token">
335 <xs:enumeration value="ASC"/>
336 <xs:enumeration value="DESC"/>
337 </xs:restriction>
338 </xs:simpleType>
339
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
340 <xs:complexType name="many-to-many">
341 <xs:sequence>
342 <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
343 <xs:element name="join-table" type="orm:join-table" minOccurs="0" />
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
344 <xs:element name="order-by" type="orm:order-by" minOccurs="0" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
345 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
346 </xs:sequence>
988d229 @beberlei Fix XSD Schema
beberlei authored
347 <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
348 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
674e9be [2.0][DDC-242][DDC-243] Fixed.
romanb authored
349 <xs:attribute name="mapped-by" type="xs:NMTOKEN" />
da2dee0 @beberlei [DDC-250] Small typo fix in xsd
beberlei authored
350 <xs:attribute name="index-by" type="xs:NMTOKEN" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
351 <xs:attribute name="inversed-by" type="xs:NMTOKEN" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
352 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
353 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
354 </xs:complexType>
355
356 <xs:complexType name="one-to-many">
357 <xs:sequence>
358 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
35d795b [2.0] DDC-195 - Updated XSD Schema
beberlei authored
359 <xs:element name="order-by" type="orm:order-by" minOccurs="0" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
360 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
361 </xs:sequence>
988d229 @beberlei Fix XSD Schema
beberlei authored
362 <xs:attribute name="target-entity" type="xs:string" use="required" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
363 <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
364 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
da2dee0 @beberlei [DDC-250] Small typo fix in xsd
beberlei authored
365 <xs:attribute name="index-by" type="xs:NMTOKEN" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
366 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
367 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
368 <xs:anyAttribute namespace="##other"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
369 </xs:complexType>
370
371 <xs:complexType name="many-to-one">
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:choice minOccurs="0" maxOccurs="1">
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
375 <xs:element name="join-column" type="orm:join-column"/>
376 <xs:element name="join-columns" type="orm:join-columns"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
377 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
378 </xs:choice>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
379 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
380 </xs:sequence>
988d229 @beberlei Fix XSD Schema
beberlei authored
381 <xs:attribute name="target-entity" type="xs:string" use="required" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
382 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
383 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
384 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
385 <xs:attribute name="inversed-by" type="xs:NMTOKEN" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
386 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
387 </xs:complexType>
388
389 <xs:complexType name="one-to-one">
390 <xs:sequence>
391 <xs:element name="cascade" type="orm:cascade-type" minOccurs="0" />
392 <xs:choice minOccurs="0" maxOccurs="1">
393 <xs:element name="join-column" type="orm:join-column"/>
394 <xs:element name="join-columns" type="orm:join-columns"/>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
395 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
396 </xs:choice>
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
397 <xs:any minOccurs="0" maxOccurs="unbounded" namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
398 </xs:sequence>
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
399 <xs:attribute name="field" type="xs:NMTOKEN" use="required" />
988d229 @beberlei Fix XSD Schema
beberlei authored
400 <xs:attribute name="target-entity" type="xs:string" use="required" />
b1d34fc [2.0] Work on SchemaTool and DBAL.
romanb authored
401 <xs:attribute name="mapped-by" type="xs:NMTOKEN" />
7cc56c4 @romanb [DDC-193] Fixed.
romanb authored
402 <xs:attribute name="inversed-by" type="xs:NMTOKEN" />
e161103 [2.0] Added EntityRepositoryTest. Updated build file and XML Schema f…
romanb authored
403 <xs:attribute name="orphan-removal" type="xs:boolean" default="false" />
eff87be [2.0][DDC-207] Fixed. Also added fetch-type.
romanb authored
404 <xs:attribute name="fetch" type="orm:fetch-type" default="LAZY" />
bf0775f @mvrhov Add extension points into the xml schema
mvrhov authored
405 <xs:anyAttribute namespace="##other"/>
d90e71d [2.0] First implementation of XmlDriver + tests. First draft of XSD d…
romanb authored
406 </xs:complexType>
407
988d229 @beberlei Fix XSD Schema
beberlei authored
408 </xs:schema>
Something went wrong with that request. Please try again.