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