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.ActivityGraphFacade;
15 import org.andromda.metafacades.uml.AssociationEndFacade;
16 import org.andromda.metafacades.uml.AttributeFacade;
17 import org.andromda.metafacades.uml.ClassifierFacade;
18 import org.andromda.metafacades.uml.ConstraintFacade;
19 import org.andromda.metafacades.uml.DependencyFacade;
20 import org.andromda.metafacades.uml.ExtendFacade;
21 import org.andromda.metafacades.uml.ExtensionPointFacade;
22 import org.andromda.metafacades.uml.FrontEndAction;
23 import org.andromda.metafacades.uml.FrontEndActivityGraph;
24 import org.andromda.metafacades.uml.FrontEndController;
25 import org.andromda.metafacades.uml.FrontEndFinalState;
26 import org.andromda.metafacades.uml.FrontEndParameter;
27 import org.andromda.metafacades.uml.FrontEndUseCase;
28 import org.andromda.metafacades.uml.FrontEndView;
29 import org.andromda.metafacades.uml.GeneralizableElementFacade;
30 import org.andromda.metafacades.uml.GeneralizationFacade;
31 import org.andromda.metafacades.uml.IncludeFacade;
32 import org.andromda.metafacades.uml.ModelElementFacade;
33 import org.andromda.metafacades.uml.ModelFacade;
34 import org.andromda.metafacades.uml.OperationFacade;
35 import org.andromda.metafacades.uml.PackageFacade;
36 import org.andromda.metafacades.uml.Role;
37 import org.andromda.metafacades.uml.StateMachineFacade;
38 import org.andromda.metafacades.uml.StereotypeFacade;
39 import org.andromda.metafacades.uml.TaggedValueFacade;
40 import org.andromda.metafacades.uml.TemplateParameterFacade;
41 import org.andromda.metafacades.uml.TypeMappings;
42 import org.apache.log4j.Logger;
43
44
45
46
47
48
49
50 public abstract class JSFUseCaseLogic
51 extends MetafacadeBase
52 implements JSFUseCase
53 {
54
55
56
57
58 protected Object metaObject;
59
60
61
62
63
64 protected JSFUseCaseLogic(Object metaObjectIn, String context)
65 {
66 super(metaObjectIn, getContext(context));
67 this.superFrontEndUseCase =
68 (FrontEndUseCase)
69 MetafacadeFactory.getInstance().createFacadeImpl(
70 "org.andromda.metafacades.uml.FrontEndUseCase",
71 metaObjectIn,
72 getContext(context));
73 this.metaObject = metaObjectIn;
74 }
75
76
77
78
79 private static final Logger logger = Logger.getLogger(JSFUseCaseLogic.class);
80
81
82
83
84
85
86 private static String getContext(String context)
87 {
88 if (context == null)
89 {
90 context = "org.andromda.cartridges.jsf.metafacades.JSFUseCase";
91 }
92 return context;
93 }
94
95 private FrontEndUseCase superFrontEndUseCase;
96 private boolean superFrontEndUseCaseInitialized = false;
97
98
99
100
101
102 private FrontEndUseCase getSuperFrontEndUseCase()
103 {
104 if (!this.superFrontEndUseCaseInitialized)
105 {
106 ((MetafacadeBase)this.superFrontEndUseCase).setMetafacadeContext(this.getMetafacadeContext());
107 this.superFrontEndUseCaseInitialized = true;
108 }
109 return this.superFrontEndUseCase;
110 }
111
112
113
114
115
116 @Override
117 public void resetMetafacadeContext(String context)
118 {
119 if (!this.contextRoot)
120 {
121 context = getContext(context);
122 setMetafacadeContext (context);
123 if (this.superFrontEndUseCaseInitialized)
124 {
125 ((MetafacadeBase)this.superFrontEndUseCase).resetMetafacadeContext(context);
126 }
127 }
128 }
129
130
131
132
133
134 public boolean isJSFUseCaseMetaType()
135 {
136 return true;
137 }
138
139
140
141
142
143
144
145 protected abstract String handleGetPath();
146
147 private String __path1a;
148 private boolean __path1aSet = false;
149
150
151
152
153
154 public final String getPath()
155 {
156 String path1a = this.__path1a;
157 if (!this.__path1aSet)
158 {
159
160 path1a = handleGetPath();
161
162 this.__path1a = path1a;
163 if (isMetafacadePropertyCachingEnabled())
164 {
165 this.__path1aSet = true;
166 }
167 }
168 return path1a;
169 }
170
171
172
173
174
175 protected abstract String handleGetPathRoot();
176
177 private String __pathRoot2a;
178 private boolean __pathRoot2aSet = false;
179
180
181
182
183
184
185 public final String getPathRoot()
186 {
187 String pathRoot2a = this.__pathRoot2a;
188 if (!this.__pathRoot2aSet)
189 {
190
191 pathRoot2a = handleGetPathRoot();
192
193 this.__pathRoot2a = pathRoot2a;
194 if (isMetafacadePropertyCachingEnabled())
195 {
196 this.__pathRoot2aSet = true;
197 }
198 }
199 return pathRoot2a;
200 }
201
202
203
204
205
206 protected abstract String handleGetForwardName();
207
208 private String __forwardName3a;
209 private boolean __forwardName3aSet = false;
210
211
212
213
214
215 public final String getForwardName()
216 {
217 String forwardName3a = this.__forwardName3a;
218 if (!this.__forwardName3aSet)
219 {
220
221 forwardName3a = handleGetForwardName();
222
223 this.__forwardName3a = forwardName3a;
224 if (isMetafacadePropertyCachingEnabled())
225 {
226 this.__forwardName3aSet = true;
227 }
228 }
229 return forwardName3a;
230 }
231
232
233
234
235
236 protected abstract Map handleGetAllMessages();
237
238 private Map __allMessages4a;
239 private boolean __allMessages4aSet = false;
240
241
242
243
244
245 public final Map getAllMessages()
246 {
247 Map allMessages4a = this.__allMessages4a;
248 if (!this.__allMessages4aSet)
249 {
250
251 allMessages4a = handleGetAllMessages();
252
253 this.__allMessages4a = allMessages4a;
254 if (isMetafacadePropertyCachingEnabled())
255 {
256 this.__allMessages4aSet = true;
257 }
258 }
259 return allMessages4a;
260 }
261
262
263
264
265
266 protected abstract String handleGetTitleKey();
267
268 private String __titleKey5a;
269 private boolean __titleKey5aSet = false;
270
271
272
273
274
275 public final String getTitleKey()
276 {
277 String titleKey5a = this.__titleKey5a;
278 if (!this.__titleKey5aSet)
279 {
280
281 titleKey5a = handleGetTitleKey();
282
283 this.__titleKey5a = titleKey5a;
284 if (isMetafacadePropertyCachingEnabled())
285 {
286 this.__titleKey5aSet = true;
287 }
288 }
289 return titleKey5a;
290 }
291
292
293
294
295
296 protected abstract String handleGetTitleValue();
297
298 private String __titleValue6a;
299 private boolean __titleValue6aSet = false;
300
301
302
303
304
305 public final String getTitleValue()
306 {
307 String titleValue6a = this.__titleValue6a;
308 if (!this.__titleValue6aSet)
309 {
310
311 titleValue6a = handleGetTitleValue();
312
313 this.__titleValue6a = titleValue6a;
314 if (isMetafacadePropertyCachingEnabled())
315 {
316 this.__titleValue6aSet = true;
317 }
318 }
319 return titleValue6a;
320 }
321
322
323
324
325
326 protected abstract String handleGetActionClassName();
327
328 private String __actionClassName7a;
329 private boolean __actionClassName7aSet = false;
330
331
332
333
334
335 public final String getActionClassName()
336 {
337 String actionClassName7a = this.__actionClassName7a;
338 if (!this.__actionClassName7aSet)
339 {
340
341 actionClassName7a = handleGetActionClassName();
342
343 this.__actionClassName7a = actionClassName7a;
344 if (isMetafacadePropertyCachingEnabled())
345 {
346 this.__actionClassName7aSet = true;
347 }
348 }
349 return actionClassName7a;
350 }
351
352
353
354
355
356 protected abstract String handleGetFullyQualifiedActionClassPath();
357
358 private String __fullyQualifiedActionClassPath8a;
359 private boolean __fullyQualifiedActionClassPath8aSet = false;
360
361
362
363
364
365 public final String getFullyQualifiedActionClassPath()
366 {
367 String fullyQualifiedActionClassPath8a = this.__fullyQualifiedActionClassPath8a;
368 if (!this.__fullyQualifiedActionClassPath8aSet)
369 {
370
371 fullyQualifiedActionClassPath8a = handleGetFullyQualifiedActionClassPath();
372
373 this.__fullyQualifiedActionClassPath8a = fullyQualifiedActionClassPath8a;
374 if (isMetafacadePropertyCachingEnabled())
375 {
376 this.__fullyQualifiedActionClassPath8aSet = true;
377 }
378 }
379 return fullyQualifiedActionClassPath8a;
380 }
381
382
383
384
385
386 protected abstract String handleGetControllerAction();
387
388 private String __controllerAction9a;
389 private boolean __controllerAction9aSet = false;
390
391
392
393
394
395 public final String getControllerAction()
396 {
397 String controllerAction9a = this.__controllerAction9a;
398 if (!this.__controllerAction9aSet)
399 {
400
401 controllerAction9a = handleGetControllerAction();
402
403 this.__controllerAction9a = controllerAction9a;
404 if (isMetafacadePropertyCachingEnabled())
405 {
406 this.__controllerAction9aSet = true;
407 }
408 }
409 return controllerAction9a;
410 }
411
412
413
414
415
416 protected abstract String handleGetFullyQualifiedActionClassName();
417
418 private String __fullyQualifiedActionClassName10a;
419 private boolean __fullyQualifiedActionClassName10aSet = false;
420
421
422
423
424
425 public final String getFullyQualifiedActionClassName()
426 {
427 String fullyQualifiedActionClassName10a = this.__fullyQualifiedActionClassName10a;
428 if (!this.__fullyQualifiedActionClassName10aSet)
429 {
430
431 fullyQualifiedActionClassName10a = handleGetFullyQualifiedActionClassName();
432
433 this.__fullyQualifiedActionClassName10a = fullyQualifiedActionClassName10a;
434 if (isMetafacadePropertyCachingEnabled())
435 {
436 this.__fullyQualifiedActionClassName10aSet = true;
437 }
438 }
439 return fullyQualifiedActionClassName10a;
440 }
441
442
443
444
445
446 protected abstract String handleGetFormKey();
447
448 private String __formKey11a;
449 private boolean __formKey11aSet = false;
450
451
452
453
454
455 public final String getFormKey()
456 {
457 String formKey11a = this.__formKey11a;
458 if (!this.__formKey11aSet)
459 {
460
461 formKey11a = handleGetFormKey();
462
463 this.__formKey11a = formKey11a;
464 if (isMetafacadePropertyCachingEnabled())
465 {
466 this.__formKey11aSet = true;
467 }
468 }
469 return formKey11a;
470 }
471
472
473
474
475
476 protected abstract String handleGetInitialTargetPath();
477
478 private String __initialTargetPath12a;
479 private boolean __initialTargetPath12aSet = false;
480
481
482
483
484
485 public final String getInitialTargetPath()
486 {
487 String initialTargetPath12a = this.__initialTargetPath12a;
488 if (!this.__initialTargetPath12aSet)
489 {
490
491 initialTargetPath12a = handleGetInitialTargetPath();
492
493 this.__initialTargetPath12a = initialTargetPath12a;
494 if (isMetafacadePropertyCachingEnabled())
495 {
496 this.__initialTargetPath12aSet = true;
497 }
498 }
499 return initialTargetPath12a;
500 }
501
502
503
504
505
506 protected abstract boolean handleIsInitialTargetView();
507
508 private boolean __initialTargetView13a;
509 private boolean __initialTargetView13aSet = false;
510
511
512
513
514
515 public final boolean isInitialTargetView()
516 {
517 boolean initialTargetView13a = this.__initialTargetView13a;
518 if (!this.__initialTargetView13aSet)
519 {
520
521 initialTargetView13a = handleIsInitialTargetView();
522
523 this.__initialTargetView13a = initialTargetView13a;
524 if (isMetafacadePropertyCachingEnabled())
525 {
526 this.__initialTargetView13aSet = true;
527 }
528 }
529 return initialTargetView13a;
530 }
531
532
533
534
535
536 protected abstract boolean handleIsApplicationValidationRequired();
537
538 private boolean __applicationValidationRequired14a;
539 private boolean __applicationValidationRequired14aSet = false;
540
541
542
543
544
545
546 public final boolean isApplicationValidationRequired()
547 {
548 boolean applicationValidationRequired14a = this.__applicationValidationRequired14a;
549 if (!this.__applicationValidationRequired14aSet)
550 {
551
552 applicationValidationRequired14a = handleIsApplicationValidationRequired();
553
554 this.__applicationValidationRequired14a = applicationValidationRequired14a;
555 if (isMetafacadePropertyCachingEnabled())
556 {
557 this.__applicationValidationRequired14aSet = true;
558 }
559 }
560 return applicationValidationRequired14a;
561 }
562
563
564
565
566
567 protected abstract boolean handleIsValidationRequired();
568
569 private boolean __validationRequired15a;
570 private boolean __validationRequired15aSet = false;
571
572
573
574
575
576 public final boolean isValidationRequired()
577 {
578 boolean validationRequired15a = this.__validationRequired15a;
579 if (!this.__validationRequired15aSet)
580 {
581
582 validationRequired15a = handleIsValidationRequired();
583
584 this.__validationRequired15a = validationRequired15a;
585 if (isMetafacadePropertyCachingEnabled())
586 {
587 this.__validationRequired15aSet = true;
588 }
589 }
590 return validationRequired15a;
591 }
592
593
594
595
596
597 protected abstract boolean handleIsViewHasNameOfUseCase();
598
599 private boolean __viewHasNameOfUseCase16a;
600 private boolean __viewHasNameOfUseCase16aSet = false;
601
602
603
604
605
606
607 public final boolean isViewHasNameOfUseCase()
608 {
609 boolean viewHasNameOfUseCase16a = this.__viewHasNameOfUseCase16a;
610 if (!this.__viewHasNameOfUseCase16aSet)
611 {
612
613 viewHasNameOfUseCase16a = handleIsViewHasNameOfUseCase();
614
615 this.__viewHasNameOfUseCase16a = viewHasNameOfUseCase16a;
616 if (isMetafacadePropertyCachingEnabled())
617 {
618 this.__viewHasNameOfUseCase16aSet = true;
619 }
620 }
621 return viewHasNameOfUseCase16a;
622 }
623
624
625
626
627
628 protected abstract boolean handleIsRegistrationUseCase();
629
630 private boolean __registrationUseCase17a;
631 private boolean __registrationUseCase17aSet = false;
632
633
634
635
636
637
638 public final boolean isRegistrationUseCase()
639 {
640 boolean registrationUseCase17a = this.__registrationUseCase17a;
641 if (!this.__registrationUseCase17aSet)
642 {
643
644 registrationUseCase17a = handleIsRegistrationUseCase();
645
646 this.__registrationUseCase17a = registrationUseCase17a;
647 if (isMetafacadePropertyCachingEnabled())
648 {
649 this.__registrationUseCase17aSet = true;
650 }
651 }
652 return registrationUseCase17a;
653 }
654
655
656
657
658
659 protected abstract String handleGetForwardsClassName();
660
661 private String __forwardsClassName18a;
662 private boolean __forwardsClassName18aSet = false;
663
664
665
666
667
668 public final String getForwardsClassName()
669 {
670 String forwardsClassName18a = this.__forwardsClassName18a;
671 if (!this.__forwardsClassName18aSet)
672 {
673
674 forwardsClassName18a = handleGetForwardsClassName();
675
676 this.__forwardsClassName18a = forwardsClassName18a;
677 if (isMetafacadePropertyCachingEnabled())
678 {
679 this.__forwardsClassName18aSet = true;
680 }
681 }
682 return forwardsClassName18a;
683 }
684
685
686
687
688
689 protected abstract List handleGetAllForwards();
690
691 private List __allForwards19a;
692 private boolean __allForwards19aSet = false;
693
694
695
696
697
698 public final List getAllForwards()
699 {
700 List allForwards19a = this.__allForwards19a;
701 if (!this.__allForwards19aSet)
702 {
703
704 allForwards19a = handleGetAllForwards();
705
706 this.__allForwards19a = allForwards19a;
707 if (isMetafacadePropertyCachingEnabled())
708 {
709 this.__allForwards19aSet = true;
710 }
711 }
712 return allForwards19a;
713 }
714
715
716
717
718
719 protected abstract String handleGetPortletViewForwardName();
720
721 private String __portletViewForwardName20a;
722 private boolean __portletViewForwardName20aSet = false;
723
724
725
726
727
728 public final String getPortletViewForwardName()
729 {
730 String portletViewForwardName20a = this.__portletViewForwardName20a;
731 if (!this.__portletViewForwardName20aSet)
732 {
733
734 portletViewForwardName20a = handleGetPortletViewForwardName();
735
736 this.__portletViewForwardName20a = portletViewForwardName20a;
737 if (isMetafacadePropertyCachingEnabled())
738 {
739 this.__portletViewForwardName20aSet = true;
740 }
741 }
742 return portletViewForwardName20a;
743 }
744
745
746
747
748
749 protected abstract String handleGetPortletEditForwardName();
750
751 private String __portletEditForwardName21a;
752 private boolean __portletEditForwardName21aSet = false;
753
754
755
756
757
758 public final String getPortletEditForwardName()
759 {
760 String portletEditForwardName21a = this.__portletEditForwardName21a;
761 if (!this.__portletEditForwardName21aSet)
762 {
763
764 portletEditForwardName21a = handleGetPortletEditForwardName();
765
766 this.__portletEditForwardName21a = portletEditForwardName21a;
767 if (isMetafacadePropertyCachingEnabled())
768 {
769 this.__portletEditForwardName21aSet = true;
770 }
771 }
772 return portletEditForwardName21a;
773 }
774
775
776
777
778
779 protected abstract String handleGetPortletHelpForwardName();
780
781 private String __portletHelpForwardName22a;
782 private boolean __portletHelpForwardName22aSet = false;
783
784
785
786
787
788 public final String getPortletHelpForwardName()
789 {
790 String portletHelpForwardName22a = this.__portletHelpForwardName22a;
791 if (!this.__portletHelpForwardName22aSet)
792 {
793
794 portletHelpForwardName22a = handleGetPortletHelpForwardName();
795
796 this.__portletHelpForwardName22a = portletHelpForwardName22a;
797 if (isMetafacadePropertyCachingEnabled())
798 {
799 this.__portletHelpForwardName22aSet = true;
800 }
801 }
802 return portletHelpForwardName22a;
803 }
804
805
806
807
808
809 protected abstract String handleGetPortletViewPath();
810
811 private String __portletViewPath23a;
812 private boolean __portletViewPath23aSet = false;
813
814
815
816
817
818 public final String getPortletViewPath()
819 {
820 String portletViewPath23a = this.__portletViewPath23a;
821 if (!this.__portletViewPath23aSet)
822 {
823
824 portletViewPath23a = handleGetPortletViewPath();
825
826 this.__portletViewPath23a = portletViewPath23a;
827 if (isMetafacadePropertyCachingEnabled())
828 {
829 this.__portletViewPath23aSet = true;
830 }
831 }
832 return portletViewPath23a;
833 }
834
835
836
837
838
839 protected abstract String handleGetPortletEditPath();
840
841 private String __portletEditPath24a;
842 private boolean __portletEditPath24aSet = false;
843
844
845
846
847
848 public final String getPortletEditPath()
849 {
850 String portletEditPath24a = this.__portletEditPath24a;
851 if (!this.__portletEditPath24aSet)
852 {
853
854 portletEditPath24a = handleGetPortletEditPath();
855
856 this.__portletEditPath24a = portletEditPath24a;
857 if (isMetafacadePropertyCachingEnabled())
858 {
859 this.__portletEditPath24aSet = true;
860 }
861 }
862 return portletEditPath24a;
863 }
864
865
866
867
868
869 protected abstract String handleGetPortletHelpPath();
870
871 private String __portletHelpPath25a;
872 private boolean __portletHelpPath25aSet = false;
873
874
875
876
877
878 public final String getPortletHelpPath()
879 {
880 String portletHelpPath25a = this.__portletHelpPath25a;
881 if (!this.__portletHelpPath25aSet)
882 {
883
884 portletHelpPath25a = handleGetPortletHelpPath();
885
886 this.__portletHelpPath25a = portletHelpPath25a;
887 if (isMetafacadePropertyCachingEnabled())
888 {
889 this.__portletHelpPath25aSet = true;
890 }
891 }
892 return portletHelpPath25a;
893 }
894
895
896
897
898
899
900
901
902 protected abstract Collection handleGetNavigationRules();
903
904
905
906
907
908 public Collection getNavigationRules()
909 {
910
911 Collection returnValue = handleGetNavigationRules();
912
913 return returnValue;
914 }
915
916
917
918
919
920
921
922 protected abstract Collection handleGetNavigationChildren();
923
924
925
926
927
928
929 public Collection getNavigationChildren()
930 {
931
932 Collection returnValue = handleGetNavigationChildren();
933
934 return returnValue;
935 }
936
937
938
939
940
941
942
943 protected abstract Collection handleGetNavigationParents();
944
945
946
947
948
949
950 public Collection getNavigationParents()
951 {
952
953 Collection returnValue = handleGetNavigationParents();
954
955 return returnValue;
956 }
957
958
959
960
961
962
963
964 protected abstract String handleGetActionRoles();
965
966
967
968
969
970
971 public String getActionRoles()
972 {
973
974 String returnValue = handleGetActionRoles();
975
976 return returnValue;
977 }
978
979
980
981
982
983
984
985 public final List<JSFForward> getForwards()
986 {
987 List<JSFForward> getForwards1r = null;
988
989 List result = handleGetForwards();
990 List shieldedResult = this.shieldedElements(result);
991 try
992 {
993 getForwards1r = (List<JSFForward>)shieldedResult;
994 }
995 catch (ClassCastException ex)
996 {
997
998 JSFUseCaseLogic.logger.warn("incorrect metafacade cast for JSFUseCaseLogic.getForwards List<JSFForward> " + result + ": " + shieldedResult);
999 }
1000
1001 return getForwards1r;
1002 }
1003
1004
1005
1006
1007
1008 protected abstract List handleGetForwards();
1009
1010 private List<JSFAction> __getActionForwards2r;
1011 private boolean __getActionForwards2rSet = false;
1012
1013
1014
1015
1016
1017 public final List<JSFAction> getActionForwards()
1018 {
1019 List<JSFAction> getActionForwards2r = this.__getActionForwards2r;
1020 if (!this.__getActionForwards2rSet)
1021 {
1022
1023 List result = handleGetActionForwards();
1024 List shieldedResult = this.shieldedElements(result);
1025 try
1026 {
1027 getActionForwards2r = (List<JSFAction>)shieldedResult;
1028 }
1029 catch (ClassCastException ex)
1030 {
1031
1032 JSFUseCaseLogic.logger.warn("incorrect metafacade cast for JSFUseCaseLogic.getActionForwards List<JSFAction> " + result + ": " + shieldedResult);
1033 }
1034
1035 this.__getActionForwards2r = getActionForwards2r;
1036 if (isMetafacadePropertyCachingEnabled())
1037 {
1038 this.__getActionForwards2rSet = true;
1039 }
1040 }
1041 return getActionForwards2r;
1042 }
1043
1044
1045
1046
1047
1048 protected abstract List handleGetActionForwards();
1049
1050 private Collection<JSFView> __getAllViews3r;
1051 private boolean __getAllViews3rSet = false;
1052
1053
1054
1055
1056
1057 public final Collection<JSFView> getAllViews()
1058 {
1059 Collection<JSFView> getAllViews3r = this.__getAllViews3r;
1060 if (!this.__getAllViews3rSet)
1061 {
1062
1063 Collection result = handleGetAllViews();
1064 List shieldedResult = this.shieldedElements(result);
1065 try
1066 {
1067 getAllViews3r = (Collection<JSFView>)shieldedResult;
1068 }
1069 catch (ClassCastException ex)
1070 {
1071
1072 JSFUseCaseLogic.logger.warn("incorrect metafacade cast for JSFUseCaseLogic.getAllViews Collection<JSFView> " + result + ": " + shieldedResult);
1073 }
1074
1075 this.__getAllViews3r = getAllViews3r;
1076 if (isMetafacadePropertyCachingEnabled())
1077 {
1078 this.__getAllViews3rSet = true;
1079 }
1080 }
1081 return getAllViews3r;
1082 }
1083
1084
1085
1086
1087
1088 protected abstract Collection handleGetAllViews();
1089
1090 private JSFPortletPreferences __getPreferences4r;
1091 private boolean __getPreferences4rSet = false;
1092
1093
1094
1095
1096
1097 public final JSFPortletPreferences getPreferences()
1098 {
1099 JSFPortletPreferences getPreferences4r = this.__getPreferences4r;
1100 if (!this.__getPreferences4rSet)
1101 {
1102
1103 Object result = handleGetPreferences();
1104 MetafacadeBase shieldedResult = this.shieldedElement(result);
1105 try
1106 {
1107 getPreferences4r = (JSFPortletPreferences)shieldedResult;
1108 }
1109 catch (ClassCastException ex)
1110 {
1111
1112 JSFUseCaseLogic.logger.warn("incorrect metafacade cast for JSFUseCaseLogic.getPreferences JSFPortletPreferences " + result + ": " + shieldedResult);
1113 }
1114
1115 this.__getPreferences4r = getPreferences4r;
1116 if (isMetafacadePropertyCachingEnabled())
1117 {
1118 this.__getPreferences4rSet = true;
1119 }
1120 }
1121 return getPreferences4r;
1122 }
1123
1124
1125
1126
1127
1128 protected abstract Object handleGetPreferences();
1129
1130 private List<JSFUseCase> __getRegistrationUseCases5r;
1131 private boolean __getRegistrationUseCases5rSet = false;
1132
1133
1134
1135
1136
1137 public final List<JSFUseCase> getRegistrationUseCases()
1138 {
1139 List<JSFUseCase> getRegistrationUseCases5r = this.__getRegistrationUseCases5r;
1140 if (!this.__getRegistrationUseCases5rSet)
1141 {
1142
1143 List result = handleGetRegistrationUseCases();
1144 List shieldedResult = this.shieldedElements(result);
1145 try
1146 {
1147 getRegistrationUseCases5r = (List<JSFUseCase>)shieldedResult;
1148 }
1149 catch (ClassCastException ex)
1150 {
1151
1152 JSFUseCaseLogic.logger.warn("incorrect metafacade cast for JSFUseCaseLogic.getRegistrationUseCases List<JSFUseCase> " + result + ": " + shieldedResult);
1153 }
1154
1155 this.__getRegistrationUseCases5r = getRegistrationUseCases5r;
1156 if (isMetafacadePropertyCachingEnabled())
1157 {
1158 this.__getRegistrationUseCases5rSet = true;
1159 }
1160 }
1161 return getRegistrationUseCases5r;
1162 }
1163
1164
1165
1166
1167
1168 protected abstract List handleGetRegistrationUseCases();
1169
1170
1171
1172
1173
1174 public boolean isFrontEndUseCaseMetaType()
1175 {
1176 return true;
1177 }
1178
1179
1180
1181
1182
1183 public boolean isUseCaseFacadeMetaType()
1184 {
1185 return true;
1186 }
1187
1188
1189
1190
1191
1192 public boolean isNamespaceFacadeMetaType()
1193 {
1194 return true;
1195 }
1196
1197
1198
1199
1200
1201 public boolean isClassifierFacadeMetaType()
1202 {
1203 return true;
1204 }
1205
1206
1207
1208
1209
1210 public boolean isGeneralizableElementFacadeMetaType()
1211 {
1212 return true;
1213 }
1214
1215
1216
1217
1218
1219 public boolean isModelElementFacadeMetaType()
1220 {
1221 return true;
1222 }
1223
1224
1225
1226
1227
1228
1229 public AttributeFacade findAttribute(String name)
1230 {
1231 return this.getSuperFrontEndUseCase().findAttribute(name);
1232 }
1233
1234
1235
1236
1237
1238 public Collection<ClassifierFacade> getAbstractions()
1239 {
1240 return this.getSuperFrontEndUseCase().getAbstractions();
1241 }
1242
1243
1244
1245
1246
1247
1248 public Collection<ClassifierFacade> getAllAssociatedClasses()
1249 {
1250 return this.getSuperFrontEndUseCase().getAllAssociatedClasses();
1251 }
1252
1253
1254
1255
1256
1257
1258 public Collection<ModelElementFacade> getAllProperties()
1259 {
1260 return this.getSuperFrontEndUseCase().getAllProperties();
1261 }
1262
1263
1264
1265
1266
1267
1268 public Collection<ModelElementFacade> getAllRequiredConstructorParameters()
1269 {
1270 return this.getSuperFrontEndUseCase().getAllRequiredConstructorParameters();
1271 }
1272
1273
1274
1275
1276
1277
1278 public ClassifierFacade getArray()
1279 {
1280 return this.getSuperFrontEndUseCase().getArray();
1281 }
1282
1283
1284
1285
1286
1287 public String getArrayName()
1288 {
1289 return this.getSuperFrontEndUseCase().getArrayName();
1290 }
1291
1292
1293
1294
1295
1296
1297 public Collection<ClassifierFacade> getAssociatedClasses()
1298 {
1299 return this.getSuperFrontEndUseCase().getAssociatedClasses();
1300 }
1301
1302
1303
1304
1305
1306 public List<AssociationEndFacade> getAssociationEnds()
1307 {
1308 return this.getSuperFrontEndUseCase().getAssociationEnds();
1309 }
1310
1311
1312
1313
1314
1315 public List<AttributeFacade> getAttributes()
1316 {
1317 return this.getSuperFrontEndUseCase().getAttributes();
1318 }
1319
1320
1321
1322
1323
1324
1325 public List<AttributeFacade> getAttributes(boolean follow)
1326 {
1327 return this.getSuperFrontEndUseCase().getAttributes(follow);
1328 }
1329
1330
1331
1332
1333
1334 public String getFullyQualifiedArrayName()
1335 {
1336 return this.getSuperFrontEndUseCase().getFullyQualifiedArrayName();
1337 }
1338
1339
1340
1341
1342
1343
1344
1345
1346 public Collection<OperationFacade> getImplementationOperations()
1347 {
1348 return this.getSuperFrontEndUseCase().getImplementationOperations();
1349 }
1350
1351
1352
1353
1354
1355 public String getImplementedInterfaceList()
1356 {
1357 return this.getSuperFrontEndUseCase().getImplementedInterfaceList();
1358 }
1359
1360
1361
1362
1363
1364 public Collection<AttributeFacade> getInstanceAttributes()
1365 {
1366 return this.getSuperFrontEndUseCase().getInstanceAttributes();
1367 }
1368
1369
1370
1371
1372
1373 public List<OperationFacade> getInstanceOperations()
1374 {
1375 return this.getSuperFrontEndUseCase().getInstanceOperations();
1376 }
1377
1378
1379
1380
1381
1382
1383 public Collection<ClassifierFacade> getInterfaceAbstractions()
1384 {
1385 return this.getSuperFrontEndUseCase().getInterfaceAbstractions();
1386 }
1387
1388
1389
1390
1391
1392
1393 public String getJavaNewString()
1394 {
1395 return this.getSuperFrontEndUseCase().getJavaNewString();
1396 }
1397
1398
1399
1400
1401
1402
1403 public String getJavaNullString()
1404 {
1405 return this.getSuperFrontEndUseCase().getJavaNullString();
1406 }
1407
1408
1409
1410
1411
1412 public Collection<AssociationEndFacade> getNavigableConnectingEnds()
1413 {
1414 return this.getSuperFrontEndUseCase().getNavigableConnectingEnds();
1415 }
1416
1417
1418
1419
1420
1421
1422 public List<AssociationEndFacade> getNavigableConnectingEnds(boolean follow)
1423 {
1424 return this.getSuperFrontEndUseCase().getNavigableConnectingEnds(follow);
1425 }
1426
1427
1428
1429
1430
1431
1432
1433 public ClassifierFacade getNonArray()
1434 {
1435 return this.getSuperFrontEndUseCase().getNonArray();
1436 }
1437
1438
1439
1440
1441
1442
1443
1444 public String getOperationCallFromAttributes()
1445 {
1446 return this.getSuperFrontEndUseCase().getOperationCallFromAttributes();
1447 }
1448
1449
1450
1451
1452
1453 public List<OperationFacade> getOperations()
1454 {
1455 return this.getSuperFrontEndUseCase().getOperations();
1456 }
1457
1458
1459
1460
1461
1462
1463 public List<ModelElementFacade> getProperties()
1464 {
1465 return this.getSuperFrontEndUseCase().getProperties();
1466 }
1467
1468
1469
1470
1471
1472
1473
1474 public List getProperties(boolean follow)
1475 {
1476 return this.getSuperFrontEndUseCase().getProperties(follow);
1477 }
1478
1479
1480
1481
1482
1483
1484 public Collection<ModelElementFacade> getRequiredConstructorParameters()
1485 {
1486 return this.getSuperFrontEndUseCase().getRequiredConstructorParameters();
1487 }
1488
1489
1490
1491
1492
1493 public long getSerialVersionUID()
1494 {
1495 return this.getSuperFrontEndUseCase().getSerialVersionUID();
1496 }
1497
1498
1499
1500
1501
1502 public Collection<AttributeFacade> getStaticAttributes()
1503 {
1504 return this.getSuperFrontEndUseCase().getStaticAttributes();
1505 }
1506
1507
1508
1509
1510
1511 public List<OperationFacade> getStaticOperations()
1512 {
1513 return this.getSuperFrontEndUseCase().getStaticOperations();
1514 }
1515
1516
1517
1518
1519
1520
1521 public ClassifierFacade getSuperClass()
1522 {
1523 return this.getSuperFrontEndUseCase().getSuperClass();
1524 }
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534 public String getWrapperName()
1535 {
1536 return this.getSuperFrontEndUseCase().getWrapperName();
1537 }
1538
1539
1540
1541
1542
1543 public boolean isAbstract()
1544 {
1545 return this.getSuperFrontEndUseCase().isAbstract();
1546 }
1547
1548
1549
1550
1551
1552 public boolean isArrayType()
1553 {
1554 return this.getSuperFrontEndUseCase().isArrayType();
1555 }
1556
1557
1558
1559
1560
1561 public boolean isAssociationClass()
1562 {
1563 return this.getSuperFrontEndUseCase().isAssociationClass();
1564 }
1565
1566
1567
1568
1569
1570 public boolean isBlobType()
1571 {
1572 return this.getSuperFrontEndUseCase().isBlobType();
1573 }
1574
1575
1576
1577
1578
1579 public boolean isBooleanType()
1580 {
1581 return this.getSuperFrontEndUseCase().isBooleanType();
1582 }
1583
1584
1585
1586
1587
1588 public boolean isCharacterType()
1589 {
1590 return this.getSuperFrontEndUseCase().isCharacterType();
1591 }
1592
1593
1594
1595
1596
1597 public boolean isClobType()
1598 {
1599 return this.getSuperFrontEndUseCase().isClobType();
1600 }
1601
1602
1603
1604
1605
1606 public boolean isCollectionType()
1607 {
1608 return this.getSuperFrontEndUseCase().isCollectionType();
1609 }
1610
1611
1612
1613
1614
1615
1616
1617 public boolean isDataType()
1618 {
1619 return this.getSuperFrontEndUseCase().isDataType();
1620 }
1621
1622
1623
1624
1625
1626 public boolean isDateType()
1627 {
1628 return this.getSuperFrontEndUseCase().isDateType();
1629 }
1630
1631
1632
1633
1634
1635 public boolean isDoubleType()
1636 {
1637 return this.getSuperFrontEndUseCase().isDoubleType();
1638 }
1639
1640
1641
1642
1643
1644 public boolean isEmbeddedValue()
1645 {
1646 return this.getSuperFrontEndUseCase().isEmbeddedValue();
1647 }
1648
1649
1650
1651
1652
1653 public boolean isEnumeration()
1654 {
1655 return this.getSuperFrontEndUseCase().isEnumeration();
1656 }
1657
1658
1659
1660
1661
1662 public boolean isFileType()
1663 {
1664 return this.getSuperFrontEndUseCase().isFileType();
1665 }
1666
1667
1668
1669
1670
1671 public boolean isFloatType()
1672 {
1673 return this.getSuperFrontEndUseCase().isFloatType();
1674 }
1675
1676
1677
1678
1679
1680 public boolean isIntegerType()
1681 {
1682 return this.getSuperFrontEndUseCase().isIntegerType();
1683 }
1684
1685
1686
1687
1688
1689 public boolean isInterface()
1690 {
1691 return this.getSuperFrontEndUseCase().isInterface();
1692 }
1693
1694
1695
1696
1697
1698 public boolean isLeaf()
1699 {
1700 return this.getSuperFrontEndUseCase().isLeaf();
1701 }
1702
1703
1704
1705
1706
1707 public boolean isListType()
1708 {
1709 return this.getSuperFrontEndUseCase().isListType();
1710 }
1711
1712
1713
1714
1715
1716 public boolean isLongType()
1717 {
1718 return this.getSuperFrontEndUseCase().isLongType();
1719 }
1720
1721
1722
1723
1724
1725 public boolean isMapType()
1726 {
1727 return this.getSuperFrontEndUseCase().isMapType();
1728 }
1729
1730
1731
1732
1733
1734 public boolean isPrimitive()
1735 {
1736 return this.getSuperFrontEndUseCase().isPrimitive();
1737 }
1738
1739
1740
1741
1742
1743 public boolean isSetType()
1744 {
1745 return this.getSuperFrontEndUseCase().isSetType();
1746 }
1747
1748
1749
1750
1751
1752 public boolean isStringType()
1753 {
1754 return this.getSuperFrontEndUseCase().isStringType();
1755 }
1756
1757
1758
1759
1760
1761 public boolean isTimeType()
1762 {
1763 return this.getSuperFrontEndUseCase().isTimeType();
1764 }
1765
1766
1767
1768
1769
1770 public boolean isWrappedPrimitive()
1771 {
1772 return this.getSuperFrontEndUseCase().isWrappedPrimitive();
1773 }
1774
1775
1776
1777
1778
1779 public List<FrontEndAction> getActions()
1780 {
1781 return this.getSuperFrontEndUseCase().getActions();
1782 }
1783
1784
1785
1786
1787
1788 public FrontEndActivityGraph getActivityGraph()
1789 {
1790 return this.getSuperFrontEndUseCase().getActivityGraph();
1791 }
1792
1793
1794
1795
1796
1797 public List<Role> getAllRoles()
1798 {
1799 return this.getSuperFrontEndUseCase().getAllRoles();
1800 }
1801
1802
1803
1804
1805
1806 public List<FrontEndUseCase> getAllUseCases()
1807 {
1808 return this.getSuperFrontEndUseCase().getAllUseCases();
1809 }
1810
1811
1812
1813
1814
1815 public FrontEndController getController()
1816 {
1817 return this.getSuperFrontEndUseCase().getController();
1818 }
1819
1820
1821
1822
1823
1824
1825 public FrontEndView getInitialView()
1826 {
1827 return this.getSuperFrontEndUseCase().getInitialView();
1828 }
1829
1830
1831
1832
1833
1834 public List<FrontEndFinalState> getReferencingFinalStates()
1835 {
1836 return this.getSuperFrontEndUseCase().getReferencingFinalStates();
1837 }
1838
1839
1840
1841
1842
1843 public List<Role> getRoles()
1844 {
1845 return this.getSuperFrontEndUseCase().getRoles();
1846 }
1847
1848
1849
1850
1851
1852
1853 public List<FrontEndParameter> getViewVariables()
1854 {
1855 return this.getSuperFrontEndUseCase().getViewVariables();
1856 }
1857
1858
1859
1860
1861
1862 public List<FrontEndView> getViews()
1863 {
1864 return this.getSuperFrontEndUseCase().getViews();
1865 }
1866
1867
1868
1869
1870
1871 public boolean isEntryUseCase()
1872 {
1873 return this.getSuperFrontEndUseCase().isEntryUseCase();
1874 }
1875
1876
1877
1878
1879
1880
1881 public boolean isSecured()
1882 {
1883 return this.getSuperFrontEndUseCase().isSecured();
1884 }
1885
1886
1887
1888
1889
1890
1891 public Object findTaggedValue(String tagName, boolean follow)
1892 {
1893 return this.getSuperFrontEndUseCase().findTaggedValue(tagName, follow);
1894 }
1895
1896
1897
1898
1899
1900 public Collection<GeneralizableElementFacade> getAllGeneralizations()
1901 {
1902 return this.getSuperFrontEndUseCase().getAllGeneralizations();
1903 }
1904
1905
1906
1907
1908
1909 public Collection<GeneralizableElementFacade> getAllSpecializations()
1910 {
1911 return this.getSuperFrontEndUseCase().getAllSpecializations();
1912 }
1913
1914
1915
1916
1917
1918 public GeneralizableElementFacade getGeneralization()
1919 {
1920 return this.getSuperFrontEndUseCase().getGeneralization();
1921 }
1922
1923
1924
1925
1926
1927
1928 public Collection<GeneralizationFacade> getGeneralizationLinks()
1929 {
1930 return this.getSuperFrontEndUseCase().getGeneralizationLinks();
1931 }
1932
1933
1934
1935
1936
1937 public String getGeneralizationList()
1938 {
1939 return this.getSuperFrontEndUseCase().getGeneralizationList();
1940 }
1941
1942
1943
1944
1945
1946
1947 public GeneralizableElementFacade getGeneralizationRoot()
1948 {
1949 return this.getSuperFrontEndUseCase().getGeneralizationRoot();
1950 }
1951
1952
1953
1954
1955
1956 public Collection<GeneralizableElementFacade> getGeneralizations()
1957 {
1958 return this.getSuperFrontEndUseCase().getGeneralizations();
1959 }
1960
1961
1962
1963
1964
1965 public Collection<GeneralizableElementFacade> getSpecializations()
1966 {
1967 return this.getSuperFrontEndUseCase().getSpecializations();
1968 }
1969
1970
1971
1972
1973
1974 public void copyTaggedValues(ModelElementFacade element)
1975 {
1976 this.getSuperFrontEndUseCase().copyTaggedValues(element);
1977 }
1978
1979
1980
1981
1982
1983
1984 public Object findTaggedValue(String tagName)
1985 {
1986 return this.getSuperFrontEndUseCase().findTaggedValue(tagName);
1987 }
1988
1989
1990
1991
1992
1993
1994 public Collection<Object> findTaggedValues(String tagName)
1995 {
1996 return this.getSuperFrontEndUseCase().findTaggedValues(tagName);
1997 }
1998
1999
2000
2001
2002
2003
2004
2005 public String getBindedFullyQualifiedName(ModelElementFacade bindedElement)
2006 {
2007 return this.getSuperFrontEndUseCase().getBindedFullyQualifiedName(bindedElement);
2008 }
2009
2010
2011
2012
2013
2014 public Collection<ConstraintFacade> getConstraints()
2015 {
2016 return this.getSuperFrontEndUseCase().getConstraints();
2017 }
2018
2019
2020
2021
2022
2023
2024 public Collection<ConstraintFacade> getConstraints(String kind)
2025 {
2026 return this.getSuperFrontEndUseCase().getConstraints(kind);
2027 }
2028
2029
2030
2031
2032
2033
2034
2035 public String getDocumentation(String indent)
2036 {
2037 return this.getSuperFrontEndUseCase().getDocumentation(indent);
2038 }
2039
2040
2041
2042
2043
2044
2045
2046
2047 public String getDocumentation(String indent, int lineLength)
2048 {
2049 return this.getSuperFrontEndUseCase().getDocumentation(indent, lineLength);
2050 }
2051
2052
2053
2054
2055
2056
2057
2058 public String getDocumentation(String indent, int lineLength, boolean htmlStyle)
2059 {
2060 return this.getSuperFrontEndUseCase().getDocumentation(indent, lineLength, htmlStyle);
2061 }
2062
2063
2064
2065
2066
2067 public String getFullyQualifiedName()
2068 {
2069 return this.getSuperFrontEndUseCase().getFullyQualifiedName();
2070 }
2071
2072
2073
2074
2075
2076
2077
2078
2079 public String getFullyQualifiedName(boolean modelName)
2080 {
2081 return this.getSuperFrontEndUseCase().getFullyQualifiedName(modelName);
2082 }
2083
2084
2085
2086
2087
2088
2089 public String getFullyQualifiedNamePath()
2090 {
2091 return this.getSuperFrontEndUseCase().getFullyQualifiedNamePath();
2092 }
2093
2094
2095
2096
2097
2098 public String getId()
2099 {
2100 return this.getSuperFrontEndUseCase().getId();
2101 }
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111 public Collection<String> getKeywords()
2112 {
2113 return this.getSuperFrontEndUseCase().getKeywords();
2114 }
2115
2116
2117
2118
2119
2120 public String getLabel()
2121 {
2122 return this.getSuperFrontEndUseCase().getLabel();
2123 }
2124
2125
2126
2127
2128
2129 public TypeMappings getLanguageMappings()
2130 {
2131 return this.getSuperFrontEndUseCase().getLanguageMappings();
2132 }
2133
2134
2135
2136
2137
2138
2139 public ModelFacade getModel()
2140 {
2141 return this.getSuperFrontEndUseCase().getModel();
2142 }
2143
2144
2145
2146
2147
2148 public String getName()
2149 {
2150 return this.getSuperFrontEndUseCase().getName();
2151 }
2152
2153
2154
2155
2156
2157 public ModelElementFacade getPackage()
2158 {
2159 return this.getSuperFrontEndUseCase().getPackage();
2160 }
2161
2162
2163
2164
2165
2166 public String getPackageName()
2167 {
2168 return this.getSuperFrontEndUseCase().getPackageName();
2169 }
2170
2171
2172
2173
2174
2175
2176 public String getPackageName(boolean modelName)
2177 {
2178 return this.getSuperFrontEndUseCase().getPackageName(modelName);
2179 }
2180
2181
2182
2183
2184
2185 public String getPackagePath()
2186 {
2187 return this.getSuperFrontEndUseCase().getPackagePath();
2188 }
2189
2190
2191
2192
2193
2194
2195
2196
2197 public String getQualifiedName()
2198 {
2199 return this.getSuperFrontEndUseCase().getQualifiedName();
2200 }
2201
2202
2203
2204
2205
2206 public PackageFacade getRootPackage()
2207 {
2208 return this.getSuperFrontEndUseCase().getRootPackage();
2209 }
2210
2211
2212
2213
2214
2215 public Collection<DependencyFacade> getSourceDependencies()
2216 {
2217 return this.getSuperFrontEndUseCase().getSourceDependencies();
2218 }
2219
2220
2221
2222
2223
2224
2225 public StateMachineFacade getStateMachineContext()
2226 {
2227 return this.getSuperFrontEndUseCase().getStateMachineContext();
2228 }
2229
2230
2231
2232
2233
2234 public Collection<String> getStereotypeNames()
2235 {
2236 return this.getSuperFrontEndUseCase().getStereotypeNames();
2237 }
2238
2239
2240
2241
2242
2243 public Collection<StereotypeFacade> getStereotypes()
2244 {
2245 return this.getSuperFrontEndUseCase().getStereotypes();
2246 }
2247
2248
2249
2250
2251
2252 public Collection<TaggedValueFacade> getTaggedValues()
2253 {
2254 return this.getSuperFrontEndUseCase().getTaggedValues();
2255 }
2256
2257
2258
2259
2260
2261 public Collection<DependencyFacade> getTargetDependencies()
2262 {
2263 return this.getSuperFrontEndUseCase().getTargetDependencies();
2264 }
2265
2266
2267
2268
2269
2270 public Object getTemplateParameter(String parameterName)
2271 {
2272 return this.getSuperFrontEndUseCase().getTemplateParameter(parameterName);
2273 }
2274
2275
2276
2277
2278
2279 public Collection<TemplateParameterFacade> getTemplateParameters()
2280 {
2281 return this.getSuperFrontEndUseCase().getTemplateParameters();
2282 }
2283
2284
2285
2286
2287
2288
2289 public String getVisibility()
2290 {
2291 return this.getSuperFrontEndUseCase().getVisibility();
2292 }
2293
2294
2295
2296
2297
2298
2299 public boolean hasExactStereotype(String stereotypeName)
2300 {
2301 return this.getSuperFrontEndUseCase().hasExactStereotype(stereotypeName);
2302 }
2303
2304
2305
2306
2307
2308
2309 public boolean hasKeyword(String keywordName)
2310 {
2311 return this.getSuperFrontEndUseCase().hasKeyword(keywordName);
2312 }
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326 public boolean hasStereotype(String stereotypeName)
2327 {
2328 return this.getSuperFrontEndUseCase().hasStereotype(stereotypeName);
2329 }
2330
2331
2332
2333
2334
2335
2336 public boolean isBindingDependenciesPresent()
2337 {
2338 return this.getSuperFrontEndUseCase().isBindingDependenciesPresent();
2339 }
2340
2341
2342
2343
2344
2345 public boolean isConstraintsPresent()
2346 {
2347 return this.getSuperFrontEndUseCase().isConstraintsPresent();
2348 }
2349
2350
2351
2352
2353
2354 public boolean isDocumentationPresent()
2355 {
2356 return this.getSuperFrontEndUseCase().isDocumentationPresent();
2357 }
2358
2359
2360
2361
2362
2363 public boolean isReservedWord()
2364 {
2365 return this.getSuperFrontEndUseCase().isReservedWord();
2366 }
2367
2368
2369
2370
2371
2372
2373 public boolean isTemplateParametersPresent()
2374 {
2375 return this.getSuperFrontEndUseCase().isTemplateParametersPresent();
2376 }
2377
2378
2379
2380
2381
2382
2383
2384 public boolean isValidIdentifierName()
2385 {
2386 return this.getSuperFrontEndUseCase().isValidIdentifierName();
2387 }
2388
2389
2390
2391
2392
2393
2394
2395 public String translateConstraint(String name, String translation)
2396 {
2397 return this.getSuperFrontEndUseCase().translateConstraint(name, translation);
2398 }
2399
2400
2401
2402
2403
2404 public String[] translateConstraints(String translation)
2405 {
2406 return this.getSuperFrontEndUseCase().translateConstraints(translation);
2407 }
2408
2409
2410
2411
2412
2413 public String[] translateConstraints(String kind, String translation)
2414 {
2415 return this.getSuperFrontEndUseCase().translateConstraints(kind, translation);
2416 }
2417
2418
2419
2420
2421
2422 public Collection<ModelElementFacade> getOwnedElements()
2423 {
2424 return this.getSuperFrontEndUseCase().getOwnedElements();
2425 }
2426
2427
2428
2429
2430
2431 public Collection<ExtendFacade> getExtends()
2432 {
2433 return this.getSuperFrontEndUseCase().getExtends();
2434 }
2435
2436
2437
2438
2439
2440 public Collection<ExtensionPointFacade> getExtensionPoints()
2441 {
2442 return this.getSuperFrontEndUseCase().getExtensionPoints();
2443 }
2444
2445
2446
2447
2448
2449 public ActivityGraphFacade getFirstActivityGraph()
2450 {
2451 return this.getSuperFrontEndUseCase().getFirstActivityGraph();
2452 }
2453
2454
2455
2456
2457
2458 public Collection<IncludeFacade> getIncludes()
2459 {
2460 return this.getSuperFrontEndUseCase().getIncludes();
2461 }
2462
2463
2464
2465
2466 @Override
2467 public void initialize()
2468 {
2469 this.getSuperFrontEndUseCase().initialize();
2470 }
2471
2472
2473
2474
2475
2476 @Override
2477 public Object getValidationOwner()
2478 {
2479 Object owner = this.getSuperFrontEndUseCase().getValidationOwner();
2480 return owner;
2481 }
2482
2483
2484
2485
2486
2487 @Override
2488 public String getValidationName()
2489 {
2490 String name = this.getSuperFrontEndUseCase().getValidationName();
2491 return name;
2492 }
2493
2494
2495
2496
2497
2498 @Override
2499 public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
2500 {
2501 this.getSuperFrontEndUseCase().validateInvariants(validationMessages);
2502 }
2503
2504
2505
2506
2507 private static final String NAME_PROPERTY = "name";
2508 private static final String FQNAME_PROPERTY = "fullyQualifiedName";
2509
2510
2511
2512
2513 @Override
2514 public String toString()
2515 {
2516 final StringBuilder toString = new StringBuilder(this.getClass().getName());
2517 toString.append("[");
2518 try
2519 {
2520 toString.append(Introspector.instance().getProperty(this, FQNAME_PROPERTY));
2521 }
2522 catch (final Throwable tryAgain)
2523 {
2524 try
2525 {
2526 toString.append(Introspector.instance().getProperty(this, NAME_PROPERTY));
2527 }
2528 catch (final Throwable ignore)
2529 {
2530
2531 }
2532 }
2533 toString.append("]");
2534 return toString.toString();
2535 }
2536 }