Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / schemas_ericsson_com_upg_provisioning_1_0_e.ttcn
1 /*******************************************************************************
2 * Copyright Ericsson Telecom AB
3 *
4 * XSD to TTCN-3 Translator
5 *
6 * All rights reserved. This program and the accompanying materials
7 * are made available under the terms of the Eclipse Public License v1.0
8 * which accompanies this distribution, and is available at
9 * http://www.eclipse.org/legal/epl-v10.html
10 *******************************************************************************/
11 //
12 // File: schemas_ericsson_com_upg_provisioning_1_0_e.ttcn
13 // Description:
14 // References:
15 // Rev:
16 // Prodnr:
17 // Updated:
18 // Contact: http://ttcn.ericsson.se
19 //
20 ////////////////////////////////////////////////////////////////////////////////
21 //
22 // Generated from file(s):
23 //
24 // - Provisioning.xsd
25 // /* xml version = "1.0" encoding = "UTF-8" */
26 // /* targetnamespace = "http://schemas.ericsson.com/upg/provisioning/1.0" */
27 //
28 ////////////////////////////////////////////////////////////////////////////////
29
30
31 module schemas_ericsson_com_upg_provisioning_1_0_e {
32
33
34 import from XSD all;
35
36
37 import from schemas_ericsson_com_cai3g1_1_e all;
38
39
40 type record AnyDocumentType
41 {
42 record length(1 .. infinity) of XSD.String elem_list
43 }
44 with {
45 variant (elem_list) "untagged";
46 variant (elem_list[-]) "anyElement";
47 };
48
49
50 /* Resource MO */
51
52
53 /* Resource MOType resource@http://schemas.ericsson.com/upg/provisioning/1.0 */
54
55
56 /* Resource MOId */
57
58
59 type record ResourceMO
60 {
61 XSD.AnyURI resourceId
62 }
63 with {
64 variant (resourceId) "name as capitalized";
65 };
66
67
68 /* /Resource MOId */
69
70
71 /* Resource MOAttributes */
72
73
74 type CreateResourceAttributesType CreateResourceAttributes
75 with {
76 variant "element";
77 };
78
79
80 type record CreateResourceAttributesType
81 {
82 XSD.AnyURI resourceId optional,
83 IdentifiersType identifiers,
84 RepositoryIdType repositoryIds,
85 AdditionalDataType additionalData
86 }
87 with {
88 variant (resourceId) "name as capitalized";
89 variant (resourceId) "attribute";
90 variant (identifiers) "name as capitalized";
91 variant (repositoryIds) "name as capitalized";
92 variant (additionalData) "name as capitalized";
93 };
94
95
96 type record AdditionalDataType
97 {
98 record of DataType data_list
99 }
100 with {
101 variant (data_list) "untagged";
102 variant (data_list[-]) "name as 'Data'";
103 };
104
105
106 type record DataType
107 {
108 XSD.String name,
109 XSD.String value_
110 }
111 with {
112 variant (name) "name as capitalized";
113 variant (value_) "name as 'Value'";
114 };
115
116
117 type record RepositoryIdType
118 {
119 record of XSD.String repositoryId_list
120 }
121 with {
122 variant (repositoryId_list) "untagged";
123 variant (repositoryId_list[-]) "name as 'RepositoryId'";
124 };
125
126
127 type record IdentifiersType
128 {
129 record length(1 .. infinity) of IdentifierType identifier_list
130 }
131 with {
132 variant (identifier_list) "untagged";
133 variant (identifier_list[-]) "name as 'Identifier'";
134 };
135
136
137 type record IdentifierType
138 {
139 XSD.AnyURI resourceId optional,
140 XSD.AnyURI resourceId_1,
141 XSD.Int priority optional,
142 XSD.Boolean searchable optional
143 }
144 with {
145 variant (resourceId) "name as capitalized";
146 variant (resourceId) "attribute";
147 variant (resourceId_1) "name as 'ResourceId'";
148 variant (priority) "name as capitalized";
149 variant (priority) "defaultForEmpty as '1'";
150 variant (searchable) "name as capitalized";
151 variant (searchable) "defaultForEmpty as 'true'";
152 };
153
154
155 type GetResourceAttributesType GetResourceAttributes
156 with {
157 variant "element";
158 };
159
160
161 type record GetResourceAttributesType
162 {
163 IdentifiersType identifiers,
164 RepositoryIdType repositoryIds optional,
165 AdditionalDataType additionalData optional
166 }
167 with {
168 variant (identifiers) "name as capitalized";
169 variant (repositoryIds) "name as capitalized";
170 variant (additionalData) "name as capitalized";
171 };
172
173
174 /* /Resource MOAttributes */
175
176
177 /* /Resource MO */
178
179
180 /* Identifier MO */
181
182
183 /* Identifier MOType identifier@http://schemas.ericsson.com/upg/provisioning/1.0 */
184
185
186 /* Identifier MOId */
187
188
189 type record IdentifierMO
190 {
191 XSD.AnyURI resourceId
192 }
193 with {
194 variant (resourceId) "name as capitalized";
195 };
196
197
198 /* /Identifier MOId */
199
200
201 /* Identifier MOAttributes */
202
203
204 type CreateIdentifierAttributesType CreateIdentifierAttributes
205 with {
206 variant "element";
207 };
208
209
210 type record CreateIdentifierAttributesType
211 {
212 XSD.AnyURI resourceId optional,
213 XSD.AnyURI resourceId_1,
214 XSD.Int priority optional,
215 XSD.Boolean searchable optional
216 }
217 with {
218 variant (resourceId) "name as capitalized";
219 variant (resourceId) "attribute";
220 variant (resourceId_1) "name as 'ResourceId'";
221 variant (priority) "name as capitalized";
222 variant (priority) "defaultForEmpty as '1'";
223 variant (searchable) "name as capitalized";
224 variant (searchable) "defaultForEmpty as 'true'";
225 };
226
227
228 type SetIdentifierAttributesType SetIdentifierAttributes
229 with {
230 variant "element";
231 };
232
233
234 type record SetIdentifierAttributesType
235 {
236 XSD.AnyURI resourceId optional,
237 XSD.AnyURI resourceId_1,
238 XSD.Int priority optional,
239 XSD.Boolean searchable optional
240 }
241 with {
242 variant (resourceId) "name as capitalized";
243 variant (resourceId) "attribute";
244 variant (resourceId_1) "name as 'ResourceId'";
245 variant (priority) "name as capitalized";
246 variant (priority) "defaultForEmpty as '1'";
247 variant (searchable) "name as capitalized";
248 variant (searchable) "defaultForEmpty as 'true'";
249 };
250
251
252 /* /Identifier MOAttributes */
253
254
255 /* /Identifier MO */
256
257
258 /* repositoryid MO */
259
260
261 /* repositoryid MOType repositoryid@http://schemas.ericsson.com/upg/provisioning/1.0 */
262
263
264 /* repositoryid MOId */
265
266
267 type record RepositoryIdMO
268 {
269 XSD.AnyURI resourceId,
270 XSD.String repositoryId
271 }
272 with {
273 variant (resourceId) "name as capitalized";
274 variant (repositoryId) "name as capitalized";
275 };
276
277
278 /* /repositoryid MOId */
279
280
281 /* repositoryid MOAttributes */
282
283
284 type CreateRepositoryIdsAttributesType CreateRepositoryIdsAttributes
285 with {
286 variant "element";
287 };
288
289
290 type record CreateRepositoryIdsAttributesType
291 {
292
293 };
294
295
296 type SetRepositoryIdsAttributesType SetRepositoryIdsAttributes
297 with {
298 variant "element";
299 };
300
301
302 type record SetRepositoryIdsAttributesType
303 {
304 XSD.String repositoryId optional,
305 XSD.AnyURI resourceId optional,
306 XSD.String repositoryId_1
307 }
308 with {
309 variant (repositoryId) "name as capitalized";
310 variant (repositoryId) "attribute";
311 variant (resourceId) "name as capitalized";
312 variant (resourceId) "attribute";
313 variant (repositoryId_1) "name as 'RepositoryId'";
314 };
315
316
317 /* /repositoryid MOAttributes */
318
319
320 /* /repositoryid MO */
321
322
323 /* Additional Data MO */
324
325
326 /* Additional Data MOType data@http://schemas.ericsson.com/provisioning/1.0 */
327
328
329 /* Additional Data MOId */
330
331
332 type record AdditionalDataMO
333 {
334 XSD.AnyURI resourceId,
335 XSD.String name
336 }
337 with {
338 variant (resourceId) "name as capitalized";
339 variant (name) "name as capitalized";
340 };
341
342
343 /* /Additional Data MOId */
344
345
346 /* Additional Data MOAttributes */
347
348
349 type CreateAdditionalDataAttributesType CreateAdditionalDataAttributes
350 with {
351 variant "element";
352 };
353
354
355 type record CreateAdditionalDataAttributesType
356 {
357 XSD.String value_
358 }
359 with {
360 variant (value_) "name as 'Value'";
361 };
362
363
364 type SetAdditionalDataAttributesType SetAdditionalDataAttributes
365 with {
366 variant "element";
367 };
368
369
370 type record SetAdditionalDataAttributesType
371 {
372 XSD.String name optional,
373 XSD.AnyURI resourceId optional,
374 XSD.String value_
375 }
376 with {
377 variant (name) "name as capitalized";
378 variant (name) "attribute";
379 variant (resourceId) "name as capitalized";
380 variant (resourceId) "attribute";
381 variant (value_) "name as 'Value'";
382 };
383
384
385 /* /Additional Data MOAttributes */
386
387
388 /* /Additional Data MO */
389
390
391 }
392 with {
393 encode "XML";
394 variant "namespace as 'http://schemas.ericsson.com/upg/provisioning/1.0'";
395 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
396 variant "elementFormQualified";
397 }
This page took 0.041126 seconds and 5 git commands to generate.