Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / schemas_ericsson_com_cai3g1_2_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_cai3g1_2_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 // - cai3g1.2_provisioning.xsd
25 // /* xml version = "1.0" */
26 // /* targetnamespace = "http://schemas.ericsson.com/cai3g1.2/" */
27 //
28 ////////////////////////////////////////////////////////////////////////////////
29
30
31 module schemas_ericsson_com_cai3g1_2_e {
32
33
34 import from XSD all;
35
36
37 type record Create
38 {
39 MoType mOType,
40 AnyMOIdType mOId optional,
41 record {
42 CreateMODefinition createMODefinition
43 } mOAttributes optional,
44 AnySequenceType extension_ optional
45 }
46 with {
47 variant "element";
48 variant (mOType) "name as capitalized";
49 variant (mOId) "name as capitalized";
50 variant (mOAttributes) "name as capitalized";
51 variant (mOAttributes.createMODefinition) "name as capitalized";
52 variant (extension_) "name as 'extension'";
53 };
54
55
56 type record CreateResponse
57 {
58 AnyMOIdType mOId,
59 GetResponseMOAttributesType mOAttributes optional
60 }
61 with {
62 variant "element";
63 variant (mOId) "name as capitalized";
64 variant (mOAttributes) "name as capitalized";
65 };
66
67
68 type record Get
69 {
70 MoType mOType,
71 AnyMOIdType mOId optional,
72 AnySequenceType extension_ optional
73 }
74 with {
75 variant "element";
76 variant (mOType) "name as capitalized";
77 variant (mOId) "name as capitalized";
78 variant (extension_) "name as 'extension'";
79 };
80
81
82 type record GetResponse
83 {
84 record of AnyMOIdType mOId_list,
85 GetResponseMOAttributesType mOAttributes optional
86 }
87 with {
88 variant "element";
89 variant (mOId_list) "untagged";
90 variant (mOId_list[-]) "name as 'MOId'";
91 variant (mOAttributes) "name as capitalized";
92 };
93
94
95 type record Set
96 {
97 MoType mOType,
98 AnyMOIdType mOId,
99 record {
100 SetMODefinition setMODefinition
101 } mOAttributes,
102 AnySequenceType extension_ optional
103 }
104 with {
105 variant "element";
106 variant (mOType) "name as capitalized";
107 variant (mOId) "name as capitalized";
108 variant (mOAttributes) "name as capitalized";
109 variant (mOAttributes.setMODefinition) "name as capitalized";
110 variant (extension_) "name as 'extension'";
111 };
112
113
114 type record SetResponse
115 {
116 GetResponseMOAttributesType mOAttributes optional
117 }
118 with {
119 variant "element";
120 variant (mOAttributes) "name as capitalized";
121 };
122
123
124 type record Delete
125 {
126 MoType mOType,
127 AnyMOIdType mOId,
128 AnySequenceType extension_ optional
129 }
130 with {
131 variant "element";
132 variant (mOType) "name as capitalized";
133 variant (mOId) "name as capitalized";
134 variant (extension_) "name as 'extension'";
135 };
136
137
138 type record DeleteResponse
139 {
140 AnyMOIdType mOId optional,
141 GetResponseMOAttributesType mOAttributes optional
142 }
143 with {
144 variant "element";
145 variant (mOId) "name as capitalized";
146 variant (mOAttributes) "name as capitalized";
147 };
148
149
150 type record Search
151 {
152 MoType mOType,
153 SearchFiltersType filters,
154 AnySequenceType extension_ optional
155 }
156 with {
157 variant "element";
158 variant (mOType) "name as capitalized";
159 variant (extension_) "name as 'extension'";
160 };
161
162
163 type record SearchResponse
164 {
165 record of AnyMOIdType mOId_list
166 }
167 with {
168 variant "element";
169 variant (mOId_list) "untagged";
170 variant (mOId_list[-]) "name as 'MOId'";
171 };
172
173
174 type record Login
175 {
176 XSD.String userId,
177 XSD.String pwd
178 }
179 with {
180 variant "element";
181 };
182
183
184 type record LoginResponse
185 {
186 SessionIdType sessionId,
187 XSD.UnsignedLong baseSequenceId
188 }
189 with {
190 variant "element";
191 };
192
193
194 type record Logout
195 {
196 SessionIdType sessionId
197 }
198 with {
199 variant "element";
200 };
201
202
203 type record LogoutResponse
204 {
205
206 }
207 with {
208 variant "element";
209 };
210
211
212 type record Subscribe
213 {
214 XSD.AnyURI managerRef,
215 NotificationFiltersType filters
216 }
217 with {
218 variant "element";
219 };
220
221
222 type record SubscribeResponse
223 {
224 XSD.String subscriptionId
225 }
226 with {
227 variant "element";
228 };
229
230
231 type record Unsubscribe
232 {
233 XSD.AnyURI managerRef,
234 XSD.String subscriptionId optional
235 }
236 with {
237 variant "element";
238 };
239
240
241 type record UnsubscribeResponse
242 {
243
244 }
245 with {
246 variant "element";
247 };
248
249
250 type record Notify
251 {
252 NotificationHeaderType notificationHeader,
253 record of XSD.String correlatedNotifications_list,
254 XSD.String additionalText optional,
255 XSD.AnyURI sourceIndicator optional,
256 record {
257 record length(1 .. infinity) of XSD.String elem_list
258 } notificationData
259 }
260 with {
261 variant "element";
262 variant (correlatedNotifications_list) "untagged";
263 variant (correlatedNotifications_list[-]) "name as 'correlatedNotifications'";
264 variant (notificationData.elem_list) "untagged";
265 variant (notificationData.elem_list[-]) "anyElement";
266 };
267
268
269 type record NotifyResponse
270 {
271
272 }
273 with {
274 variant "element";
275 };
276
277
278 type record GetResponseMOAttributesType
279 {
280 GetMODefinition getMODefinition
281 }
282 with {
283 variant (getMODefinition) "name as capitalized";
284 };
285
286
287 type record AbstractCreateAttributeType
288 {
289
290 };
291
292
293 type record AbstractSetAttributeType
294 {
295
296 };
297
298
299 type record AbstractGetAttributeType
300 {
301
302 };
303
304
305 type AbstractCreateAttributeType CreateMODefinition
306 with {
307 variant "element";
308 };
309
310
311 type AbstractSetAttributeType SetMODefinition
312 with {
313 variant "element";
314 };
315
316
317 type AbstractGetAttributeType GetMODefinition
318 with {
319 variant "element";
320 };
321
322
323 type record AnyMOIdType
324 {
325 record length(1 .. infinity) of XSD.String elem_list
326 }
327 with {
328 variant (elem_list) "untagged";
329 variant (elem_list[-]) "anyElement";
330 };
331
332
333 type record AnySequenceType
334 {
335 record length(1 .. infinity) of XSD.String elem_list
336 }
337 with {
338 variant (elem_list) "untagged";
339 variant (elem_list[-]) "anyElement";
340 };
341
342
343 type XSD.String MoType (pattern "[A-Za-z][_A-Za-z0-9]*@?*");
344
345
346 type SessionIdType SessionId
347 with {
348 variant "element";
349 };
350
351
352 type XSD.UnsignedLong TransactionId
353 with {
354 variant "element";
355 };
356
357
358 type XSD.UnsignedLong SequenceId
359 with {
360 variant "element";
361 };
362
363
364 type XSD.String SessionIdType (pattern "[\d\w]#(1,)");
365
366
367 type record SearchFiltersType
368 {
369 record length(1 .. infinity) of SearchFilterType filter_list
370 }
371 with {
372 variant (filter_list) "untagged";
373 variant (filter_list[-]) "name as 'filter'";
374 };
375
376
377 type record SearchFilterType
378 {
379 record length(1 .. infinity) of XSD.String mOAttributes_list
380 }
381 with {
382 variant (mOAttributes_list) "untagged";
383 variant (mOAttributes_list[-]) "name as 'MOAttributes'";
384 };
385
386
387 type record NotificationHeaderType
388 {
389 XSD.String cai3gUser,
390 MoType mOType,
391 AnyMOIdType mOId,
392 XSD.String notificationId optional,
393 XSD.DateTime eventTime,
394 XSD.AnyURI notificationActor optional,
395 NotificationOperationType operation,
396 XSD.String subscriptionId
397 }
398 with {
399 variant (mOType) "name as capitalized";
400 variant (mOId) "name as capitalized";
401 };
402
403
404 /* How to make sure there must exist one element */
405 type record NotificationFilterType
406 {
407 record of XSD.String cai3gUser_list,
408 record of XSD.String mOType_list,
409 record length(0 .. 3) of NotificationOperationType operation_list,
410 record of XSD.String mOId_list,
411 record of XSD.String mOAttributes_list
412 }
413 with {
414 variant (cai3gUser_list) "untagged";
415 variant (cai3gUser_list[-]) "name as 'cai3gUser'";
416 variant (mOType_list) "untagged";
417 variant (mOType_list[-]) "name as 'MOType'";
418 variant (operation_list) "untagged";
419 variant (operation_list[-]) "name as 'operation'";
420 variant (mOId_list) "untagged";
421 variant (mOId_list[-]) "name as 'MOId'";
422 variant (mOAttributes_list) "untagged";
423 variant (mOAttributes_list[-]) "name as 'MOAttributes'";
424 };
425
426
427 type record NotificationFiltersType
428 {
429 record length(1 .. infinity) of NotificationFilterType filter_list
430 }
431 with {
432 variant (filter_list) "untagged";
433 variant (filter_list[-]) "name as 'filter'";
434 };
435
436
437 type enumerated NotificationOperationType
438 {
439 create_,
440 delete,
441 set_
442 }
443 with {
444 variant "text 'create_' as 'Create'";
445 variant "text 'delete' as capitalized";
446 variant "text 'set_' as 'Set'";
447 };
448
449
450 type record Cai3gFault
451 {
452 XSD.Integer faultcode,
453 record {
454 record length(1 .. infinity) of XSD.String reasonText_list
455 } faultreason,
456 XSD.String faultrole,
457 record {
458 XSD.String elem
459 } details optional
460 }
461 with {
462 variant "element";
463 variant (faultreason.reasonText_list) "untagged";
464 variant (faultreason.reasonText_list[-]) "name as 'reasonText'";
465 variant (details.elem) "anyElement";
466 };
467
468
469 type record HeaderFaultType
470 {
471 XSD.String faultactor,
472 XSD.String description
473 };
474
475
476 type record SessionIdFault
477 {
478 XSD.String faultactor,
479 XSD.String description,
480 enumerated {
481 invalid_SessionId,
482 session_Timeout,
483 sessionId_Syntax_Error
484 } faultcode
485 }
486 with {
487 variant (faultcode) "text 'invalid_SessionId' as 'Invalid SessionId'";
488 variant (faultcode) "text 'sessionId_Syntax_Error' as 'SessionId Syntax Error'";
489 variant (faultcode) "text 'session_Timeout' as 'Session Timeout'";
490 };
491
492
493 type record SequenceIdFault
494 {
495 XSD.String faultactor,
496 XSD.String description,
497 enumerated {
498 invalid_SequenceId
499 } faultcode
500 }
501 with {
502 variant (faultcode) "text 'invalid_SequenceId' as 'Invalid SequenceId'";
503 };
504
505
506 type record TransactionIdFault
507 {
508 XSD.String faultactor,
509 XSD.String description,
510 enumerated {
511 invalid_TransactionId
512 } faultcode
513 }
514 with {
515 variant (faultcode) "text 'invalid_TransactionId' as 'Invalid TransactionId'";
516 };
517
518
519 }
520 with {
521 encode "XML";
522 variant "namespace as 'http://schemas.ericsson.com/cai3g1.2/'";
523 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
524 variant "elementFormQualified";
525 }
This page took 0.042579 seconds and 5 git commands to generate.