Sync with 5.4.1
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / NoTargetNamespace_PAP_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: NoTargetNamespace_PAP_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// - PAP.xsd
25// /* xml version = "1.0" */
26// /* targetnamespace = "NoTargetNamespace" */
27//
28////////////////////////////////////////////////////////////////////////////////
29
30
31module NoTargetNamespace_PAP_e {
32
33
34import from XSD all;
35
36
37type record Address
38{
39 XSD.AnySimpleType address_value
40}
41with {
42variant "name as uncapitalized";
43variant "element";
44variant (address_value) "name as 'address-value'";
45variant (address_value) "attribute";
46};
47
48
49type record Badmessage_response
50{
51 XSD.AnySimpleType bad_message_fragment optional,
52 XSD.AnySimpleType code,
53 XSD.AnySimpleType desc optional
54}
55with {
56variant "name as 'badmessage-response'";
57variant "element";
58variant (bad_message_fragment) "name as 'bad-message-fragment'";
59variant (bad_message_fragment) "attribute";
60variant (code) "attribute";
61variant (desc) "attribute";
62};
63
64
65type record Cancel_message
66{
67 XSD.AnySimpleType push_id,
68 record of Address address_list
69}
70with {
71variant "name as 'cancel-message'";
72variant "element";
73variant (push_id) "name as 'push-id'";
74variant (push_id) "attribute";
75variant (address_list) "untagged";
76};
77
78
79type record Cancel_response
80{
81 XSD.AnySimpleType push_id,
82 record length(1 .. infinity) of Cancel_result cancel_result_list
83}
84with {
85variant "name as 'cancel-response'";
86variant "element";
87variant (push_id) "name as 'push-id'";
88variant (push_id) "attribute";
89variant (cancel_result_list) "untagged";
90};
91
92
93type record Cancel_result
94{
95 XSD.AnySimpleType code,
96 XSD.AnySimpleType desc optional,
97 record of Address address_list
98}
99with {
100variant "name as 'cancel-result'";
101variant "element";
102variant (code) "attribute";
103variant (desc) "attribute";
104variant (address_list) "untagged";
105};
106
107
108type record Ccq_message
109{
110 XSD.AnySimpleType app_id optional,
111 XSD.AnySimpleType query_id optional,
112 Address address_
113}
114with {
115variant "name as 'ccq-message'";
116variant "element";
117variant (app_id) "name as 'app-id'";
118variant (app_id) "attribute";
119variant (query_id) "name as 'query-id'";
120variant (query_id) "attribute";
121variant (address_) "name as 'address'";
122};
123
124
125type record Ccq_response
126{
127 XSD.AnySimpleType code,
128 XSD.AnySimpleType desc optional,
129 XSD.AnySimpleType query_id optional,
130 Address address_
131}
132with {
133variant "name as 'ccq-response'";
134variant "element";
135variant (code) "attribute";
136variant (desc) "attribute";
137variant (query_id) "name as 'query-id'";
138variant (query_id) "attribute";
139variant (address_) "name as 'address'";
140};
141
142
143type record Pap
144{
145 XSD.AnySimpleType product_name optional,
146 union {
147 Push_message push_message,
148 Push_response push_response,
149 Cancel_message cancel_message,
150 Cancel_response cancel_response,
151 Resultnotification_message resultnotification_message,
152 Resultnotification_response resultnotification_response,
153 Statusquery_message statusquery_message,
154 Statusquery_response statusquery_response,
155 Ccq_message ccq_message,
156 Ccq_response ccq_response,
157 Badmessage_response badmessage_response
158 } choice
159}
160with {
161variant "name as uncapitalized";
162variant "element";
163variant (product_name) "name as 'product-name'";
164variant (product_name) "attribute";
165variant (choice) "untagged";
166variant (choice.push_message) "name as 'push-message'";
167variant (choice.push_response) "name as 'push-response'";
168variant (choice.cancel_message) "name as 'cancel-message'";
169variant (choice.cancel_response) "name as 'cancel-response'";
170variant (choice.resultnotification_message) "name as 'resultnotification-message'";
171variant (choice.resultnotification_response) "name as 'resultnotification-response'";
172variant (choice.statusquery_message) "name as 'statusquery-message'";
173variant (choice.statusquery_response) "name as 'statusquery-response'";
174variant (choice.ccq_message) "name as 'ccq-message'";
175variant (choice.ccq_response) "name as 'ccq-response'";
176variant (choice.badmessage_response) "name as 'badmessage-response'";
177};
178
179
180type record Progress_note
181{
182 XSD.AnySimpleType note optional,
183 XSD.AnySimpleType stage,
184 XSD.AnySimpleType time optional
185}
186with {
187variant "name as 'progress-note'";
188variant "element";
189variant (note) "attribute";
190variant (stage) "attribute";
191variant (time) "attribute";
192};
193
194
195type record Push_message
196{
197 XSD.AnySimpleType deliver_after_timestamp optional,
198 XSD.AnySimpleType deliver_before_timestamp optional,
199 XSD.AnySimpleType ppg_notify_requested_to optional,
200 enumerated {
201 true_,
202 false_
203 } progress_notes_requested optional,
204 XSD.AnySimpleType push_id,
205 enumerated {
206 pending_only,
207 all_
208 } replace_method optional,
209 XSD.AnySimpleType replace_push_id optional,
210 XSD.AnySimpleType source_reference optional,
211 record length(1 .. infinity) of Address address_list,
212 Quality_of_service quality_of_service optional
213}
214with {
215variant "name as 'push-message'";
216variant "element";
217variant (deliver_after_timestamp) "name as 'deliver-after-timestamp'";
218variant (deliver_after_timestamp) "attribute";
219variant (deliver_before_timestamp) "name as 'deliver-before-timestamp'";
220variant (deliver_before_timestamp) "attribute";
221variant (ppg_notify_requested_to) "name as 'ppg-notify-requested-to'";
222variant (ppg_notify_requested_to) "attribute";
223variant (progress_notes_requested) "text 'false_' as 'false'";
224variant (progress_notes_requested) "text 'true_' as 'true'";
225variant (progress_notes_requested) "name as 'progress-notes-requested'";
226variant (progress_notes_requested) "defaultForEmpty as 'false'";
227variant (progress_notes_requested) "attribute";
228variant (push_id) "name as 'push-id'";
229variant (push_id) "attribute";
230variant (replace_method) "text 'all_' as 'all'";
231variant (replace_method) "text 'pending_only' as 'pending-only'";
232variant (replace_method) "name as 'replace-method'";
233variant (replace_method) "defaultForEmpty as 'all'";
234variant (replace_method) "attribute";
235variant (replace_push_id) "name as 'replace-push-id'";
236variant (replace_push_id) "attribute";
237variant (source_reference) "name as 'source-reference'";
238variant (source_reference) "attribute";
239variant (address_list) "untagged";
240variant (quality_of_service) "name as 'quality-of-service'";
241};
242
243
244type record Push_response
245{
246 XSD.AnySimpleType push_id,
247 XSD.AnySimpleType reply_time optional,
248 XSD.AnySimpleType sender_address optional,
249 XSD.AnySimpleType sender_name optional,
250 record of Progress_note progress_note_list,
251 Response_result response_result
252}
253with {
254variant "name as 'push-response'";
255variant "element";
256variant (push_id) "name as 'push-id'";
257variant (push_id) "attribute";
258variant (reply_time) "name as 'reply-time'";
259variant (reply_time) "attribute";
260variant (sender_address) "name as 'sender-address'";
261variant (sender_address) "attribute";
262variant (sender_name) "name as 'sender-name'";
263variant (sender_name) "attribute";
264variant (progress_note_list) "untagged";
265variant (response_result) "name as 'response-result'";
266};
267
268
269type record Quality_of_service
270{
271 XSD.AnySimpleType bearer optional,
272 enumerated {
273 true_,
274 false_
275 } bearer_required optional,
276 enumerated {
277 confirmed,
278 preferconfirmed,
279 unconfirmed,
280 notspecified
281 } delivery_method optional,
282 XSD.AnySimpleType network optional,
283 enumerated {
284 true_,
285 false_
286 } network_required optional,
287 enumerated {
288 high,
289 medium,
290 low
291 } priority optional
292}
293with {
294variant "name as 'quality-of-service'";
295variant "element";
296variant (bearer) "attribute";
297variant (bearer_required) "text 'false_' as 'false'";
298variant (bearer_required) "text 'true_' as 'true'";
299variant (bearer_required) "name as 'bearer-required'";
300variant (bearer_required) "defaultForEmpty as 'false'";
301variant (bearer_required) "attribute";
302variant (delivery_method) "name as 'delivery-method'";
303variant (delivery_method) "defaultForEmpty as 'notspecified'";
304variant (delivery_method) "attribute";
305variant (network) "attribute";
306variant (network_required) "text 'false_' as 'false'";
307variant (network_required) "text 'true_' as 'true'";
308variant (network_required) "name as 'network-required'";
309variant (network_required) "defaultForEmpty as 'false'";
310variant (network_required) "attribute";
311variant (priority) "defaultForEmpty as 'medium'";
312variant (priority) "attribute";
313};
314
315
316type record Response_result
317{
318 XSD.AnySimpleType code,
319 XSD.AnySimpleType desc optional
320}
321with {
322variant "name as 'response-result'";
323variant "element";
324variant (code) "attribute";
325variant (desc) "attribute";
326};
327
328
329type record Resultnotification_message
330{
331 XSD.AnySimpleType code,
332 XSD.AnySimpleType desc optional,
333 XSD.AnySimpleType event_time optional,
334 enumerated {
335 rejected,
336 pending,
337 delivered,
338 undeliverable,
339 expired,
340 aborted,
341 timeout_,
342 cancelled,
343 unknown
344 } message_state,
345 XSD.AnySimpleType push_id,
346 XSD.AnySimpleType received_time optional,
347 XSD.AnySimpleType sender_address optional,
348 XSD.AnySimpleType sender_name optional,
349 Address address_,
350 Quality_of_service quality_of_service optional
351}
352with {
353variant "name as 'resultnotification-message'";
354variant "element";
355variant (code) "attribute";
356variant (desc) "attribute";
357variant (event_time) "name as 'event-time'";
358variant (event_time) "attribute";
359variant (message_state) "text 'timeout_' as 'timeout'";
360variant (message_state) "name as 'message-state'";
361variant (message_state) "attribute";
362variant (push_id) "name as 'push-id'";
363variant (push_id) "attribute";
364variant (received_time) "name as 'received-time'";
365variant (received_time) "attribute";
366variant (sender_address) "name as 'sender-address'";
367variant (sender_address) "attribute";
368variant (sender_name) "name as 'sender-name'";
369variant (sender_name) "attribute";
370variant (address_) "name as 'address'";
371variant (quality_of_service) "name as 'quality-of-service'";
372};
373
374
375type record Resultnotification_response
376{
377 XSD.AnySimpleType code,
378 XSD.AnySimpleType desc optional,
379 XSD.AnySimpleType push_id,
380 Address address_
381}
382with {
383variant "name as 'resultnotification-response'";
384variant "element";
385variant (code) "attribute";
386variant (desc) "attribute";
387variant (push_id) "name as 'push-id'";
388variant (push_id) "attribute";
389variant (address_) "name as 'address'";
390};
391
392
393type record Statusquery_message
394{
395 XSD.AnySimpleType push_id,
396 record of Address address_list
397}
398with {
399variant "name as 'statusquery-message'";
400variant "element";
401variant (push_id) "name as 'push-id'";
402variant (push_id) "attribute";
403variant (address_list) "untagged";
404};
405
406
407type record Statusquery_response
408{
409 XSD.AnySimpleType push_id,
410 record length(1 .. infinity) of Statusquery_result statusquery_result_list
411}
412with {
413variant "name as 'statusquery-response'";
414variant "element";
415variant (push_id) "name as 'push-id'";
416variant (push_id) "attribute";
417variant (statusquery_result_list) "untagged";
418};
419
420
421type record Statusquery_result
422{
423 XSD.AnySimpleType code,
424 XSD.AnySimpleType desc optional,
425 XSD.AnySimpleType event_time optional,
426 enumerated {
427 rejected,
428 pending,
429 delivered,
430 undeliverable,
431 expired,
432 aborted,
433 timeout_,
434 cancelled,
435 unknown
436 } message_state,
437 record of Address address_list,
438 Quality_of_service quality_of_service optional
439}
440with {
441variant "name as 'statusquery-result'";
442variant "element";
443variant (code) "attribute";
444variant (desc) "attribute";
445variant (event_time) "name as 'event-time'";
446variant (event_time) "attribute";
447variant (message_state) "text 'timeout_' as 'timeout'";
448variant (message_state) "name as 'message-state'";
449variant (message_state) "attribute";
450variant (address_list) "untagged";
451variant (quality_of_service) "name as 'quality-of-service'";
452};
453
454
455}
456with {
457encode "XML";
458variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
459}
This page took 0.042611 seconds and 5 git commands to generate.