forked from xtuml/mc
-
Notifications
You must be signed in to change notification settings - Fork 2
/
q.class.instance.dump.arc
6584 lines (6583 loc) · 152 KB
/
q.class.instance.dump.arc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
.print "dumping class instances into SQL format..."
.print "Activity"
.select many a_as from instances of A_A
.for each a_a in a_as
INSERT INTO A_A VALUES (\
.if ( "un-initialized" == "${a_a.Package_ID}" )
0\
.else
${a_a.Package_ID}\
.end if
, '${a_a.Name}', ''\
\
.if ( "un-initialized" == "${a_a.Dom_ID}" )
, 0\
.else
, ${a_a.Dom_ID}\
.end if
\
.if ( "un-initialized" == "${a_a.SS_ID}" )
, 0\
.else
, ${a_a.SS_ID}\
.end if
\
.if ( "un-initialized" == "${a_a.Parent_Package_ID}" )
, 0\
.else
, ${a_a.Parent_Package_ID}\
.end if
\
.if ( "un-initialized" == "${a_a.Sys_ID}" )
, 0\
.else
, ${a_a.Sys_ID}\
.end if
\
.if ( "un-initialized" == "${a_a.Component_Package_ID}" )
, 0\
.else
, ${a_a.Component_Package_ID}\
.end if
\
.if ( "un-initialized" == "${a_a.Component_Id}" )
, 0\
.else
, ${a_a.Component_Id}\
.end if
);
.end for
.select many a_ns from instances of A_N
.for each a_n in a_ns
INSERT INTO A_N VALUES (\
.if ( "un-initialized" == "${a_n.Id}" )
0\
.else
${a_n.Id}\
.end if
\
.if ( "un-initialized" == "${a_n.Package_ID}" )
, 0\
.else
, ${a_n.Package_ID}\
.end if
);
.end for
.select many a_es from instances of A_E
.for each a_e in a_es
INSERT INTO A_E VALUES (\
.if ( "un-initialized" == "${a_e.Id}" )
0\
.else
${a_e.Id}\
.end if
\
.if ( "un-initialized" == "${a_e.Package_ID}" )
, 0\
.else
, ${a_e.Package_ID}\
.end if
, '${a_e.Guard}', ''\
\
.if ( "un-initialized" == "${a_e.TargetId}" )
, 0\
.else
, ${a_e.TargetId}\
.end if
\
.if ( "un-initialized" == "${a_e.SourceId}" )
, 0\
.else
, ${a_e.SourceId}\
.end if
);
.end for
.select many a_acts from instances of A_ACT
.for each a_act in a_acts
INSERT INTO A_ACT VALUES (\
.if ( "un-initialized" == "${a_act.Id}" )
0\
.else
${a_act.Id}\
.end if
);
.end for
.select many a_objs from instances of A_OBJ
.for each a_obj in a_objs
INSERT INTO A_OBJ VALUES (\
.if ( "un-initialized" == "${a_obj.Id}" )
0\
.else
${a_obj.Id}\
.end if
, '${a_obj.Name}', ''\
);
.end for
.select many a_ctls from instances of A_CTL
.for each a_ctl in a_ctls
INSERT INTO A_CTL VALUES (\
.if ( "un-initialized" == "${a_ctl.Id}" )
0\
.else
${a_ctl.Id}\
.end if
);
.end for
.select many a_inis from instances of A_INI
.for each a_ini in a_inis
INSERT INTO A_INI VALUES (\
.if ( "un-initialized" == "${a_ini.Id}" )
0\
.else
${a_ini.Id}\
.end if
, ''\
);
.end for
.select many a_afs from instances of A_AF
.for each a_af in a_afs
INSERT INTO A_AF VALUES (\
.if ( "un-initialized" == "${a_af.Id}" )
0\
.else
${a_af.Id}\
.end if
, ''\
);
.end for
.select many a_ffs from instances of A_FF
.for each a_ff in a_ffs
INSERT INTO A_FF VALUES (\
.if ( "un-initialized" == "${a_ff.Id}" )
0\
.else
${a_ff.Id}\
.end if
, ''\
);
.end for
.select many a_dms from instances of A_DM
.for each a_dm in a_dms
INSERT INTO A_DM VALUES (\
.if ( "un-initialized" == "${a_dm.Id}" )
0\
.else
${a_dm.Id}\
.end if
, '${a_dm.Name}', ''\
);
.end for
.select many a_fjs from instances of A_FJ
.for each a_fj in a_fjs
INSERT INTO A_FJ VALUES (\
.if ( "un-initialized" == "${a_fj.Id}" )
0\
.else
${a_fj.Id}\
.end if
, ''\
, '${a_fj.GuardCondition}' );
.end for
.select many a_gas from instances of A_GA
.for each a_ga in a_gas
INSERT INTO A_GA VALUES (\
.if ( "un-initialized" == "${a_ga.Id}" )
0\
.else
${a_ga.Id}\
.end if
, '${a_ga.Name}', ''\
);
.end for
.select many a_aes from instances of A_AE
.for each a_ae in a_aes
INSERT INTO A_AE VALUES (\
.if ( "un-initialized" == "${a_ae.Id}" )
0\
.else
${a_ae.Id}\
.end if
);
.end for
.select many a_sss from instances of A_SS
.for each a_ss in a_sss
INSERT INTO A_SS VALUES (\
.if ( "un-initialized" == "${a_ss.Id}" )
0\
.else
${a_ss.Id}\
.end if
, '${a_ss.Name}', ''\
);
.end for
.select many a_aias from instances of A_AIA
.for each a_aia in a_aias
INSERT INTO A_AIA VALUES (\
.if ( "un-initialized" == "${a_aia.Package_ID}" )
0\
.else
${a_aia.Package_ID}\
.end if
);
.end for
.select many a_aps from instances of A_AP
.for each a_ap in a_aps
INSERT INTO A_AP VALUES (\
.if ( "un-initialized" == "${a_ap.Id}" )
0\
.else
${a_ap.Id}\
.end if
\
.if ( "un-initialized" == "${a_ap.Package_ID}" )
, 0\
.else
, ${a_ap.Package_ID}\
.end if
, '${a_ap.Name}', ''\
);
.end for
.select many a_ates from instances of A_ATE
.for each a_ate in a_ates
INSERT INTO A_ATE VALUES (\
.if ( "un-initialized" == "${a_ate.Id}" )
0\
.else
${a_ate.Id}\
.end if
, '${a_ate.Name}', ''\
);
.end for
.select many a_aeas from instances of A_AEA
.for each a_aea in a_aeas
INSERT INTO A_AEA VALUES (\
.if ( "un-initialized" == "${a_aea.Id}" )
0\
.else
${a_aea.Id}\
.end if
, '${a_aea.Name}', ''\
);
.end for
.print "Association"
.select many r_rels from instances of R_REL
.for each r_rel in r_rels
INSERT INTO R_REL VALUES (\
.if ( "un-initialized" == "${r_rel.Rel_ID}" )
0\
.else
${r_rel.Rel_ID}\
.end if
, ${r_rel.Numb}, ''\
\
.if ( "un-initialized" == "${r_rel.SS_ID}" )
, 0\
.else
, ${r_rel.SS_ID}\
.end if
);
.end for
.select many r_oirs from instances of R_OIR
.for each r_oir in r_oirs
INSERT INTO R_OIR VALUES (\
.if ( "un-initialized" == "${r_oir.Obj_ID}" )
0\
.else
${r_oir.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${r_oir.Rel_ID}" )
, 0\
.else
, ${r_oir.Rel_ID}\
.end if
\
.if ( "un-initialized" == "${r_oir.OIR_ID}" )
, 0\
.else
, ${r_oir.OIR_ID}\
.end if
\
.if ( "un-initialized" == "${r_oir.IObj_ID}" )
, 0\
.else
, ${r_oir.IObj_ID}\
.end if
);
.end for
.select many r_rtos from instances of R_RTO
.for each r_rto in r_rtos
INSERT INTO R_RTO VALUES (\
.if ( "un-initialized" == "${r_rto.Obj_ID}" )
0\
.else
${r_rto.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${r_rto.Rel_ID}" )
, 0\
.else
, ${r_rto.Rel_ID}\
.end if
\
.if ( "un-initialized" == "${r_rto.OIR_ID}" )
, 0\
.else
, ${r_rto.OIR_ID}\
.end if
, ${r_rto.Oid_ID} );
.end for
.select many r_rgos from instances of R_RGO
.for each r_rgo in r_rgos
INSERT INTO R_RGO VALUES (\
.if ( "un-initialized" == "${r_rgo.Obj_ID}" )
0\
.else
${r_rgo.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${r_rgo.Rel_ID}" )
, 0\
.else
, ${r_rgo.Rel_ID}\
.end if
\
.if ( "un-initialized" == "${r_rgo.OIR_ID}" )
, 0\
.else
, ${r_rgo.OIR_ID}\
.end if
);
.end for
.select many r_simps from instances of R_SIMP
.for each r_simp in r_simps
INSERT INTO R_SIMP VALUES (\
.if ( "un-initialized" == "${r_simp.Rel_ID}" )
0\
.else
${r_simp.Rel_ID}\
.end if
);
.end for
.select many r_parts from instances of R_PART
.for each r_part in r_parts
INSERT INTO R_PART VALUES (\
.if ( "un-initialized" == "${r_part.Obj_ID}" )
0\
.else
${r_part.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${r_part.Rel_ID}" )
, 0\
.else
, ${r_part.Rel_ID}\
.end if
\
.if ( "un-initialized" == "${r_part.OIR_ID}" )
, 0\
.else
, ${r_part.OIR_ID}\
.end if
, ${r_part.Mult}, ${r_part.Cond}, '${r_part.Txt_Phrs}' );
.end for
.select many r_forms from instances of R_FORM
.for each r_form in r_forms
INSERT INTO R_FORM VALUES (\
.if ( "un-initialized" == "${r_form.Obj_ID}" )
0\
.else
${r_form.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${r_form.Rel_ID}" )
, 0\
.else
, ${r_form.Rel_ID}\
.end if
\
.if ( "un-initialized" == "${r_form.OIR_ID}" )
, 0\
.else
, ${r_form.OIR_ID}\
.end if
, ${r_form.Mult}, ${r_form.Cond}, '${r_form.Txt_Phrs}' );
.end for
.select many r_assocs from instances of R_ASSOC
.for each r_assoc in r_assocs
INSERT INTO R_ASSOC VALUES (\
.if ( "un-initialized" == "${r_assoc.Rel_ID}" )
0\
.else
${r_assoc.Rel_ID}\
.end if
);
.end for
.select many r_aones from instances of R_AONE
.for each r_aone in r_aones
INSERT INTO R_AONE VALUES (\
.if ( "un-initialized" == "${r_aone.Obj_ID}" )
0\
.else
${r_aone.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${r_aone.Rel_ID}" )
, 0\
.else
, ${r_aone.Rel_ID}\
.end if
\
.if ( "un-initialized" == "${r_aone.OIR_ID}" )
, 0\
.else
, ${r_aone.OIR_ID}\
.end if
, ${r_aone.Mult}, ${r_aone.Cond}, '${r_aone.Txt_Phrs}' );
.end for
.select many r_aoths from instances of R_AOTH
.for each r_aoth in r_aoths
INSERT INTO R_AOTH VALUES (\
.if ( "un-initialized" == "${r_aoth.Obj_ID}" )
0\
.else
${r_aoth.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${r_aoth.Rel_ID}" )
, 0\
.else
, ${r_aoth.Rel_ID}\
.end if
\
.if ( "un-initialized" == "${r_aoth.OIR_ID}" )
, 0\
.else
, ${r_aoth.OIR_ID}\
.end if
, ${r_aoth.Mult}, ${r_aoth.Cond}, '${r_aoth.Txt_Phrs}' );
.end for
.select many r_assrs from instances of R_ASSR
.for each r_assr in r_assrs
INSERT INTO R_ASSR VALUES (\
.if ( "un-initialized" == "${r_assr.Obj_ID}" )
0\
.else
${r_assr.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${r_assr.Rel_ID}" )
, 0\
.else
, ${r_assr.Rel_ID}\
.end if
\
.if ( "un-initialized" == "${r_assr.OIR_ID}" )
, 0\
.else
, ${r_assr.OIR_ID}\
.end if
, ${r_assr.Mult} );
.end for
.select many r_subsups from instances of R_SUBSUP
.for each r_subsup in r_subsups
INSERT INTO R_SUBSUP VALUES (\
.if ( "un-initialized" == "${r_subsup.Rel_ID}" )
0\
.else
${r_subsup.Rel_ID}\
.end if
);
.end for
.select many r_supers from instances of R_SUPER
.for each r_super in r_supers
INSERT INTO R_SUPER VALUES (\
.if ( "un-initialized" == "${r_super.Obj_ID}" )
0\
.else
${r_super.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${r_super.Rel_ID}" )
, 0\
.else
, ${r_super.Rel_ID}\
.end if
\
.if ( "un-initialized" == "${r_super.OIR_ID}" )
, 0\
.else
, ${r_super.OIR_ID}\
.end if
);
.end for
.select many r_subs from instances of R_SUB
.for each r_sub in r_subs
INSERT INTO R_SUB VALUES (\
.if ( "un-initialized" == "${r_sub.Obj_ID}" )
0\
.else
${r_sub.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${r_sub.Rel_ID}" )
, 0\
.else
, ${r_sub.Rel_ID}\
.end if
\
.if ( "un-initialized" == "${r_sub.OIR_ID}" )
, 0\
.else
, ${r_sub.OIR_ID}\
.end if
);
.end for
.select many r_comps from instances of R_COMP
.for each r_comp in r_comps
INSERT INTO R_COMP VALUES (\
.if ( "un-initialized" == "${r_comp.Rel_ID}" )
0\
.else
${r_comp.Rel_ID}\
.end if
, '${r_comp.Rel_Chn}' );
.end for
.select many r_cones from instances of R_CONE
.for each r_cone in r_cones
INSERT INTO R_CONE VALUES (\
.if ( "un-initialized" == "${r_cone.Obj_ID}" )
0\
.else
${r_cone.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${r_cone.Rel_ID}" )
, 0\
.else
, ${r_cone.Rel_ID}\
.end if
\
.if ( "un-initialized" == "${r_cone.OIR_ID}" )
, 0\
.else
, ${r_cone.OIR_ID}\
.end if
, ${r_cone.Mult}, ${r_cone.Cond}, '${r_cone.Txt_Phrs}' );
.end for
.select many r_coths from instances of R_COTH
.for each r_coth in r_coths
INSERT INTO R_COTH VALUES (\
.if ( "un-initialized" == "${r_coth.Obj_ID}" )
0\
.else
${r_coth.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${r_coth.Rel_ID}" )
, 0\
.else
, ${r_coth.Rel_ID}\
.end if
\
.if ( "un-initialized" == "${r_coth.OIR_ID}" )
, 0\
.else
, ${r_coth.OIR_ID}\
.end if
, ${r_coth.Mult}, ${r_coth.Cond}, '${r_coth.Txt_Phrs}' );
.end for
.print "Breakpoint"
.select many bp_bps from instances of BP_BP
.for each bp_bp in bp_bps
INSERT INTO BP_BP VALUES (\
.if ( "un-initialized" == "${bp_bp.Breakpoint_ID}" )
0\
.else
${bp_bp.Breakpoint_ID}\
.end if
, ${bp_bp.enabled}, ${bp_bp.condition_enabled}, ${bp_bp.hit_count}, ${bp_bp.target_hit_count}, ${bp_bp.for_step} );
.end for
.select many bp_oals from instances of BP_OAL
.for each bp_oal in bp_oals
INSERT INTO BP_OAL VALUES (\
.if ( "un-initialized" == "${bp_oal.Statement_ID}" )
0\
.else
${bp_oal.Statement_ID}\
.end if
\
.if ( "un-initialized" == "${bp_oal.Breakpoint_ID}" )
, 0\
.else
, ${bp_oal.Breakpoint_ID}\
.end if
);
.end for
.select many bp_evs from instances of BP_EV
.for each bp_ev in bp_evs
INSERT INTO BP_EV VALUES (\
.if ( "un-initialized" == "${bp_ev.Breakpoint_ID}" )
0\
.else
${bp_ev.Breakpoint_ID}\
.end if
, ${bp_ev.onEnqueue}, ${bp_ev.onDequeue}, ${bp_ev.onEventIgnored}, ${bp_ev.onCantHappen}\
.if ( "un-initialized" == "${bp_ev.SMevt_ID}" )
, 0\
.else
, ${bp_ev.SMevt_ID}\
.end if
);
.end for
.select many bp_cons from instances of BP_CON
.for each bp_con in bp_cons
INSERT INTO BP_CON VALUES (\
.if ( "un-initialized" == "${bp_con.Breakpoint_ID}" )
0\
.else
${bp_con.Breakpoint_ID}\
.end if
, '${bp_con.Expression}' );
.end for
.select many bp_sts from instances of BP_ST
.for each bp_st in bp_sts
INSERT INTO BP_ST VALUES (\
.if ( "un-initialized" == "${bp_st.Breakpoint_ID}" )
0\
.else
${bp_st.Breakpoint_ID}\
.end if
, ${bp_st.onEntry}, ${bp_st.onExit}\
.if ( "un-initialized" == "${bp_st.SM_ID}" )
, 0\
.else
, ${bp_st.SM_ID}\
.end if
\
.if ( "un-initialized" == "${bp_st.SMstt_ID}" )
, 0\
.else
, ${bp_st.SMstt_ID}\
.end if
);
.end for
.print "Class State Machine Execution"
.select many csme_clms from instances of CSME_CLM
.for each csme_clm in csme_clms
INSERT INTO CSME_CLM VALUES (\
.if ( "un-initialized" == "${csme_clm.Execution_Engine_ID}" )
0\
.else
${csme_clm.Execution_Engine_ID}\
.end if
\
.if ( "un-initialized" == "${csme_clm.CIE_ID}" )
, 0\
.else
, ${csme_clm.CIE_ID}\
.end if
);
.end for
.select many csme_cies from instances of CSME_CIE
.for each csme_cie in csme_cies
INSERT INTO CSME_CIE VALUES (\
.if ( "un-initialized" == "${csme_cie.CIE_ID}" )
0\
.else
${csme_cie.CIE_ID}\
.end if
\
.if ( "un-initialized" == "${csme_cie.Execution_Engine_ID}" )
, 0\
.else
, ${csme_cie.Execution_Engine_ID}\
.end if
\
.if ( "un-initialized" == "${csme_cie.Obj_ID}" )
, 0\
.else
, ${csme_cie.Obj_ID}\
.end if
\
.if ( "un-initialized" == "${csme_cie.Package_ID}" )
, 0\
.else
, ${csme_cie.Package_ID}\
.end if
, '${csme_cie.Label}' );
.end for
.select many csme_ciss from instances of CSME_CIS
.for each csme_cis in csme_ciss
INSERT INTO CSME_CIS VALUES (\
.if ( "un-initialized" == "${csme_cis.SM_ID}" )
0\
.else
${csme_cis.SM_ID}\
.end if
\
.if ( "un-initialized" == "${csme_cis.SMstt_ID}" )
, 0\
.else
, ${csme_cis.SMstt_ID}\
.end if
\
.if ( "un-initialized" == "${csme_cis.Trans_ID}" )
, 0\
.else
, ${csme_cis.Trans_ID}\
.end if
\
.if ( "un-initialized" == "${csme_cis.CIE_ID}" )
, 0\
.else
, ${csme_cis.CIE_ID}\
.end if
);
.end for
.print "Communication"
.select many comm_comms from instances of COMM_COMM
.for each comm_comm in comm_comms
INSERT INTO COMM_COMM VALUES (\
.if ( "un-initialized" == "${comm_comm.Package_ID}" )
0\
.else
${comm_comm.Package_ID}\
.end if
\
.if ( "un-initialized" == "${comm_comm.Dom_ID}" )
, 0\
.else
, ${comm_comm.Dom_ID}\
.end if
\
.if ( "un-initialized" == "${comm_comm.SS_ID}" )
, 0\
.else
, ${comm_comm.SS_ID}\
.end if
\
.if ( "un-initialized" == "${comm_comm.CIC_Package_ID}" )
, 0\
.else
, ${comm_comm.CIC_Package_ID}\
.end if
, '${comm_comm.Name}', ''\
\
.if ( "un-initialized" == "${comm_comm.Sys_ID}" )
, 0\
.else
, ${comm_comm.Sys_ID}\
.end if
\
.if ( "un-initialized" == "${comm_comm.Component_Package_ID}" )
, 0\
.else
, ${comm_comm.Component_Package_ID}\
.end if
\
.if ( "un-initialized" == "${comm_comm.Component_Id}" )
, 0\
.else
, ${comm_comm.Component_Id}\
.end if
);
.end for
.select many comm_lnks from instances of COMM_LNK
.for each comm_lnk in comm_lnks
INSERT INTO COMM_LNK VALUES (\
.if ( "un-initialized" == "${comm_lnk.Link_ID}" )
0\
.else
${comm_lnk.Link_ID}\
.end if
\
.if ( "un-initialized" == "${comm_lnk.Rel_ID}" )
, 0\
.else
, ${comm_lnk.Rel_ID}\
.end if
, '${comm_lnk.Numb}', ''\
, '${comm_lnk.StartText}', '${comm_lnk.EndText}', ${comm_lnk.isFormal}, ${comm_lnk.StartVisibility}, ${comm_lnk.EndVisibility}\
.if ( "un-initialized" == "${comm_lnk.Start_Part_ID}" )
, 0\
.else
, ${comm_lnk.Start_Part_ID}\
.end if
\
.if ( "un-initialized" == "${comm_lnk.Destination_Part_ID}" )
, 0\
.else
, ${comm_lnk.Destination_Part_ID}\
.end if
);
.end for
.select many comm_cics from instances of COMM_CIC
.for each comm_cic in comm_cics
INSERT INTO COMM_CIC VALUES (\
.if ( "un-initialized" == "${comm_cic.Package_ID}" )
0\
.else
${comm_cic.Package_ID}\
.end if
);
.end for
.select many comm_mics from instances of COMM_MIC
.for each comm_mic in comm_mics
INSERT INTO COMM_MIC VALUES (\
.if ( "un-initialized" == "${comm_mic.Package_ID}" )
0\
.else
${comm_mic.Package_ID}\
.end if
\
.if ( "un-initialized" == "${comm_mic.Msg_ID}" )
, 0\
.else
, ${comm_mic.Msg_ID}\
.end if
);
.end for
.select many comm_pics from instances of COMM_PIC
.for each comm_pic in comm_pics
INSERT INTO COMM_PIC VALUES (\
.if ( "un-initialized" == "${comm_pic.Package_ID}" )
0\
.else
${comm_pic.Package_ID}\
.end if
\
.if ( "un-initialized" == "${comm_pic.Part_ID}" )
, 0\
.else
, ${comm_pic.Part_ID}\
.end if
);
.end for
.print "Communication And Access"
.select many ca_comms from instances of CA_COMM
.for each ca_comm in ca_comms
INSERT INTO CA_COMM VALUES (\
.if ( "un-initialized" == "${ca_comm.CPath_ID}" )
0\
.else
${ca_comm.CPath_ID}\
.end if
\
.if ( "un-initialized" == "${ca_comm.SS_ID}" )
, 0\
.else
, ${ca_comm.SS_ID}\
.end if
);
.end for
.select many ca_eesmcs from instances of CA_EESMC
.for each ca_eesmc in ca_eesmcs
INSERT INTO CA_EESMC VALUES (\
.if ( "un-initialized" == "${ca_eesmc.CPath_ID}" )
0\
.else
${ca_eesmc.CPath_ID}\
.end if
\
.if ( "un-initialized" == "${ca_eesmc.EEmod_ID}" )
, 0\
.else
, ${ca_eesmc.EEmod_ID}\
.end if
\
.if ( "un-initialized" == "${ca_eesmc.EE_ID}" )
, 0\
.else
, ${ca_eesmc.EE_ID}\
.end if
\
.if ( "un-initialized" == "${ca_eesmc.SM_ID}" )
, 0\
.else
, ${ca_eesmc.SM_ID}\
.end if
);
.end for
.select many ca_smsmcs from instances of CA_SMSMC
.for each ca_smsmc in ca_smsmcs
INSERT INTO CA_SMSMC VALUES (\
.if ( "un-initialized" == "${ca_smsmc.CPath_ID}" )
0\
.else
${ca_smsmc.CPath_ID}\
.end if
\
.if ( "un-initialized" == "${ca_smsmc.OSM_ID}" )
, 0\
.else
, ${ca_smsmc.OSM_ID}\
.end if
\
.if ( "un-initialized" == "${ca_smsmc.DSM_ID}" )
, 0\
.else
, ${ca_smsmc.DSM_ID}\
.end if
\
.if ( "un-initialized" == "${ca_smsmc.OIObj_ID}" )
, 0\
.else
, ${ca_smsmc.OIObj_ID}\
.end if
\
.if ( "un-initialized" == "${ca_smsmc.DIObj_ID}" )
, 0\
.else
, ${ca_smsmc.DIObj_ID}\
.end if
);
.end for
.select many ca_smeecs from instances of CA_SMEEC
.for each ca_smeec in ca_smeecs
INSERT INTO CA_SMEEC VALUES (\
.if ( "un-initialized" == "${ca_smeec.CPath_ID}" )
0\
.else
${ca_smeec.CPath_ID}\
.end if
\
.if ( "un-initialized" == "${ca_smeec.SM_ID}" )
, 0\
.else
, ${ca_smeec.SM_ID}\
.end if
\
.if ( "un-initialized" == "${ca_smeec.EE_ID}" )
, 0\
.else
, ${ca_smeec.EE_ID}\
.end if
\
.if ( "un-initialized" == "${ca_smeec.EEmod_ID}" )
, 0\
.else
, ${ca_smeec.EEmod_ID}\
.end if
);
.end for
.select many ca_eesmes from instances of CA_EESME
.for each ca_eesme in ca_eesmes
INSERT INTO CA_EESME VALUES (\
.if ( "un-initialized" == "${ca_eesme.CPath_ID}" )
0\
.else
${ca_eesme.CPath_ID}\
.end if
\
.if ( "un-initialized" == "${ca_eesme.SMevt_ID}" )
, 0\
.else
, ${ca_eesme.SMevt_ID}\
.end if
);
.end for
.select many ca_smsmes from instances of CA_SMSME
.for each ca_smsme in ca_smsmes
INSERT INTO CA_SMSME VALUES (\
.if ( "un-initialized" == "${ca_smsme.CPath_ID}" )
0\
.else
${ca_smsme.CPath_ID}\
.end if
\
.if ( "un-initialized" == "${ca_smsme.SMevt_ID}" )
, 0\
.else
, ${ca_smsme.SMevt_ID}\
.end if
);
.end for
.select many ca_smeees from instances of CA_SMEEE
.for each ca_smeee in ca_smeees
INSERT INTO CA_SMEEE VALUES (\
.if ( "un-initialized" == "${ca_smeee.CPath_ID}" )
0\