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