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