1
2
3
4
5 package org.andromda.cartridges.spring.metafacades;
6
7 import java.util.Collection;
8 import org.andromda.core.common.Introspector;
9 import org.andromda.core.metafacade.MetafacadeBase;
10 import org.andromda.core.metafacade.MetafacadeFactory;
11 import org.andromda.core.metafacade.ModelValidationMessage;
12 import org.andromda.metafacades.uml.ClassifierFacade;
13 import org.andromda.metafacades.uml.ConstraintFacade;
14 import org.andromda.metafacades.uml.DependencyFacade;
15 import org.andromda.metafacades.uml.Destination;
16 import org.andromda.metafacades.uml.ModelElementFacade;
17 import org.andromda.metafacades.uml.ModelFacade;
18 import org.andromda.metafacades.uml.OperationFacade;
19 import org.andromda.metafacades.uml.PackageFacade;
20 import org.andromda.metafacades.uml.ParameterFacade;
21 import org.andromda.metafacades.uml.Role;
22 import org.andromda.metafacades.uml.Service;
23 import org.andromda.metafacades.uml.ServiceOperation;
24 import org.andromda.metafacades.uml.StateMachineFacade;
25 import org.andromda.metafacades.uml.StereotypeFacade;
26 import org.andromda.metafacades.uml.TaggedValueFacade;
27 import org.andromda.metafacades.uml.TemplateParameterFacade;
28 import org.andromda.metafacades.uml.TypeMappings;
29
30
31
32
33
34
35
36 public abstract class SpringServiceOperationLogic
37 extends MetafacadeBase
38 implements SpringServiceOperation
39 {
40
41
42
43
44 protected Object metaObject;
45
46
47
48
49
50 protected SpringServiceOperationLogic(Object metaObjectIn, String context)
51 {
52 super(metaObjectIn, getContext(context));
53 this.superServiceOperation =
54 (ServiceOperation)
55 MetafacadeFactory.getInstance().createFacadeImpl(
56 "org.andromda.metafacades.uml.ServiceOperation",
57 metaObjectIn,
58 getContext(context));
59 this.metaObject = metaObjectIn;
60 }
61
62
63
64
65
66
67 private static String getContext(String context)
68 {
69 if (context == null)
70 {
71 context = "org.andromda.cartridges.spring.metafacades.SpringServiceOperation";
72 }
73 return context;
74 }
75
76 private ServiceOperation superServiceOperation;
77 private boolean superServiceOperationInitialized = false;
78
79
80
81
82
83 private ServiceOperation getSuperServiceOperation()
84 {
85 if (!this.superServiceOperationInitialized)
86 {
87 ((MetafacadeBase)this.superServiceOperation).setMetafacadeContext(this.getMetafacadeContext());
88 this.superServiceOperationInitialized = true;
89 }
90 return this.superServiceOperation;
91 }
92
93
94
95
96
97 @Override
98 public void resetMetafacadeContext(String context)
99 {
100 if (!this.contextRoot)
101 {
102 context = getContext(context);
103 setMetafacadeContext (context);
104 if (this.superServiceOperationInitialized)
105 {
106 ((MetafacadeBase)this.superServiceOperation).resetMetafacadeContext(context);
107 }
108 }
109 }
110
111
112
113
114
115 public boolean isSpringServiceOperationMetaType()
116 {
117 return true;
118 }
119
120
121
122
123
124
125
126 protected abstract boolean handleIsWebserviceExposed();
127
128 private boolean __webserviceExposed1a;
129 private boolean __webserviceExposed1aSet = false;
130
131
132
133
134
135
136 public final boolean isWebserviceExposed()
137 {
138 boolean webserviceExposed1a = this.__webserviceExposed1a;
139 if (!this.__webserviceExposed1aSet)
140 {
141
142 webserviceExposed1a = handleIsWebserviceExposed();
143
144 this.__webserviceExposed1a = webserviceExposed1a;
145 if (isMetafacadePropertyCachingEnabled())
146 {
147 this.__webserviceExposed1aSet = true;
148 }
149 }
150 return webserviceExposed1a;
151 }
152
153
154
155
156
157 protected abstract String handleGetImplementationName();
158
159 private String __implementationName2a;
160 private boolean __implementationName2aSet = false;
161
162
163
164
165
166 public final String getImplementationName()
167 {
168 String implementationName2a = this.__implementationName2a;
169 if (!this.__implementationName2aSet)
170 {
171
172 implementationName2a = handleGetImplementationName();
173
174 this.__implementationName2a = implementationName2a;
175 if (isMetafacadePropertyCachingEnabled())
176 {
177 this.__implementationName2aSet = true;
178 }
179 }
180 return implementationName2a;
181 }
182
183
184
185
186
187 protected abstract String handleGetImplementationSignature();
188
189 private String __implementationSignature3a;
190 private boolean __implementationSignature3aSet = false;
191
192
193
194
195
196 public final String getImplementationSignature()
197 {
198 String implementationSignature3a = this.__implementationSignature3a;
199 if (!this.__implementationSignature3aSet)
200 {
201
202 implementationSignature3a = handleGetImplementationSignature();
203
204 this.__implementationSignature3a = implementationSignature3a;
205 if (isMetafacadePropertyCachingEnabled())
206 {
207 this.__implementationSignature3aSet = true;
208 }
209 }
210 return implementationSignature3a;
211 }
212
213
214
215
216
217 protected abstract String handleGetImplementationCall();
218
219 private String __implementationCall4a;
220 private boolean __implementationCall4aSet = false;
221
222
223
224
225
226 public final String getImplementationCall()
227 {
228 String implementationCall4a = this.__implementationCall4a;
229 if (!this.__implementationCall4aSet)
230 {
231
232 implementationCall4a = handleGetImplementationCall();
233
234 this.__implementationCall4a = implementationCall4a;
235 if (isMetafacadePropertyCachingEnabled())
236 {
237 this.__implementationCall4aSet = true;
238 }
239 }
240 return implementationCall4a;
241 }
242
243
244
245
246
247 protected abstract String handleGetEjbTransactionType();
248
249 private String __ejbTransactionType5a;
250 private boolean __ejbTransactionType5aSet = false;
251
252
253
254
255
256
257 public final String getEjbTransactionType()
258 {
259 String ejbTransactionType5a = this.__ejbTransactionType5a;
260 if (!this.__ejbTransactionType5aSet)
261 {
262
263 ejbTransactionType5a = handleGetEjbTransactionType();
264
265 this.__ejbTransactionType5a = ejbTransactionType5a;
266 if (isMetafacadePropertyCachingEnabled())
267 {
268 this.__ejbTransactionType5aSet = true;
269 }
270 }
271 return ejbTransactionType5a;
272 }
273
274
275
276
277
278 protected abstract String handleGetTransactionType();
279
280 private String __transactionType6a;
281 private boolean __transactionType6aSet = false;
282
283
284
285
286
287 public final String getTransactionType()
288 {
289 String transactionType6a = this.__transactionType6a;
290 if (!this.__transactionType6aSet)
291 {
292
293 transactionType6a = handleGetTransactionType();
294
295 this.__transactionType6a = transactionType6a;
296 if (isMetafacadePropertyCachingEnabled())
297 {
298 this.__transactionType6aSet = true;
299 }
300 }
301 return transactionType6a;
302 }
303
304
305
306
307
308 protected abstract String handleGetThrowsClause();
309
310 private String __throwsClause7a;
311 private boolean __throwsClause7aSet = false;
312
313
314
315
316
317 public final String getThrowsClause()
318 {
319 String throwsClause7a = this.__throwsClause7a;
320 if (!this.__throwsClause7aSet)
321 {
322
323 throwsClause7a = handleGetThrowsClause();
324
325 this.__throwsClause7a = throwsClause7a;
326 if (isMetafacadePropertyCachingEnabled())
327 {
328 this.__throwsClause7aSet = true;
329 }
330 }
331 return throwsClause7a;
332 }
333
334
335
336
337
338 protected abstract String handleGetOutgoingMessageImplementationCall();
339
340 private String __outgoingMessageImplementationCall8a;
341 private boolean __outgoingMessageImplementationCall8aSet = false;
342
343
344
345
346
347 public final String getOutgoingMessageImplementationCall()
348 {
349 String outgoingMessageImplementationCall8a = this.__outgoingMessageImplementationCall8a;
350 if (!this.__outgoingMessageImplementationCall8aSet)
351 {
352
353 outgoingMessageImplementationCall8a = handleGetOutgoingMessageImplementationCall();
354
355 this.__outgoingMessageImplementationCall8a = outgoingMessageImplementationCall8a;
356 if (isMetafacadePropertyCachingEnabled())
357 {
358 this.__outgoingMessageImplementationCall8aSet = true;
359 }
360 }
361 return outgoingMessageImplementationCall8a;
362 }
363
364
365
366
367
368 protected abstract String handleGetOutgoingMessageImplementationSignature();
369
370 private String __outgoingMessageImplementationSignature9a;
371 private boolean __outgoingMessageImplementationSignature9aSet = false;
372
373
374
375
376
377 public final String getOutgoingMessageImplementationSignature()
378 {
379 String outgoingMessageImplementationSignature9a = this.__outgoingMessageImplementationSignature9a;
380 if (!this.__outgoingMessageImplementationSignature9aSet)
381 {
382
383 outgoingMessageImplementationSignature9a = handleGetOutgoingMessageImplementationSignature();
384
385 this.__outgoingMessageImplementationSignature9a = outgoingMessageImplementationSignature9a;
386 if (isMetafacadePropertyCachingEnabled())
387 {
388 this.__outgoingMessageImplementationSignature9aSet = true;
389 }
390 }
391 return outgoingMessageImplementationSignature9a;
392 }
393
394
395
396
397
398 protected abstract String handleGetIncomingMessageImplementationSignature();
399
400 private String __incomingMessageImplementationSignature10a;
401 private boolean __incomingMessageImplementationSignature10aSet = false;
402
403
404
405
406
407 public final String getIncomingMessageImplementationSignature()
408 {
409 String incomingMessageImplementationSignature10a = this.__incomingMessageImplementationSignature10a;
410 if (!this.__incomingMessageImplementationSignature10aSet)
411 {
412
413 incomingMessageImplementationSignature10a = handleGetIncomingMessageImplementationSignature();
414
415 this.__incomingMessageImplementationSignature10a = incomingMessageImplementationSignature10a;
416 if (isMetafacadePropertyCachingEnabled())
417 {
418 this.__incomingMessageImplementationSignature10aSet = true;
419 }
420 }
421 return incomingMessageImplementationSignature10a;
422 }
423
424
425
426
427
428 protected abstract String handleGetIncomingMessageImplementationCall();
429
430 private String __incomingMessageImplementationCall11a;
431 private boolean __incomingMessageImplementationCall11aSet = false;
432
433
434
435
436
437 public final String getIncomingMessageImplementationCall()
438 {
439 String incomingMessageImplementationCall11a = this.__incomingMessageImplementationCall11a;
440 if (!this.__incomingMessageImplementationCall11aSet)
441 {
442
443 incomingMessageImplementationCall11a = handleGetIncomingMessageImplementationCall();
444
445 this.__incomingMessageImplementationCall11a = incomingMessageImplementationCall11a;
446 if (isMetafacadePropertyCachingEnabled())
447 {
448 this.__incomingMessageImplementationCall11aSet = true;
449 }
450 }
451 return incomingMessageImplementationCall11a;
452 }
453
454
455
456
457
458 protected abstract String handleGetImplementationReturnTypeName();
459
460 private String __implementationReturnTypeName12a;
461 private boolean __implementationReturnTypeName12aSet = false;
462
463
464
465
466
467 public final String getImplementationReturnTypeName()
468 {
469 String implementationReturnTypeName12a = this.__implementationReturnTypeName12a;
470 if (!this.__implementationReturnTypeName12aSet)
471 {
472
473 implementationReturnTypeName12a = handleGetImplementationReturnTypeName();
474
475 this.__implementationReturnTypeName12a = implementationReturnTypeName12a;
476 if (isMetafacadePropertyCachingEnabled())
477 {
478 this.__implementationReturnTypeName12aSet = true;
479 }
480 }
481 return implementationReturnTypeName12a;
482 }
483
484
485
486
487
488 protected abstract String handleGetMessageListenerName();
489
490 private String __messageListenerName13a;
491 private boolean __messageListenerName13aSet = false;
492
493
494
495
496
497 public final String getMessageListenerName()
498 {
499 String messageListenerName13a = this.__messageListenerName13a;
500 if (!this.__messageListenerName13aSet)
501 {
502
503 messageListenerName13a = handleGetMessageListenerName();
504
505 this.__messageListenerName13a = messageListenerName13a;
506 if (isMetafacadePropertyCachingEnabled())
507 {
508 this.__messageListenerName13aSet = true;
509 }
510 }
511 return messageListenerName13a;
512 }
513
514
515
516
517
518 protected abstract String handleGetFullyQualifiedMessageListenerName();
519
520 private String __fullyQualifiedMessageListenerName14a;
521 private boolean __fullyQualifiedMessageListenerName14aSet = false;
522
523
524
525
526
527 public final String getFullyQualifiedMessageListenerName()
528 {
529 String fullyQualifiedMessageListenerName14a = this.__fullyQualifiedMessageListenerName14a;
530 if (!this.__fullyQualifiedMessageListenerName14aSet)
531 {
532
533 fullyQualifiedMessageListenerName14a = handleGetFullyQualifiedMessageListenerName();
534
535 this.__fullyQualifiedMessageListenerName14a = fullyQualifiedMessageListenerName14a;
536 if (isMetafacadePropertyCachingEnabled())
537 {
538 this.__fullyQualifiedMessageListenerName14aSet = true;
539 }
540 }
541 return fullyQualifiedMessageListenerName14a;
542 }
543
544
545
546
547
548 protected abstract String handleGetMessageListenerBeanName();
549
550 private String __messageListenerBeanName15a;
551 private boolean __messageListenerBeanName15aSet = false;
552
553
554
555
556
557 public final String getMessageListenerBeanName()
558 {
559 String messageListenerBeanName15a = this.__messageListenerBeanName15a;
560 if (!this.__messageListenerBeanName15aSet)
561 {
562
563 messageListenerBeanName15a = handleGetMessageListenerBeanName();
564
565 this.__messageListenerBeanName15a = messageListenerBeanName15a;
566 if (isMetafacadePropertyCachingEnabled())
567 {
568 this.__messageListenerBeanName15aSet = true;
569 }
570 }
571 return messageListenerBeanName15a;
572 }
573
574
575
576
577
578 protected abstract String handleGetMessageListenerContainerReferenceName();
579
580 private String __messageListenerContainerReferenceName16a;
581 private boolean __messageListenerContainerReferenceName16aSet = false;
582
583
584
585
586
587 public final String getMessageListenerContainerReferenceName()
588 {
589 String messageListenerContainerReferenceName16a = this.__messageListenerContainerReferenceName16a;
590 if (!this.__messageListenerContainerReferenceName16aSet)
591 {
592
593 messageListenerContainerReferenceName16a = handleGetMessageListenerContainerReferenceName();
594
595 this.__messageListenerContainerReferenceName16a = messageListenerContainerReferenceName16a;
596 if (isMetafacadePropertyCachingEnabled())
597 {
598 this.__messageListenerContainerReferenceName16aSet = true;
599 }
600 }
601 return messageListenerContainerReferenceName16a;
602 }
603
604
605
606
607
608 protected abstract String handleGetMessageListenerContainerBeanName();
609
610 private String __messageListenerContainerBeanName17a;
611 private boolean __messageListenerContainerBeanName17aSet = false;
612
613
614
615
616
617 public final String getMessageListenerContainerBeanName()
618 {
619 String messageListenerContainerBeanName17a = this.__messageListenerContainerBeanName17a;
620 if (!this.__messageListenerContainerBeanName17aSet)
621 {
622
623 messageListenerContainerBeanName17a = handleGetMessageListenerContainerBeanName();
624
625 this.__messageListenerContainerBeanName17a = messageListenerContainerBeanName17a;
626 if (isMetafacadePropertyCachingEnabled())
627 {
628 this.__messageListenerContainerBeanName17aSet = true;
629 }
630 }
631 return messageListenerContainerBeanName17a;
632 }
633
634
635
636
637
638 protected abstract boolean handleIsOptimizeAcknowledge();
639
640 private boolean __optimizeAcknowledge18a;
641 private boolean __optimizeAcknowledge18aSet = false;
642
643
644
645
646
647
648 public final boolean isOptimizeAcknowledge()
649 {
650 boolean optimizeAcknowledge18a = this.__optimizeAcknowledge18a;
651 if (!this.__optimizeAcknowledge18aSet)
652 {
653
654 optimizeAcknowledge18a = handleIsOptimizeAcknowledge();
655
656 this.__optimizeAcknowledge18a = optimizeAcknowledge18a;
657 if (isMetafacadePropertyCachingEnabled())
658 {
659 this.__optimizeAcknowledge18aSet = true;
660 }
661 }
662 return optimizeAcknowledge18a;
663 }
664
665
666
667
668
669 protected abstract String handleGetSessionAcknowledgeMode();
670
671 private String __sessionAcknowledgeMode19a;
672 private boolean __sessionAcknowledgeMode19aSet = false;
673
674
675
676
677
678
679 public final String getSessionAcknowledgeMode()
680 {
681 String sessionAcknowledgeMode19a = this.__sessionAcknowledgeMode19a;
682 if (!this.__sessionAcknowledgeMode19aSet)
683 {
684
685 sessionAcknowledgeMode19a = handleGetSessionAcknowledgeMode();
686
687 this.__sessionAcknowledgeMode19a = sessionAcknowledgeMode19a;
688 if (isMetafacadePropertyCachingEnabled())
689 {
690 this.__sessionAcknowledgeMode19aSet = true;
691 }
692 }
693 return sessionAcknowledgeMode19a;
694 }
695
696
697
698
699
700 protected abstract boolean handleIsNullMessageConverterRequired();
701
702 private boolean __nullMessageConverterRequired20a;
703 private boolean __nullMessageConverterRequired20aSet = false;
704
705
706
707
708
709
710 public final boolean isNullMessageConverterRequired()
711 {
712 boolean nullMessageConverterRequired20a = this.__nullMessageConverterRequired20a;
713 if (!this.__nullMessageConverterRequired20aSet)
714 {
715
716 nullMessageConverterRequired20a = handleIsNullMessageConverterRequired();
717
718 this.__nullMessageConverterRequired20a = nullMessageConverterRequired20a;
719 if (isMetafacadePropertyCachingEnabled())
720 {
721 this.__nullMessageConverterRequired20aSet = true;
722 }
723 }
724 return nullMessageConverterRequired20a;
725 }
726
727
728
729
730
731 protected abstract boolean handleIsInitMethod();
732
733 private boolean __initMethod21a;
734 private boolean __initMethod21aSet = false;
735
736
737
738
739
740
741 public final boolean isInitMethod()
742 {
743 boolean initMethod21a = this.__initMethod21a;
744 if (!this.__initMethod21aSet)
745 {
746
747 initMethod21a = handleIsInitMethod();
748
749 this.__initMethod21a = initMethod21a;
750 if (isMetafacadePropertyCachingEnabled())
751 {
752 this.__initMethod21aSet = true;
753 }
754 }
755 return initMethod21a;
756 }
757
758
759
760
761
762 protected abstract boolean handleIsDestroyMethod();
763
764 private boolean __destroyMethod22a;
765 private boolean __destroyMethod22aSet = false;
766
767
768
769
770
771
772 public final boolean isDestroyMethod()
773 {
774 boolean destroyMethod22a = this.__destroyMethod22a;
775 if (!this.__destroyMethod22aSet)
776 {
777
778 destroyMethod22a = handleIsDestroyMethod();
779
780 this.__destroyMethod22a = destroyMethod22a;
781 if (isMetafacadePropertyCachingEnabled())
782 {
783 this.__destroyMethod22aSet = true;
784 }
785 }
786 return destroyMethod22a;
787 }
788
789
790
791
792
793
794
795
796
797
798 protected abstract String handleGetThrowsClause(String initialExceptions);
799
800
801
802
803
804
805
806
807 public String getThrowsClause(String initialExceptions)
808 {
809
810 String returnValue = handleGetThrowsClause(initialExceptions);
811
812 return returnValue;
813 }
814
815
816
817
818
819
820
821 public boolean isServiceOperationMetaType()
822 {
823 return true;
824 }
825
826
827
828
829
830 public boolean isOperationFacadeMetaType()
831 {
832 return true;
833 }
834
835
836
837
838
839 public boolean isModelElementFacadeMetaType()
840 {
841 return true;
842 }
843
844
845
846
847
848
849 public void copyTaggedValues(ModelElementFacade element)
850 {
851 this.getSuperServiceOperation().copyTaggedValues(element);
852 }
853
854
855
856
857
858
859 public Object findTaggedValue(String tagName)
860 {
861 return this.getSuperServiceOperation().findTaggedValue(tagName);
862 }
863
864
865
866
867
868
869 public Collection<Object> findTaggedValues(String tagName)
870 {
871 return this.getSuperServiceOperation().findTaggedValues(tagName);
872 }
873
874
875
876
877
878
879
880 public String getBindedFullyQualifiedName(ModelElementFacade bindedElement)
881 {
882 return this.getSuperServiceOperation().getBindedFullyQualifiedName(bindedElement);
883 }
884
885
886
887
888
889 public Collection<ConstraintFacade> getConstraints()
890 {
891 return this.getSuperServiceOperation().getConstraints();
892 }
893
894
895
896
897
898
899 public Collection<ConstraintFacade> getConstraints(String kind)
900 {
901 return this.getSuperServiceOperation().getConstraints(kind);
902 }
903
904
905
906
907
908
909
910 public String getDocumentation(String indent)
911 {
912 return this.getSuperServiceOperation().getDocumentation(indent);
913 }
914
915
916
917
918
919
920
921
922 public String getDocumentation(String indent, int lineLength)
923 {
924 return this.getSuperServiceOperation().getDocumentation(indent, lineLength);
925 }
926
927
928
929
930
931
932
933 public String getDocumentation(String indent, int lineLength, boolean htmlStyle)
934 {
935 return this.getSuperServiceOperation().getDocumentation(indent, lineLength, htmlStyle);
936 }
937
938
939
940
941
942 public String getFullyQualifiedName()
943 {
944 return this.getSuperServiceOperation().getFullyQualifiedName();
945 }
946
947
948
949
950
951
952
953
954 public String getFullyQualifiedName(boolean modelName)
955 {
956 return this.getSuperServiceOperation().getFullyQualifiedName(modelName);
957 }
958
959
960
961
962
963
964 public String getFullyQualifiedNamePath()
965 {
966 return this.getSuperServiceOperation().getFullyQualifiedNamePath();
967 }
968
969
970
971
972
973 public String getId()
974 {
975 return this.getSuperServiceOperation().getId();
976 }
977
978
979
980
981
982
983
984
985
986 public Collection<String> getKeywords()
987 {
988 return this.getSuperServiceOperation().getKeywords();
989 }
990
991
992
993
994
995 public String getLabel()
996 {
997 return this.getSuperServiceOperation().getLabel();
998 }
999
1000
1001
1002
1003
1004 public TypeMappings getLanguageMappings()
1005 {
1006 return this.getSuperServiceOperation().getLanguageMappings();
1007 }
1008
1009
1010
1011
1012
1013
1014 public ModelFacade getModel()
1015 {
1016 return this.getSuperServiceOperation().getModel();
1017 }
1018
1019
1020
1021
1022
1023 public String getName()
1024 {
1025 return this.getSuperServiceOperation().getName();
1026 }
1027
1028
1029
1030
1031
1032 public ModelElementFacade getPackage()
1033 {
1034 return this.getSuperServiceOperation().getPackage();
1035 }
1036
1037
1038
1039
1040
1041 public String getPackageName()
1042 {
1043 return this.getSuperServiceOperation().getPackageName();
1044 }
1045
1046
1047
1048
1049
1050
1051 public String getPackageName(boolean modelName)
1052 {
1053 return this.getSuperServiceOperation().getPackageName(modelName);
1054 }
1055
1056
1057
1058
1059
1060 public String getPackagePath()
1061 {
1062 return this.getSuperServiceOperation().getPackagePath();
1063 }
1064
1065
1066
1067
1068
1069
1070
1071
1072 public String getQualifiedName()
1073 {
1074 return this.getSuperServiceOperation().getQualifiedName();
1075 }
1076
1077
1078
1079
1080
1081 public PackageFacade getRootPackage()
1082 {
1083 return this.getSuperServiceOperation().getRootPackage();
1084 }
1085
1086
1087
1088
1089
1090 public Collection<DependencyFacade> getSourceDependencies()
1091 {
1092 return this.getSuperServiceOperation().getSourceDependencies();
1093 }
1094
1095
1096
1097
1098
1099
1100 public StateMachineFacade getStateMachineContext()
1101 {
1102 return this.getSuperServiceOperation().getStateMachineContext();
1103 }
1104
1105
1106
1107
1108
1109 public Collection<String> getStereotypeNames()
1110 {
1111 return this.getSuperServiceOperation().getStereotypeNames();
1112 }
1113
1114
1115
1116
1117
1118 public Collection<StereotypeFacade> getStereotypes()
1119 {
1120 return this.getSuperServiceOperation().getStereotypes();
1121 }
1122
1123
1124
1125
1126
1127 public Collection<TaggedValueFacade> getTaggedValues()
1128 {
1129 return this.getSuperServiceOperation().getTaggedValues();
1130 }
1131
1132
1133
1134
1135
1136 public Collection<DependencyFacade> getTargetDependencies()
1137 {
1138 return this.getSuperServiceOperation().getTargetDependencies();
1139 }
1140
1141
1142
1143
1144
1145 public Object getTemplateParameter(String parameterName)
1146 {
1147 return this.getSuperServiceOperation().getTemplateParameter(parameterName);
1148 }
1149
1150
1151
1152
1153
1154 public Collection<TemplateParameterFacade> getTemplateParameters()
1155 {
1156 return this.getSuperServiceOperation().getTemplateParameters();
1157 }
1158
1159
1160
1161
1162
1163
1164 public String getVisibility()
1165 {
1166 return this.getSuperServiceOperation().getVisibility();
1167 }
1168
1169
1170
1171
1172
1173
1174 public boolean hasExactStereotype(String stereotypeName)
1175 {
1176 return this.getSuperServiceOperation().hasExactStereotype(stereotypeName);
1177 }
1178
1179
1180
1181
1182
1183
1184 public boolean hasKeyword(String keywordName)
1185 {
1186 return this.getSuperServiceOperation().hasKeyword(keywordName);
1187 }
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201 public boolean hasStereotype(String stereotypeName)
1202 {
1203 return this.getSuperServiceOperation().hasStereotype(stereotypeName);
1204 }
1205
1206
1207
1208
1209
1210
1211 public boolean isBindingDependenciesPresent()
1212 {
1213 return this.getSuperServiceOperation().isBindingDependenciesPresent();
1214 }
1215
1216
1217
1218
1219
1220 public boolean isConstraintsPresent()
1221 {
1222 return this.getSuperServiceOperation().isConstraintsPresent();
1223 }
1224
1225
1226
1227
1228
1229 public boolean isDocumentationPresent()
1230 {
1231 return this.getSuperServiceOperation().isDocumentationPresent();
1232 }
1233
1234
1235
1236
1237
1238 public boolean isReservedWord()
1239 {
1240 return this.getSuperServiceOperation().isReservedWord();
1241 }
1242
1243
1244
1245
1246
1247
1248 public boolean isTemplateParametersPresent()
1249 {
1250 return this.getSuperServiceOperation().isTemplateParametersPresent();
1251 }
1252
1253
1254
1255
1256
1257
1258
1259 public boolean isValidIdentifierName()
1260 {
1261 return this.getSuperServiceOperation().isValidIdentifierName();
1262 }
1263
1264
1265
1266
1267
1268
1269
1270 public String translateConstraint(String name, String translation)
1271 {
1272 return this.getSuperServiceOperation().translateConstraint(name, translation);
1273 }
1274
1275
1276
1277
1278
1279 public String[] translateConstraints(String translation)
1280 {
1281 return this.getSuperServiceOperation().translateConstraints(translation);
1282 }
1283
1284
1285
1286
1287
1288 public String[] translateConstraints(String kind, String translation)
1289 {
1290 return this.getSuperServiceOperation().translateConstraints(kind, translation);
1291 }
1292
1293
1294
1295
1296
1297
1298 public ParameterFacade findParameter(String name)
1299 {
1300 return this.getSuperServiceOperation().findParameter(name);
1301 }
1302
1303
1304
1305
1306
1307
1308
1309 public Object findTaggedValue(String name, boolean follow)
1310 {
1311 return this.getSuperServiceOperation().findTaggedValue(name, follow);
1312 }
1313
1314
1315
1316
1317
1318 public String getArgumentNames()
1319 {
1320 return this.getSuperServiceOperation().getArgumentNames();
1321 }
1322
1323
1324
1325
1326
1327 public String getArgumentTypeNames()
1328 {
1329 return this.getSuperServiceOperation().getArgumentTypeNames();
1330 }
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340 public Collection<ParameterFacade> getArguments()
1341 {
1342 return this.getSuperServiceOperation().getArguments();
1343 }
1344
1345
1346
1347
1348
1349 public String getCall()
1350 {
1351 return this.getSuperServiceOperation().getCall();
1352 }
1353
1354
1355
1356
1357
1358
1359
1360 public String getConcurrency()
1361 {
1362 return this.getSuperServiceOperation().getConcurrency();
1363 }
1364
1365
1366
1367
1368
1369
1370 public String getExceptionList()
1371 {
1372 return this.getSuperServiceOperation().getExceptionList();
1373 }
1374
1375
1376
1377
1378
1379
1380 public String getExceptionList(String initialExceptions)
1381 {
1382 return this.getSuperServiceOperation().getExceptionList(initialExceptions);
1383 }
1384
1385
1386
1387
1388
1389 public Collection<ModelElementFacade> getExceptions()
1390 {
1391 return this.getSuperServiceOperation().getExceptions();
1392 }
1393
1394
1395
1396
1397
1398 public String getGetterSetterReturnTypeName()
1399 {
1400 return this.getSuperServiceOperation().getGetterSetterReturnTypeName();
1401 }
1402
1403
1404
1405
1406
1407
1408 public int getLower()
1409 {
1410 return this.getSuperServiceOperation().getLower();
1411 }
1412
1413
1414
1415
1416
1417 public String getMethodBody()
1418 {
1419 return this.getSuperServiceOperation().getMethodBody();
1420 }
1421
1422
1423
1424
1425
1426 public OperationFacade getOverriddenOperation()
1427 {
1428 return this.getSuperServiceOperation().getOverriddenOperation();
1429 }
1430
1431
1432
1433
1434
1435 public ClassifierFacade getOwner()
1436 {
1437 return this.getSuperServiceOperation().getOwner();
1438 }
1439
1440
1441
1442
1443
1444 public Collection<ParameterFacade> getParameters()
1445 {
1446 return this.getSuperServiceOperation().getParameters();
1447 }
1448
1449
1450
1451
1452
1453 public String getPostconditionName()
1454 {
1455 return this.getSuperServiceOperation().getPostconditionName();
1456 }
1457
1458
1459
1460
1461
1462 public Collection<ConstraintFacade> getPostconditions()
1463 {
1464 return this.getSuperServiceOperation().getPostconditions();
1465 }
1466
1467
1468
1469
1470
1471 public String getPreconditionCall()
1472 {
1473 return this.getSuperServiceOperation().getPreconditionCall();
1474 }
1475
1476
1477
1478
1479
1480 public String getPreconditionName()
1481 {
1482 return this.getSuperServiceOperation().getPreconditionName();
1483 }
1484
1485
1486
1487
1488
1489 public String getPreconditionSignature()
1490 {
1491 return this.getSuperServiceOperation().getPreconditionSignature();
1492 }
1493
1494
1495
1496
1497
1498 public Collection<ConstraintFacade> getPreconditions()
1499 {
1500 return this.getSuperServiceOperation().getPreconditions();
1501 }
1502
1503
1504
1505
1506
1507 public ParameterFacade getReturnParameter()
1508 {
1509 return this.getSuperServiceOperation().getReturnParameter();
1510 }
1511
1512
1513
1514
1515
1516 public ClassifierFacade getReturnType()
1517 {
1518 return this.getSuperServiceOperation().getReturnType();
1519 }
1520
1521
1522
1523
1524
1525
1526 public String getSignature()
1527 {
1528 return this.getSuperServiceOperation().getSignature();
1529 }
1530
1531
1532
1533
1534
1535
1536
1537 public String getSignature(boolean withArgumentNames)
1538 {
1539 return this.getSuperServiceOperation().getSignature(withArgumentNames);
1540 }
1541
1542
1543
1544
1545
1546
1547 public String getSignature(String argumentModifier)
1548 {
1549 return this.getSuperServiceOperation().getSignature(argumentModifier);
1550 }
1551
1552
1553
1554
1555
1556 public String getTypedArgumentList()
1557 {
1558 return this.getSuperServiceOperation().getTypedArgumentList();
1559 }
1560
1561
1562
1563
1564
1565
1566 public String getTypedArgumentList(String modifier)
1567 {
1568 return this.getSuperServiceOperation().getTypedArgumentList(modifier);
1569 }
1570
1571
1572
1573
1574
1575
1576 public int getUpper()
1577 {
1578 return this.getSuperServiceOperation().getUpper();
1579 }
1580
1581
1582
1583
1584
1585 public boolean isAbstract()
1586 {
1587 return this.getSuperServiceOperation().isAbstract();
1588 }
1589
1590
1591
1592
1593
1594 public boolean isExceptionsPresent()
1595 {
1596 return this.getSuperServiceOperation().isExceptionsPresent();
1597 }
1598
1599
1600
1601
1602
1603
1604 public boolean isLeaf()
1605 {
1606 return this.getSuperServiceOperation().isLeaf();
1607 }
1608
1609
1610
1611
1612
1613
1614 public boolean isMany()
1615 {
1616 return this.getSuperServiceOperation().isMany();
1617 }
1618
1619
1620
1621
1622
1623
1624 public boolean isOrdered()
1625 {
1626 return this.getSuperServiceOperation().isOrdered();
1627 }
1628
1629
1630
1631
1632
1633
1634
1635 public boolean isOverriding()
1636 {
1637 return this.getSuperServiceOperation().isOverriding();
1638 }
1639
1640
1641
1642
1643
1644 public boolean isPostconditionsPresent()
1645 {
1646 return this.getSuperServiceOperation().isPostconditionsPresent();
1647 }
1648
1649
1650
1651
1652
1653 public boolean isPreconditionsPresent()
1654 {
1655 return this.getSuperServiceOperation().isPreconditionsPresent();
1656 }
1657
1658
1659
1660
1661
1662 public boolean isQuery()
1663 {
1664 return this.getSuperServiceOperation().isQuery();
1665 }
1666
1667
1668
1669
1670
1671
1672 public boolean isReturnTypePresent()
1673 {
1674 return this.getSuperServiceOperation().isReturnTypePresent();
1675 }
1676
1677
1678
1679
1680
1681 public boolean isStatic()
1682 {
1683 return this.getSuperServiceOperation().isStatic();
1684 }
1685
1686
1687
1688
1689
1690
1691 public boolean isUnique()
1692 {
1693 return this.getSuperServiceOperation().isUnique();
1694 }
1695
1696
1697
1698
1699
1700 public Destination getIncomingDestination()
1701 {
1702 return this.getSuperServiceOperation().getIncomingDestination();
1703 }
1704
1705
1706
1707
1708
1709 public Destination getOutgoingDestination()
1710 {
1711 return this.getSuperServiceOperation().getOutgoingDestination();
1712 }
1713
1714
1715
1716
1717
1718 public Collection<Role> getRoles()
1719 {
1720 return this.getSuperServiceOperation().getRoles();
1721 }
1722
1723
1724
1725
1726
1727 public Service getService()
1728 {
1729 return this.getSuperServiceOperation().getService();
1730 }
1731
1732
1733
1734
1735
1736
1737 public boolean isIncomingMessageOperation()
1738 {
1739 return this.getSuperServiceOperation().isIncomingMessageOperation();
1740 }
1741
1742
1743
1744
1745
1746 public boolean isMessageOperation()
1747 {
1748 return this.getSuperServiceOperation().isMessageOperation();
1749 }
1750
1751
1752
1753
1754
1755
1756 public boolean isOutgoingMessageOperation()
1757 {
1758 return this.getSuperServiceOperation().isOutgoingMessageOperation();
1759 }
1760
1761
1762
1763
1764 @Override
1765 public void initialize()
1766 {
1767 this.getSuperServiceOperation().initialize();
1768 }
1769
1770
1771
1772
1773
1774 @Override
1775 public Object getValidationOwner()
1776 {
1777 Object owner = this.getSuperServiceOperation().getValidationOwner();
1778 return owner;
1779 }
1780
1781
1782
1783
1784
1785 @Override
1786 public String getValidationName()
1787 {
1788 String name = this.getSuperServiceOperation().getValidationName();
1789 return name;
1790 }
1791
1792
1793
1794
1795
1796 @Override
1797 public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
1798 {
1799 this.getSuperServiceOperation().validateInvariants(validationMessages);
1800 }
1801
1802
1803
1804
1805 private static final String NAME_PROPERTY = "name";
1806 private static final String FQNAME_PROPERTY = "fullyQualifiedName";
1807
1808
1809
1810
1811 @Override
1812 public String toString()
1813 {
1814 final StringBuilder toString = new StringBuilder(this.getClass().getName());
1815 toString.append("[");
1816 try
1817 {
1818 toString.append(Introspector.instance().getProperty(this, FQNAME_PROPERTY));
1819 }
1820 catch (final Throwable tryAgain)
1821 {
1822 try
1823 {
1824 toString.append(Introspector.instance().getProperty(this, NAME_PROPERTY));
1825 }
1826 catch (final Throwable ignore)
1827 {
1828
1829 }
1830 }
1831 toString.append("]");
1832 return toString.toString();
1833 }
1834 }