1
2
3
4
5 package org.andromda.cartridges.jsf.metafacades;
6
7 import java.util.Collection;
8 import java.util.List;
9 import java.util.Map;
10 import org.andromda.core.common.Introspector;
11 import org.andromda.core.metafacade.MetafacadeBase;
12 import org.andromda.core.metafacade.MetafacadeFactory;
13 import org.andromda.core.metafacade.ModelValidationMessage;
14 import org.andromda.metafacades.uml.ActionFacade;
15 import org.andromda.metafacades.uml.ConstraintFacade;
16 import org.andromda.metafacades.uml.DependencyFacade;
17 import org.andromda.metafacades.uml.EventFacade;
18 import org.andromda.metafacades.uml.FrontEndAction;
19 import org.andromda.metafacades.uml.FrontEndActionState;
20 import org.andromda.metafacades.uml.FrontEndActivityGraph;
21 import org.andromda.metafacades.uml.FrontEndController;
22 import org.andromda.metafacades.uml.FrontEndControllerOperation;
23 import org.andromda.metafacades.uml.FrontEndEvent;
24 import org.andromda.metafacades.uml.FrontEndForward;
25 import org.andromda.metafacades.uml.FrontEndParameter;
26 import org.andromda.metafacades.uml.FrontEndUseCase;
27 import org.andromda.metafacades.uml.FrontEndView;
28 import org.andromda.metafacades.uml.GuardFacade;
29 import org.andromda.metafacades.uml.ModelElementFacade;
30 import org.andromda.metafacades.uml.ModelFacade;
31 import org.andromda.metafacades.uml.PackageFacade;
32 import org.andromda.metafacades.uml.ParameterFacade;
33 import org.andromda.metafacades.uml.StateMachineFacade;
34 import org.andromda.metafacades.uml.StateVertexFacade;
35 import org.andromda.metafacades.uml.StereotypeFacade;
36 import org.andromda.metafacades.uml.TaggedValueFacade;
37 import org.andromda.metafacades.uml.TemplateParameterFacade;
38 import org.andromda.metafacades.uml.TypeMappings;
39 import org.apache.log4j.Logger;
40
41
42
43
44
45
46
47 public abstract class JSFActionLogic
48 extends MetafacadeBase
49 implements JSFAction
50 {
51
52
53
54
55 protected Object metaObject;
56
57
58
59
60
61 protected JSFActionLogic(Object metaObjectIn, String context)
62 {
63 super(metaObjectIn, getContext(context));
64 this.superFrontEndAction =
65 (FrontEndAction)
66 MetafacadeFactory.getInstance().createFacadeImpl(
67 "org.andromda.metafacades.uml.FrontEndAction",
68 metaObjectIn,
69 getContext(context));
70 this.metaObject = metaObjectIn;
71 }
72
73
74
75
76 private static final Logger logger = Logger.getLogger(JSFActionLogic.class);
77
78
79
80
81
82
83 private static String getContext(String context)
84 {
85 if (context == null)
86 {
87 context = "org.andromda.cartridges.jsf.metafacades.JSFAction";
88 }
89 return context;
90 }
91
92 private FrontEndAction superFrontEndAction;
93 private boolean superFrontEndActionInitialized = false;
94
95
96
97
98
99 private FrontEndAction getSuperFrontEndAction()
100 {
101 if (!this.superFrontEndActionInitialized)
102 {
103 ((MetafacadeBase)this.superFrontEndAction).setMetafacadeContext(this.getMetafacadeContext());
104 this.superFrontEndActionInitialized = true;
105 }
106 return this.superFrontEndAction;
107 }
108
109
110
111
112
113 @Override
114 public void resetMetafacadeContext(String context)
115 {
116 if (!this.contextRoot)
117 {
118 context = getContext(context);
119 setMetafacadeContext (context);
120 if (this.superFrontEndActionInitialized)
121 {
122 ((MetafacadeBase)this.superFrontEndAction).resetMetafacadeContext(context);
123 }
124 }
125 }
126
127
128
129
130
131 public boolean isJSFActionMetaType()
132 {
133 return true;
134 }
135
136
137
138
139
140
141
142 protected abstract String handleGetFormImplementationName();
143
144 private String __formImplementationName1a;
145 private boolean __formImplementationName1aSet = false;
146
147
148
149
150
151 public final String getFormImplementationName()
152 {
153 String formImplementationName1a = this.__formImplementationName1a;
154 if (!this.__formImplementationName1aSet)
155 {
156
157 formImplementationName1a = handleGetFormImplementationName();
158
159 this.__formImplementationName1a = formImplementationName1a;
160 if (isMetafacadePropertyCachingEnabled())
161 {
162 this.__formImplementationName1aSet = true;
163 }
164 }
165 return formImplementationName1a;
166 }
167
168
169
170
171
172 protected abstract String handleGetFormBeanName();
173
174 private String __formBeanName2a;
175 private boolean __formBeanName2aSet = false;
176
177
178
179
180
181 public final String getFormBeanName()
182 {
183 String formBeanName2a = this.__formBeanName2a;
184 if (!this.__formBeanName2aSet)
185 {
186
187 formBeanName2a = handleGetFormBeanName();
188
189 this.__formBeanName2a = formBeanName2a;
190 if (isMetafacadePropertyCachingEnabled())
191 {
192 this.__formBeanName2aSet = true;
193 }
194 }
195 return formBeanName2a;
196 }
197
198
199
200
201
202 protected abstract String handleGetFullyQualifiedFormImplementationName();
203
204 private String __fullyQualifiedFormImplementationName3a;
205 private boolean __fullyQualifiedFormImplementationName3aSet = false;
206
207
208
209
210
211 public final String getFullyQualifiedFormImplementationName()
212 {
213 String fullyQualifiedFormImplementationName3a = this.__fullyQualifiedFormImplementationName3a;
214 if (!this.__fullyQualifiedFormImplementationName3aSet)
215 {
216
217 fullyQualifiedFormImplementationName3a = handleGetFullyQualifiedFormImplementationName();
218
219 this.__fullyQualifiedFormImplementationName3a = fullyQualifiedFormImplementationName3a;
220 if (isMetafacadePropertyCachingEnabled())
221 {
222 this.__fullyQualifiedFormImplementationName3aSet = true;
223 }
224 }
225 return fullyQualifiedFormImplementationName3a;
226 }
227
228
229
230
231
232 protected abstract String handleGetFullyQualifiedFormImplementationPath();
233
234 private String __fullyQualifiedFormImplementationPath4a;
235 private boolean __fullyQualifiedFormImplementationPath4aSet = false;
236
237
238
239
240
241 public final String getFullyQualifiedFormImplementationPath()
242 {
243 String fullyQualifiedFormImplementationPath4a = this.__fullyQualifiedFormImplementationPath4a;
244 if (!this.__fullyQualifiedFormImplementationPath4aSet)
245 {
246
247 fullyQualifiedFormImplementationPath4a = handleGetFullyQualifiedFormImplementationPath();
248
249 this.__fullyQualifiedFormImplementationPath4a = fullyQualifiedFormImplementationPath4a;
250 if (isMetafacadePropertyCachingEnabled())
251 {
252 this.__fullyQualifiedFormImplementationPath4aSet = true;
253 }
254 }
255 return fullyQualifiedFormImplementationPath4a;
256 }
257
258
259
260
261
262 protected abstract String handleGetFormScope();
263
264 private String __formScope5a;
265 private boolean __formScope5aSet = false;
266
267
268
269
270
271 public final String getFormScope()
272 {
273 String formScope5a = this.__formScope5a;
274 if (!this.__formScope5aSet)
275 {
276
277 formScope5a = handleGetFormScope();
278
279 this.__formScope5a = formScope5a;
280 if (isMetafacadePropertyCachingEnabled())
281 {
282 this.__formScope5aSet = true;
283 }
284 }
285 return formScope5a;
286 }
287
288
289
290
291
292 protected abstract String handleGetFormImplementationInterfaceList();
293
294 private String __formImplementationInterfaceList6a;
295 private boolean __formImplementationInterfaceList6aSet = false;
296
297
298
299
300
301 public final String getFormImplementationInterfaceList()
302 {
303 String formImplementationInterfaceList6a = this.__formImplementationInterfaceList6a;
304 if (!this.__formImplementationInterfaceList6aSet)
305 {
306
307 formImplementationInterfaceList6a = handleGetFormImplementationInterfaceList();
308
309 this.__formImplementationInterfaceList6a = formImplementationInterfaceList6a;
310 if (isMetafacadePropertyCachingEnabled())
311 {
312 this.__formImplementationInterfaceList6aSet = true;
313 }
314 }
315 return formImplementationInterfaceList6a;
316 }
317
318
319
320
321
322 protected abstract String handleGetPath();
323
324 private String __path7a;
325 private boolean __path7aSet = false;
326
327
328
329
330
331 public final String getPath()
332 {
333 String path7a = this.__path7a;
334 if (!this.__path7aSet)
335 {
336
337 path7a = handleGetPath();
338
339 this.__path7a = path7a;
340 if (isMetafacadePropertyCachingEnabled())
341 {
342 this.__path7aSet = true;
343 }
344 }
345 return path7a;
346 }
347
348
349
350
351
352 protected abstract String handleGetPathRoot();
353
354 private String __pathRoot8a;
355 private boolean __pathRoot8aSet = false;
356
357
358
359
360
361 public final String getPathRoot()
362 {
363 String pathRoot8a = this.__pathRoot8a;
364 if (!this.__pathRoot8aSet)
365 {
366
367 pathRoot8a = handleGetPathRoot();
368
369 this.__pathRoot8a = pathRoot8a;
370 if (isMetafacadePropertyCachingEnabled())
371 {
372 this.__pathRoot8aSet = true;
373 }
374 }
375 return pathRoot8a;
376 }
377
378
379
380
381
382 protected abstract String handleGetMessageKey();
383
384 private String __messageKey9a;
385 private boolean __messageKey9aSet = false;
386
387
388
389
390
391 public final String getMessageKey()
392 {
393 String messageKey9a = this.__messageKey9a;
394 if (!this.__messageKey9aSet)
395 {
396
397 messageKey9a = handleGetMessageKey();
398
399 this.__messageKey9a = messageKey9a;
400 if (isMetafacadePropertyCachingEnabled())
401 {
402 this.__messageKey9aSet = true;
403 }
404 }
405 return messageKey9a;
406 }
407
408
409
410
411
412 protected abstract String handleGetDocumentationKey();
413
414 private String __documentationKey10a;
415 private boolean __documentationKey10aSet = false;
416
417
418
419
420
421 public final String getDocumentationKey()
422 {
423 String documentationKey10a = this.__documentationKey10a;
424 if (!this.__documentationKey10aSet)
425 {
426
427 documentationKey10a = handleGetDocumentationKey();
428
429 this.__documentationKey10a = documentationKey10a;
430 if (isMetafacadePropertyCachingEnabled())
431 {
432 this.__documentationKey10aSet = true;
433 }
434 }
435 return documentationKey10a;
436 }
437
438
439
440
441
442 protected abstract String handleGetDocumentationValue();
443
444 private String __documentationValue11a;
445 private boolean __documentationValue11aSet = false;
446
447
448
449
450
451 public final String getDocumentationValue()
452 {
453 String documentationValue11a = this.__documentationValue11a;
454 if (!this.__documentationValue11aSet)
455 {
456
457 documentationValue11a = handleGetDocumentationValue();
458
459 this.__documentationValue11a = documentationValue11a;
460 if (isMetafacadePropertyCachingEnabled())
461 {
462 this.__documentationValue11aSet = true;
463 }
464 }
465 return documentationValue11a;
466 }
467
468
469
470
471
472 protected abstract String handleGetTriggerName();
473
474 private String __triggerName12a;
475 private boolean __triggerName12aSet = false;
476
477
478
479
480
481 public final String getTriggerName()
482 {
483 String triggerName12a = this.__triggerName12a;
484 if (!this.__triggerName12aSet)
485 {
486
487 triggerName12a = handleGetTriggerName();
488
489 this.__triggerName12a = triggerName12a;
490 if (isMetafacadePropertyCachingEnabled())
491 {
492 this.__triggerName12aSet = true;
493 }
494 }
495 return triggerName12a;
496 }
497
498
499
500
501
502 protected abstract String handleGetViewFragmentPath();
503
504 private String __viewFragmentPath13a;
505 private boolean __viewFragmentPath13aSet = false;
506
507
508
509
510
511 public final String getViewFragmentPath()
512 {
513 String viewFragmentPath13a = this.__viewFragmentPath13a;
514 if (!this.__viewFragmentPath13aSet)
515 {
516
517 viewFragmentPath13a = handleGetViewFragmentPath();
518
519 this.__viewFragmentPath13a = viewFragmentPath13a;
520 if (isMetafacadePropertyCachingEnabled())
521 {
522 this.__viewFragmentPath13aSet = true;
523 }
524 }
525 return viewFragmentPath13a;
526 }
527
528
529
530
531
532 protected abstract String handleGetTableLinkName();
533
534 private String __tableLinkName14a;
535 private boolean __tableLinkName14aSet = false;
536
537
538
539
540
541 public final String getTableLinkName()
542 {
543 String tableLinkName14a = this.__tableLinkName14a;
544 if (!this.__tableLinkName14aSet)
545 {
546
547 tableLinkName14a = handleGetTableLinkName();
548
549 this.__tableLinkName14a = tableLinkName14a;
550 if (isMetafacadePropertyCachingEnabled())
551 {
552 this.__tableLinkName14aSet = true;
553 }
554 }
555 return tableLinkName14a;
556 }
557
558
559
560
561
562 protected abstract String handleGetTableLinkColumnName();
563
564 private String __tableLinkColumnName15a;
565 private boolean __tableLinkColumnName15aSet = false;
566
567
568
569
570
571 public final String getTableLinkColumnName()
572 {
573 String tableLinkColumnName15a = this.__tableLinkColumnName15a;
574 if (!this.__tableLinkColumnName15aSet)
575 {
576
577 tableLinkColumnName15a = handleGetTableLinkColumnName();
578
579 this.__tableLinkColumnName15a = tableLinkColumnName15a;
580 if (isMetafacadePropertyCachingEnabled())
581 {
582 this.__tableLinkColumnName15aSet = true;
583 }
584 }
585 return tableLinkColumnName15a;
586 }
587
588
589
590
591
592 protected abstract boolean handleIsTableLink();
593
594 private boolean __tableLink16a;
595 private boolean __tableLink16aSet = false;
596
597
598
599
600
601
602 public final boolean isTableLink()
603 {
604 boolean tableLink16a = this.__tableLink16a;
605 if (!this.__tableLink16aSet)
606 {
607
608 tableLink16a = handleIsTableLink();
609
610 this.__tableLink16a = tableLink16a;
611 if (isMetafacadePropertyCachingEnabled())
612 {
613 this.__tableLink16aSet = true;
614 }
615 }
616 return tableLink16a;
617 }
618
619
620
621
622
623 protected abstract boolean handleIsHyperlink();
624
625 private boolean __hyperlink17a;
626 private boolean __hyperlink17aSet = false;
627
628
629
630
631
632 public final boolean isHyperlink()
633 {
634 boolean hyperlink17a = this.__hyperlink17a;
635 if (!this.__hyperlink17aSet)
636 {
637
638 hyperlink17a = handleIsHyperlink();
639
640 this.__hyperlink17a = hyperlink17a;
641 if (isMetafacadePropertyCachingEnabled())
642 {
643 this.__hyperlink17aSet = true;
644 }
645 }
646 return hyperlink17a;
647 }
648
649
650
651
652
653 protected abstract String handleGetActionClassName();
654
655 private String __actionClassName18a;
656 private boolean __actionClassName18aSet = false;
657
658
659
660
661
662 public final String getActionClassName()
663 {
664 String actionClassName18a = this.__actionClassName18a;
665 if (!this.__actionClassName18aSet)
666 {
667
668 actionClassName18a = handleGetActionClassName();
669
670 this.__actionClassName18a = actionClassName18a;
671 if (isMetafacadePropertyCachingEnabled())
672 {
673 this.__actionClassName18aSet = true;
674 }
675 }
676 return actionClassName18a;
677 }
678
679
680
681
682
683 protected abstract String handleGetFullyQualifiedActionClassPath();
684
685 private String __fullyQualifiedActionClassPath19a;
686 private boolean __fullyQualifiedActionClassPath19aSet = false;
687
688
689
690
691
692 public final String getFullyQualifiedActionClassPath()
693 {
694 String fullyQualifiedActionClassPath19a = this.__fullyQualifiedActionClassPath19a;
695 if (!this.__fullyQualifiedActionClassPath19aSet)
696 {
697
698 fullyQualifiedActionClassPath19a = handleGetFullyQualifiedActionClassPath();
699
700 this.__fullyQualifiedActionClassPath19a = fullyQualifiedActionClassPath19a;
701 if (isMetafacadePropertyCachingEnabled())
702 {
703 this.__fullyQualifiedActionClassPath19aSet = true;
704 }
705 }
706 return fullyQualifiedActionClassPath19a;
707 }
708
709
710
711
712
713 protected abstract String handleGetControllerAction();
714
715 private String __controllerAction20a;
716 private boolean __controllerAction20aSet = false;
717
718
719
720
721
722 public final String getControllerAction()
723 {
724 String controllerAction20a = this.__controllerAction20a;
725 if (!this.__controllerAction20aSet)
726 {
727
728 controllerAction20a = handleGetControllerAction();
729
730 this.__controllerAction20a = controllerAction20a;
731 if (isMetafacadePropertyCachingEnabled())
732 {
733 this.__controllerAction20aSet = true;
734 }
735 }
736 return controllerAction20a;
737 }
738
739
740
741
742
743 protected abstract String handleGetFullyQualifiedActionClassName();
744
745 private String __fullyQualifiedActionClassName21a;
746 private boolean __fullyQualifiedActionClassName21aSet = false;
747
748
749
750
751
752 public final String getFullyQualifiedActionClassName()
753 {
754 String fullyQualifiedActionClassName21a = this.__fullyQualifiedActionClassName21a;
755 if (!this.__fullyQualifiedActionClassName21aSet)
756 {
757
758 fullyQualifiedActionClassName21a = handleGetFullyQualifiedActionClassName();
759
760 this.__fullyQualifiedActionClassName21a = fullyQualifiedActionClassName21a;
761 if (isMetafacadePropertyCachingEnabled())
762 {
763 this.__fullyQualifiedActionClassName21aSet = true;
764 }
765 }
766 return fullyQualifiedActionClassName21a;
767 }
768
769
770
771
772
773 protected abstract boolean handleIsResettable();
774
775 private boolean __resettable22a;
776 private boolean __resettable22aSet = false;
777
778
779
780
781
782 public final boolean isResettable()
783 {
784 boolean resettable22a = this.__resettable22a;
785 if (!this.__resettable22aSet)
786 {
787
788 resettable22a = handleIsResettable();
789
790 this.__resettable22a = resettable22a;
791 if (isMetafacadePropertyCachingEnabled())
792 {
793 this.__resettable22aSet = true;
794 }
795 }
796 return resettable22a;
797 }
798
799
800
801
802
803 protected abstract String handleGetFormKey();
804
805 private String __formKey23a;
806 private boolean __formKey23aSet = false;
807
808
809
810
811
812 public final String getFormKey()
813 {
814 String formKey23a = this.__formKey23a;
815 if (!this.__formKey23aSet)
816 {
817
818 formKey23a = handleGetFormKey();
819
820 this.__formKey23a = formKey23a;
821 if (isMetafacadePropertyCachingEnabled())
822 {
823 this.__formKey23aSet = true;
824 }
825 }
826 return formKey23a;
827 }
828
829
830
831
832
833 protected abstract boolean handleIsTableAction();
834
835 private boolean __tableAction24a;
836 private boolean __tableAction24aSet = false;
837
838
839
840
841
842 public final boolean isTableAction()
843 {
844 boolean tableAction24a = this.__tableAction24a;
845 if (!this.__tableAction24aSet)
846 {
847
848 tableAction24a = handleIsTableAction();
849
850 this.__tableAction24a = tableAction24a;
851 if (isMetafacadePropertyCachingEnabled())
852 {
853 this.__tableAction24aSet = true;
854 }
855 }
856 return tableAction24a;
857 }
858
859
860
861
862
863 protected abstract boolean handleIsValidationRequired();
864
865 private boolean __validationRequired25a;
866 private boolean __validationRequired25aSet = false;
867
868
869
870
871
872 public final boolean isValidationRequired()
873 {
874 boolean validationRequired25a = this.__validationRequired25a;
875 if (!this.__validationRequired25aSet)
876 {
877
878 validationRequired25a = handleIsValidationRequired();
879
880 this.__validationRequired25a = validationRequired25a;
881 if (isMetafacadePropertyCachingEnabled())
882 {
883 this.__validationRequired25aSet = true;
884 }
885 }
886 return validationRequired25a;
887 }
888
889
890
891
892
893 protected abstract boolean handleIsPopup();
894
895 private boolean __popup26a;
896 private boolean __popup26aSet = false;
897
898
899
900
901
902
903 public final boolean isPopup()
904 {
905 boolean popup26a = this.__popup26a;
906 if (!this.__popup26aSet)
907 {
908
909 popup26a = handleIsPopup();
910
911 this.__popup26a = popup26a;
912 if (isMetafacadePropertyCachingEnabled())
913 {
914 this.__popup26aSet = true;
915 }
916 }
917 return popup26a;
918 }
919
920
921
922
923
924 protected abstract boolean handleIsFormResetRequired();
925
926 private boolean __formResetRequired27a;
927 private boolean __formResetRequired27aSet = false;
928
929
930
931
932
933 public final boolean isFormResetRequired()
934 {
935 boolean formResetRequired27a = this.__formResetRequired27a;
936 if (!this.__formResetRequired27aSet)
937 {
938
939 formResetRequired27a = handleIsFormResetRequired();
940
941 this.__formResetRequired27a = formResetRequired27a;
942 if (isMetafacadePropertyCachingEnabled())
943 {
944 this.__formResetRequired27aSet = true;
945 }
946 }
947 return formResetRequired27a;
948 }
949
950
951
952
953
954 protected abstract boolean handleIsFormReset();
955
956 private boolean __formReset28a;
957 private boolean __formReset28aSet = false;
958
959
960
961
962
963 public final boolean isFormReset()
964 {
965 boolean formReset28a = this.__formReset28a;
966 if (!this.__formReset28aSet)
967 {
968
969 formReset28a = handleIsFormReset();
970
971 this.__formReset28a = formReset28a;
972 if (isMetafacadePropertyCachingEnabled())
973 {
974 this.__formReset28aSet = true;
975 }
976 }
977 return formReset28a;
978 }
979
980
981
982
983
984 protected abstract String handleGetFormImplementationGetter();
985
986 private String __formImplementationGetter29a;
987 private boolean __formImplementationGetter29aSet = false;
988
989
990
991
992
993 public final String getFormImplementationGetter()
994 {
995 String formImplementationGetter29a = this.__formImplementationGetter29a;
996 if (!this.__formImplementationGetter29aSet)
997 {
998
999 formImplementationGetter29a = handleGetFormImplementationGetter();
1000
1001 this.__formImplementationGetter29a = formImplementationGetter29a;
1002 if (isMetafacadePropertyCachingEnabled())
1003 {
1004 this.__formImplementationGetter29aSet = true;
1005 }
1006 }
1007 return formImplementationGetter29a;
1008 }
1009
1010
1011
1012
1013
1014 protected abstract String handleGetFormSerialVersionUID();
1015
1016 private String __formSerialVersionUID30a;
1017 private boolean __formSerialVersionUID30aSet = false;
1018
1019
1020
1021
1022
1023 public final String getFormSerialVersionUID()
1024 {
1025 String formSerialVersionUID30a = this.__formSerialVersionUID30a;
1026 if (!this.__formSerialVersionUID30aSet)
1027 {
1028
1029 formSerialVersionUID30a = handleGetFormSerialVersionUID();
1030
1031 this.__formSerialVersionUID30a = formSerialVersionUID30a;
1032 if (isMetafacadePropertyCachingEnabled())
1033 {
1034 this.__formSerialVersionUID30aSet = true;
1035 }
1036 }
1037 return formSerialVersionUID30a;
1038 }
1039
1040
1041
1042
1043
1044 protected abstract boolean handleIsFinalStateTarget();
1045
1046 private boolean __finalStateTarget31a;
1047 private boolean __finalStateTarget31aSet = false;
1048
1049
1050
1051
1052
1053 public final boolean isFinalStateTarget()
1054 {
1055 boolean finalStateTarget31a = this.__finalStateTarget31a;
1056 if (!this.__finalStateTarget31aSet)
1057 {
1058
1059 finalStateTarget31a = handleIsFinalStateTarget();
1060
1061 this.__finalStateTarget31a = finalStateTarget31a;
1062 if (isMetafacadePropertyCachingEnabled())
1063 {
1064 this.__finalStateTarget31aSet = true;
1065 }
1066 }
1067 return finalStateTarget31a;
1068 }
1069
1070
1071
1072
1073
1074 protected abstract String handleGetFromOutcome();
1075
1076 private String __fromOutcome32a;
1077 private boolean __fromOutcome32aSet = false;
1078
1079
1080
1081
1082
1083 public final String getFromOutcome()
1084 {
1085 String fromOutcome32a = this.__fromOutcome32a;
1086 if (!this.__fromOutcome32aSet)
1087 {
1088
1089 fromOutcome32a = handleGetFromOutcome();
1090
1091 this.__fromOutcome32a = fromOutcome32a;
1092 if (isMetafacadePropertyCachingEnabled())
1093 {
1094 this.__fromOutcome32aSet = true;
1095 }
1096 }
1097 return fromOutcome32a;
1098 }
1099
1100
1101
1102
1103
1104 protected abstract boolean handleIsWarningMessagesPresent();
1105
1106 private boolean __warningMessagesPresent33a;
1107 private boolean __warningMessagesPresent33aSet = false;
1108
1109
1110
1111
1112
1113 public final boolean isWarningMessagesPresent()
1114 {
1115 boolean warningMessagesPresent33a = this.__warningMessagesPresent33a;
1116 if (!this.__warningMessagesPresent33aSet)
1117 {
1118
1119 warningMessagesPresent33a = handleIsWarningMessagesPresent();
1120
1121 this.__warningMessagesPresent33a = warningMessagesPresent33a;
1122 if (isMetafacadePropertyCachingEnabled())
1123 {
1124 this.__warningMessagesPresent33aSet = true;
1125 }
1126 }
1127 return warningMessagesPresent33a;
1128 }
1129
1130
1131
1132
1133
1134 protected abstract Map handleGetWarningMessages();
1135
1136 private Map __warningMessages34a;
1137 private boolean __warningMessages34aSet = false;
1138
1139
1140
1141
1142
1143 public final Map getWarningMessages()
1144 {
1145 Map warningMessages34a = this.__warningMessages34a;
1146 if (!this.__warningMessages34aSet)
1147 {
1148
1149 warningMessages34a = handleGetWarningMessages();
1150
1151 this.__warningMessages34a = warningMessages34a;
1152 if (isMetafacadePropertyCachingEnabled())
1153 {
1154 this.__warningMessages34aSet = true;
1155 }
1156 }
1157 return warningMessages34a;
1158 }
1159
1160
1161
1162
1163
1164 protected abstract boolean handleIsSuccessMessagesPresent();
1165
1166 private boolean __successMessagesPresent35a;
1167 private boolean __successMessagesPresent35aSet = false;
1168
1169
1170
1171
1172
1173 public final boolean isSuccessMessagesPresent()
1174 {
1175 boolean successMessagesPresent35a = this.__successMessagesPresent35a;
1176 if (!this.__successMessagesPresent35aSet)
1177 {
1178
1179 successMessagesPresent35a = handleIsSuccessMessagesPresent();
1180
1181 this.__successMessagesPresent35a = successMessagesPresent35a;
1182 if (isMetafacadePropertyCachingEnabled())
1183 {
1184 this.__successMessagesPresent35aSet = true;
1185 }
1186 }
1187 return successMessagesPresent35a;
1188 }
1189
1190
1191
1192
1193
1194 protected abstract Map handleGetSuccessMessages();
1195
1196 private Map __successMessages36a;
1197 private boolean __successMessages36aSet = false;
1198
1199
1200
1201
1202
1203 public final Map getSuccessMessages()
1204 {
1205 Map successMessages36a = this.__successMessages36a;
1206 if (!this.__successMessages36aSet)
1207 {
1208
1209 successMessages36a = handleGetSuccessMessages();
1210
1211 this.__successMessages36a = successMessages36a;
1212 if (isMetafacadePropertyCachingEnabled())
1213 {
1214 this.__successMessages36aSet = true;
1215 }
1216 }
1217 return successMessages36a;
1218 }
1219
1220
1221
1222
1223
1224 protected abstract boolean handleIsNeedsFileUpload();
1225
1226 private boolean __needsFileUpload37a;
1227 private boolean __needsFileUpload37aSet = false;
1228
1229
1230
1231
1232
1233
1234 public final boolean isNeedsFileUpload()
1235 {
1236 boolean needsFileUpload37a = this.__needsFileUpload37a;
1237 if (!this.__needsFileUpload37aSet)
1238 {
1239
1240 needsFileUpload37a = handleIsNeedsFileUpload();
1241
1242 this.__needsFileUpload37a = needsFileUpload37a;
1243 if (isMetafacadePropertyCachingEnabled())
1244 {
1245 this.__needsFileUpload37aSet = true;
1246 }
1247 }
1248 return needsFileUpload37a;
1249 }
1250
1251
1252
1253
1254
1255 protected abstract String handleGetTriggerMethodName();
1256
1257 private String __triggerMethodName38a;
1258 private boolean __triggerMethodName38aSet = false;
1259
1260
1261
1262
1263
1264 public final String getTriggerMethodName()
1265 {
1266 String triggerMethodName38a = this.__triggerMethodName38a;
1267 if (!this.__triggerMethodName38aSet)
1268 {
1269
1270 triggerMethodName38a = handleGetTriggerMethodName();
1271
1272 this.__triggerMethodName38a = triggerMethodName38a;
1273 if (isMetafacadePropertyCachingEnabled())
1274 {
1275 this.__triggerMethodName38aSet = true;
1276 }
1277 }
1278 return triggerMethodName38a;
1279 }
1280
1281
1282
1283 private JSFParameter __getTableLinkParameter1r;
1284 private boolean __getTableLinkParameter1rSet = false;
1285
1286
1287
1288
1289
1290 public final JSFParameter getTableLinkParameter()
1291 {
1292 JSFParameter getTableLinkParameter1r = this.__getTableLinkParameter1r;
1293 if (!this.__getTableLinkParameter1rSet)
1294 {
1295
1296 Object result = handleGetTableLinkParameter();
1297 MetafacadeBase shieldedResult = this.shieldedElement(result);
1298 try
1299 {
1300 getTableLinkParameter1r = (JSFParameter)shieldedResult;
1301 }
1302 catch (ClassCastException ex)
1303 {
1304
1305 JSFActionLogic.logger.warn("incorrect metafacade cast for JSFActionLogic.getTableLinkParameter JSFParameter " + result + ": " + shieldedResult);
1306 }
1307
1308 this.__getTableLinkParameter1r = getTableLinkParameter1r;
1309 if (isMetafacadePropertyCachingEnabled())
1310 {
1311 this.__getTableLinkParameter1rSet = true;
1312 }
1313 }
1314 return getTableLinkParameter1r;
1315 }
1316
1317
1318
1319
1320
1321 protected abstract Object handleGetTableLinkParameter();
1322
1323 private List<JSFParameter> __getHiddenParameters2r;
1324 private boolean __getHiddenParameters2rSet = false;
1325
1326
1327
1328
1329
1330 public final List<JSFParameter> getHiddenParameters()
1331 {
1332 List<JSFParameter> getHiddenParameters2r = this.__getHiddenParameters2r;
1333 if (!this.__getHiddenParameters2rSet)
1334 {
1335
1336 List result = handleGetHiddenParameters();
1337 List shieldedResult = this.shieldedElements(result);
1338 try
1339 {
1340 getHiddenParameters2r = (List<JSFParameter>)shieldedResult;
1341 }
1342 catch (ClassCastException ex)
1343 {
1344
1345 JSFActionLogic.logger.warn("incorrect metafacade cast for JSFActionLogic.getHiddenParameters List<JSFParameter> " + result + ": " + shieldedResult);
1346 }
1347
1348 this.__getHiddenParameters2r = getHiddenParameters2r;
1349 if (isMetafacadePropertyCachingEnabled())
1350 {
1351 this.__getHiddenParameters2rSet = true;
1352 }
1353 }
1354 return getHiddenParameters2r;
1355 }
1356
1357
1358
1359
1360
1361 protected abstract List handleGetHiddenParameters();
1362
1363
1364
1365
1366
1367 public boolean isFrontEndActionMetaType()
1368 {
1369 return true;
1370 }
1371
1372
1373
1374
1375
1376 public boolean isFrontEndForwardMetaType()
1377 {
1378 return true;
1379 }
1380
1381
1382
1383
1384
1385 public boolean isTransitionFacadeMetaType()
1386 {
1387 return true;
1388 }
1389
1390
1391
1392
1393
1394 public boolean isModelElementFacadeMetaType()
1395 {
1396 return true;
1397 }
1398
1399
1400
1401
1402
1403
1404
1405 public ParameterFacade findParameter(String name)
1406 {
1407 return this.getSuperFrontEndAction().findParameter(name);
1408 }
1409
1410
1411
1412
1413
1414
1415 public List<FrontEndForward> getActionForwards()
1416 {
1417 return this.getSuperFrontEndAction().getActionForwards();
1418 }
1419
1420
1421
1422
1423
1424 public List<FrontEndActionState> getActionStates()
1425 {
1426 return this.getSuperFrontEndAction().getActionStates();
1427 }
1428
1429
1430
1431
1432
1433
1434 public FrontEndController getController()
1435 {
1436 return this.getSuperFrontEndAction().getController();
1437 }
1438
1439
1440
1441
1442
1443 public List<FrontEndForward> getDecisionTransitions()
1444 {
1445 return this.getSuperFrontEndAction().getDecisionTransitions();
1446 }
1447
1448
1449
1450
1451
1452 public List<FrontEndControllerOperation> getDeferredOperations()
1453 {
1454 return this.getSuperFrontEndAction().getDeferredOperations();
1455 }
1456
1457
1458
1459
1460
1461
1462 public List<FrontEndParameter> getFormFields()
1463 {
1464 return this.getSuperFrontEndAction().getFormFields();
1465 }
1466
1467
1468
1469
1470
1471 public StateVertexFacade getInput()
1472 {
1473 return this.getSuperFrontEndAction().getInput();
1474 }
1475
1476
1477
1478
1479
1480 public List<FrontEndParameter> getParameters()
1481 {
1482 return this.getSuperFrontEndAction().getParameters();
1483 }
1484
1485
1486
1487
1488
1489 public List<FrontEndView> getTargetViews()
1490 {
1491 return this.getSuperFrontEndAction().getTargetViews();
1492 }
1493
1494
1495
1496
1497
1498 public List<FrontEndForward> getTransitions()
1499 {
1500 return this.getSuperFrontEndAction().getTransitions();
1501 }
1502
1503
1504
1505
1506
1507 public boolean isUseCaseStart()
1508 {
1509 return this.getSuperFrontEndAction().isUseCaseStart();
1510 }
1511
1512
1513
1514
1515
1516 public String getActionMethodName()
1517 {
1518 return this.getSuperFrontEndAction().getActionMethodName();
1519 }
1520
1521
1522
1523
1524
1525 public List<FrontEndAction> getActions()
1526 {
1527 return this.getSuperFrontEndAction().getActions();
1528 }
1529
1530
1531
1532
1533
1534 public FrontEndEvent getDecisionTrigger()
1535 {
1536 return this.getSuperFrontEndAction().getDecisionTrigger();
1537 }
1538
1539
1540
1541
1542
1543 public List<FrontEndParameter> getForwardParameters()
1544 {
1545 return this.getSuperFrontEndAction().getForwardParameters();
1546 }
1547
1548
1549
1550
1551
1552 public FrontEndActivityGraph getFrontEndActivityGraph()
1553 {
1554 return this.getSuperFrontEndAction().getFrontEndActivityGraph();
1555 }
1556
1557
1558
1559
1560
1561 public FrontEndControllerOperation getOperationCall()
1562 {
1563 return this.getSuperFrontEndAction().getOperationCall();
1564 }
1565
1566
1567
1568
1569
1570 public FrontEndUseCase getUseCase()
1571 {
1572 return this.getSuperFrontEndAction().getUseCase();
1573 }
1574
1575
1576
1577
1578
1579 public boolean isContainedInFrontEndUseCase()
1580 {
1581 return this.getSuperFrontEndAction().isContainedInFrontEndUseCase();
1582 }
1583
1584
1585
1586
1587
1588 public boolean isEnteringView()
1589 {
1590 return this.getSuperFrontEndAction().isEnteringView();
1591 }
1592
1593
1594
1595
1596
1597 public boolean isExitingView()
1598 {
1599 return this.getSuperFrontEndAction().isExitingView();
1600 }
1601
1602
1603
1604
1605
1606 public void copyTaggedValues(ModelElementFacade element)
1607 {
1608 this.getSuperFrontEndAction().copyTaggedValues(element);
1609 }
1610
1611
1612
1613
1614
1615
1616 public Object findTaggedValue(String tagName)
1617 {
1618 return this.getSuperFrontEndAction().findTaggedValue(tagName);
1619 }
1620
1621
1622
1623
1624
1625
1626 public Collection<Object> findTaggedValues(String tagName)
1627 {
1628 return this.getSuperFrontEndAction().findTaggedValues(tagName);
1629 }
1630
1631
1632
1633
1634
1635
1636
1637 public String getBindedFullyQualifiedName(ModelElementFacade bindedElement)
1638 {
1639 return this.getSuperFrontEndAction().getBindedFullyQualifiedName(bindedElement);
1640 }
1641
1642
1643
1644
1645
1646 public Collection<ConstraintFacade> getConstraints()
1647 {
1648 return this.getSuperFrontEndAction().getConstraints();
1649 }
1650
1651
1652
1653
1654
1655
1656 public Collection<ConstraintFacade> getConstraints(String kind)
1657 {
1658 return this.getSuperFrontEndAction().getConstraints(kind);
1659 }
1660
1661
1662
1663
1664
1665
1666
1667 public String getDocumentation(String indent)
1668 {
1669 return this.getSuperFrontEndAction().getDocumentation(indent);
1670 }
1671
1672
1673
1674
1675
1676
1677
1678
1679 public String getDocumentation(String indent, int lineLength)
1680 {
1681 return this.getSuperFrontEndAction().getDocumentation(indent, lineLength);
1682 }
1683
1684
1685
1686
1687
1688
1689
1690 public String getDocumentation(String indent, int lineLength, boolean htmlStyle)
1691 {
1692 return this.getSuperFrontEndAction().getDocumentation(indent, lineLength, htmlStyle);
1693 }
1694
1695
1696
1697
1698
1699 public String getFullyQualifiedName()
1700 {
1701 return this.getSuperFrontEndAction().getFullyQualifiedName();
1702 }
1703
1704
1705
1706
1707
1708
1709
1710
1711 public String getFullyQualifiedName(boolean modelName)
1712 {
1713 return this.getSuperFrontEndAction().getFullyQualifiedName(modelName);
1714 }
1715
1716
1717
1718
1719
1720
1721 public String getFullyQualifiedNamePath()
1722 {
1723 return this.getSuperFrontEndAction().getFullyQualifiedNamePath();
1724 }
1725
1726
1727
1728
1729
1730 public String getId()
1731 {
1732 return this.getSuperFrontEndAction().getId();
1733 }
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743 public Collection<String> getKeywords()
1744 {
1745 return this.getSuperFrontEndAction().getKeywords();
1746 }
1747
1748
1749
1750
1751
1752 public String getLabel()
1753 {
1754 return this.getSuperFrontEndAction().getLabel();
1755 }
1756
1757
1758
1759
1760
1761 public TypeMappings getLanguageMappings()
1762 {
1763 return this.getSuperFrontEndAction().getLanguageMappings();
1764 }
1765
1766
1767
1768
1769
1770
1771 public ModelFacade getModel()
1772 {
1773 return this.getSuperFrontEndAction().getModel();
1774 }
1775
1776
1777
1778
1779
1780 public String getName()
1781 {
1782 return this.getSuperFrontEndAction().getName();
1783 }
1784
1785
1786
1787
1788
1789 public ModelElementFacade getPackage()
1790 {
1791 return this.getSuperFrontEndAction().getPackage();
1792 }
1793
1794
1795
1796
1797
1798 public String getPackageName()
1799 {
1800 return this.getSuperFrontEndAction().getPackageName();
1801 }
1802
1803
1804
1805
1806
1807
1808 public String getPackageName(boolean modelName)
1809 {
1810 return this.getSuperFrontEndAction().getPackageName(modelName);
1811 }
1812
1813
1814
1815
1816
1817 public String getPackagePath()
1818 {
1819 return this.getSuperFrontEndAction().getPackagePath();
1820 }
1821
1822
1823
1824
1825
1826
1827
1828
1829 public String getQualifiedName()
1830 {
1831 return this.getSuperFrontEndAction().getQualifiedName();
1832 }
1833
1834
1835
1836
1837
1838 public PackageFacade getRootPackage()
1839 {
1840 return this.getSuperFrontEndAction().getRootPackage();
1841 }
1842
1843
1844
1845
1846
1847 public Collection<DependencyFacade> getSourceDependencies()
1848 {
1849 return this.getSuperFrontEndAction().getSourceDependencies();
1850 }
1851
1852
1853
1854
1855
1856
1857 public StateMachineFacade getStateMachineContext()
1858 {
1859 return this.getSuperFrontEndAction().getStateMachineContext();
1860 }
1861
1862
1863
1864
1865
1866 public Collection<String> getStereotypeNames()
1867 {
1868 return this.getSuperFrontEndAction().getStereotypeNames();
1869 }
1870
1871
1872
1873
1874
1875 public Collection<StereotypeFacade> getStereotypes()
1876 {
1877 return this.getSuperFrontEndAction().getStereotypes();
1878 }
1879
1880
1881
1882
1883
1884 public Collection<TaggedValueFacade> getTaggedValues()
1885 {
1886 return this.getSuperFrontEndAction().getTaggedValues();
1887 }
1888
1889
1890
1891
1892
1893 public Collection<DependencyFacade> getTargetDependencies()
1894 {
1895 return this.getSuperFrontEndAction().getTargetDependencies();
1896 }
1897
1898
1899
1900
1901
1902 public Object getTemplateParameter(String parameterName)
1903 {
1904 return this.getSuperFrontEndAction().getTemplateParameter(parameterName);
1905 }
1906
1907
1908
1909
1910
1911 public Collection<TemplateParameterFacade> getTemplateParameters()
1912 {
1913 return this.getSuperFrontEndAction().getTemplateParameters();
1914 }
1915
1916
1917
1918
1919
1920
1921 public String getVisibility()
1922 {
1923 return this.getSuperFrontEndAction().getVisibility();
1924 }
1925
1926
1927
1928
1929
1930
1931 public boolean hasExactStereotype(String stereotypeName)
1932 {
1933 return this.getSuperFrontEndAction().hasExactStereotype(stereotypeName);
1934 }
1935
1936
1937
1938
1939
1940
1941 public boolean hasKeyword(String keywordName)
1942 {
1943 return this.getSuperFrontEndAction().hasKeyword(keywordName);
1944 }
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958 public boolean hasStereotype(String stereotypeName)
1959 {
1960 return this.getSuperFrontEndAction().hasStereotype(stereotypeName);
1961 }
1962
1963
1964
1965
1966
1967
1968 public boolean isBindingDependenciesPresent()
1969 {
1970 return this.getSuperFrontEndAction().isBindingDependenciesPresent();
1971 }
1972
1973
1974
1975
1976
1977 public boolean isConstraintsPresent()
1978 {
1979 return this.getSuperFrontEndAction().isConstraintsPresent();
1980 }
1981
1982
1983
1984
1985
1986 public boolean isDocumentationPresent()
1987 {
1988 return this.getSuperFrontEndAction().isDocumentationPresent();
1989 }
1990
1991
1992
1993
1994
1995 public boolean isReservedWord()
1996 {
1997 return this.getSuperFrontEndAction().isReservedWord();
1998 }
1999
2000
2001
2002
2003
2004
2005 public boolean isTemplateParametersPresent()
2006 {
2007 return this.getSuperFrontEndAction().isTemplateParametersPresent();
2008 }
2009
2010
2011
2012
2013
2014
2015
2016 public boolean isValidIdentifierName()
2017 {
2018 return this.getSuperFrontEndAction().isValidIdentifierName();
2019 }
2020
2021
2022
2023
2024
2025
2026
2027 public String translateConstraint(String name, String translation)
2028 {
2029 return this.getSuperFrontEndAction().translateConstraint(name, translation);
2030 }
2031
2032
2033
2034
2035
2036 public String[] translateConstraints(String translation)
2037 {
2038 return this.getSuperFrontEndAction().translateConstraints(translation);
2039 }
2040
2041
2042
2043
2044
2045 public String[] translateConstraints(String kind, String translation)
2046 {
2047 return this.getSuperFrontEndAction().translateConstraints(kind, translation);
2048 }
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060 public ActionFacade getEffect()
2061 {
2062 return this.getSuperFrontEndAction().getEffect();
2063 }
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073 public GuardFacade getGuard()
2074 {
2075 return this.getSuperFrontEndAction().getGuard();
2076 }
2077
2078
2079
2080
2081
2082
2083
2084 public StateVertexFacade getSource()
2085 {
2086 return this.getSuperFrontEndAction().getSource();
2087 }
2088
2089
2090
2091
2092
2093
2094
2095 public StateVertexFacade getTarget()
2096 {
2097 return this.getSuperFrontEndAction().getTarget();
2098 }
2099
2100
2101
2102
2103
2104 public EventFacade getTrigger()
2105 {
2106 return this.getSuperFrontEndAction().getTrigger();
2107 }
2108
2109
2110
2111
2112
2113
2114 public boolean isEnteringActionState()
2115 {
2116 return this.getSuperFrontEndAction().isEnteringActionState();
2117 }
2118
2119
2120
2121
2122
2123
2124 public boolean isEnteringDecisionPoint()
2125 {
2126 return this.getSuperFrontEndAction().isEnteringDecisionPoint();
2127 }
2128
2129
2130
2131
2132
2133
2134 public boolean isEnteringFinalState()
2135 {
2136 return this.getSuperFrontEndAction().isEnteringFinalState();
2137 }
2138
2139
2140
2141
2142
2143
2144 public boolean isExitingActionState()
2145 {
2146 return this.getSuperFrontEndAction().isExitingActionState();
2147 }
2148
2149
2150
2151
2152
2153
2154 public boolean isExitingDecisionPoint()
2155 {
2156 return this.getSuperFrontEndAction().isExitingDecisionPoint();
2157 }
2158
2159
2160
2161
2162
2163
2164 public boolean isExitingInitialState()
2165 {
2166 return this.getSuperFrontEndAction().isExitingInitialState();
2167 }
2168
2169
2170
2171
2172
2173 public boolean isTriggerPresent()
2174 {
2175 return this.getSuperFrontEndAction().isTriggerPresent();
2176 }
2177
2178
2179
2180
2181 @Override
2182 public void initialize()
2183 {
2184 this.getSuperFrontEndAction().initialize();
2185 }
2186
2187
2188
2189
2190
2191 @Override
2192 public Object getValidationOwner()
2193 {
2194 Object owner = this.getSuperFrontEndAction().getValidationOwner();
2195 return owner;
2196 }
2197
2198
2199
2200
2201
2202 @Override
2203 public String getValidationName()
2204 {
2205 String name = this.getSuperFrontEndAction().getValidationName();
2206 return name;
2207 }
2208
2209
2210
2211
2212
2213 @Override
2214 public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
2215 {
2216 this.getSuperFrontEndAction().validateInvariants(validationMessages);
2217 }
2218
2219
2220
2221
2222 private static final String NAME_PROPERTY = "name";
2223 private static final String FQNAME_PROPERTY = "fullyQualifiedName";
2224
2225
2226
2227
2228 @Override
2229 public String toString()
2230 {
2231 final StringBuilder toString = new StringBuilder(this.getClass().getName());
2232 toString.append("[");
2233 try
2234 {
2235 toString.append(Introspector.instance().getProperty(this, FQNAME_PROPERTY));
2236 }
2237 catch (final Throwable tryAgain)
2238 {
2239 try
2240 {
2241 toString.append(Introspector.instance().getProperty(this, NAME_PROPERTY));
2242 }
2243 catch (final Throwable ignore)
2244 {
2245
2246 }
2247 }
2248 toString.append("]");
2249 return toString.toString();
2250 }
2251 }