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