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_2_e.ttcn
18 // Contact: http://ttcn.ericsson.se
20 ////////////////////////////////////////////////////////////////////////////////
22 // Generated from file(s):
24 // - cai3g1.2_provisioning.xsd
25 // /* xml version = "1.0" */
26 // /* targetnamespace = "http://schemas.ericsson.com/cai3g1.2/" */
28 ////////////////////////////////////////////////////////////////////////////////
31 module schemas_ericsson_com_cai3g1_2_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 AbstractCreateAttributeType CreateMODefinition
311 type AbstractSetAttributeType SetMODefinition
317 type AbstractGetAttributeType GetMODefinition
323 type record AnyMOIdType
325 record length(1 .. infinity) of XSD.String elem_list
328 variant (elem_list) "untagged";
329 variant (elem_list[-]) "anyElement";
333 type record AnySequenceType
335 record length(1 .. infinity) of XSD.String elem_list
338 variant (elem_list) "untagged";
339 variant (elem_list[-]) "anyElement";
343 type XSD.String MoType (pattern "[A-Za-z][_A-Za-z0-9]*@?*");
346 type SessionIdType SessionId
352 type XSD.UnsignedLong TransactionId
358 type XSD.UnsignedLong SequenceId
364 type XSD.String SessionIdType (pattern "[\d\w]#(1,)");
367 type record SearchFiltersType
369 record length(1 .. infinity) of SearchFilterType filter_list
372 variant (filter_list) "untagged";
373 variant (filter_list[-]) "name as 'filter'";
377 type record SearchFilterType
379 record length(1 .. infinity) of XSD.String mOAttributes_list
382 variant (mOAttributes_list) "untagged";
383 variant (mOAttributes_list[-]) "name as 'MOAttributes'";
387 type record NotificationHeaderType
389 XSD.String cai3gUser,
392 XSD.String notificationId optional,
393 XSD.DateTime eventTime,
394 XSD.AnyURI notificationActor optional,
395 NotificationOperationType operation,
396 XSD.String subscriptionId
399 variant (mOType) "name as capitalized";
400 variant (mOId) "name as capitalized";
404 /* How to make sure there must exist one element */
405 type record NotificationFilterType
407 record of XSD.String cai3gUser_list,
408 record of XSD.String mOType_list,
409 record length(0 .. 3) of NotificationOperationType operation_list,
410 record of XSD.String mOId_list,
411 record of XSD.String mOAttributes_list
414 variant (cai3gUser_list) "untagged";
415 variant (cai3gUser_list[-]) "name as 'cai3gUser'";
416 variant (mOType_list) "untagged";
417 variant (mOType_list[-]) "name as 'MOType'";
418 variant (operation_list) "untagged";
419 variant (operation_list[-]) "name as 'operation'";
420 variant (mOId_list) "untagged";
421 variant (mOId_list[-]) "name as 'MOId'";
422 variant (mOAttributes_list) "untagged";
423 variant (mOAttributes_list[-]) "name as 'MOAttributes'";
427 type record NotificationFiltersType
429 record length(1 .. infinity) of NotificationFilterType filter_list
432 variant (filter_list) "untagged";
433 variant (filter_list[-]) "name as 'filter'";
437 type enumerated NotificationOperationType
444 variant "text 'create_' as 'Create'";
445 variant "text 'delete' as capitalized";
446 variant "text 'set_' as 'Set'";
450 type record Cai3gFault
452 XSD.Integer faultcode,
454 record length(1 .. infinity) of XSD.String reasonText_list
456 XSD.String faultrole,
463 variant (faultreason.reasonText_list) "untagged";
464 variant (faultreason.reasonText_list[-]) "name as 'reasonText'";
465 variant (details.elem) "anyElement";
469 type record HeaderFaultType
471 XSD.String faultactor,
472 XSD.String description
476 type record SessionIdFault
478 XSD.String faultactor,
479 XSD.String description,
483 sessionId_Syntax_Error
487 variant (faultcode) "text 'invalid_SessionId' as 'Invalid SessionId'";
488 variant (faultcode) "text 'sessionId_Syntax_Error' as 'SessionId Syntax Error'";
489 variant (faultcode) "text 'session_Timeout' as 'Session Timeout'";
493 type record SequenceIdFault
495 XSD.String faultactor,
496 XSD.String description,
502 variant (faultcode) "text 'invalid_SequenceId' as 'Invalid SequenceId'";
506 type record TransactionIdFault
508 XSD.String faultactor,
509 XSD.String description,
511 invalid_TransactionId
515 variant (faultcode) "text 'invalid_TransactionId' as 'Invalid TransactionId'";
522 variant "namespace as 'http://schemas.ericsson.com/cai3g1.2/'";
523 variant "controlNamespace 'http://www.w3.org/2001/XMLSchema-instance' prefix 'xsi'";
524 variant "elementFormQualified";