1 /*******************************************************************************
2 * Copyright (c) 2000-2015 Ericsson Telecom AB
4 * XSD to TTCN-3 Translator version: CRL 113 200/5 R3B
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 *******************************************************************************/
12 // File: www_example_org_type_substitution_complex_cascade_e.ttcn
17 // Updated: Thu Dec 10 13:10:23 2014
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
21 // Generated from file(s):
22 // - type_substitution_complex_cascade_e.xsd
23 // /* xml version = "1.0" encoding = "UTF-8" */
24 // /* targetnamespace = "www.example.org/type/substitution/complex/cascade/e" */
25 ////////////////////////////////////////////////////////////////////////////////
26 // Modification header(s):
27 //-----------------------------------------------------------------------------
31 // Modification contact:
32 //------------------------------------------------------------------------------
33 ////////////////////////////////////////////////////////////////////////////////
36 module www_example_org_type_substitution_complex_cascade {
42 type RequestType_derivations Request
44 variant "name as uncapitalized";
49 type XSD.String MyProductionRequestType
51 variant "name as 'myProductionRequestType_'";
56 type XSD.String MyProductionRequestType2
58 variant "name as 'myProductionRequestType2_'";
63 /* The generic base type */
66 type record RequestType
71 variant "name as uncapitalized";
75 /* Production implementation */
78 type MyProductionRequestType_derivations Product
80 variant "name as uncapitalized";
85 type record MyProductionRequestType_1
87 XSD.String commonName,
88 XSD.String productionName
91 variant "name as 'myProductionRequestType'";
95 type MyProductionRequestType2_derivations Product2
97 variant "name as uncapitalized";
102 /* Derived type of myProductionRequestType */
105 type record MyProductionRequestType2_1
107 XSD.String commonName,
108 XSD.String productionName,
109 XSD.Integer productItem optional
112 variant "name as 'myProductionRequestType2'";
116 /* Derived type of myProductionRequestType2 */
119 type record MyProductionRequestType3
121 XSD.String commonName,
122 XSD.String productionName,
123 XSD.Integer productItem
126 variant "name as uncapitalized";
130 /* Derived type of myProductionRequestType3 */
133 type record MyProductionRequestType4
135 XSD.String commonName,
136 XSD.Integer productItem
139 variant "name as uncapitalized";
143 type union RequestType_derivations
145 RequestType requestType,
146 MyProductionRequestType_1 myProductionRequestType,
147 MyProductionRequestType2_1 myProductionRequestType2,
148 MyProductionRequestType3 myProductionRequestType3,
149 MyProductionRequestType4 myProductionRequestType4
152 variant "name as uncapitalized";
157 type union MyProductionRequestType_derivations
159 MyProductionRequestType_1 myProductionRequestType,
160 MyProductionRequestType2_1 myProductionRequestType2,
161 MyProductionRequestType3 myProductionRequestType3,
162 MyProductionRequestType4 myProductionRequestType4
165 variant "name as uncapitalized";
170 type union MyProductionRequestType2_derivations
172 MyProductionRequestType2_1 myProductionRequestType2,
173 MyProductionRequestType3 myProductionRequestType3,
174 MyProductionRequestType4 myProductionRequestType4
177 variant "name as uncapitalized";
185 variant "namespace as 'www.example.org/type/substitution/complex/cascade'";
186 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";