1
2
3
4 package org.andromda.cartridges.webservice.metafacades;
5
6 /***
7 * MetafacadeLogic for org.andromda.cartridges.webservice.metafacades.WSDLEnumerationType
8 *
9 * @see org.andromda.cartridges.webservice.metafacades.WSDLEnumerationType
10 */
11 public abstract class WSDLEnumerationTypeLogic
12 extends org.andromda.core.metafacade.MetafacadeBase
13 implements org.andromda.cartridges.webservice.metafacades.WSDLEnumerationType
14 {
15
16 protected Object metaObject;
17
18 public WSDLEnumerationTypeLogic(Object metaObject, String context)
19 {
20 super(metaObject, getContext(context));
21 this.superEnumerationFacade =
22 (org.andromda.metafacades.uml.EnumerationFacade)
23 org.andromda.core.metafacade.MetafacadeFactory.getInstance().createFacadeImpl(
24 "org.andromda.metafacades.uml.EnumerationFacade",
25 metaObject,
26 getContext(context));
27 this.metaObject = metaObject;
28 }
29
30 /***
31 * Gets the context for this metafacade logic instance.
32 */
33 private static String getContext(String context)
34 {
35 if (context == null)
36 {
37 context = "org.andromda.cartridges.webservice.metafacades.WSDLEnumerationType";
38 }
39 return context;
40 }
41
42 private org.andromda.metafacades.uml.EnumerationFacade superEnumerationFacade;
43 private boolean superEnumerationFacadeInitialized = false;
44
45 /***
46 * Gets the org.andromda.metafacades.uml.EnumerationFacade parent instance.
47 */
48 private org.andromda.metafacades.uml.EnumerationFacade getSuperEnumerationFacade()
49 {
50 if (!this.superEnumerationFacadeInitialized)
51 {
52 ((org.andromda.core.metafacade.MetafacadeBase)superEnumerationFacade).setMetafacadeContext(this.getMetafacadeContext());
53 this.superEnumerationFacadeInitialized = true;
54 }
55 return superEnumerationFacade;
56 }
57
58 /***
59 * @see org.andromda.core.metafacade.MetafacadeBase
60 */
61 public void resetMetafacadeContext(String context)
62 {
63 if (!this.contextRoot)
64 {
65 context = getContext(context);
66 setMetafacadeContext (context);
67 if (this.superEnumerationFacadeInitialized)
68 {
69 ((org.andromda.core.metafacade.MetafacadeBase)superEnumerationFacade).resetMetafacadeContext(context);
70 }
71 }
72 }
73
74 /***
75 * @see org.andromda.cartridges.webservice.metafacades.WSDLEnumerationType
76 */
77 public boolean isWSDLEnumerationTypeMetaType()
78 {
79 return true;
80 }
81
82
83
84 /***
85 * @see org.andromda.cartridges.webservice.metafacades.WSDLEnumerationType#getSchemaType()
86 */
87 protected abstract java.lang.String handleGetSchemaType();
88
89 private void handleGetSchemaType1aPreCondition()
90 {
91 }
92
93 private void handleGetSchemaType1aPostCondition()
94 {
95 }
96
97 private java.lang.String __schemaType1a;
98 private boolean __schemaType1aSet = false;
99
100 public final java.lang.String getSchemaType()
101 {
102 java.lang.String schemaType1a = this.__schemaType1a;
103 if (!this.__schemaType1aSet)
104 {
105 handleGetSchemaType1aPreCondition();
106 schemaType1a = handleGetSchemaType();
107 handleGetSchemaType1aPostCondition();
108 this.__schemaType1a = schemaType1a;
109 if (isMetafacadePropertyCachingEnabled())
110 {
111 this.__schemaType1aSet = true;
112 }
113 }
114 return schemaType1a;
115 }
116
117 /***
118 * @see org.andromda.cartridges.webservice.metafacades.WSDLEnumerationType#getQName()
119 */
120 protected abstract java.lang.String handleGetQName();
121
122 private void handleGetQName2aPreCondition()
123 {
124 }
125
126 private void handleGetQName2aPostCondition()
127 {
128 }
129
130 private java.lang.String __qName2a;
131 private boolean __qName2aSet = false;
132
133 public final java.lang.String getQName()
134 {
135 java.lang.String qName2a = this.__qName2a;
136 if (!this.__qName2aSet)
137 {
138 handleGetQName2aPreCondition();
139 qName2a = handleGetQName();
140 handleGetQName2aPostCondition();
141 this.__qName2a = qName2a;
142 if (isMetafacadePropertyCachingEnabled())
143 {
144 this.__qName2aSet = true;
145 }
146 }
147 return qName2a;
148 }
149
150 /***
151 * @see org.andromda.cartridges.webservice.metafacades.WSDLEnumerationType#getNamespacePrefix()
152 */
153 protected abstract java.lang.String handleGetNamespacePrefix();
154
155 private void handleGetNamespacePrefix3aPreCondition()
156 {
157 }
158
159 private void handleGetNamespacePrefix3aPostCondition()
160 {
161 }
162
163 private java.lang.String __namespacePrefix3a;
164 private boolean __namespacePrefix3aSet = false;
165
166 public final java.lang.String getNamespacePrefix()
167 {
168 java.lang.String namespacePrefix3a = this.__namespacePrefix3a;
169 if (!this.__namespacePrefix3aSet)
170 {
171 handleGetNamespacePrefix3aPreCondition();
172 namespacePrefix3a = handleGetNamespacePrefix();
173 handleGetNamespacePrefix3aPostCondition();
174 this.__namespacePrefix3a = namespacePrefix3a;
175 if (isMetafacadePropertyCachingEnabled())
176 {
177 this.__namespacePrefix3aSet = true;
178 }
179 }
180 return namespacePrefix3a;
181 }
182
183 /***
184 * @see org.andromda.cartridges.webservice.metafacades.WSDLEnumerationType#getNamespace()
185 */
186 protected abstract java.lang.String handleGetNamespace();
187
188 private void handleGetNamespace4aPreCondition()
189 {
190 }
191
192 private void handleGetNamespace4aPostCondition()
193 {
194 }
195
196 private java.lang.String __namespace4a;
197 private boolean __namespace4aSet = false;
198
199 public final java.lang.String getNamespace()
200 {
201 java.lang.String namespace4a = this.__namespace4a;
202 if (!this.__namespace4aSet)
203 {
204 handleGetNamespace4aPreCondition();
205 namespace4a = handleGetNamespace();
206 handleGetNamespace4aPostCondition();
207 this.__namespace4a = namespace4a;
208 if (isMetafacadePropertyCachingEnabled())
209 {
210 this.__namespace4aSet = true;
211 }
212 }
213 return namespace4a;
214 }
215
216 /***
217 * @see org.andromda.cartridges.webservice.metafacades.WSDLEnumerationType#getWsdlArrayNamePrefix()
218 */
219 protected abstract java.lang.String handleGetWsdlArrayNamePrefix();
220
221 private void handleGetWsdlArrayNamePrefix5aPreCondition()
222 {
223 }
224
225 private void handleGetWsdlArrayNamePrefix5aPostCondition()
226 {
227 }
228
229 private java.lang.String __wsdlArrayNamePrefix5a;
230 private boolean __wsdlArrayNamePrefix5aSet = false;
231
232 public final java.lang.String getWsdlArrayNamePrefix()
233 {
234 java.lang.String wsdlArrayNamePrefix5a = this.__wsdlArrayNamePrefix5a;
235 if (!this.__wsdlArrayNamePrefix5aSet)
236 {
237 handleGetWsdlArrayNamePrefix5aPreCondition();
238 wsdlArrayNamePrefix5a = handleGetWsdlArrayNamePrefix();
239 handleGetWsdlArrayNamePrefix5aPostCondition();
240 this.__wsdlArrayNamePrefix5a = wsdlArrayNamePrefix5a;
241 if (isMetafacadePropertyCachingEnabled())
242 {
243 this.__wsdlArrayNamePrefix5aSet = true;
244 }
245 }
246 return wsdlArrayNamePrefix5a;
247 }
248
249 /***
250 * @see org.andromda.cartridges.webservice.metafacades.WSDLEnumerationType#getWsdlArrayName()
251 */
252 protected abstract java.lang.String handleGetWsdlArrayName();
253
254 private void handleGetWsdlArrayName6aPreCondition()
255 {
256 }
257
258 private void handleGetWsdlArrayName6aPostCondition()
259 {
260 }
261
262 private java.lang.String __wsdlArrayName6a;
263 private boolean __wsdlArrayName6aSet = false;
264
265 public final java.lang.String getWsdlArrayName()
266 {
267 java.lang.String wsdlArrayName6a = this.__wsdlArrayName6a;
268 if (!this.__wsdlArrayName6aSet)
269 {
270 handleGetWsdlArrayName6aPreCondition();
271 wsdlArrayName6a = handleGetWsdlArrayName();
272 handleGetWsdlArrayName6aPostCondition();
273 this.__wsdlArrayName6a = wsdlArrayName6a;
274 if (isMetafacadePropertyCachingEnabled())
275 {
276 this.__wsdlArrayName6aSet = true;
277 }
278 }
279 return wsdlArrayName6a;
280 }
281
282
283
284 protected abstract java.lang.String handleGetSchemaType(boolean withPrefix, boolean preserveArray);
285
286 private void handleGetSchemaType1oPreCondition()
287 {
288 }
289
290 private void handleGetSchemaType1oPostCondition()
291 {
292 }
293
294 public java.lang.String getSchemaType(boolean withPrefix, boolean preserveArray)
295 {
296 handleGetSchemaType1oPreCondition();
297 java.lang.String returnValue = handleGetSchemaType(withPrefix, preserveArray);
298 handleGetSchemaType1oPostCondition();
299 return returnValue;
300 }
301
302 /***
303 * @see org.andromda.metafacades.uml.EnumerationFacade
304 */
305 public boolean isEnumerationFacadeMetaType()
306 {
307 return true;
308 }
309
310 /***
311 * @see org.andromda.metafacades.uml.ClassifierFacade
312 */
313 public boolean isClassifierFacadeMetaType()
314 {
315 return true;
316 }
317
318 /***
319 * @see org.andromda.metafacades.uml.GeneralizableElementFacade
320 */
321 public boolean isGeneralizableElementFacadeMetaType()
322 {
323 return true;
324 }
325
326 /***
327 * @see org.andromda.metafacades.uml.ModelElementFacade
328 */
329 public boolean isModelElementFacadeMetaType()
330 {
331 return true;
332 }
333
334
335
336 public org.andromda.metafacades.uml.AttributeFacade findAttribute(java.lang.String name)
337 {
338 return this.getSuperEnumerationFacade().findAttribute(name);
339 }
340
341
342 public java.util.Collection getAbstractions()
343 {
344 return this.getSuperEnumerationFacade().getAbstractions();
345 }
346
347
348 public java.util.Collection getAllAssociatedClasses()
349 {
350 return this.getSuperEnumerationFacade().getAllAssociatedClasses();
351 }
352
353
354 public java.util.Collection getAllProperties()
355 {
356 return this.getSuperEnumerationFacade().getAllProperties();
357 }
358
359
360 public java.util.Collection getAllRequiredConstructorParameters()
361 {
362 return this.getSuperEnumerationFacade().getAllRequiredConstructorParameters();
363 }
364
365
366 public org.andromda.metafacades.uml.ClassifierFacade getArray()
367 {
368 return this.getSuperEnumerationFacade().getArray();
369 }
370
371
372 public java.lang.String getArrayName()
373 {
374 return this.getSuperEnumerationFacade().getArrayName();
375 }
376
377
378 public java.util.Collection getAssociatedClasses()
379 {
380 return this.getSuperEnumerationFacade().getAssociatedClasses();
381 }
382
383
384 public java.util.List getAssociationEnds()
385 {
386 return this.getSuperEnumerationFacade().getAssociationEnds();
387 }
388
389
390 public java.util.Collection getAttributes(boolean follow)
391 {
392 return this.getSuperEnumerationFacade().getAttributes(follow);
393 }
394
395
396 public java.util.Collection getAttributes()
397 {
398 return this.getSuperEnumerationFacade().getAttributes();
399 }
400
401
402 public java.lang.String getFullyQualifiedArrayName()
403 {
404 return this.getSuperEnumerationFacade().getFullyQualifiedArrayName();
405 }
406
407
408 public java.util.Collection getImplementationOperations()
409 {
410 return this.getSuperEnumerationFacade().getImplementationOperations();
411 }
412
413
414 public java.lang.String getImplementedInterfaceList()
415 {
416 return this.getSuperEnumerationFacade().getImplementedInterfaceList();
417 }
418
419
420 public java.util.Collection getInstanceAttributes()
421 {
422 return this.getSuperEnumerationFacade().getInstanceAttributes();
423 }
424
425
426 public java.util.Collection getInstanceOperations()
427 {
428 return this.getSuperEnumerationFacade().getInstanceOperations();
429 }
430
431
432 public java.util.Collection getInterfaceAbstractions()
433 {
434 return this.getSuperEnumerationFacade().getInterfaceAbstractions();
435 }
436
437
438 public java.lang.String getJavaNullString()
439 {
440 return this.getSuperEnumerationFacade().getJavaNullString();
441 }
442
443
444 public java.util.Collection getNavigableConnectingEnds()
445 {
446 return this.getSuperEnumerationFacade().getNavigableConnectingEnds();
447 }
448
449
450 public java.util.Collection getNavigableConnectingEnds(boolean follow)
451 {
452 return this.getSuperEnumerationFacade().getNavigableConnectingEnds(follow);
453 }
454
455
456 public org.andromda.metafacades.uml.ClassifierFacade getNonArray()
457 {
458 return this.getSuperEnumerationFacade().getNonArray();
459 }
460
461
462 public java.lang.String getOperationCallFromAttributes()
463 {
464 return this.getSuperEnumerationFacade().getOperationCallFromAttributes();
465 }
466
467
468 public java.util.Collection getOperations()
469 {
470 return this.getSuperEnumerationFacade().getOperations();
471 }
472
473
474 public java.util.Collection getProperties(boolean follow)
475 {
476 return this.getSuperEnumerationFacade().getProperties(follow);
477 }
478
479
480 public java.util.Collection getProperties()
481 {
482 return this.getSuperEnumerationFacade().getProperties();
483 }
484
485
486 public java.util.Collection getRequiredConstructorParameters()
487 {
488 return this.getSuperEnumerationFacade().getRequiredConstructorParameters();
489 }
490
491
492 public java.lang.Long getSerialVersionUID()
493 {
494 return this.getSuperEnumerationFacade().getSerialVersionUID();
495 }
496
497
498 public java.util.Collection getStaticAttributes()
499 {
500 return this.getSuperEnumerationFacade().getStaticAttributes();
501 }
502
503
504 public java.util.Collection getStaticOperations()
505 {
506 return this.getSuperEnumerationFacade().getStaticOperations();
507 }
508
509
510 public org.andromda.metafacades.uml.ClassifierFacade getSuperClass()
511 {
512 return this.getSuperEnumerationFacade().getSuperClass();
513 }
514
515
516 public java.lang.String getWrapperName()
517 {
518 return this.getSuperEnumerationFacade().getWrapperName();
519 }
520
521
522 public boolean isAbstract()
523 {
524 return this.getSuperEnumerationFacade().isAbstract();
525 }
526
527
528 public boolean isArrayType()
529 {
530 return this.getSuperEnumerationFacade().isArrayType();
531 }
532
533
534 public boolean isAssociationClass()
535 {
536 return this.getSuperEnumerationFacade().isAssociationClass();
537 }
538
539
540 public boolean isBlobType()
541 {
542 return this.getSuperEnumerationFacade().isBlobType();
543 }
544
545
546 public boolean isBooleanType()
547 {
548 return this.getSuperEnumerationFacade().isBooleanType();
549 }
550
551
552 public boolean isClobType()
553 {
554 return this.getSuperEnumerationFacade().isClobType();
555 }
556
557
558 public boolean isCollectionType()
559 {
560 return this.getSuperEnumerationFacade().isCollectionType();
561 }
562
563
564 public boolean isDataType()
565 {
566 return this.getSuperEnumerationFacade().isDataType();
567 }
568
569
570 public boolean isDateType()
571 {
572 return this.getSuperEnumerationFacade().isDateType();
573 }
574
575
576 public boolean isEnumeration()
577 {
578 return this.getSuperEnumerationFacade().isEnumeration();
579 }
580
581
582 public boolean isFileType()
583 {
584 return this.getSuperEnumerationFacade().isFileType();
585 }
586
587
588 public boolean isInterface()
589 {
590 return this.getSuperEnumerationFacade().isInterface();
591 }
592
593
594 public boolean isLeaf()
595 {
596 return this.getSuperEnumerationFacade().isLeaf();
597 }
598
599
600 public boolean isListType()
601 {
602 return this.getSuperEnumerationFacade().isListType();
603 }
604
605
606 public boolean isMapType()
607 {
608 return this.getSuperEnumerationFacade().isMapType();
609 }
610
611
612 public boolean isPrimitive()
613 {
614 return this.getSuperEnumerationFacade().isPrimitive();
615 }
616
617
618 public boolean isSetType()
619 {
620 return this.getSuperEnumerationFacade().isSetType();
621 }
622
623
624 public boolean isStringType()
625 {
626 return this.getSuperEnumerationFacade().isStringType();
627 }
628
629
630 public boolean isTimeType()
631 {
632 return this.getSuperEnumerationFacade().isTimeType();
633 }
634
635
636 public java.lang.String getFromOperationName()
637 {
638 return this.getSuperEnumerationFacade().getFromOperationName();
639 }
640
641
642 public java.lang.String getFromOperationSignature()
643 {
644 return this.getSuperEnumerationFacade().getFromOperationSignature();
645 }
646
647
648 public org.andromda.metafacades.uml.ClassifierFacade getLiteralType()
649 {
650 return this.getSuperEnumerationFacade().getLiteralType();
651 }
652
653
654 public java.util.Collection getLiterals()
655 {
656 return this.getSuperEnumerationFacade().getLiterals();
657 }
658
659
660 public java.util.Collection getMemberVariables()
661 {
662 return this.getSuperEnumerationFacade().getMemberVariables();
663 }
664
665
666 public boolean isTypeSafe()
667 {
668 return this.getSuperEnumerationFacade().isTypeSafe();
669 }
670
671
672 public java.lang.Object findTaggedValue(java.lang.String tagName, boolean follow)
673 {
674 return this.getSuperEnumerationFacade().findTaggedValue(tagName, follow);
675 }
676
677
678 public java.util.Collection getAllGeneralizations()
679 {
680 return this.getSuperEnumerationFacade().getAllGeneralizations();
681 }
682
683
684 public java.util.Collection getAllSpecializations()
685 {
686 return this.getSuperEnumerationFacade().getAllSpecializations();
687 }
688
689
690 public org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralization()
691 {
692 return this.getSuperEnumerationFacade().getGeneralization();
693 }
694
695
696 public java.util.Collection getGeneralizationLinks()
697 {
698 return this.getSuperEnumerationFacade().getGeneralizationLinks();
699 }
700
701
702 public java.lang.String getGeneralizationList()
703 {
704 return this.getSuperEnumerationFacade().getGeneralizationList();
705 }
706
707
708 public org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralizationRoot()
709 {
710 return this.getSuperEnumerationFacade().getGeneralizationRoot();
711 }
712
713
714 public java.util.Collection getGeneralizations()
715 {
716 return this.getSuperEnumerationFacade().getGeneralizations();
717 }
718
719
720 public java.util.Collection getSpecializations()
721 {
722 return this.getSuperEnumerationFacade().getSpecializations();
723 }
724
725
726 public void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
727 {
728 this.getSuperEnumerationFacade().copyTaggedValues(element);
729 }
730
731
732 public java.lang.Object findTaggedValue(java.lang.String tagName)
733 {
734 return this.getSuperEnumerationFacade().findTaggedValue(tagName);
735 }
736
737
738 public java.util.Collection findTaggedValues(java.lang.String tagName)
739 {
740 return this.getSuperEnumerationFacade().findTaggedValues(tagName);
741 }
742
743
744 public java.util.Collection getConstraints(java.lang.String kind)
745 {
746 return this.getSuperEnumerationFacade().getConstraints(kind);
747 }
748
749
750 public java.util.Collection getConstraints()
751 {
752 return this.getSuperEnumerationFacade().getConstraints();
753 }
754
755
756 public java.lang.String getDocumentation(java.lang.String indent, int lineLength)
757 {
758 return this.getSuperEnumerationFacade().getDocumentation(indent, lineLength);
759 }
760
761
762 public java.lang.String getDocumentation(java.lang.String indent, int lineLength, boolean htmlStyle)
763 {
764 return this.getSuperEnumerationFacade().getDocumentation(indent, lineLength, htmlStyle);
765 }
766
767
768 public java.lang.String getDocumentation(java.lang.String indent)
769 {
770 return this.getSuperEnumerationFacade().getDocumentation(indent);
771 }
772
773
774 public java.lang.String getFullyQualifiedName(boolean modelName)
775 {
776 return this.getSuperEnumerationFacade().getFullyQualifiedName(modelName);
777 }
778
779
780 public java.lang.String getFullyQualifiedName()
781 {
782 return this.getSuperEnumerationFacade().getFullyQualifiedName();
783 }
784
785
786 public java.lang.String getFullyQualifiedNamePath()
787 {
788 return this.getSuperEnumerationFacade().getFullyQualifiedNamePath();
789 }
790
791
792 public java.lang.String getId()
793 {
794 return this.getSuperEnumerationFacade().getId();
795 }
796
797
798 public org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
799 {
800 return this.getSuperEnumerationFacade().getLanguageMappings();
801 }
802
803
804 public org.andromda.metafacades.uml.ModelFacade getModel()
805 {
806 return this.getSuperEnumerationFacade().getModel();
807 }
808
809
810 public java.lang.String getName()
811 {
812 return this.getSuperEnumerationFacade().getName();
813 }
814
815
816 public org.andromda.metafacades.uml.ModelElementFacade getPackage()
817 {
818 return this.getSuperEnumerationFacade().getPackage();
819 }
820
821
822 public java.lang.String getPackageName()
823 {
824 return this.getSuperEnumerationFacade().getPackageName();
825 }
826
827
828 public java.lang.String getPackageName(boolean modelName)
829 {
830 return this.getSuperEnumerationFacade().getPackageName(modelName);
831 }
832
833
834 public java.lang.String getPackagePath()
835 {
836 return this.getSuperEnumerationFacade().getPackagePath();
837 }
838
839
840 public org.andromda.metafacades.uml.PackageFacade getRootPackage()
841 {
842 return this.getSuperEnumerationFacade().getRootPackage();
843 }
844
845
846 public java.util.Collection getSourceDependencies()
847 {
848 return this.getSuperEnumerationFacade().getSourceDependencies();
849 }
850
851
852 public org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
853 {
854 return this.getSuperEnumerationFacade().getStateMachineContext();
855 }
856
857
858 public java.util.Collection getStereotypeNames()
859 {
860 return this.getSuperEnumerationFacade().getStereotypeNames();
861 }
862
863
864 public java.util.Collection getStereotypes()
865 {
866 return this.getSuperEnumerationFacade().getStereotypes();
867 }
868
869
870 public java.util.Collection getTaggedValues()
871 {
872 return this.getSuperEnumerationFacade().getTaggedValues();
873 }
874
875
876 public java.util.Collection getTargetDependencies()
877 {
878 return this.getSuperEnumerationFacade().getTargetDependencies();
879 }
880
881
882 public java.lang.Object getTemplateParameter(java.lang.String parameterName)
883 {
884 return this.getSuperEnumerationFacade().getTemplateParameter(parameterName);
885 }
886
887
888 public java.util.Collection getTemplateParameters()
889 {
890 return this.getSuperEnumerationFacade().getTemplateParameters();
891 }
892
893
894 public java.lang.String getVisibility()
895 {
896 return this.getSuperEnumerationFacade().getVisibility();
897 }
898
899
900 public boolean hasExactStereotype(java.lang.String stereotypeName)
901 {
902 return this.getSuperEnumerationFacade().hasExactStereotype(stereotypeName);
903 }
904
905
906 public boolean hasStereotype(java.lang.String stereotypeName)
907 {
908 return this.getSuperEnumerationFacade().hasStereotype(stereotypeName);
909 }
910
911
912 public boolean isBindingDependenciesPresent()
913 {
914 return this.getSuperEnumerationFacade().isBindingDependenciesPresent();
915 }
916
917
918 public boolean isConstraintsPresent()
919 {
920 return this.getSuperEnumerationFacade().isConstraintsPresent();
921 }
922
923
924 public boolean isTemplateParametersPresent()
925 {
926 return this.getSuperEnumerationFacade().isTemplateParametersPresent();
927 }
928
929
930 public java.lang.String translateConstraint(java.lang.String name, java.lang.String translation)
931 {
932 return this.getSuperEnumerationFacade().translateConstraint(name, translation);
933 }
934
935
936 public java.lang.String[] translateConstraints(java.lang.String translation)
937 {
938 return this.getSuperEnumerationFacade().translateConstraints(translation);
939 }
940
941
942 public java.lang.String[] translateConstraints(java.lang.String kind, java.lang.String translation)
943 {
944 return this.getSuperEnumerationFacade().translateConstraints(kind, translation);
945 }
946
947 /***
948 * @see org.andromda.core.metafacade.MetafacadeBase#initialize()
949 */
950 public void initialize()
951 {
952 this.getSuperEnumerationFacade().initialize();
953 }
954
955 /***
956 * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner()
957 */
958 public Object getValidationOwner()
959 {
960 Object owner = this.getSuperEnumerationFacade().getValidationOwner();
961 return owner;
962 }
963
964 /***
965 * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName()
966 */
967 public String getValidationName()
968 {
969 String name = this.getSuperEnumerationFacade().getValidationName();
970 return name;
971 }
972
973 /***
974 * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(java.util.Collection)
975 */
976 public void validateInvariants(java.util.Collection validationMessages)
977 {
978 this.getSuperEnumerationFacade().validateInvariants(validationMessages);
979 }
980
981 /***
982 * The property that stores the name of the metafacade.
983 */
984 private static final String NAME_PROPERTY = "name";
985
986 /***
987 * @see java.lang.Object#toString()
988 */
989 public String toString()
990 {
991 final StringBuffer toString = new StringBuffer(this.getClass().getName());
992 toString.append("[");
993 try
994 {
995 toString.append(org.andromda.core.common.Introspector.instance().getProperty(this, NAME_PROPERTY));
996 }
997 catch (final Throwable throwable)
998 {
999
1000 }
1001 toString.append("]");
1002 return toString.toString();
1003 }
1004 }