View Javadoc

1   //
2   // Attention: generated code (by MetafacadeLogic.vsl) - do not modify!
3   //
4   package org.andromda.cartridges.xmlschema.metafacades;
5   
6   /***
7    * MetafacadeLogic for org.andromda.cartridges.xmlschema.metafacades.XSDEnumerationType
8    *
9    * @see org.andromda.cartridges.xmlschema.metafacades.XSDEnumerationType
10   */
11  public abstract class XSDEnumerationTypeLogic
12      extends org.andromda.core.metafacade.MetafacadeBase
13      implements org.andromda.cartridges.xmlschema.metafacades.XSDEnumerationType
14  {
15  
16      protected Object metaObject;
17  
18      public XSDEnumerationTypeLogic(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.xmlschema.metafacades.XSDEnumerationType";
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) // reset context only for non-root metafacades
64          {
65              context = getContext(context);  // to have same value as in original constructor call
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.xmlschema.metafacades.XSDEnumerationType
76       */
77      public boolean isXSDEnumerationTypeMetaType()
78      {
79          return true;
80      }
81      
82      /***
83       * @see org.andromda.metafacades.uml.EnumerationFacade
84       */
85      public boolean isEnumerationFacadeMetaType()
86      {
87          return true;
88      }
89      
90      /***
91       * @see org.andromda.metafacades.uml.ClassifierFacade
92       */
93      public boolean isClassifierFacadeMetaType()
94      {
95          return true;
96      }
97      
98      /***
99       * @see org.andromda.metafacades.uml.GeneralizableElementFacade
100      */
101     public boolean isGeneralizableElementFacadeMetaType()
102     {
103         return true;
104     }
105     
106     /***
107      * @see org.andromda.metafacades.uml.ModelElementFacade
108      */
109     public boolean isModelElementFacadeMetaType()
110     {
111         return true;
112     }
113     
114     // ----------- delegates to org.andromda.metafacades.uml.EnumerationFacade ------------
115     // from org.andromda.metafacades.uml.ClassifierFacade
116     public org.andromda.metafacades.uml.AttributeFacade findAttribute(java.lang.String name)
117     {
118         return this.getSuperEnumerationFacade().findAttribute(name);
119     }
120 
121     // from org.andromda.metafacades.uml.ClassifierFacade
122     public java.util.Collection getAbstractions()
123     {
124         return this.getSuperEnumerationFacade().getAbstractions();
125     }
126 
127     // from org.andromda.metafacades.uml.ClassifierFacade
128     public java.util.Collection getAllAssociatedClasses()
129     {
130         return this.getSuperEnumerationFacade().getAllAssociatedClasses();
131     }
132 
133     // from org.andromda.metafacades.uml.ClassifierFacade
134     public java.util.Collection getAllProperties()
135     {
136         return this.getSuperEnumerationFacade().getAllProperties();
137     }
138 
139     // from org.andromda.metafacades.uml.ClassifierFacade
140     public java.util.Collection getAllRequiredConstructorParameters()
141     {
142         return this.getSuperEnumerationFacade().getAllRequiredConstructorParameters();
143     }
144 
145     // from org.andromda.metafacades.uml.ClassifierFacade
146     public org.andromda.metafacades.uml.ClassifierFacade getArray()
147     {
148         return this.getSuperEnumerationFacade().getArray();
149     }
150 
151     // from org.andromda.metafacades.uml.ClassifierFacade
152     public java.lang.String getArrayName()
153     {
154         return this.getSuperEnumerationFacade().getArrayName();
155     }
156 
157     // from org.andromda.metafacades.uml.ClassifierFacade
158     public java.util.Collection getAssociatedClasses()
159     {
160         return this.getSuperEnumerationFacade().getAssociatedClasses();
161     }
162 
163     // from org.andromda.metafacades.uml.ClassifierFacade
164     public java.util.List getAssociationEnds()
165     {
166         return this.getSuperEnumerationFacade().getAssociationEnds();
167     }
168 
169     // from org.andromda.metafacades.uml.ClassifierFacade
170     public java.util.Collection getAttributes(boolean follow)
171     {
172         return this.getSuperEnumerationFacade().getAttributes(follow);
173     }
174 
175     // from org.andromda.metafacades.uml.ClassifierFacade
176     public java.util.Collection getAttributes()
177     {
178         return this.getSuperEnumerationFacade().getAttributes();
179     }
180 
181     // from org.andromda.metafacades.uml.ClassifierFacade
182     public java.lang.String getFullyQualifiedArrayName()
183     {
184         return this.getSuperEnumerationFacade().getFullyQualifiedArrayName();
185     }
186 
187     // from org.andromda.metafacades.uml.ClassifierFacade
188     public java.util.Collection getImplementationOperations()
189     {
190         return this.getSuperEnumerationFacade().getImplementationOperations();
191     }
192 
193     // from org.andromda.metafacades.uml.ClassifierFacade
194     public java.lang.String getImplementedInterfaceList()
195     {
196         return this.getSuperEnumerationFacade().getImplementedInterfaceList();
197     }
198 
199     // from org.andromda.metafacades.uml.ClassifierFacade
200     public java.util.Collection getInstanceAttributes()
201     {
202         return this.getSuperEnumerationFacade().getInstanceAttributes();
203     }
204 
205     // from org.andromda.metafacades.uml.ClassifierFacade
206     public java.util.Collection getInstanceOperations()
207     {
208         return this.getSuperEnumerationFacade().getInstanceOperations();
209     }
210 
211     // from org.andromda.metafacades.uml.ClassifierFacade
212     public java.util.Collection getInterfaceAbstractions()
213     {
214         return this.getSuperEnumerationFacade().getInterfaceAbstractions();
215     }
216 
217     // from org.andromda.metafacades.uml.ClassifierFacade
218     public java.lang.String getJavaNullString()
219     {
220         return this.getSuperEnumerationFacade().getJavaNullString();
221     }
222 
223     // from org.andromda.metafacades.uml.ClassifierFacade
224     public java.util.Collection getNavigableConnectingEnds()
225     {
226         return this.getSuperEnumerationFacade().getNavigableConnectingEnds();
227     }
228 
229     // from org.andromda.metafacades.uml.ClassifierFacade
230     public java.util.Collection getNavigableConnectingEnds(boolean follow)
231     {
232         return this.getSuperEnumerationFacade().getNavigableConnectingEnds(follow);
233     }
234 
235     // from org.andromda.metafacades.uml.ClassifierFacade
236     public org.andromda.metafacades.uml.ClassifierFacade getNonArray()
237     {
238         return this.getSuperEnumerationFacade().getNonArray();
239     }
240 
241     // from org.andromda.metafacades.uml.ClassifierFacade
242     public java.lang.String getOperationCallFromAttributes()
243     {
244         return this.getSuperEnumerationFacade().getOperationCallFromAttributes();
245     }
246 
247     // from org.andromda.metafacades.uml.ClassifierFacade
248     public java.util.Collection getOperations()
249     {
250         return this.getSuperEnumerationFacade().getOperations();
251     }
252 
253     // from org.andromda.metafacades.uml.ClassifierFacade
254     public java.util.Collection getProperties(boolean follow)
255     {
256         return this.getSuperEnumerationFacade().getProperties(follow);
257     }
258 
259     // from org.andromda.metafacades.uml.ClassifierFacade
260     public java.util.Collection getProperties()
261     {
262         return this.getSuperEnumerationFacade().getProperties();
263     }
264 
265     // from org.andromda.metafacades.uml.ClassifierFacade
266     public java.util.Collection getRequiredConstructorParameters()
267     {
268         return this.getSuperEnumerationFacade().getRequiredConstructorParameters();
269     }
270 
271     // from org.andromda.metafacades.uml.ClassifierFacade
272     public java.lang.Long getSerialVersionUID()
273     {
274         return this.getSuperEnumerationFacade().getSerialVersionUID();
275     }
276 
277     // from org.andromda.metafacades.uml.ClassifierFacade
278     public java.util.Collection getStaticAttributes()
279     {
280         return this.getSuperEnumerationFacade().getStaticAttributes();
281     }
282 
283     // from org.andromda.metafacades.uml.ClassifierFacade
284     public java.util.Collection getStaticOperations()
285     {
286         return this.getSuperEnumerationFacade().getStaticOperations();
287     }
288 
289     // from org.andromda.metafacades.uml.ClassifierFacade
290     public org.andromda.metafacades.uml.ClassifierFacade getSuperClass()
291     {
292         return this.getSuperEnumerationFacade().getSuperClass();
293     }
294 
295     // from org.andromda.metafacades.uml.ClassifierFacade
296     public java.lang.String getWrapperName()
297     {
298         return this.getSuperEnumerationFacade().getWrapperName();
299     }
300 
301     // from org.andromda.metafacades.uml.ClassifierFacade
302     public boolean isAbstract()
303     {
304         return this.getSuperEnumerationFacade().isAbstract();
305     }
306 
307     // from org.andromda.metafacades.uml.ClassifierFacade
308     public boolean isArrayType()
309     {
310         return this.getSuperEnumerationFacade().isArrayType();
311     }
312 
313     // from org.andromda.metafacades.uml.ClassifierFacade
314     public boolean isAssociationClass()
315     {
316         return this.getSuperEnumerationFacade().isAssociationClass();
317     }
318 
319     // from org.andromda.metafacades.uml.ClassifierFacade
320     public boolean isBlobType()
321     {
322         return this.getSuperEnumerationFacade().isBlobType();
323     }
324 
325     // from org.andromda.metafacades.uml.ClassifierFacade
326     public boolean isBooleanType()
327     {
328         return this.getSuperEnumerationFacade().isBooleanType();
329     }
330 
331     // from org.andromda.metafacades.uml.ClassifierFacade
332     public boolean isClobType()
333     {
334         return this.getSuperEnumerationFacade().isClobType();
335     }
336 
337     // from org.andromda.metafacades.uml.ClassifierFacade
338     public boolean isCollectionType()
339     {
340         return this.getSuperEnumerationFacade().isCollectionType();
341     }
342 
343     // from org.andromda.metafacades.uml.ClassifierFacade
344     public boolean isDataType()
345     {
346         return this.getSuperEnumerationFacade().isDataType();
347     }
348 
349     // from org.andromda.metafacades.uml.ClassifierFacade
350     public boolean isDateType()
351     {
352         return this.getSuperEnumerationFacade().isDateType();
353     }
354 
355     // from org.andromda.metafacades.uml.ClassifierFacade
356     public boolean isEnumeration()
357     {
358         return this.getSuperEnumerationFacade().isEnumeration();
359     }
360 
361     // from org.andromda.metafacades.uml.ClassifierFacade
362     public boolean isFileType()
363     {
364         return this.getSuperEnumerationFacade().isFileType();
365     }
366 
367     // from org.andromda.metafacades.uml.ClassifierFacade
368     public boolean isInterface()
369     {
370         return this.getSuperEnumerationFacade().isInterface();
371     }
372 
373     // from org.andromda.metafacades.uml.ClassifierFacade
374     public boolean isLeaf()
375     {
376         return this.getSuperEnumerationFacade().isLeaf();
377     }
378 
379     // from org.andromda.metafacades.uml.ClassifierFacade
380     public boolean isListType()
381     {
382         return this.getSuperEnumerationFacade().isListType();
383     }
384 
385     // from org.andromda.metafacades.uml.ClassifierFacade
386     public boolean isMapType()
387     {
388         return this.getSuperEnumerationFacade().isMapType();
389     }
390 
391     // from org.andromda.metafacades.uml.ClassifierFacade
392     public boolean isPrimitive()
393     {
394         return this.getSuperEnumerationFacade().isPrimitive();
395     }
396 
397     // from org.andromda.metafacades.uml.ClassifierFacade
398     public boolean isSetType()
399     {
400         return this.getSuperEnumerationFacade().isSetType();
401     }
402 
403     // from org.andromda.metafacades.uml.ClassifierFacade
404     public boolean isStringType()
405     {
406         return this.getSuperEnumerationFacade().isStringType();
407     }
408 
409     // from org.andromda.metafacades.uml.ClassifierFacade
410     public boolean isTimeType()
411     {
412         return this.getSuperEnumerationFacade().isTimeType();
413     }
414 
415     // from org.andromda.metafacades.uml.EnumerationFacade
416     public java.lang.String getFromOperationName()
417     {
418         return this.getSuperEnumerationFacade().getFromOperationName();
419     }
420 
421     // from org.andromda.metafacades.uml.EnumerationFacade
422     public java.lang.String getFromOperationSignature()
423     {
424         return this.getSuperEnumerationFacade().getFromOperationSignature();
425     }
426 
427     // from org.andromda.metafacades.uml.EnumerationFacade
428     public org.andromda.metafacades.uml.ClassifierFacade getLiteralType()
429     {
430         return this.getSuperEnumerationFacade().getLiteralType();
431     }
432 
433     // from org.andromda.metafacades.uml.EnumerationFacade
434     public java.util.Collection getLiterals()
435     {
436         return this.getSuperEnumerationFacade().getLiterals();
437     }
438 
439     // from org.andromda.metafacades.uml.EnumerationFacade
440     public java.util.Collection getMemberVariables()
441     {
442         return this.getSuperEnumerationFacade().getMemberVariables();
443     }
444 
445     // from org.andromda.metafacades.uml.EnumerationFacade
446     public boolean isTypeSafe()
447     {
448         return this.getSuperEnumerationFacade().isTypeSafe();
449     }
450 
451     // from org.andromda.metafacades.uml.GeneralizableElementFacade
452     public java.lang.Object findTaggedValue(java.lang.String tagName, boolean follow)
453     {
454         return this.getSuperEnumerationFacade().findTaggedValue(tagName, follow);
455     }
456 
457     // from org.andromda.metafacades.uml.GeneralizableElementFacade
458     public java.util.Collection getAllGeneralizations()
459     {
460         return this.getSuperEnumerationFacade().getAllGeneralizations();
461     }
462 
463     // from org.andromda.metafacades.uml.GeneralizableElementFacade
464     public java.util.Collection getAllSpecializations()
465     {
466         return this.getSuperEnumerationFacade().getAllSpecializations();
467     }
468 
469     // from org.andromda.metafacades.uml.GeneralizableElementFacade
470     public org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralization()
471     {
472         return this.getSuperEnumerationFacade().getGeneralization();
473     }
474 
475     // from org.andromda.metafacades.uml.GeneralizableElementFacade
476     public java.util.Collection getGeneralizationLinks()
477     {
478         return this.getSuperEnumerationFacade().getGeneralizationLinks();
479     }
480 
481     // from org.andromda.metafacades.uml.GeneralizableElementFacade
482     public java.lang.String getGeneralizationList()
483     {
484         return this.getSuperEnumerationFacade().getGeneralizationList();
485     }
486 
487     // from org.andromda.metafacades.uml.GeneralizableElementFacade
488     public org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralizationRoot()
489     {
490         return this.getSuperEnumerationFacade().getGeneralizationRoot();
491     }
492 
493     // from org.andromda.metafacades.uml.GeneralizableElementFacade
494     public java.util.Collection getGeneralizations()
495     {
496         return this.getSuperEnumerationFacade().getGeneralizations();
497     }
498 
499     // from org.andromda.metafacades.uml.GeneralizableElementFacade
500     public java.util.Collection getSpecializations()
501     {
502         return this.getSuperEnumerationFacade().getSpecializations();
503     }
504 
505     // from org.andromda.metafacades.uml.ModelElementFacade
506     public void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
507     {
508         this.getSuperEnumerationFacade().copyTaggedValues(element);
509     }
510 
511     // from org.andromda.metafacades.uml.ModelElementFacade
512     public java.lang.Object findTaggedValue(java.lang.String tagName)
513     {
514         return this.getSuperEnumerationFacade().findTaggedValue(tagName);
515     }
516 
517     // from org.andromda.metafacades.uml.ModelElementFacade
518     public java.util.Collection findTaggedValues(java.lang.String tagName)
519     {
520         return this.getSuperEnumerationFacade().findTaggedValues(tagName);
521     }
522 
523     // from org.andromda.metafacades.uml.ModelElementFacade
524     public java.util.Collection getConstraints(java.lang.String kind)
525     {
526         return this.getSuperEnumerationFacade().getConstraints(kind);
527     }
528 
529     // from org.andromda.metafacades.uml.ModelElementFacade
530     public java.util.Collection getConstraints()
531     {
532         return this.getSuperEnumerationFacade().getConstraints();
533     }
534 
535     // from org.andromda.metafacades.uml.ModelElementFacade
536     public java.lang.String getDocumentation(java.lang.String indent, int lineLength)
537     {
538         return this.getSuperEnumerationFacade().getDocumentation(indent, lineLength);
539     }
540 
541     // from org.andromda.metafacades.uml.ModelElementFacade
542     public java.lang.String getDocumentation(java.lang.String indent, int lineLength, boolean htmlStyle)
543     {
544         return this.getSuperEnumerationFacade().getDocumentation(indent, lineLength, htmlStyle);
545     }
546 
547     // from org.andromda.metafacades.uml.ModelElementFacade
548     public java.lang.String getDocumentation(java.lang.String indent)
549     {
550         return this.getSuperEnumerationFacade().getDocumentation(indent);
551     }
552 
553     // from org.andromda.metafacades.uml.ModelElementFacade
554     public java.lang.String getFullyQualifiedName(boolean modelName)
555     {
556         return this.getSuperEnumerationFacade().getFullyQualifiedName(modelName);
557     }
558 
559     // from org.andromda.metafacades.uml.ModelElementFacade
560     public java.lang.String getFullyQualifiedName()
561     {
562         return this.getSuperEnumerationFacade().getFullyQualifiedName();
563     }
564 
565     // from org.andromda.metafacades.uml.ModelElementFacade
566     public java.lang.String getFullyQualifiedNamePath()
567     {
568         return this.getSuperEnumerationFacade().getFullyQualifiedNamePath();
569     }
570 
571     // from org.andromda.metafacades.uml.ModelElementFacade
572     public java.lang.String getId()
573     {
574         return this.getSuperEnumerationFacade().getId();
575     }
576 
577     // from org.andromda.metafacades.uml.ModelElementFacade
578     public org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
579     {
580         return this.getSuperEnumerationFacade().getLanguageMappings();
581     }
582 
583     // from org.andromda.metafacades.uml.ModelElementFacade
584     public org.andromda.metafacades.uml.ModelFacade getModel()
585     {
586         return this.getSuperEnumerationFacade().getModel();
587     }
588 
589     // from org.andromda.metafacades.uml.ModelElementFacade
590     public java.lang.String getName()
591     {
592         return this.getSuperEnumerationFacade().getName();
593     }
594 
595     // from org.andromda.metafacades.uml.ModelElementFacade
596     public org.andromda.metafacades.uml.ModelElementFacade getPackage()
597     {
598         return this.getSuperEnumerationFacade().getPackage();
599     }
600 
601     // from org.andromda.metafacades.uml.ModelElementFacade
602     public java.lang.String getPackageName()
603     {
604         return this.getSuperEnumerationFacade().getPackageName();
605     }
606 
607     // from org.andromda.metafacades.uml.ModelElementFacade
608     public java.lang.String getPackageName(boolean modelName)
609     {
610         return this.getSuperEnumerationFacade().getPackageName(modelName);
611     }
612 
613     // from org.andromda.metafacades.uml.ModelElementFacade
614     public java.lang.String getPackagePath()
615     {
616         return this.getSuperEnumerationFacade().getPackagePath();
617     }
618 
619     // from org.andromda.metafacades.uml.ModelElementFacade
620     public org.andromda.metafacades.uml.PackageFacade getRootPackage()
621     {
622         return this.getSuperEnumerationFacade().getRootPackage();
623     }
624 
625     // from org.andromda.metafacades.uml.ModelElementFacade
626     public java.util.Collection getSourceDependencies()
627     {
628         return this.getSuperEnumerationFacade().getSourceDependencies();
629     }
630 
631     // from org.andromda.metafacades.uml.ModelElementFacade
632     public org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
633     {
634         return this.getSuperEnumerationFacade().getStateMachineContext();
635     }
636 
637     // from org.andromda.metafacades.uml.ModelElementFacade
638     public java.util.Collection getStereotypeNames()
639     {
640         return this.getSuperEnumerationFacade().getStereotypeNames();
641     }
642 
643     // from org.andromda.metafacades.uml.ModelElementFacade
644     public java.util.Collection getStereotypes()
645     {
646         return this.getSuperEnumerationFacade().getStereotypes();
647     }
648 
649     // from org.andromda.metafacades.uml.ModelElementFacade
650     public java.util.Collection getTaggedValues()
651     {
652         return this.getSuperEnumerationFacade().getTaggedValues();
653     }
654 
655     // from org.andromda.metafacades.uml.ModelElementFacade
656     public java.util.Collection getTargetDependencies()
657     {
658         return this.getSuperEnumerationFacade().getTargetDependencies();
659     }
660 
661     // from org.andromda.metafacades.uml.ModelElementFacade
662     public java.lang.Object getTemplateParameter(java.lang.String parameterName)
663     {
664         return this.getSuperEnumerationFacade().getTemplateParameter(parameterName);
665     }
666 
667     // from org.andromda.metafacades.uml.ModelElementFacade
668     public java.util.Collection getTemplateParameters()
669     {
670         return this.getSuperEnumerationFacade().getTemplateParameters();
671     }
672 
673     // from org.andromda.metafacades.uml.ModelElementFacade
674     public java.lang.String getVisibility()
675     {
676         return this.getSuperEnumerationFacade().getVisibility();
677     }
678 
679     // from org.andromda.metafacades.uml.ModelElementFacade
680     public boolean hasExactStereotype(java.lang.String stereotypeName)
681     {
682         return this.getSuperEnumerationFacade().hasExactStereotype(stereotypeName);
683     }
684 
685     // from org.andromda.metafacades.uml.ModelElementFacade
686     public boolean hasStereotype(java.lang.String stereotypeName)
687     {
688         return this.getSuperEnumerationFacade().hasStereotype(stereotypeName);
689     }
690 
691     // from org.andromda.metafacades.uml.ModelElementFacade
692     public boolean isBindingDependenciesPresent()
693     {
694         return this.getSuperEnumerationFacade().isBindingDependenciesPresent();
695     }
696 
697     // from org.andromda.metafacades.uml.ModelElementFacade
698     public boolean isConstraintsPresent()
699     {
700         return this.getSuperEnumerationFacade().isConstraintsPresent();
701     }
702 
703     // from org.andromda.metafacades.uml.ModelElementFacade
704     public boolean isTemplateParametersPresent()
705     {
706         return this.getSuperEnumerationFacade().isTemplateParametersPresent();
707     }
708 
709     // from org.andromda.metafacades.uml.ModelElementFacade
710     public java.lang.String translateConstraint(java.lang.String name, java.lang.String translation)
711     {
712         return this.getSuperEnumerationFacade().translateConstraint(name, translation);
713     }
714 
715     // from org.andromda.metafacades.uml.ModelElementFacade
716     public java.lang.String[] translateConstraints(java.lang.String translation)
717     {
718         return this.getSuperEnumerationFacade().translateConstraints(translation);
719     }
720 
721     // from org.andromda.metafacades.uml.ModelElementFacade
722     public java.lang.String[] translateConstraints(java.lang.String kind, java.lang.String translation)
723     {
724         return this.getSuperEnumerationFacade().translateConstraints(kind, translation);
725     }
726 
727     /***
728      * @see org.andromda.core.metafacade.MetafacadeBase#initialize()
729      */
730     public void initialize()
731     {
732         this.getSuperEnumerationFacade().initialize();
733     }
734 
735     /***
736      * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner()
737      */
738     public Object getValidationOwner()
739     {
740         Object owner = this.getSuperEnumerationFacade().getValidationOwner();
741         return owner;
742     }
743 
744     /***
745      * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName()
746      */
747     public String getValidationName()
748     {
749         String name = this.getSuperEnumerationFacade().getValidationName();
750         return name;
751     }
752 
753     /***
754      * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(java.util.Collection)
755      */
756     public void validateInvariants(java.util.Collection validationMessages)
757     {
758         this.getSuperEnumerationFacade().validateInvariants(validationMessages);
759     }
760     
761     /***
762      * The property that stores the name of the metafacade.
763      */
764     private static final String NAME_PROPERTY = "name";
765     
766     /***
767      * @see java.lang.Object#toString()
768      */
769     public String toString()
770     {
771         final StringBuffer toString = new StringBuffer(this.getClass().getName());
772         toString.append("[");
773         try
774         {
775             toString.append(org.andromda.core.common.Introspector.instance().getProperty(this, NAME_PROPERTY));
776         }
777         catch (final Throwable throwable)
778         {
779             // - just ignore when the metafacade doesn't have a name property
780         }
781         toString.append("]");
782         return toString.toString();
783     }
784 }