1 /*******************************************************************************
2 * Copyright Ericsson Telecom AB
4 * XSD to TTCN-3 Translator
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: schemas_ericsson_com_cai3g1_1_e.ttcn
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
22 // Generated from file(s):
24 // - GenericCai3gType.xsd
25 // /* xml version = "1.0" */
26 // /* targetnamespace = "http://schemas.ericsson.com/cai3g1.1/" */
28 ////////////////////////////////////////////////////////////////////////////////
31 module schemas_ericsson_com_cai3g1_1_e {
40 AnyMOIdType mOId optional,
42 CreateMODefinition createMODefinition
43 } mOAttributes optional,
44 AnySequenceType extension_ optional
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'";
56 type record CreateResponse
59 GetResponseMOAttributesType mOAttributes optional
63 variant (mOId) "name as capitalized";
64 variant (mOAttributes) "name as capitalized";
71 AnyMOIdType mOId optional,
72 AnySequenceType extension_ optional
76 variant (mOType) "name as capitalized";
77 variant (mOId) "name as capitalized";
78 variant (extension_) "name as 'extension'";
82 type record GetResponse
84 record of AnyMOIdType mOId_list,
85 GetResponseMOAttributesType mOAttributes optional
89 variant (mOId_list) "untagged";
90 variant (mOId_list[-]) "name as 'MOId'";
91 variant (mOAttributes) "name as capitalized";
100 SetMODefinition setMODefinition
102 AnySequenceType extension_ optional
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'";
114 type record SetResponse
116 GetResponseMOAttributesType mOAttributes optional
120 variant (mOAttributes) "name as capitalized";
128 AnySequenceType extension_ optional
132 variant (mOType) "name as capitalized";
133 variant (mOId) "name as capitalized";
134 variant (extension_) "name as 'extension'";
138 type record DeleteResponse
140 AnyMOIdType mOId optional,
141 GetResponseMOAttributesType mOAttributes optional
145 variant (mOId) "name as capitalized";
146 variant (mOAttributes) "name as capitalized";
153 SearchFiltersType filters,
154 AnySequenceType extension_ optional
158 variant (mOType) "name as capitalized";
159 variant (extension_) "name as 'extension'";
163 type record SearchResponse
165 record of AnyMOIdType mOId_list
169 variant (mOId_list) "untagged";
170 variant (mOId_list[-]) "name as 'MOId'";
184 type record LoginResponse
186 SessionIdType sessionId,
187 XSD.UnsignedLong baseSequenceId
196 SessionIdType sessionId
203 type record LogoutResponse
212 type record Subscribe
214 XSD.AnyURI managerRef,
215 NotificationFiltersType filters
222 type record SubscribeResponse
224 XSD.String subscriptionId
231 type record Unsubscribe
233 XSD.AnyURI managerRef,
234 XSD.String subscriptionId optional
241 type record UnsubscribeResponse
252 NotificationHeaderType notificationHeader,
253 record of XSD.String correlatedNotifications_list,
254 XSD.String additionalText optional,
255 XSD.AnyURI sourceIndicator optional,
257 record length(1 .. infinity) of XSD.String elem_list
262 variant (correlatedNotifications_list) "untagged";
263 variant (correlatedNotifications_list[-]) "name as 'correlatedNotifications'";
264 variant (notificationData.elem_list) "untagged";
265 variant (notificationData.elem_list[-]) "anyElement";
269 type record NotifyResponse
278 type record GetResponseMOAttributesType
280 GetMODefinition getMODefinition
283 variant (getMODefinition) "name as capitalized";
287 type record AbstractCreateAttributeType
293 type record AbstractSetAttributeType
299 type record AbstractGetAttributeType
305 type XSD.AnySimpleType CreateMODefinition
311 type XSD.AnySimpleType GetMODefinition
317 type XSD.AnySimpleType SetMODefinition
323 type AbstractCreateAttributeType CreateMODef
329 type AbstractSetAttributeType SetMODef
335 type AbstractGetAttributeType GetMODef
341 type record AnyMOIdType
343 record length(1 .. infinity) of XSD.String elem_list
346 variant (elem_list) "untagged";
347 variant (elem_list[-]) "anyElement";
351 type record AnySequenceType
353 record length(1 .. infinity) of XSD.String elem_list
356 variant (elem_list) "untagged";
357 variant (elem_list[-]) "anyElement";
361 type XSD.String MoType (pattern "[A-Za-z][_A-Za-z0-9]*@?*");
364 type SessionIdType SessionId
370 type XSD.UnsignedLong TransactionId
376 type XSD.UnsignedLong SequenceId
382 type XSD.String SessionIdType (pattern "[\d\w]#(1,)");
385 type record SearchFiltersType
387 record length(1 .. infinity) of SearchFilterType filter_list
390 variant (filter_list) "untagged";
391 variant (filter_list[-]) "name as 'filter'";
395 type record SearchFilterType
397 record length(1 .. infinity) of XSD.String mOAttributes_list
400 variant (mOAttributes_list) "untagged";
401 variant (mOAttributes_list[-]) "name as 'MOAttributes'";
405 type record NotificationHeaderType
407 XSD.String cai3gUser,
410 XSD.String notificationId optional,
411 XSD.DateTime eventTime,
412 XSD.AnyURI notificationActor optional,
413 NotificationOperationType operation,
414 XSD.String subscriptionId
417 variant (mOType) "name as capitalized";
418 variant (mOId) "name as capitalized";
422 /* How to make sure there must exist one element */
423 type record NotificationFilterType
425 record of XSD.String cai3gUser_list,
426 record of XSD.String mOType_list,
427 record length(0 .. 3) of NotificationOperationType operation_list,
428 record of XSD.String mOId_list,
429 record of XSD.String mOAttributes_list
432 variant (cai3gUser_list) "untagged";
433 variant (cai3gUser_list[-]) "name as 'cai3gUser'";
434 variant (mOType_list) "untagged";
435 variant (mOType_list[-]) "name as 'MOType'";
436 variant (operation_list) "untagged";
437 variant (operation_list[-]) "name as 'operation'";
438 variant (mOId_list) "untagged";
439 variant (mOId_list[-]) "name as 'MOId'";
440 variant (mOAttributes_list) "untagged";
441 variant (mOAttributes_list[-]) "name as 'MOAttributes'";
445 type record NotificationFiltersType
447 record length(1 .. infinity) of NotificationFilterType filter_list
450 variant (filter_list) "untagged";
451 variant (filter_list[-]) "name as 'filter'";
455 type enumerated NotificationOperationType
462 variant "text 'create_' as 'Create'";
463 variant "text 'delete' as capitalized";
464 variant "text 'set_' as 'Set'";
468 type record Cai3gFault
470 XSD.Integer faultcode,
472 record length(1 .. infinity) of XSD.String reasonText_list
474 XSD.String faultrole,
481 variant (faultreason.reasonText_list) "untagged";
482 variant (faultreason.reasonText_list[-]) "name as 'reasonText'";
483 variant (details.elem) "anyElement";
487 type record HeaderFaultType
489 XSD.String faultactor,
490 XSD.String description
494 type record SessionIdFault
496 XSD.String faultactor,
497 XSD.String description,
501 sessionId_Syntax_Error
505 variant (faultcode) "text 'invalid_SessionId' as 'Invalid SessionId'";
506 variant (faultcode) "text 'sessionId_Syntax_Error' as 'SessionId Syntax Error'";
507 variant (faultcode) "text 'session_Timeout' as 'Session Timeout'";
511 type record SequenceIdFault
513 XSD.String faultactor,
514 XSD.String description,
520 variant (faultcode) "text 'invalid_SequenceId' as 'Invalid SequenceId'";
524 type record TransactionIdFault
526 XSD.String faultactor,
527 XSD.String description,
529 invalid_TransactionId
533 variant (faultcode) "text 'invalid_TransactionId' as 'Invalid TransactionId'";
540 variant "namespace as 'http://schemas.ericsson.com/cai3g1.1/'";
541 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
542 variant "elementFormQualified";