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