Sync with 5.4.2
[deliverable/titan.core.git] / regression_test / XML / XmlWorkflow / XmlTest_expectedTtcns / schemas_ericsson_com_ma_HSS_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_ma_HSS_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 // - avg.xsd
25 // /* xml version = "1.0" */
26 // /* targetnamespace = "http://schemas.ericsson.com/ma/HSS/" */
27 //
28 // - eps.xsd
29 // /* xml version = "1.0" */
30 // /* targetnamespace = "http://schemas.ericsson.com/ma/HSS/" */
31 //
32 // - hssla_types.xsd
33 // /* xml version = "1.0" encoding = "UTF-8" */
34 // /* targetnamespace = "http://schemas.ericsson.com/ma/HSS/" */
35 //
36 ////////////////////////////////////////////////////////////////////////////////
37
38
39 module schemas_ericsson_com_ma_HSS_e {
40
41
42 import from XSD all;
43
44
45 import from schemas_ericsson_com_cai3g1_2_e all;
46
47
48 /* CreateAVGMultiSC
49 MOId: imsi or impi
50 MOType: AVG@http://schemas.ericsson.com/ma/HSS/ */
51
52
53 type record CreateAVGMultiSC
54 {
55 ImpiType impi optional,
56 ImsiType imsi optional,
57 union {
58 ImsiType imsi,
59 ImpiType impi
60 } choice,
61 AvgEncryptedKType avgEncryptedK,
62 AvgA4KeyIndType avgA4KeyInd,
63 AvgFSetIndType avgFSetInd,
64 AvgAmfType avgAmf optional
65 }
66 with {
67 variant "element";
68 variant (impi) "attribute";
69 variant (imsi) "attribute";
70 variant (choice) "untagged";
71 };
72
73
74 /* DeleteAVGMultiSC
75 MOId: imsi or impi
76 MOType: AVG@http://schemas.ericsson.com/ma/HSS/ */
77
78
79 /* SetAVGMultiSC
80 MOId: imsi
81 MOType: AVG@http://schemas.ericsson.com/ma/HSS/ */
82
83
84 type record SetAVGMultiSC
85 {
86 ImpiType impi optional,
87 ImsiType imsi optional,
88 AvgEncryptedKType avgEncryptedK optional,
89 AvgA4KeyIndType avgA4KeyInd optional,
90 AvgAmfType avgAmf optional
91 }
92 with {
93 variant "element";
94 variant (impi) "attribute";
95 variant (imsi) "attribute";
96 };
97
98
99 /* GetAVGMultiSC
100 MOId: imsi or impi
101 MOType: AVG@http://schemas.ericsson.com/ma/HSS/ */
102
103
104 /* GetResponseAVGMultiSC */
105
106
107 type record GetResponseAVGMultiSC
108 {
109 union {
110 ImsiType imsi,
111 ImpiType impi
112 } choice,
113 AvgEncryptedKType avgEncryptedK,
114 AvgA4KeyIndType avgA4KeyInd,
115 AvgFSetIndType avgFSetInd,
116 AvgAmfType avgAmf
117 }
118 with {
119 variant "element";
120 variant (choice) "untagged";
121 };
122
123
124 /* CreateEPSMultiSC
125 MOId: imsi
126 MOType: EPSMultiSC@http://schemas.ericsson.com/ma/HSS/ */
127
128
129 type record CreateEPSMultiSC
130 {
131 ImsiType imsi,
132 ImsiType imsi_1,
133 MsisdnType msisdn optional,
134 AssociationIdType associationId optional,
135 EpsProfileIdType epsProfileId,
136 EpsOdbType epsOdb optional,
137 EpsRoamingAllowedType epsRoamingAllowed optional
138 }
139 with {
140 variant "element";
141 variant (imsi) "attribute";
142 variant (imsi_1) "name as 'imsi'";
143 };
144
145
146 /* DeleteEPSMultiSC
147 MOId: imsi
148 MOType: EPSMultiSC@http://schemas.ericsson.com/ma/HSS/ */
149
150
151 /* SetEPSMultiSC
152 MOId: imsi
153 MOType: EPSMultiSC@http://schemas.ericsson.com/ma/HSS/ */
154
155
156 type record SetEPSMultiSC
157 {
158 ImsiType imsi,
159 MsisdnType msisdn optional,
160 EpsProfileIdType epsProfileId optional,
161 EpsOdbType epsOdb optional,
162 EpsRoamingAllowedType epsRoamingAllowed optional,
163 EpsLocationStateType epsLocationState optional
164 }
165 with {
166 variant "element";
167 variant (imsi) "attribute";
168 };
169
170
171 /* GetEPSMultiSC
172 MOId: imsi
173 MOType: EPSMultiSC@http://schemas.ericsson.com/ma/HSS/ */
174
175
176 /* GetResponseEPSMultiSC
177 MOId: imsi
178 MOType: EPSMultiSC@http://schemas.ericsson.com/ma/HSS/ */
179
180
181 type record GetResponseEPSMultiSC
182 {
183 ImsiType imsi,
184 MsisdnType msisdn optional,
185 AssociationIdType associationId optional,
186 EpsProfileIdType epsProfileId,
187 EpsOdbType epsOdb,
188 EpsRoamingAllowedType epsRoamingAllowed,
189 MmeAddressType mmeAddress optional,
190 EpsLocationStateType epsLocationState
191 }
192 with {
193 variant "element";
194 };
195
196
197 /* Common types */
198
199
200 type XSD.String MsisdnType (pattern "[0-9]*") length(5 .. 15)
201 with {
202 variant "name as uncapitalized";
203 };
204
205
206 type XSD.String ImsiType (pattern "[0-9]*") length(6 .. 15)
207 with {
208 variant "name as uncapitalized";
209 };
210
211
212 type XSD.String ImpiType length(5 .. 256)
213 with {
214 variant "name as uncapitalized";
215 };
216
217
218 type XSD.String AssociationIdType
219 with {
220 variant "name as uncapitalized";
221 };
222
223
224 /* EPS types */
225
226
227 type XSD.String EpsProfileIdType
228 with {
229 variant "name as uncapitalized";
230 };
231
232
233 type enumerated EpsOdbType
234 {
235 nONE,
236 oDB_ALL,
237 oDB_HPLMN_APN,
238 oDB_VPLMN_APN
239 }
240 with {
241 variant "text 'nONE' as capitalized";
242 variant "text 'oDB_ALL' as 'ODB-ALL'";
243 variant "text 'oDB_HPLMN_APN' as 'ODB-HPLMN-APN'";
244 variant "text 'oDB_VPLMN_APN' as 'ODB-VPLMN-APN'";
245 variant "name as uncapitalized";
246 };
247
248
249 type XSD.Boolean EpsRoamingAllowedType
250 with {
251 variant "name as uncapitalized";
252 };
253
254
255 type enumerated EpsLocationStateType
256 {
257 lOCATED,
258 pURGED,
259 uNKNOWN
260 }
261 with {
262 variant "text 'lOCATED' as capitalized";
263 variant "text 'pURGED' as capitalized";
264 variant "text 'uNKNOWN' as capitalized";
265 variant "name as uncapitalized";
266 };
267
268
269 type XSD.String MmeAddressType
270 with {
271 variant "name as uncapitalized";
272 };
273
274
275 /* AVG types */
276
277
278 type XSD.String AvgEncryptedKType (pattern "[0-9A-F]#32")
279 with {
280 variant "name as uncapitalized";
281 };
282
283
284 type XSD.Integer AvgA4KeyIndType (1 .. 512)
285 with {
286 variant "name as uncapitalized";
287 };
288
289
290 type XSD.Integer AvgFSetIndType (0 .. 15)
291 with {
292 variant "name as uncapitalized";
293 };
294
295
296 type XSD.String AvgAmfType (pattern "[0-9A-F]#4")
297 with {
298 variant "name as uncapitalized";
299 };
300
301
302 }
303 with {
304 encode "XML";
305 variant "namespace as 'http://schemas.ericsson.com/ma/HSS/'";
306 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
307 variant "elementFormQualified";
308 }
This page took 0.038435 seconds and 5 git commands to generate.