1
2
3
4
5 package org.andromda.cartridges.ejb3.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.AttributeFacade;
13 import org.andromda.metafacades.uml.ClassifierFacade;
14 import org.andromda.metafacades.uml.ConstraintFacade;
15 import org.andromda.metafacades.uml.DependencyFacade;
16 import org.andromda.metafacades.uml.EnumerationFacade;
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.StateMachineFacade;
21 import org.andromda.metafacades.uml.StereotypeFacade;
22 import org.andromda.metafacades.uml.TaggedValueFacade;
23 import org.andromda.metafacades.uml.TemplateParameterFacade;
24 import org.andromda.metafacades.uml.TypeMappings;
25
26
27
28
29
30
31
32 public abstract class EJB3SessionAttributeFacadeLogic
33 extends MetafacadeBase
34 implements EJB3SessionAttributeFacade
35 {
36
37
38
39
40 protected Object metaObject;
41
42
43
44
45
46 protected EJB3SessionAttributeFacadeLogic(Object metaObjectIn, String context)
47 {
48 super(metaObjectIn, getContext(context));
49 this.superAttributeFacade =
50 (AttributeFacade)
51 MetafacadeFactory.getInstance().createFacadeImpl(
52 "org.andromda.metafacades.uml.AttributeFacade",
53 metaObjectIn,
54 getContext(context));
55 this.metaObject = metaObjectIn;
56 }
57
58
59
60
61
62
63 private static String getContext(String context)
64 {
65 if (context == null)
66 {
67 context = "org.andromda.cartridges.ejb3.metafacades.EJB3SessionAttributeFacade";
68 }
69 return context;
70 }
71
72 private AttributeFacade superAttributeFacade;
73 private boolean superAttributeFacadeInitialized = false;
74
75
76
77
78
79 private AttributeFacade getSuperAttributeFacade()
80 {
81 if (!this.superAttributeFacadeInitialized)
82 {
83 ((MetafacadeBase)this.superAttributeFacade).setMetafacadeContext(this.getMetafacadeContext());
84 this.superAttributeFacadeInitialized = true;
85 }
86 return this.superAttributeFacade;
87 }
88
89
90
91
92
93 @Override
94 public void resetMetafacadeContext(String context)
95 {
96 if (!this.contextRoot)
97 {
98 context = getContext(context);
99 setMetafacadeContext (context);
100 if (this.superAttributeFacadeInitialized)
101 {
102 ((MetafacadeBase)this.superAttributeFacade).resetMetafacadeContext(context);
103 }
104 }
105 }
106
107
108
109
110
111 public boolean isEJB3SessionAttributeFacadeMetaType()
112 {
113 return true;
114 }
115
116
117
118
119
120
121
122 protected abstract String handleGetTransactionType();
123
124 private String __transactionType1a;
125 private boolean __transactionType1aSet = false;
126
127
128
129
130
131 public final String getTransactionType()
132 {
133 String transactionType1a = this.__transactionType1a;
134 if (!this.__transactionType1aSet)
135 {
136
137 transactionType1a = handleGetTransactionType();
138
139 this.__transactionType1a = transactionType1a;
140 if (isMetafacadePropertyCachingEnabled())
141 {
142 this.__transactionType1aSet = true;
143 }
144 }
145 return transactionType1a;
146 }
147
148
149
150
151
152 protected abstract boolean handleIsSeamBijectionIn();
153
154 private boolean __seamBijectionIn2a;
155 private boolean __seamBijectionIn2aSet = false;
156
157
158
159
160
161
162
163 public final boolean isSeamBijectionIn()
164 {
165 boolean seamBijectionIn2a = this.__seamBijectionIn2a;
166 if (!this.__seamBijectionIn2aSet)
167 {
168
169 seamBijectionIn2a = handleIsSeamBijectionIn();
170
171 this.__seamBijectionIn2a = seamBijectionIn2a;
172 if (isMetafacadePropertyCachingEnabled())
173 {
174 this.__seamBijectionIn2aSet = true;
175 }
176 }
177 return seamBijectionIn2a;
178 }
179
180
181
182
183
184 protected abstract boolean handleIsSeamBijectionOut();
185
186 private boolean __seamBijectionOut3a;
187 private boolean __seamBijectionOut3aSet = false;
188
189
190
191
192
193
194
195 public final boolean isSeamBijectionOut()
196 {
197 boolean seamBijectionOut3a = this.__seamBijectionOut3a;
198 if (!this.__seamBijectionOut3aSet)
199 {
200
201 seamBijectionOut3a = handleIsSeamBijectionOut();
202
203 this.__seamBijectionOut3a = seamBijectionOut3a;
204 if (isMetafacadePropertyCachingEnabled())
205 {
206 this.__seamBijectionOut3aSet = true;
207 }
208 }
209 return seamBijectionOut3a;
210 }
211
212
213
214
215
216 protected abstract boolean handleIsSeamValidationValid();
217
218 private boolean __seamValidationValid4a;
219 private boolean __seamValidationValid4aSet = false;
220
221
222
223
224
225
226
227 public final boolean isSeamValidationValid()
228 {
229 boolean seamValidationValid4a = this.__seamValidationValid4a;
230 if (!this.__seamValidationValid4aSet)
231 {
232
233 seamValidationValid4a = handleIsSeamValidationValid();
234
235 this.__seamValidationValid4a = seamValidationValid4a;
236 if (isMetafacadePropertyCachingEnabled())
237 {
238 this.__seamValidationValid4aSet = true;
239 }
240 }
241 return seamValidationValid4a;
242 }
243
244
245
246
247
248 protected abstract boolean handleIsSeamDataModel();
249
250 private boolean __seamDataModel5a;
251 private boolean __seamDataModel5aSet = false;
252
253
254
255
256
257
258
259
260 public final boolean isSeamDataModel()
261 {
262 boolean seamDataModel5a = this.__seamDataModel5a;
263 if (!this.__seamDataModel5aSet)
264 {
265
266 seamDataModel5a = handleIsSeamDataModel();
267
268 this.__seamDataModel5a = seamDataModel5a;
269 if (isMetafacadePropertyCachingEnabled())
270 {
271 this.__seamDataModel5aSet = true;
272 }
273 }
274 return seamDataModel5a;
275 }
276
277
278
279
280
281 protected abstract boolean handleIsSeamDataModelSelection();
282
283 private boolean __seamDataModelSelection6a;
284 private boolean __seamDataModelSelection6aSet = false;
285
286
287
288
289
290
291 public final boolean isSeamDataModelSelection()
292 {
293 boolean seamDataModelSelection6a = this.__seamDataModelSelection6a;
294 if (!this.__seamDataModelSelection6aSet)
295 {
296
297 seamDataModelSelection6a = handleIsSeamDataModelSelection();
298
299 this.__seamDataModelSelection6a = seamDataModelSelection6a;
300 if (isMetafacadePropertyCachingEnabled())
301 {
302 this.__seamDataModelSelection6aSet = true;
303 }
304 }
305 return seamDataModelSelection6a;
306 }
307
308
309
310
311
312 protected abstract boolean handleIsSeamDataModelSelectionIndex();
313
314 private boolean __seamDataModelSelectionIndex7a;
315 private boolean __seamDataModelSelectionIndex7aSet = false;
316
317
318
319
320
321
322
323 public final boolean isSeamDataModelSelectionIndex()
324 {
325 boolean seamDataModelSelectionIndex7a = this.__seamDataModelSelectionIndex7a;
326 if (!this.__seamDataModelSelectionIndex7aSet)
327 {
328
329 seamDataModelSelectionIndex7a = handleIsSeamDataModelSelectionIndex();
330
331 this.__seamDataModelSelectionIndex7a = seamDataModelSelectionIndex7a;
332 if (isMetafacadePropertyCachingEnabled())
333 {
334 this.__seamDataModelSelectionIndex7aSet = true;
335 }
336 }
337 return seamDataModelSelectionIndex7a;
338 }
339
340
341
342
343
344 protected abstract boolean handleIsSeamBijectionLogger();
345
346 private boolean __seamBijectionLogger8a;
347 private boolean __seamBijectionLogger8aSet = false;
348
349
350
351
352
353
354 public final boolean isSeamBijectionLogger()
355 {
356 boolean seamBijectionLogger8a = this.__seamBijectionLogger8a;
357 if (!this.__seamBijectionLogger8aSet)
358 {
359
360 seamBijectionLogger8a = handleIsSeamBijectionLogger();
361
362 this.__seamBijectionLogger8a = seamBijectionLogger8a;
363 if (isMetafacadePropertyCachingEnabled())
364 {
365 this.__seamBijectionLogger8aSet = true;
366 }
367 }
368 return seamBijectionLogger8a;
369 }
370
371
372
373
374
375 protected abstract boolean handleIsSeamBijectionRequestParameter();
376
377 private boolean __seamBijectionRequestParameter9a;
378 private boolean __seamBijectionRequestParameter9aSet = false;
379
380
381
382
383
384
385
386 public final boolean isSeamBijectionRequestParameter()
387 {
388 boolean seamBijectionRequestParameter9a = this.__seamBijectionRequestParameter9a;
389 if (!this.__seamBijectionRequestParameter9aSet)
390 {
391
392 seamBijectionRequestParameter9a = handleIsSeamBijectionRequestParameter();
393
394 this.__seamBijectionRequestParameter9a = seamBijectionRequestParameter9a;
395 if (isMetafacadePropertyCachingEnabled())
396 {
397 this.__seamBijectionRequestParameter9aSet = true;
398 }
399 }
400 return seamBijectionRequestParameter9a;
401 }
402
403
404
405
406
407 protected abstract String handleGetSeamBijectionInParameters();
408
409 private String __seamBijectionInParameters10a;
410 private boolean __seamBijectionInParameters10aSet = false;
411
412
413
414
415
416
417
418
419
420
421
422
423
424 public final String getSeamBijectionInParameters()
425 {
426 String seamBijectionInParameters10a = this.__seamBijectionInParameters10a;
427 if (!this.__seamBijectionInParameters10aSet)
428 {
429
430 seamBijectionInParameters10a = handleGetSeamBijectionInParameters();
431
432 this.__seamBijectionInParameters10a = seamBijectionInParameters10a;
433 if (isMetafacadePropertyCachingEnabled())
434 {
435 this.__seamBijectionInParameters10aSet = true;
436 }
437 }
438 return seamBijectionInParameters10a;
439 }
440
441
442
443
444
445 protected abstract String handleGetSeamBijectionLoggerParameters();
446
447 private String __seamBijectionLoggerParameters11a;
448 private boolean __seamBijectionLoggerParameters11aSet = false;
449
450
451
452
453
454
455
456 public final String getSeamBijectionLoggerParameters()
457 {
458 String seamBijectionLoggerParameters11a = this.__seamBijectionLoggerParameters11a;
459 if (!this.__seamBijectionLoggerParameters11aSet)
460 {
461
462 seamBijectionLoggerParameters11a = handleGetSeamBijectionLoggerParameters();
463
464 this.__seamBijectionLoggerParameters11a = seamBijectionLoggerParameters11a;
465 if (isMetafacadePropertyCachingEnabled())
466 {
467 this.__seamBijectionLoggerParameters11aSet = true;
468 }
469 }
470 return seamBijectionLoggerParameters11a;
471 }
472
473
474
475
476
477 protected abstract String handleGetSeamBijectionOutParameters();
478
479 private String __seamBijectionOutParameters12a;
480 private boolean __seamBijectionOutParameters12aSet = false;
481
482
483
484
485
486
487
488
489
490
491
492 public final String getSeamBijectionOutParameters()
493 {
494 String seamBijectionOutParameters12a = this.__seamBijectionOutParameters12a;
495 if (!this.__seamBijectionOutParameters12aSet)
496 {
497
498 seamBijectionOutParameters12a = handleGetSeamBijectionOutParameters();
499
500 this.__seamBijectionOutParameters12a = seamBijectionOutParameters12a;
501 if (isMetafacadePropertyCachingEnabled())
502 {
503 this.__seamBijectionOutParameters12aSet = true;
504 }
505 }
506 return seamBijectionOutParameters12a;
507 }
508
509
510
511
512
513 protected abstract String handleGetSeamBijectionRequestParameterParameters();
514
515 private String __seamBijectionRequestParameterParameters13a;
516 private boolean __seamBijectionRequestParameterParameters13aSet = false;
517
518
519
520
521
522
523
524
525 public final String getSeamBijectionRequestParameterParameters()
526 {
527 String seamBijectionRequestParameterParameters13a = this.__seamBijectionRequestParameterParameters13a;
528 if (!this.__seamBijectionRequestParameterParameters13aSet)
529 {
530
531 seamBijectionRequestParameterParameters13a = handleGetSeamBijectionRequestParameterParameters();
532
533 this.__seamBijectionRequestParameterParameters13a = seamBijectionRequestParameterParameters13a;
534 if (isMetafacadePropertyCachingEnabled())
535 {
536 this.__seamBijectionRequestParameterParameters13aSet = true;
537 }
538 }
539 return seamBijectionRequestParameterParameters13a;
540 }
541
542
543
544
545
546 protected abstract String handleGetSeamDataModelParameters();
547
548 private String __seamDataModelParameters14a;
549 private boolean __seamDataModelParameters14aSet = false;
550
551
552
553
554
555
556
557
558
559 public final String getSeamDataModelParameters()
560 {
561 String seamDataModelParameters14a = this.__seamDataModelParameters14a;
562 if (!this.__seamDataModelParameters14aSet)
563 {
564
565 seamDataModelParameters14a = handleGetSeamDataModelParameters();
566
567 this.__seamDataModelParameters14a = seamDataModelParameters14a;
568 if (isMetafacadePropertyCachingEnabled())
569 {
570 this.__seamDataModelParameters14aSet = true;
571 }
572 }
573 return seamDataModelParameters14a;
574 }
575
576
577
578
579
580 protected abstract String handleGetSeamDataModelSelectionParameters();
581
582 private String __seamDataModelSelectionParameters15a;
583 private boolean __seamDataModelSelectionParameters15aSet = false;
584
585
586
587
588
589
590
591
592 public final String getSeamDataModelSelectionParameters()
593 {
594 String seamDataModelSelectionParameters15a = this.__seamDataModelSelectionParameters15a;
595 if (!this.__seamDataModelSelectionParameters15aSet)
596 {
597
598 seamDataModelSelectionParameters15a = handleGetSeamDataModelSelectionParameters();
599
600 this.__seamDataModelSelectionParameters15a = seamDataModelSelectionParameters15a;
601 if (isMetafacadePropertyCachingEnabled())
602 {
603 this.__seamDataModelSelectionParameters15aSet = true;
604 }
605 }
606 return seamDataModelSelectionParameters15a;
607 }
608
609
610
611
612
613 protected abstract String handleGetSeamDataModelSelectionIndexParameters();
614
615 private String __seamDataModelSelectionIndexParameters16a;
616 private boolean __seamDataModelSelectionIndexParameters16aSet = false;
617
618
619
620
621
622
623
624
625 public final String getSeamDataModelSelectionIndexParameters()
626 {
627 String seamDataModelSelectionIndexParameters16a = this.__seamDataModelSelectionIndexParameters16a;
628 if (!this.__seamDataModelSelectionIndexParameters16aSet)
629 {
630
631 seamDataModelSelectionIndexParameters16a = handleGetSeamDataModelSelectionIndexParameters();
632
633 this.__seamDataModelSelectionIndexParameters16a = seamDataModelSelectionIndexParameters16a;
634 if (isMetafacadePropertyCachingEnabled())
635 {
636 this.__seamDataModelSelectionIndexParameters16aSet = true;
637 }
638 }
639 return seamDataModelSelectionIndexParameters16a;
640 }
641
642
643
644
645
646 protected abstract boolean handleIsSeamAttribute();
647
648 private boolean __seamAttribute17a;
649 private boolean __seamAttribute17aSet = false;
650
651
652
653
654
655
656 public final boolean isSeamAttribute()
657 {
658 boolean seamAttribute17a = this.__seamAttribute17a;
659 if (!this.__seamAttribute17aSet)
660 {
661
662 seamAttribute17a = handleIsSeamAttribute();
663
664 this.__seamAttribute17a = seamAttribute17a;
665 if (isMetafacadePropertyCachingEnabled())
666 {
667 this.__seamAttribute17aSet = true;
668 }
669 }
670 return seamAttribute17a;
671 }
672
673
674
675
676
677 public boolean isAttributeFacadeMetaType()
678 {
679 return true;
680 }
681
682
683
684
685
686 public boolean isModelElementFacadeMetaType()
687 {
688 return true;
689 }
690
691
692
693
694
695
696
697
698 public Object findTaggedValue(String name, boolean follow)
699 {
700 return this.getSuperAttributeFacade().findTaggedValue(name, follow);
701 }
702
703
704
705
706
707 public String getDefaultValue()
708 {
709 return this.getSuperAttributeFacade().getDefaultValue();
710 }
711
712
713
714
715
716
717 public EnumerationFacade getEnumeration()
718 {
719 return this.getSuperAttributeFacade().getEnumeration();
720 }
721
722
723
724
725
726 public String getEnumerationLiteralParameters()
727 {
728 return this.getSuperAttributeFacade().getEnumerationLiteralParameters();
729 }
730
731
732
733
734
735
736
737 public String getEnumerationValue()
738 {
739 return this.getSuperAttributeFacade().getEnumerationValue();
740 }
741
742
743
744
745
746 public String getGetterName()
747 {
748 return this.getSuperAttributeFacade().getGetterName();
749 }
750
751
752
753
754
755
756 public String getGetterSetterTypeName()
757 {
758 return this.getSuperAttributeFacade().getGetterSetterTypeName();
759 }
760
761
762
763
764
765
766 public int getLower()
767 {
768 return this.getSuperAttributeFacade().getLower();
769 }
770
771
772
773
774
775 public ClassifierFacade getOwner()
776 {
777 return this.getSuperAttributeFacade().getOwner();
778 }
779
780
781
782
783
784 public String getSetterName()
785 {
786 return this.getSuperAttributeFacade().getSetterName();
787 }
788
789
790
791
792
793 public ClassifierFacade getType()
794 {
795 return this.getSuperAttributeFacade().getType();
796 }
797
798
799
800
801
802
803 public int getUpper()
804 {
805 return this.getSuperAttributeFacade().getUpper();
806 }
807
808
809
810
811
812 public boolean isAddOnly()
813 {
814 return this.getSuperAttributeFacade().isAddOnly();
815 }
816
817
818
819
820
821 public boolean isChangeable()
822 {
823 return this.getSuperAttributeFacade().isChangeable();
824 }
825
826
827
828
829
830 public boolean isDefaultValuePresent()
831 {
832 return this.getSuperAttributeFacade().isDefaultValuePresent();
833 }
834
835
836
837
838
839
840 public boolean isDerived()
841 {
842 return this.getSuperAttributeFacade().isDerived();
843 }
844
845
846
847
848
849 public boolean isEnumerationLiteral()
850 {
851 return this.getSuperAttributeFacade().isEnumerationLiteral();
852 }
853
854
855
856
857
858
859 public boolean isEnumerationLiteralParametersExist()
860 {
861 return this.getSuperAttributeFacade().isEnumerationLiteralParametersExist();
862 }
863
864
865
866
867
868
869 public boolean isEnumerationMember()
870 {
871 return this.getSuperAttributeFacade().isEnumerationMember();
872 }
873
874
875
876
877
878
879 public boolean isLeaf()
880 {
881 return this.getSuperAttributeFacade().isLeaf();
882 }
883
884
885
886
887
888 public boolean isMany()
889 {
890 return this.getSuperAttributeFacade().isMany();
891 }
892
893
894
895
896
897 public boolean isOrdered()
898 {
899 return this.getSuperAttributeFacade().isOrdered();
900 }
901
902
903
904
905
906 public boolean isReadOnly()
907 {
908 return this.getSuperAttributeFacade().isReadOnly();
909 }
910
911
912
913
914
915 public boolean isRequired()
916 {
917 return this.getSuperAttributeFacade().isRequired();
918 }
919
920
921
922
923
924 public boolean isStatic()
925 {
926 return this.getSuperAttributeFacade().isStatic();
927 }
928
929
930
931
932
933
934 public boolean isUnique()
935 {
936 return this.getSuperAttributeFacade().isUnique();
937 }
938
939
940
941
942
943 public void copyTaggedValues(ModelElementFacade element)
944 {
945 this.getSuperAttributeFacade().copyTaggedValues(element);
946 }
947
948
949
950
951
952
953 public Object findTaggedValue(String tagName)
954 {
955 return this.getSuperAttributeFacade().findTaggedValue(tagName);
956 }
957
958
959
960
961
962
963 public Collection<Object> findTaggedValues(String tagName)
964 {
965 return this.getSuperAttributeFacade().findTaggedValues(tagName);
966 }
967
968
969
970
971
972
973
974 public String getBindedFullyQualifiedName(ModelElementFacade bindedElement)
975 {
976 return this.getSuperAttributeFacade().getBindedFullyQualifiedName(bindedElement);
977 }
978
979
980
981
982
983 public Collection<ConstraintFacade> getConstraints()
984 {
985 return this.getSuperAttributeFacade().getConstraints();
986 }
987
988
989
990
991
992
993 public Collection<ConstraintFacade> getConstraints(String kind)
994 {
995 return this.getSuperAttributeFacade().getConstraints(kind);
996 }
997
998
999
1000
1001
1002
1003
1004 public String getDocumentation(String indent)
1005 {
1006 return this.getSuperAttributeFacade().getDocumentation(indent);
1007 }
1008
1009
1010
1011
1012
1013
1014
1015
1016 public String getDocumentation(String indent, int lineLength)
1017 {
1018 return this.getSuperAttributeFacade().getDocumentation(indent, lineLength);
1019 }
1020
1021
1022
1023
1024
1025
1026
1027 public String getDocumentation(String indent, int lineLength, boolean htmlStyle)
1028 {
1029 return this.getSuperAttributeFacade().getDocumentation(indent, lineLength, htmlStyle);
1030 }
1031
1032
1033
1034
1035
1036 public String getFullyQualifiedName()
1037 {
1038 return this.getSuperAttributeFacade().getFullyQualifiedName();
1039 }
1040
1041
1042
1043
1044
1045
1046
1047
1048 public String getFullyQualifiedName(boolean modelName)
1049 {
1050 return this.getSuperAttributeFacade().getFullyQualifiedName(modelName);
1051 }
1052
1053
1054
1055
1056
1057
1058 public String getFullyQualifiedNamePath()
1059 {
1060 return this.getSuperAttributeFacade().getFullyQualifiedNamePath();
1061 }
1062
1063
1064
1065
1066
1067 public String getId()
1068 {
1069 return this.getSuperAttributeFacade().getId();
1070 }
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080 public Collection<String> getKeywords()
1081 {
1082 return this.getSuperAttributeFacade().getKeywords();
1083 }
1084
1085
1086
1087
1088
1089 public String getLabel()
1090 {
1091 return this.getSuperAttributeFacade().getLabel();
1092 }
1093
1094
1095
1096
1097
1098 public TypeMappings getLanguageMappings()
1099 {
1100 return this.getSuperAttributeFacade().getLanguageMappings();
1101 }
1102
1103
1104
1105
1106
1107
1108 public ModelFacade getModel()
1109 {
1110 return this.getSuperAttributeFacade().getModel();
1111 }
1112
1113
1114
1115
1116
1117 public String getName()
1118 {
1119 return this.getSuperAttributeFacade().getName();
1120 }
1121
1122
1123
1124
1125
1126 public ModelElementFacade getPackage()
1127 {
1128 return this.getSuperAttributeFacade().getPackage();
1129 }
1130
1131
1132
1133
1134
1135 public String getPackageName()
1136 {
1137 return this.getSuperAttributeFacade().getPackageName();
1138 }
1139
1140
1141
1142
1143
1144
1145 public String getPackageName(boolean modelName)
1146 {
1147 return this.getSuperAttributeFacade().getPackageName(modelName);
1148 }
1149
1150
1151
1152
1153
1154 public String getPackagePath()
1155 {
1156 return this.getSuperAttributeFacade().getPackagePath();
1157 }
1158
1159
1160
1161
1162
1163
1164
1165
1166 public String getQualifiedName()
1167 {
1168 return this.getSuperAttributeFacade().getQualifiedName();
1169 }
1170
1171
1172
1173
1174
1175 public PackageFacade getRootPackage()
1176 {
1177 return this.getSuperAttributeFacade().getRootPackage();
1178 }
1179
1180
1181
1182
1183
1184 public Collection<DependencyFacade> getSourceDependencies()
1185 {
1186 return this.getSuperAttributeFacade().getSourceDependencies();
1187 }
1188
1189
1190
1191
1192
1193
1194 public StateMachineFacade getStateMachineContext()
1195 {
1196 return this.getSuperAttributeFacade().getStateMachineContext();
1197 }
1198
1199
1200
1201
1202
1203 public Collection<String> getStereotypeNames()
1204 {
1205 return this.getSuperAttributeFacade().getStereotypeNames();
1206 }
1207
1208
1209
1210
1211
1212 public Collection<StereotypeFacade> getStereotypes()
1213 {
1214 return this.getSuperAttributeFacade().getStereotypes();
1215 }
1216
1217
1218
1219
1220
1221 public Collection<TaggedValueFacade> getTaggedValues()
1222 {
1223 return this.getSuperAttributeFacade().getTaggedValues();
1224 }
1225
1226
1227
1228
1229
1230 public Collection<DependencyFacade> getTargetDependencies()
1231 {
1232 return this.getSuperAttributeFacade().getTargetDependencies();
1233 }
1234
1235
1236
1237
1238
1239 public Object getTemplateParameter(String parameterName)
1240 {
1241 return this.getSuperAttributeFacade().getTemplateParameter(parameterName);
1242 }
1243
1244
1245
1246
1247
1248 public Collection<TemplateParameterFacade> getTemplateParameters()
1249 {
1250 return this.getSuperAttributeFacade().getTemplateParameters();
1251 }
1252
1253
1254
1255
1256
1257
1258 public String getVisibility()
1259 {
1260 return this.getSuperAttributeFacade().getVisibility();
1261 }
1262
1263
1264
1265
1266
1267
1268 public boolean hasExactStereotype(String stereotypeName)
1269 {
1270 return this.getSuperAttributeFacade().hasExactStereotype(stereotypeName);
1271 }
1272
1273
1274
1275
1276
1277
1278 public boolean hasKeyword(String keywordName)
1279 {
1280 return this.getSuperAttributeFacade().hasKeyword(keywordName);
1281 }
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295 public boolean hasStereotype(String stereotypeName)
1296 {
1297 return this.getSuperAttributeFacade().hasStereotype(stereotypeName);
1298 }
1299
1300
1301
1302
1303
1304
1305 public boolean isBindingDependenciesPresent()
1306 {
1307 return this.getSuperAttributeFacade().isBindingDependenciesPresent();
1308 }
1309
1310
1311
1312
1313
1314 public boolean isConstraintsPresent()
1315 {
1316 return this.getSuperAttributeFacade().isConstraintsPresent();
1317 }
1318
1319
1320
1321
1322
1323 public boolean isDocumentationPresent()
1324 {
1325 return this.getSuperAttributeFacade().isDocumentationPresent();
1326 }
1327
1328
1329
1330
1331
1332 public boolean isReservedWord()
1333 {
1334 return this.getSuperAttributeFacade().isReservedWord();
1335 }
1336
1337
1338
1339
1340
1341
1342 public boolean isTemplateParametersPresent()
1343 {
1344 return this.getSuperAttributeFacade().isTemplateParametersPresent();
1345 }
1346
1347
1348
1349
1350
1351
1352
1353 public boolean isValidIdentifierName()
1354 {
1355 return this.getSuperAttributeFacade().isValidIdentifierName();
1356 }
1357
1358
1359
1360
1361
1362
1363
1364 public String translateConstraint(String name, String translation)
1365 {
1366 return this.getSuperAttributeFacade().translateConstraint(name, translation);
1367 }
1368
1369
1370
1371
1372
1373 public String[] translateConstraints(String translation)
1374 {
1375 return this.getSuperAttributeFacade().translateConstraints(translation);
1376 }
1377
1378
1379
1380
1381
1382 public String[] translateConstraints(String kind, String translation)
1383 {
1384 return this.getSuperAttributeFacade().translateConstraints(kind, translation);
1385 }
1386
1387
1388
1389
1390 @Override
1391 public void initialize()
1392 {
1393 this.getSuperAttributeFacade().initialize();
1394 }
1395
1396
1397
1398
1399
1400 @Override
1401 public Object getValidationOwner()
1402 {
1403 Object owner = this.getSuperAttributeFacade().getValidationOwner();
1404 return owner;
1405 }
1406
1407
1408
1409
1410
1411 @Override
1412 public String getValidationName()
1413 {
1414 String name = this.getSuperAttributeFacade().getValidationName();
1415 return name;
1416 }
1417
1418
1419
1420
1421
1422 @Override
1423 public void validateInvariants(Collection<ModelValidationMessage> validationMessages)
1424 {
1425 this.getSuperAttributeFacade().validateInvariants(validationMessages);
1426 }
1427
1428
1429
1430
1431 private static final String NAME_PROPERTY = "name";
1432 private static final String FQNAME_PROPERTY = "fullyQualifiedName";
1433
1434
1435
1436
1437 @Override
1438 public String toString()
1439 {
1440 final StringBuilder toString = new StringBuilder(this.getClass().getName());
1441 toString.append("[");
1442 try
1443 {
1444 toString.append(Introspector.instance().getProperty(this, FQNAME_PROPERTY));
1445 }
1446 catch (final Throwable tryAgain)
1447 {
1448 try
1449 {
1450 toString.append(Introspector.instance().getProperty(this, NAME_PROPERTY));
1451 }
1452 catch (final Throwable ignore)
1453 {
1454
1455 }
1456 }
1457 toString.append("]");
1458 return toString.toString();
1459 }
1460 }