-
Notifications
You must be signed in to change notification settings - Fork 85
/
CommunicationPackageImpl.java
1644 lines (1548 loc) · 84.4 KB
/
CommunicationPackageImpl.java
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
/*******************************************************************************
* Copyright (c) 2006, 2020 THALES GLOBAL SERVICES.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Thales - initial API and implementation
*******************************************************************************/
package org.polarsys.capella.core.data.information.communication.impl;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.impl.EPackageImpl;
import org.polarsys.capella.common.data.activity.ActivityPackage;
import org.polarsys.capella.common.data.behavior.BehaviorPackage;
import org.polarsys.capella.common.data.modellingcore.ModellingcorePackage;
import org.polarsys.capella.core.data.capellacommon.CapellacommonPackage;
import org.polarsys.capella.core.data.capellacommon.impl.CapellacommonPackageImpl;
import org.polarsys.capella.core.data.capellacore.CapellacorePackage;
import org.polarsys.capella.core.data.capellacore.impl.CapellacorePackageImpl;
import org.polarsys.capella.core.data.capellamodeller.CapellamodellerPackage;
import org.polarsys.capella.core.data.capellamodeller.impl.CapellamodellerPackageImpl;
import org.polarsys.capella.core.data.cs.CsPackage;
import org.polarsys.capella.core.data.cs.impl.CsPackageImpl;
import org.polarsys.capella.core.data.ctx.CtxPackage;
import org.polarsys.capella.core.data.ctx.impl.CtxPackageImpl;
import org.polarsys.capella.core.data.epbs.EpbsPackage;
import org.polarsys.capella.core.data.epbs.impl.EpbsPackageImpl;
import org.polarsys.capella.core.data.fa.FaPackage;
import org.polarsys.capella.core.data.fa.impl.FaPackageImpl;
import org.polarsys.capella.core.data.information.InformationPackage;
import org.polarsys.capella.core.data.information.communication.CommunicationFactory;
import org.polarsys.capella.core.data.information.communication.CommunicationItem;
import org.polarsys.capella.core.data.information.communication.CommunicationLink;
import org.polarsys.capella.core.data.information.communication.CommunicationLinkExchanger;
import org.polarsys.capella.core.data.information.communication.CommunicationLinkKind;
import org.polarsys.capella.core.data.information.communication.CommunicationLinkProtocol;
import org.polarsys.capella.core.data.information.communication.CommunicationPackage;
import org.polarsys.capella.core.data.information.communication.Message;
import org.polarsys.capella.core.data.information.communication.MessageReference;
import org.polarsys.capella.core.data.information.communication.MessageReferencePkg;
import org.polarsys.capella.core.data.information.communication.Signal;
import org.polarsys.capella.core.data.information.communication.SignalInstance;
import org.polarsys.capella.core.data.information.datatype.DatatypePackage;
import org.polarsys.capella.core.data.information.datatype.impl.DatatypePackageImpl;
import org.polarsys.capella.core.data.information.datavalue.DatavaluePackage;
import org.polarsys.capella.core.data.information.datavalue.impl.DatavaluePackageImpl;
import org.polarsys.capella.core.data.information.impl.InformationPackageImpl;
import org.polarsys.capella.core.data.interaction.InteractionPackage;
import org.polarsys.capella.core.data.interaction.impl.InteractionPackageImpl;
import org.polarsys.capella.core.data.la.LaPackage;
import org.polarsys.capella.core.data.la.impl.LaPackageImpl;
import org.polarsys.capella.core.data.oa.OaPackage;
import org.polarsys.capella.core.data.oa.impl.OaPackageImpl;
import org.polarsys.capella.core.data.pa.PaPackage;
import org.polarsys.capella.core.data.pa.deployment.DeploymentPackage;
import org.polarsys.capella.core.data.pa.deployment.impl.DeploymentPackageImpl;
import org.polarsys.capella.core.data.pa.impl.PaPackageImpl;
import org.polarsys.capella.core.data.sharedmodel.SharedmodelPackage;
import org.polarsys.capella.core.data.sharedmodel.impl.SharedmodelPackageImpl;
import org.polarsys.kitalpha.emde.model.EmdePackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
*
* @generated
*/
public class CommunicationPackageImpl extends EPackageImpl implements CommunicationPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private EClass communicationItemEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private EClass exceptionEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private EClass messageEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private EClass messageReferenceEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private EClass messageReferencePkgEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private EClass signalEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private EClass signalInstanceEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private EClass communicationLinkEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private EClass communicationLinkExchangerEClass = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private EEnum communicationLinkKindEEnum = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private EEnum communicationLinkProtocolEEnum = null;
/**
* Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry
* EPackage.Registry} by the package package URI value.
* <p>
* Note: the correct way to create the package is via the static factory method {@link #init init()}, which also
* performs initialization of the package, or returns the registered package, if one already exists. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.polarsys.capella.core.data.information.communication.CommunicationPackage#eNS_URI
* @see #init()
* @generated
*/
private CommunicationPackageImpl() {
super(eNS_URI, CommunicationFactory.eINSTANCE);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private static boolean isInited = false;
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
*
* <p>
* This method is used to initialize {@link CommunicationPackage#eINSTANCE} when that field is accessed. Clients
* should not invoke it directly. Instead, they should simply access that field to obtain the package. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static CommunicationPackage init() {
if (isInited)
return (CommunicationPackage) EPackage.Registry.INSTANCE.getEPackage(CommunicationPackage.eNS_URI);
// Obtain or create and register package
Object registeredCommunicationPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
CommunicationPackageImpl theCommunicationPackage = registeredCommunicationPackage instanceof CommunicationPackageImpl
? (CommunicationPackageImpl) registeredCommunicationPackage
: new CommunicationPackageImpl();
isInited = true;
// Initialize simple dependencies
ModellingcorePackage.eINSTANCE.eClass();
EmdePackage.eINSTANCE.eClass();
ActivityPackage.eINSTANCE.eClass();
BehaviorPackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
Object registeredPackage = EPackage.Registry.INSTANCE.getEPackage(CapellamodellerPackage.eNS_URI);
CapellamodellerPackageImpl theCapellamodellerPackage = (CapellamodellerPackageImpl) (registeredPackage instanceof CapellamodellerPackageImpl
? registeredPackage
: CapellamodellerPackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(CapellacorePackage.eNS_URI);
CapellacorePackageImpl theCapellacorePackage = (CapellacorePackageImpl) (registeredPackage instanceof CapellacorePackageImpl
? registeredPackage
: CapellacorePackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(OaPackage.eNS_URI);
OaPackageImpl theOaPackage = (OaPackageImpl) (registeredPackage instanceof OaPackageImpl ? registeredPackage
: OaPackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(CtxPackage.eNS_URI);
CtxPackageImpl theCtxPackage = (CtxPackageImpl) (registeredPackage instanceof CtxPackageImpl ? registeredPackage
: CtxPackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(LaPackage.eNS_URI);
LaPackageImpl theLaPackage = (LaPackageImpl) (registeredPackage instanceof LaPackageImpl ? registeredPackage
: LaPackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(PaPackage.eNS_URI);
PaPackageImpl thePaPackage = (PaPackageImpl) (registeredPackage instanceof PaPackageImpl ? registeredPackage
: PaPackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(DeploymentPackage.eNS_URI);
DeploymentPackageImpl theDeploymentPackage = (DeploymentPackageImpl) (registeredPackage instanceof DeploymentPackageImpl
? registeredPackage
: DeploymentPackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(EpbsPackage.eNS_URI);
EpbsPackageImpl theEpbsPackage = (EpbsPackageImpl) (registeredPackage instanceof EpbsPackageImpl ? registeredPackage
: EpbsPackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(SharedmodelPackage.eNS_URI);
SharedmodelPackageImpl theSharedmodelPackage = (SharedmodelPackageImpl) (registeredPackage instanceof SharedmodelPackageImpl
? registeredPackage
: SharedmodelPackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(CapellacommonPackage.eNS_URI);
CapellacommonPackageImpl theCapellacommonPackage = (CapellacommonPackageImpl) (registeredPackage instanceof CapellacommonPackageImpl
? registeredPackage
: CapellacommonPackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(InformationPackage.eNS_URI);
InformationPackageImpl theInformationPackage = (InformationPackageImpl) (registeredPackage instanceof InformationPackageImpl
? registeredPackage
: InformationPackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(DatatypePackage.eNS_URI);
DatatypePackageImpl theDatatypePackage = (DatatypePackageImpl) (registeredPackage instanceof DatatypePackageImpl
? registeredPackage
: DatatypePackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(DatavaluePackage.eNS_URI);
DatavaluePackageImpl theDatavaluePackage = (DatavaluePackageImpl) (registeredPackage instanceof DatavaluePackageImpl
? registeredPackage
: DatavaluePackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(CsPackage.eNS_URI);
CsPackageImpl theCsPackage = (CsPackageImpl) (registeredPackage instanceof CsPackageImpl ? registeredPackage
: CsPackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(FaPackage.eNS_URI);
FaPackageImpl theFaPackage = (FaPackageImpl) (registeredPackage instanceof FaPackageImpl ? registeredPackage
: FaPackage.eINSTANCE);
registeredPackage = EPackage.Registry.INSTANCE.getEPackage(InteractionPackage.eNS_URI);
InteractionPackageImpl theInteractionPackage = (InteractionPackageImpl) (registeredPackage instanceof InteractionPackageImpl
? registeredPackage
: InteractionPackage.eINSTANCE);
// Create package meta-data objects
theCommunicationPackage.createPackageContents();
theCapellamodellerPackage.createPackageContents();
theCapellacorePackage.createPackageContents();
theOaPackage.createPackageContents();
theCtxPackage.createPackageContents();
theLaPackage.createPackageContents();
thePaPackage.createPackageContents();
theDeploymentPackage.createPackageContents();
theEpbsPackage.createPackageContents();
theSharedmodelPackage.createPackageContents();
theCapellacommonPackage.createPackageContents();
theInformationPackage.createPackageContents();
theDatatypePackage.createPackageContents();
theDatavaluePackage.createPackageContents();
theCsPackage.createPackageContents();
theFaPackage.createPackageContents();
theInteractionPackage.createPackageContents();
// Initialize created meta-data
theCommunicationPackage.initializePackageContents();
theCapellamodellerPackage.initializePackageContents();
theCapellacorePackage.initializePackageContents();
theOaPackage.initializePackageContents();
theCtxPackage.initializePackageContents();
theLaPackage.initializePackageContents();
thePaPackage.initializePackageContents();
theDeploymentPackage.initializePackageContents();
theEpbsPackage.initializePackageContents();
theSharedmodelPackage.initializePackageContents();
theCapellacommonPackage.initializePackageContents();
theInformationPackage.initializePackageContents();
theDatatypePackage.initializePackageContents();
theDatavaluePackage.initializePackageContents();
theCsPackage.initializePackageContents();
theFaPackage.initializePackageContents();
theInteractionPackage.initializePackageContents();
// Mark meta-data to indicate it can't be changed
theCommunicationPackage.freeze();
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(CommunicationPackage.eNS_URI, theCommunicationPackage);
return theCommunicationPackage;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EClass getCommunicationItem() {
return communicationItemEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EAttribute getCommunicationItem_Visibility() {
return (EAttribute) communicationItemEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationItem_OwnedStateMachines() {
return (EReference) communicationItemEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationItem_Properties() {
return (EReference) communicationItemEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EClass getException() {
return exceptionEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EClass getMessage() {
return messageEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EClass getMessageReference() {
return messageReferenceEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getMessageReference_Message() {
return (EReference) messageReferenceEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EClass getMessageReferencePkg() {
return messageReferencePkgEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getMessageReferencePkg_OwnedMessageReferences() {
return (EReference) messageReferencePkgEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EClass getSignal() {
return signalEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getSignal_SignalInstances() {
return (EReference) signalEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EClass getSignalInstance() {
return signalInstanceEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EClass getCommunicationLink() {
return communicationLinkEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EAttribute getCommunicationLink_Kind() {
return (EAttribute) communicationLinkEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EAttribute getCommunicationLink_Protocol() {
return (EAttribute) communicationLinkEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationLink_ExchangeItem() {
return (EReference) communicationLinkEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EClass getCommunicationLinkExchanger() {
return communicationLinkExchangerEClass;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationLinkExchanger_OwnedCommunicationLinks() {
return (EReference) communicationLinkExchangerEClass.getEStructuralFeatures().get(0);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationLinkExchanger_Produce() {
return (EReference) communicationLinkExchangerEClass.getEStructuralFeatures().get(1);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationLinkExchanger_Consume() {
return (EReference) communicationLinkExchangerEClass.getEStructuralFeatures().get(2);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationLinkExchanger_Send() {
return (EReference) communicationLinkExchangerEClass.getEStructuralFeatures().get(3);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationLinkExchanger_Receive() {
return (EReference) communicationLinkExchangerEClass.getEStructuralFeatures().get(4);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationLinkExchanger_Call() {
return (EReference) communicationLinkExchangerEClass.getEStructuralFeatures().get(5);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationLinkExchanger_Execute() {
return (EReference) communicationLinkExchangerEClass.getEStructuralFeatures().get(6);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationLinkExchanger_Write() {
return (EReference) communicationLinkExchangerEClass.getEStructuralFeatures().get(7);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationLinkExchanger_Access() {
return (EReference) communicationLinkExchangerEClass.getEStructuralFeatures().get(8);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationLinkExchanger_Acquire() {
return (EReference) communicationLinkExchangerEClass.getEStructuralFeatures().get(9);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EReference getCommunicationLinkExchanger_Transmit() {
return (EReference) communicationLinkExchangerEClass.getEStructuralFeatures().get(10);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EEnum getCommunicationLinkKind() {
return communicationLinkKindEEnum;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public EEnum getCommunicationLinkProtocol() {
return communicationLinkProtocolEEnum;
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public CommunicationFactory getCommunicationFactory() {
return (CommunicationFactory) getEFactoryInstance();
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private boolean isCreated = false;
/**
* Creates the meta-model objects for the package. This method is guarded to have no affect on any invocation but its
* first. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public void createPackageContents() {
if (isCreated)
return;
isCreated = true;
// Create classes and their features
communicationItemEClass = createEClass(COMMUNICATION_ITEM);
createEAttribute(communicationItemEClass, COMMUNICATION_ITEM__VISIBILITY);
createEReference(communicationItemEClass, COMMUNICATION_ITEM__OWNED_STATE_MACHINES);
createEReference(communicationItemEClass, COMMUNICATION_ITEM__PROPERTIES);
exceptionEClass = createEClass(EXCEPTION);
messageEClass = createEClass(MESSAGE);
messageReferenceEClass = createEClass(MESSAGE_REFERENCE);
createEReference(messageReferenceEClass, MESSAGE_REFERENCE__MESSAGE);
messageReferencePkgEClass = createEClass(MESSAGE_REFERENCE_PKG);
createEReference(messageReferencePkgEClass, MESSAGE_REFERENCE_PKG__OWNED_MESSAGE_REFERENCES);
signalEClass = createEClass(SIGNAL);
createEReference(signalEClass, SIGNAL__SIGNAL_INSTANCES);
signalInstanceEClass = createEClass(SIGNAL_INSTANCE);
communicationLinkEClass = createEClass(COMMUNICATION_LINK);
createEAttribute(communicationLinkEClass, COMMUNICATION_LINK__KIND);
createEAttribute(communicationLinkEClass, COMMUNICATION_LINK__PROTOCOL);
createEReference(communicationLinkEClass, COMMUNICATION_LINK__EXCHANGE_ITEM);
communicationLinkExchangerEClass = createEClass(COMMUNICATION_LINK_EXCHANGER);
createEReference(communicationLinkExchangerEClass, COMMUNICATION_LINK_EXCHANGER__OWNED_COMMUNICATION_LINKS);
createEReference(communicationLinkExchangerEClass, COMMUNICATION_LINK_EXCHANGER__PRODUCE);
createEReference(communicationLinkExchangerEClass, COMMUNICATION_LINK_EXCHANGER__CONSUME);
createEReference(communicationLinkExchangerEClass, COMMUNICATION_LINK_EXCHANGER__SEND);
createEReference(communicationLinkExchangerEClass, COMMUNICATION_LINK_EXCHANGER__RECEIVE);
createEReference(communicationLinkExchangerEClass, COMMUNICATION_LINK_EXCHANGER__CALL);
createEReference(communicationLinkExchangerEClass, COMMUNICATION_LINK_EXCHANGER__EXECUTE);
createEReference(communicationLinkExchangerEClass, COMMUNICATION_LINK_EXCHANGER__WRITE);
createEReference(communicationLinkExchangerEClass, COMMUNICATION_LINK_EXCHANGER__ACCESS);
createEReference(communicationLinkExchangerEClass, COMMUNICATION_LINK_EXCHANGER__ACQUIRE);
createEReference(communicationLinkExchangerEClass, COMMUNICATION_LINK_EXCHANGER__TRANSMIT);
// Create enums
communicationLinkKindEEnum = createEEnum(COMMUNICATION_LINK_KIND);
communicationLinkProtocolEEnum = createEEnum(COMMUNICATION_LINK_PROTOCOL);
}
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
private boolean isInitialized = false;
/**
* Complete the initialization of the package and its meta-model. This method is guarded to have no affect on any
* invocation but its first. <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
public void initializePackageContents() {
if (isInitialized)
return;
isInitialized = true;
// Initialize package
setName(eNAME);
setNsPrefix(eNS_PREFIX);
setNsURI(eNS_URI);
// Obtain other dependent packages
CapellacorePackage theCapellacorePackage = (CapellacorePackage) EPackage.Registry.INSTANCE
.getEPackage(CapellacorePackage.eNS_URI);
DatavaluePackage theDatavaluePackage = (DatavaluePackage) EPackage.Registry.INSTANCE
.getEPackage(DatavaluePackage.eNS_URI);
CapellacommonPackage theCapellacommonPackage = (CapellacommonPackage) EPackage.Registry.INSTANCE
.getEPackage(CapellacommonPackage.eNS_URI);
InformationPackage theInformationPackage = (InformationPackage) EPackage.Registry.INSTANCE
.getEPackage(InformationPackage.eNS_URI);
BehaviorPackage theBehaviorPackage = (BehaviorPackage) EPackage.Registry.INSTANCE
.getEPackage(BehaviorPackage.eNS_URI);
// Create type parameters
// Set bounds for type parameters
// Add supertypes to classes
communicationItemEClass.getESuperTypes().add(theCapellacorePackage.getClassifier());
communicationItemEClass.getESuperTypes().add(theDatavaluePackage.getDataValueContainer());
exceptionEClass.getESuperTypes().add(this.getCommunicationItem());
messageEClass.getESuperTypes().add(this.getCommunicationItem());
messageReferenceEClass.getESuperTypes().add(theCapellacorePackage.getRelationship());
messageReferencePkgEClass.getESuperTypes().add(theCapellacorePackage.getStructure());
signalEClass.getESuperTypes().add(this.getCommunicationItem());
signalEClass.getESuperTypes().add(theBehaviorPackage.getAbstractSignal());
signalInstanceEClass.getESuperTypes().add(theInformationPackage.getAbstractInstance());
communicationLinkEClass.getESuperTypes().add(theCapellacorePackage.getCapellaElement());
// Initialize classes and features; add operations and parameters
initEClass(communicationItemEClass, CommunicationItem.class, "CommunicationItem", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$
IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getCommunicationItem_Visibility(), theCapellacorePackage.getVisibilityKind(), "visibility", null, 0, //$NON-NLS-1$
1, CommunicationItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
!IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationItem_OwnedStateMachines(), theCapellacommonPackage.getStateMachine(), null,
"ownedStateMachines", null, 0, -1, CommunicationItem.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$
IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationItem_Properties(), theInformationPackage.getProperty(), null, "properties", null, 0, //$NON-NLS-1$
-1, CommunicationItem.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEClass(exceptionEClass, org.polarsys.capella.core.data.information.communication.Exception.class, "Exception", //$NON-NLS-1$
!IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEClass(messageEClass, Message.class, "Message", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEClass(messageReferenceEClass, MessageReference.class, "MessageReference", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$
IS_GENERATED_INSTANCE_CLASS);
initEReference(getMessageReference_Message(), this.getMessage(), null, "message", null, 1, 1, //$NON-NLS-1$
MessageReference.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(messageReferencePkgEClass, MessageReferencePkg.class, "MessageReferencePkg", IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$
IS_GENERATED_INSTANCE_CLASS);
initEReference(getMessageReferencePkg_OwnedMessageReferences(), this.getMessageReference(), null,
"ownedMessageReferences", null, 0, -1, MessageReferencePkg.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, //$NON-NLS-1$
IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(signalEClass, Signal.class, "Signal", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
initEReference(getSignal_SignalInstances(), this.getSignalInstance(), null, "signalInstances", null, 0, -1, //$NON-NLS-1$
Signal.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE,
IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(signalInstanceEClass, SignalInstance.class, "SignalInstance", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$
IS_GENERATED_INSTANCE_CLASS);
initEClass(communicationLinkEClass, CommunicationLink.class, "CommunicationLink", !IS_ABSTRACT, !IS_INTERFACE, //$NON-NLS-1$
IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getCommunicationLink_Kind(), this.getCommunicationLinkKind(), "kind", null, 0, 1, //$NON-NLS-1$
CommunicationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
!IS_DERIVED, IS_ORDERED);
initEAttribute(getCommunicationLink_Protocol(), this.getCommunicationLinkProtocol(), "protocol", null, 0, 1, //$NON-NLS-1$
CommunicationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE,
!IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationLink_ExchangeItem(), theInformationPackage.getExchangeItem(), null, "exchangeItem", //$NON-NLS-1$
null, 0, 1, CommunicationLink.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE,
IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(communicationLinkExchangerEClass, CommunicationLinkExchanger.class, "CommunicationLinkExchanger", //$NON-NLS-1$
IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getCommunicationLinkExchanger_OwnedCommunicationLinks(), this.getCommunicationLink(), null,
"ownedCommunicationLinks", null, 0, -1, CommunicationLinkExchanger.class, !IS_TRANSIENT, !IS_VOLATILE, //$NON-NLS-1$
IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationLinkExchanger_Produce(), this.getCommunicationLink(), null, "produce", null, 0, -1, //$NON-NLS-1$
CommunicationLinkExchanger.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationLinkExchanger_Consume(), this.getCommunicationLink(), null, "consume", null, 0, -1, //$NON-NLS-1$
CommunicationLinkExchanger.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationLinkExchanger_Send(), this.getCommunicationLink(), null, "send", null, 0, -1, //$NON-NLS-1$
CommunicationLinkExchanger.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationLinkExchanger_Receive(), this.getCommunicationLink(), null, "receive", null, 0, -1, //$NON-NLS-1$
CommunicationLinkExchanger.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationLinkExchanger_Call(), this.getCommunicationLink(), null, "call", null, 0, -1, //$NON-NLS-1$
CommunicationLinkExchanger.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationLinkExchanger_Execute(), this.getCommunicationLink(), null, "execute", null, 0, -1, //$NON-NLS-1$
CommunicationLinkExchanger.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationLinkExchanger_Write(), this.getCommunicationLink(), null, "write", null, 0, -1, //$NON-NLS-1$
CommunicationLinkExchanger.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationLinkExchanger_Access(), this.getCommunicationLink(), null, "access", null, 0, -1, //$NON-NLS-1$
CommunicationLinkExchanger.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationLinkExchanger_Acquire(), this.getCommunicationLink(), null, "acquire", null, 0, -1, //$NON-NLS-1$
CommunicationLinkExchanger.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEReference(getCommunicationLinkExchanger_Transmit(), this.getCommunicationLink(), null, "transmit", null, 0, -1, //$NON-NLS-1$
CommunicationLinkExchanger.class, IS_TRANSIENT, IS_VOLATILE, !IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES,
!IS_UNSETTABLE, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
// Initialize enums and add enum literals
initEEnum(communicationLinkKindEEnum, CommunicationLinkKind.class, "CommunicationLinkKind"); //$NON-NLS-1$
addEEnumLiteral(communicationLinkKindEEnum, CommunicationLinkKind.UNSET);
addEEnumLiteral(communicationLinkKindEEnum, CommunicationLinkKind.PRODUCE);
addEEnumLiteral(communicationLinkKindEEnum, CommunicationLinkKind.CONSUME);
addEEnumLiteral(communicationLinkKindEEnum, CommunicationLinkKind.SEND);
addEEnumLiteral(communicationLinkKindEEnum, CommunicationLinkKind.RECEIVE);
addEEnumLiteral(communicationLinkKindEEnum, CommunicationLinkKind.CALL);
addEEnumLiteral(communicationLinkKindEEnum, CommunicationLinkKind.EXECUTE);
addEEnumLiteral(communicationLinkKindEEnum, CommunicationLinkKind.WRITE);
addEEnumLiteral(communicationLinkKindEEnum, CommunicationLinkKind.ACCESS);
addEEnumLiteral(communicationLinkKindEEnum, CommunicationLinkKind.ACQUIRE);
addEEnumLiteral(communicationLinkKindEEnum, CommunicationLinkKind.TRANSMIT);
initEEnum(communicationLinkProtocolEEnum, CommunicationLinkProtocol.class, "CommunicationLinkProtocol"); //$NON-NLS-1$
addEEnumLiteral(communicationLinkProtocolEEnum, CommunicationLinkProtocol.UNSET);
addEEnumLiteral(communicationLinkProtocolEEnum, CommunicationLinkProtocol.UNICAST);
addEEnumLiteral(communicationLinkProtocolEEnum, CommunicationLinkProtocol.MULTICAST);
addEEnumLiteral(communicationLinkProtocolEEnum, CommunicationLinkProtocol.BROADCAST);
addEEnumLiteral(communicationLinkProtocolEEnum, CommunicationLinkProtocol.SYNCHRONOUS);
addEEnumLiteral(communicationLinkProtocolEEnum, CommunicationLinkProtocol.ASYNCHRONOUS);
addEEnumLiteral(communicationLinkProtocolEEnum, CommunicationLinkProtocol.READ);
addEEnumLiteral(communicationLinkProtocolEEnum, CommunicationLinkProtocol.ACCEPT);
// Create annotations
// http://www.polarsys.org/kitalpha/emde/1.0.0/extension
createExtensionAnnotations();
// http://www.polarsys.org/kitalpha/ecore/documentation
createDocumentationAnnotations();
// http://www.polarsys.org/capella/semantic
createSemanticAnnotations();
// http://www.polarsys.org/capella/2007/BusinessInformation
createBusinessInformationAnnotations();
// http://www.polarsys.org/capella/2007/UML2Mapping
createUML2MappingAnnotations();
// http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping
createMappingAnnotations();
// http://www.polarsys.org/capella/2007/ImpactAnalysis/Segment
createSegmentAnnotations();
// http://www.polarsys.org/capella/derived
createDerivedAnnotations();
// http://www.polarsys.org/capella/2007/ImpactAnalysis/Ignore
createIgnoreAnnotations();
}
/**
* Initializes the annotations for <b>http://www.polarsys.org/kitalpha/ecore/documentation</b>. <!-- begin-user-doc
* --> <!-- end-user-doc -->
*
* @generated
*/
protected void createDocumentationAnnotations() {
String source = "http://www.polarsys.org/kitalpha/ecore/documentation"; //$NON-NLS-1$
addAnnotation(this, source, new String[] { "description", //$NON-NLS-1$
"sub-package containing the elements invovled in communication between elements (messages, signals, ...)\r\n[source: Capella study]", //$NON-NLS-1$
"usage guideline", "none", //$NON-NLS-1$ //$NON-NLS-2$
"used in levels", "system,logical,physical", //$NON-NLS-1$ //$NON-NLS-2$
"usage examples", "none", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none", //$NON-NLS-1$ //$NON-NLS-2$
"reference documentation", "n/a" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(communicationItemEClass, source,
new String[] { "description", //$NON-NLS-1$
"Generic class serving as a common parent for dedicated communication artifacts\r\n[source: Capella study]", //$NON-NLS-1$
"usage guideline", "n/a (Abstract)", //$NON-NLS-1$ //$NON-NLS-2$
"used in levels", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"usage examples", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none", //$NON-NLS-1$ //$NON-NLS-2$
"reference documentation", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(getCommunicationItem_Visibility(), source,
new String[] { "description", "refer to VisibilityKind description\r\n[source: Capella study]", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"type", "refer to VisibilityKind definition\r\n[source: Capella study]", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(getCommunicationItem_OwnedStateMachines(), source, new String[] { "description", //$NON-NLS-1$
"state machines associated to this communication item, as a mean to specify communication protocols\r\n[source: Capella study]", //$NON-NLS-1$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(getCommunicationItem_Properties(), source,
new String[] { "description", "attributes of the communication item\r\n[source: Capella study]", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(exceptionEClass, source, new String[] { "description", //$NON-NLS-1$
"A piece of information raised (typically by an operation) to mention the occurence of an abnormal condition\r\n[source: Capella study]", //$NON-NLS-1$
"usage guideline", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"used in levels", "system,logical,physical", //$NON-NLS-1$ //$NON-NLS-2$
"usage examples", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "not used/implemented as of Capella 1.0.3", //$NON-NLS-1$ //$NON-NLS-2$
"reference documentation", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(messageEClass, source,
new String[] { "description", //$NON-NLS-1$
"A piece of information flowing between two model elements\r\n[source: Capella study]", //$NON-NLS-1$
"usage guideline", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"used in levels", "system,logical,physical", //$NON-NLS-1$ //$NON-NLS-2$
"usage examples", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none", //$NON-NLS-1$ //$NON-NLS-2$
"reference documentation", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(messageReferenceEClass, source,
new String[] { "description", //$NON-NLS-1$
"Implementation class supporting the referencing of a Message element\r\n[source: Capella study]", //$NON-NLS-1$
"usage guideline", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"used in levels", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"usage examples", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none", //$NON-NLS-1$ //$NON-NLS-2$
"reference documentation", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(getMessageReference_Message(), source,
new String[] { "description", "The message being referenced\r\n[source: Capella study]", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(messageReferencePkgEClass, source,
new String[] { "description", "a container for message references elements\r\n[source: Capella study]", //$NON-NLS-1$ //$NON-NLS-2$
"usage guideline", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"used in levels", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"usage examples", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none", //$NON-NLS-1$ //$NON-NLS-2$
"reference documentation", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(getMessageReferencePkg_OwnedMessageReferences(), source,
new String[] { "description", //$NON-NLS-1$
"the list of MessageReference elements contained in this package\r\n[source: Capella study]", //$NON-NLS-1$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(signalEClass, source, new String[] { "description", //$NON-NLS-1$
"A signal is a specification of send request instances communicated between objects. The receiving object handles the\r\nreceived request instances as specified by its receptions. The data carried by a send request (which was passed to it by the\r\nsend invocation occurrence that caused that request) are represented as attributes of the signal. A signal is defined\r\nindependently of the classifiers handling the signal occurrence\r\n[source: UML superstructure v2.2]", //$NON-NLS-1$
"usage guideline", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"used in levels", "system,logical,physical", //$NON-NLS-1$ //$NON-NLS-2$
"usage examples", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none", //$NON-NLS-1$ //$NON-NLS-2$
"reference documentation", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(getSignal_SignalInstances(), source,
new String[] { "description", "list of signal instances associated with this Signal\r\n[source: Capella study]", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(signalInstanceEClass, source,
new String[] { "description", "instance of a Signal element\r\n[source: Capella study]", //$NON-NLS-1$ //$NON-NLS-2$
"usage guideline", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"used in levels", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"usage examples", "n/a", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none", //$NON-NLS-1$ //$NON-NLS-2$
"reference documentation", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(communicationLinkKindEEnum, source,
new String[] { "description", //$NON-NLS-1$
"enumeration listing the various possibilities of communication links\r\n[source: Capella study]", //$NON-NLS-1$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$
"comment/notes", "none" //$NON-NLS-1$ //$NON-NLS-2$
});
addAnnotation(communicationLinkKindEEnum.getELiterals().get(0), source,
new String[] { "description", "used when the CommunicationLink protocol is not yet set", //$NON-NLS-1$ //$NON-NLS-2$
"constraints", "none", //$NON-NLS-1$ //$NON-NLS-2$