Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / urn_ietf_params_xml_ns_conference_info_e.ttcn
CommitLineData
970ed795
EL
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: urn_ietf_params_xml_ns_conference_info_e.ttcn
13// Description:
14// References:
15// Rev:
16// Prodnr:
17// Updated: Thu Sep 5 17:34:58 2013
18// Contact: http://ttcn.ericsson.se
19//
20////////////////////////////////////////////////////////////////////////////////
21// Generated from file(s):
22// - HQ73011.xsd
23// /* xml version = "1.0" encoding = "UTF-8" */
24// /* targetnamespace = "urn:ietf:params:xml:ns:conference-info" */
25////////////////////////////////////////////////////////////////////////////////
26// Modification header(s):
27//-----------------------------------------------------------------------------
28// Modified by:
29// Modification date:
30// Description:
31// Modification contact:
32//------------------------------------------------------------------------------
33////////////////////////////////////////////////////////////////////////////////
34
35
36module urn_ietf_params_xml_ns_conference_info_e {
37
38
39import from XSD all;
40
41
42/* CONFERENCE ELEMENT */
43
44
45type Conference_type Conference_info
46with {
3f84031e 47 variant "name as 'conference-info'";
48 variant "element";
970ed795
EL
49};
50
51
52/* CONFERENCE TYPE */
53
54
55type record Conference_type
56{
57 XSD.UnsignedInt attr optional,
58 XSD.AnyURI entity,
59 State_type state optional,
3abe9331 60 record of XSD.String attr_1 optional,
970ed795
EL
61 Conference_description_type conference_description optional,
62 Host_type host_info optional,
63 Conference_state_type conference_state optional,
64 Users_type users optional,
65 Uris_type sidebars_by_ref optional,
66 Sidebars_by_val_type sidebars_by_val optional,
67 record of XSD.String elem_list
68}
69with {
3f84031e 70 variant "name as 'conference-type'";
71 variant (attr) "attribute";
72 variant (entity) "attribute";
73 variant (state) "defaultForEmpty as 'full'";
74 variant (state) "attribute";
75 variant (attr_1) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
76 variant (attr_1) "name as 'attr'";
77 variant (conference_description) "name as 'conference-description'";
78 variant (host_info) "name as 'host-info'";
79 variant (conference_state) "name as 'conference-state'";
80 variant (sidebars_by_ref) "name as 'sidebars-by-ref'";
81 variant (sidebars_by_val) "name as 'sidebars-by-val'";
82 variant (elem_list) "untagged";
83 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
84};
85
86
87/* STATE TYPE */
88
89
90type enumerated State_type
91{
92 deleted,
93 full,
94 partial
95}
96with {
3f84031e 97 variant "name as 'state-type'";
970ed795
EL
98};
99
100
101/* CONFERENCE DESCRIPTION TYPE */
102
103
104type record Conference_description_type
105{
3abe9331 106 record of XSD.String attr optional,
970ed795
EL
107 XSD.String display_text optional,
108 XSD.String subject optional,
109 XSD.String free_text optional,
110 Keywords_type keywords optional,
111 Uris_type conf_uris optional,
112 Uris_type service_uris optional,
113 XSD.UnsignedInt maximum_user_count optional,
114 Conference_media_type available_media optional,
115 record of XSD.String elem_list
116}
117with {
3f84031e 118 variant "name as 'conference-description-type'";
119 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
120 variant (display_text) "name as 'display-text'";
121 variant (free_text) "name as 'free-text'";
122 variant (conf_uris) "name as 'conf-uris'";
123 variant (service_uris) "name as 'service-uris'";
124 variant (maximum_user_count) "name as 'maximum-user-count'";
125 variant (available_media) "name as 'available-media'";
126 variant (elem_list) "untagged";
127 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
128};
129
130
131/* HOST TYPE */
132
133
134type record Host_type
135{
3abe9331 136 record of XSD.String attr optional,
970ed795
EL
137 XSD.String display_text optional,
138 XSD.AnyURI web_page optional,
139 Uris_type uris optional,
140 record of XSD.String elem_list
141}
142with {
3f84031e 143 variant "name as 'host-type'";
144 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
145 variant (display_text) "name as 'display-text'";
146 variant (web_page) "name as 'web-page'";
147 variant (elem_list) "untagged";
148 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
149};
150
151
152/* CONFERENCE STATE TYPE */
153
154
155type record Conference_state_type
156{
3abe9331 157 record of XSD.String attr optional,
970ed795
EL
158 XSD.UnsignedInt user_count optional,
159 XSD.Boolean active optional,
160 XSD.Boolean locked optional,
161 record of XSD.String elem_list
162}
163with {
3f84031e 164 variant "name as 'conference-state-type'";
165 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
166 variant (user_count) "name as 'user-count'";
167 //variant (active) "text 'true' as '1'";
168 //variant (active) "text 'false' as '0'";
169 //variant (locked) "text 'true' as '1'";
170 //variant (locked) "text 'false' as '0'";
171 variant (elem_list) "untagged";
172 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
173};
174
175
176/* CONFERENCE MEDIA TYPE */
177
178
179type record Conference_media_type
180{
3abe9331 181 record of XSD.String attr optional,
970ed795
EL
182 record length(1 .. infinity) of Conference_medium_type entry_list
183}
184with {
3f84031e 185 variant "name as 'conference-media-type'";
186 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
187 variant (entry_list) "untagged";
188 variant (entry_list[-]) "name as 'entry'";
970ed795
EL
189};
190
191
192/* CONFERENCE MEDIUM TYPE */
193
194
195type record Conference_medium_type
196{
197 XSD.String label_,
3abe9331 198 record of XSD.String attr optional,
970ed795
EL
199 XSD.String display_text optional,
200 XSD.String type_,
201 Media_status_type status optional,
202 record of XSD.String elem_list
203}
204with {
3f84031e 205 variant "name as 'conference-medium-type'";
206 variant (label_) "name as 'label'";
207 variant (label_) "attribute";
208 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
209 variant (display_text) "name as 'display-text'";
210 variant (type_) "name as 'type'";
211 variant (elem_list) "untagged";
212 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
213};
214
215
216/* URIs TYPE */
217
218
219type record Uris_type
220{
221 State_type state optional,
3abe9331 222 record of XSD.String attr optional,
970ed795
EL
223 record length(1 .. infinity) of Uri_type entry_list
224}
225with {
3f84031e 226 variant "name as 'uris-type'";
227 variant (state) "defaultForEmpty as 'full'";
228 variant (state) "attribute";
229 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
230 variant (entry_list) "untagged";
231 variant (entry_list[-]) "name as 'entry'";
970ed795
EL
232};
233
234
235/* URI TYPE */
236
237
238type record Uri_type
239{
3abe9331 240 record of XSD.String attr optional,
970ed795
EL
241 XSD.AnyURI uri,
242 XSD.String display_text optional,
243 XSD.String purpose optional,
244 Execution_type modified optional,
245 record of XSD.String elem_list
246}
247with {
3f84031e 248 variant "name as 'uri-type'";
249 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
250 variant (display_text) "name as 'display-text'";
251 variant (elem_list) "untagged";
252 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
253};
254
255
256/* KEYWORDS TYPE */
257
258
259type record of XSD.String Keywords_type
260with {
3f84031e 261 variant "name as 'keywords-type'";
262 variant "list";
970ed795
EL
263};
264
265
266/* USERS TYPE */
267
268
269type record Users_type
270{
271 State_type state optional,
3abe9331 272 record of XSD.String attr optional,
970ed795
EL
273 record of User_type user_list,
274 record of XSD.String elem_list
275}
276with {
3f84031e 277 variant "name as 'users-type'";
278 variant (state) "defaultForEmpty as 'full'";
279 variant (state) "attribute";
280 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
281 variant (user_list) "untagged";
282 variant (user_list[-]) "name as 'user'";
283 variant (elem_list) "untagged";
284 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
285};
286
287
288/* USER TYPE */
289
290
291type record User_type
292{
293 XSD.AnyURI entity optional,
294 State_type state optional,
3abe9331 295 record of XSD.String attr optional,
970ed795
EL
296 XSD.String display_text optional,
297 Uris_type associated_aors optional,
298 User_roles_type roles optional,
299 User_languages_type languages optional,
300 XSD.AnyURI cascaded_focus optional,
301 record of Endpoint_type endpoint_list,
302 record of XSD.String elem_list
303}
304with {
3f84031e 305 variant "name as 'user-type'";
306 variant (entity) "attribute";
307 variant (state) "defaultForEmpty as 'full'";
308 variant (state) "attribute";
309 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
310 variant (display_text) "name as 'display-text'";
311 variant (associated_aors) "name as 'associated-aors'";
312 variant (cascaded_focus) "name as 'cascaded-focus'";
313 variant (endpoint_list) "untagged";
314 variant (endpoint_list[-]) "name as 'endpoint'";
315 variant (elem_list) "untagged";
316 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
317};
318
319
320/* USER ROLES TYPE */
321
322
323type record User_roles_type
324{
3abe9331 325 record of XSD.String attr optional,
970ed795
EL
326 record length(1 .. infinity) of XSD.String entry_list
327}
328with {
3f84031e 329 variant "name as 'user-roles-type'";
330 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
331 variant (entry_list) "untagged";
332 variant (entry_list[-]) "name as 'entry'";
970ed795
EL
333};
334
335
336/* USER LANGUAGES TYPE */
337
338
339type record of XSD.Language User_languages_type
340with {
3f84031e 341 variant "name as 'user-languages-type'";
342 variant "list";
970ed795
EL
343};
344
345
346/* ENDPOINT TYPE */
347
348
349type record Endpoint_type
350{
351 XSD.String entity optional,
352 State_type state optional,
3abe9331 353 record of XSD.String attr optional,
970ed795
EL
354 XSD.String display_text optional,
355 Execution_type referred optional,
356 Endpoint_status_type status optional,
357 Joining_type joining_method optional,
358 Execution_type joining_info optional,
359 Disconnection_type disconnection_method optional,
360 Execution_type disconnection_info optional,
361 record of Media_type media_list,
362 Call_type call_info optional,
363 record of XSD.String elem_list
364}
365with {
3f84031e 366 variant "name as 'endpoint-type'";
367 variant (entity) "attribute";
368 variant (state) "defaultForEmpty as 'full'";
369 variant (state) "attribute";
370 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
371 variant (display_text) "name as 'display-text'";
372 variant (joining_method) "name as 'joining-method'";
373 variant (joining_info) "name as 'joining-info'";
374 variant (disconnection_method) "name as 'disconnection-method'";
375 variant (disconnection_info) "name as 'disconnection-info'";
376 variant (media_list) "untagged";
377 variant (media_list[-]) "name as 'media'";
378 variant (call_info) "name as 'call-info'";
379 variant (elem_list) "untagged";
380 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
381};
382
383
384/* ENDPOINT STATUS TYPE */
385
386
387type enumerated Endpoint_status_type
388{
389 alerting,
390 connected,
391 dialing_in,
392 dialing_out,
393 disconnected,
394 disconnecting,
395 muted_via_focus,
396 on_hold,
397 pending
398}
399with {
3f84031e 400 variant "text 'dialing_in' as 'dialing-in'";
401 variant "text 'dialing_out' as 'dialing-out'";
402 variant "text 'muted_via_focus' as 'muted-via-focus'";
403 variant "text 'on_hold' as 'on-hold'";
404 variant "name as 'endpoint-status-type'";
970ed795
EL
405};
406
407
408/* JOINING TYPE */
409
410
411type enumerated Joining_type
412{
413 dialed_in,
414 dialed_out,
415 focus_owner
416}
417with {
3f84031e 418 variant "text 'dialed_in' as 'dialed-in'";
419 variant "text 'dialed_out' as 'dialed-out'";
420 variant "text 'focus_owner' as 'focus-owner'";
421 variant "name as 'joining-type'";
970ed795
EL
422};
423
424
425/* DISCONNECTION TYPE */
426
427
428type enumerated Disconnection_type
429{
430 booted,
431 busy,
432 departed,
433 failed
434}
435with {
3f84031e 436 variant "name as 'disconnection-type'";
970ed795
EL
437};
438
439
440/* EXECUTION TYPE */
441
442
443type record Execution_type
444{
3abe9331 445 record of XSD.String attr optional,
970ed795
EL
446 XSD.DateTime when optional,
447 XSD.String reason optional,
448 XSD.AnyURI by optional
449}
450with {
3f84031e 451 variant "name as 'execution-type'";
452 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
453};
454
455
456/* CALL TYPE */
457
458
459type record Call_type
460{
3abe9331 461 record of XSD.String attr optional,
970ed795
EL
462 union {
463 Sip_dialog_id_type sip,
464 record of XSD.String elem_list
465 } choice
466}
467with {
3f84031e 468 variant "name as 'call-type'";
469 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
470 variant (choice) "untagged";
471 variant (choice.elem_list) "untagged";
472 variant (choice.elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
473};
474
475
476/* SIP DIALOG ID TYPE */
477
478
479type record Sip_dialog_id_type
480{
3abe9331 481 record of XSD.String attr optional,
970ed795
EL
482 XSD.String display_text optional,
483 XSD.String call_id,
484 XSD.String from_tag,
485 XSD.String to_tag,
486 record of XSD.String elem_list
487}
488with {
3f84031e 489 variant "name as 'sip-dialog-id-type'";
490 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
491 variant (display_text) "name as 'display-text'";
492 variant (call_id) "name as 'call-id'";
493 variant (from_tag) "name as 'from-tag'";
494 variant (to_tag) "name as 'to-tag'";
495 variant (elem_list) "untagged";
496 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
497};
498
499
500/* MEDIA TYPE */
501
502
503type record Media_type
504{
505 XSD.String id,
3abe9331 506 record of XSD.String attr optional,
970ed795
EL
507 XSD.String display_text optional,
508 XSD.String type_ optional,
509 XSD.String label_ optional,
510 XSD.String src_id optional,
511 Media_status_type status optional,
512 record of XSD.String elem_list
513}
514with {
3f84031e 515 variant "name as 'media-type'";
516 variant (id) "attribute";
517 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
518 variant (display_text) "name as 'display-text'";
519 variant (type_) "name as 'type'";
520 variant (label_) "name as 'label'";
521 variant (src_id) "name as 'src-id'";
522 variant (elem_list) "untagged";
523 variant (elem_list[-]) "anyElement except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
970ed795
EL
524};
525
526
527/* MEDIA STATUS TYPE */
528
529
530type enumerated Media_status_type
531{
532 inactive,
533 recvonly,
534 sendonly,
535 sendrecv
536}
537with {
3f84031e 538 variant "name as 'media-status-type'";
970ed795
EL
539};
540
541
542/* SIDEBARS BY VAL TYPE */
543
544
545type record Sidebars_by_val_type
546{
547 State_type state optional,
3abe9331 548 record of XSD.String attr optional,
970ed795
EL
549 record of Conference_type entry_list
550}
551with {
3f84031e 552 variant "name as 'sidebars-by-val-type'";
553 variant (state) "defaultForEmpty as 'full'";
554 variant (state) "attribute";
555 variant (attr) "anyAttributes except unqualified, 'urn:ietf:params:xml:ns:conference-info'";
556 variant (entry_list) "untagged";
557 variant (entry_list[-]) "name as 'entry'";
970ed795
EL
558};
559
560
561}
562with {
3f84031e 563 encode "XML";
564 variant "namespace as 'urn:ietf:params:xml:ns:conference-info' prefix 'tns'";
565 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
566 variant "elementFormQualified";
970ed795 567}
This page took 0.048986 seconds and 5 git commands to generate.