View Javadoc

1   //
2   // Attention: generated code (by MetafacadeLogic.vsl) - do not modify!
3   //
4   package org.andromda.cartridges.spring.metafacades;
5   
6   /***
7    * MetafacadeLogic for org.andromda.cartridges.spring.metafacades.SpringDependency
8    *
9    * @see org.andromda.cartridges.spring.metafacades.SpringDependency
10   */
11  public abstract class SpringDependencyLogic
12      extends org.andromda.core.metafacade.MetafacadeBase
13      implements org.andromda.cartridges.spring.metafacades.SpringDependency
14  {
15  
16      protected Object metaObject;
17  
18      public SpringDependencyLogic(Object metaObject, String context)
19      {
20          super(metaObject, getContext(context));
21          this.superDependencyFacade =
22             (org.andromda.metafacades.uml.DependencyFacade)
23              org.andromda.core.metafacade.MetafacadeFactory.getInstance().createFacadeImpl(
24                      "org.andromda.metafacades.uml.DependencyFacade",
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.spring.metafacades.SpringDependency";
38          }
39          return context;
40      }
41  
42      private org.andromda.metafacades.uml.DependencyFacade superDependencyFacade;
43      private boolean superDependencyFacadeInitialized = false;
44  
45      /***
46       * Gets the org.andromda.metafacades.uml.DependencyFacade parent instance.
47       */
48      private org.andromda.metafacades.uml.DependencyFacade getSuperDependencyFacade()
49      {
50          if (!this.superDependencyFacadeInitialized)
51          {
52              ((org.andromda.core.metafacade.MetafacadeBase)superDependencyFacade).setMetafacadeContext(this.getMetafacadeContext());
53              this.superDependencyFacadeInitialized = true;
54          }
55          return superDependencyFacade;
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.superDependencyFacadeInitialized)
68              {
69                  ((org.andromda.core.metafacade.MetafacadeBase)superDependencyFacade).resetMetafacadeContext(context);
70              }
71          }
72      }
73  
74      /***
75       * @see org.andromda.cartridges.spring.metafacades.SpringDependency
76       */
77      public boolean isSpringDependencyMetaType()
78      {
79          return true;
80      }
81      
82      // --------------- attributes ---------------------
83  
84     /***
85      * @see org.andromda.cartridges.spring.metafacades.SpringDependency#getTransformationConstantName()
86      */
87      protected abstract java.lang.String handleGetTransformationConstantName();
88  
89      private void handleGetTransformationConstantName1aPreCondition()
90      {
91      }
92  
93      private void handleGetTransformationConstantName1aPostCondition()
94      {
95      }
96  
97      private java.lang.String __transformationConstantName1a;
98      private boolean __transformationConstantName1aSet = false;
99  
100     public final java.lang.String getTransformationConstantName()
101     {
102         java.lang.String transformationConstantName1a = this.__transformationConstantName1a;
103         if (!this.__transformationConstantName1aSet)
104         {
105             handleGetTransformationConstantName1aPreCondition();
106             transformationConstantName1a = handleGetTransformationConstantName();
107             handleGetTransformationConstantName1aPostCondition();
108             this.__transformationConstantName1a = transformationConstantName1a;
109             if (isMetafacadePropertyCachingEnabled())
110             {
111                 this.__transformationConstantName1aSet = true;
112             }
113         }
114         return transformationConstantName1a;
115     }
116 
117    /***
118     * @see org.andromda.cartridges.spring.metafacades.SpringDependency#getTransformationMethodName()
119     */
120     protected abstract java.lang.String handleGetTransformationMethodName();
121 
122     private void handleGetTransformationMethodName2aPreCondition()
123     {
124     }
125 
126     private void handleGetTransformationMethodName2aPostCondition()
127     {
128     }
129 
130     private java.lang.String __transformationMethodName2a;
131     private boolean __transformationMethodName2aSet = false;
132 
133     public final java.lang.String getTransformationMethodName()
134     {
135         java.lang.String transformationMethodName2a = this.__transformationMethodName2a;
136         if (!this.__transformationMethodName2aSet)
137         {
138             handleGetTransformationMethodName2aPreCondition();
139             transformationMethodName2a = handleGetTransformationMethodName();
140             handleGetTransformationMethodName2aPostCondition();
141             this.__transformationMethodName2a = transformationMethodName2a;
142             if (isMetafacadePropertyCachingEnabled())
143             {
144                 this.__transformationMethodName2aSet = true;
145             }
146         }
147         return transformationMethodName2a;
148     }
149 
150    /***
151     * @see org.andromda.cartridges.spring.metafacades.SpringDependency#getTransformationAnonymousName()
152     */
153     protected abstract java.lang.String handleGetTransformationAnonymousName();
154 
155     private void handleGetTransformationAnonymousName3aPreCondition()
156     {
157     }
158 
159     private void handleGetTransformationAnonymousName3aPostCondition()
160     {
161     }
162 
163     private java.lang.String __transformationAnonymousName3a;
164     private boolean __transformationAnonymousName3aSet = false;
165 
166     public final java.lang.String getTransformationAnonymousName()
167     {
168         java.lang.String transformationAnonymousName3a = this.__transformationAnonymousName3a;
169         if (!this.__transformationAnonymousName3aSet)
170         {
171             handleGetTransformationAnonymousName3aPreCondition();
172             transformationAnonymousName3a = handleGetTransformationAnonymousName();
173             handleGetTransformationAnonymousName3aPostCondition();
174             this.__transformationAnonymousName3a = transformationAnonymousName3a;
175             if (isMetafacadePropertyCachingEnabled())
176             {
177                 this.__transformationAnonymousName3aSet = true;
178             }
179         }
180         return transformationAnonymousName3a;
181     }
182 
183    /***
184     * @see org.andromda.cartridges.spring.metafacades.SpringDependency#isCircularReference()
185     */
186     protected abstract boolean handleIsCircularReference();
187 
188     private void handleIsCircularReference4aPreCondition()
189     {
190     }
191 
192     private void handleIsCircularReference4aPostCondition()
193     {
194     }
195 
196     private boolean __circularReference4a;
197     private boolean __circularReference4aSet = false;
198 
199     public final boolean isCircularReference()
200     {
201         boolean circularReference4a = this.__circularReference4a;
202         if (!this.__circularReference4aSet)
203         {
204             handleIsCircularReference4aPreCondition();
205             circularReference4a = handleIsCircularReference();
206             handleIsCircularReference4aPostCondition();
207             this.__circularReference4a = circularReference4a;
208             if (isMetafacadePropertyCachingEnabled())
209             {
210                 this.__circularReference4aSet = true;
211             }
212         }
213         return circularReference4a;
214     }
215 
216    /***
217     * @see org.andromda.cartridges.spring.metafacades.SpringDependency#getTransformationToCollectionMethodName()
218     */
219     protected abstract java.lang.String handleGetTransformationToCollectionMethodName();
220 
221     private void handleGetTransformationToCollectionMethodName5aPreCondition()
222     {
223     }
224 
225     private void handleGetTransformationToCollectionMethodName5aPostCondition()
226     {
227     }
228 
229     private java.lang.String __transformationToCollectionMethodName5a;
230     private boolean __transformationToCollectionMethodName5aSet = false;
231 
232     public final java.lang.String getTransformationToCollectionMethodName()
233     {
234         java.lang.String transformationToCollectionMethodName5a = this.__transformationToCollectionMethodName5a;
235         if (!this.__transformationToCollectionMethodName5aSet)
236         {
237             handleGetTransformationToCollectionMethodName5aPreCondition();
238             transformationToCollectionMethodName5a = handleGetTransformationToCollectionMethodName();
239             handleGetTransformationToCollectionMethodName5aPostCondition();
240             this.__transformationToCollectionMethodName5a = transformationToCollectionMethodName5a;
241             if (isMetafacadePropertyCachingEnabled())
242             {
243                 this.__transformationToCollectionMethodName5aSet = true;
244             }
245         }
246         return transformationToCollectionMethodName5a;
247     }
248 
249    /***
250     * @see org.andromda.cartridges.spring.metafacades.SpringDependency#getDaoName()
251     */
252     protected abstract java.lang.String handleGetDaoName();
253 
254     private void handleGetDaoName6aPreCondition()
255     {
256     }
257 
258     private void handleGetDaoName6aPostCondition()
259     {
260     }
261 
262     private java.lang.String __daoName6a;
263     private boolean __daoName6aSet = false;
264 
265     public final java.lang.String getDaoName()
266     {
267         java.lang.String daoName6a = this.__daoName6a;
268         if (!this.__daoName6aSet)
269         {
270             handleGetDaoName6aPreCondition();
271             daoName6a = handleGetDaoName();
272             handleGetDaoName6aPostCondition();
273             this.__daoName6a = daoName6a;
274             if (isMetafacadePropertyCachingEnabled())
275             {
276                 this.__daoName6aSet = true;
277             }
278         }
279         return daoName6a;
280     }
281 
282    /***
283     * @see org.andromda.cartridges.spring.metafacades.SpringDependency#getDaoGetterName()
284     */
285     protected abstract java.lang.String handleGetDaoGetterName();
286 
287     private void handleGetDaoGetterName7aPreCondition()
288     {
289     }
290 
291     private void handleGetDaoGetterName7aPostCondition()
292     {
293     }
294 
295     private java.lang.String __daoGetterName7a;
296     private boolean __daoGetterName7aSet = false;
297 
298     public final java.lang.String getDaoGetterName()
299     {
300         java.lang.String daoGetterName7a = this.__daoGetterName7a;
301         if (!this.__daoGetterName7aSet)
302         {
303             handleGetDaoGetterName7aPreCondition();
304             daoGetterName7a = handleGetDaoGetterName();
305             handleGetDaoGetterName7aPostCondition();
306             this.__daoGetterName7a = daoGetterName7a;
307             if (isMetafacadePropertyCachingEnabled())
308             {
309                 this.__daoGetterName7aSet = true;
310             }
311         }
312         return daoGetterName7a;
313     }
314 
315    /***
316     * @see org.andromda.cartridges.spring.metafacades.SpringDependency#getDaoSetterName()
317     */
318     protected abstract java.lang.String handleGetDaoSetterName();
319 
320     private void handleGetDaoSetterName8aPreCondition()
321     {
322     }
323 
324     private void handleGetDaoSetterName8aPostCondition()
325     {
326     }
327 
328     private java.lang.String __daoSetterName8a;
329     private boolean __daoSetterName8aSet = false;
330 
331     public final java.lang.String getDaoSetterName()
332     {
333         java.lang.String daoSetterName8a = this.__daoSetterName8a;
334         if (!this.__daoSetterName8aSet)
335         {
336             handleGetDaoSetterName8aPreCondition();
337             daoSetterName8a = handleGetDaoSetterName();
338             handleGetDaoSetterName8aPostCondition();
339             this.__daoSetterName8a = daoSetterName8a;
340             if (isMetafacadePropertyCachingEnabled())
341             {
342                 this.__daoSetterName8aSet = true;
343             }
344         }
345         return daoSetterName8a;
346     }
347 
348    /***
349     * @see org.andromda.cartridges.spring.metafacades.SpringDependency#getTransformationConstantValue()
350     */
351     protected abstract int handleGetTransformationConstantValue();
352 
353     private void handleGetTransformationConstantValue9aPreCondition()
354     {
355     }
356 
357     private void handleGetTransformationConstantValue9aPostCondition()
358     {
359     }
360 
361     private int __transformationConstantValue9a;
362     private boolean __transformationConstantValue9aSet = false;
363 
364     public final int getTransformationConstantValue()
365     {
366         int transformationConstantValue9a = this.__transformationConstantValue9a;
367         if (!this.__transformationConstantValue9aSet)
368         {
369             handleGetTransformationConstantValue9aPreCondition();
370             transformationConstantValue9a = handleGetTransformationConstantValue();
371             handleGetTransformationConstantValue9aPostCondition();
372             this.__transformationConstantValue9a = transformationConstantValue9a;
373             if (isMetafacadePropertyCachingEnabled())
374             {
375                 this.__transformationConstantValue9aSet = true;
376             }
377         }
378         return transformationConstantValue9a;
379     }
380 
381    /***
382     * @see org.andromda.cartridges.spring.metafacades.SpringDependency#getTransformationToEntityCollectionMethodName()
383     */
384     protected abstract java.lang.String handleGetTransformationToEntityCollectionMethodName();
385 
386     private void handleGetTransformationToEntityCollectionMethodName10aPreCondition()
387     {
388     }
389 
390     private void handleGetTransformationToEntityCollectionMethodName10aPostCondition()
391     {
392     }
393 
394     private java.lang.String __transformationToEntityCollectionMethodName10a;
395     private boolean __transformationToEntityCollectionMethodName10aSet = false;
396 
397     public final java.lang.String getTransformationToEntityCollectionMethodName()
398     {
399         java.lang.String transformationToEntityCollectionMethodName10a = this.__transformationToEntityCollectionMethodName10a;
400         if (!this.__transformationToEntityCollectionMethodName10aSet)
401         {
402             handleGetTransformationToEntityCollectionMethodName10aPreCondition();
403             transformationToEntityCollectionMethodName10a = handleGetTransformationToEntityCollectionMethodName();
404             handleGetTransformationToEntityCollectionMethodName10aPostCondition();
405             this.__transformationToEntityCollectionMethodName10a = transformationToEntityCollectionMethodName10a;
406             if (isMetafacadePropertyCachingEnabled())
407             {
408                 this.__transformationToEntityCollectionMethodName10aSet = true;
409             }
410         }
411         return transformationToEntityCollectionMethodName10a;
412     }
413 
414    /***
415     * @see org.andromda.cartridges.spring.metafacades.SpringDependency#getTransformationToEntityMethodName()
416     */
417     protected abstract java.lang.String handleGetTransformationToEntityMethodName();
418 
419     private void handleGetTransformationToEntityMethodName11aPreCondition()
420     {
421     }
422 
423     private void handleGetTransformationToEntityMethodName11aPostCondition()
424     {
425     }
426 
427     private java.lang.String __transformationToEntityMethodName11a;
428     private boolean __transformationToEntityMethodName11aSet = false;
429 
430     public final java.lang.String getTransformationToEntityMethodName()
431     {
432         java.lang.String transformationToEntityMethodName11a = this.__transformationToEntityMethodName11a;
433         if (!this.__transformationToEntityMethodName11aSet)
434         {
435             handleGetTransformationToEntityMethodName11aPreCondition();
436             transformationToEntityMethodName11a = handleGetTransformationToEntityMethodName();
437             handleGetTransformationToEntityMethodName11aPostCondition();
438             this.__transformationToEntityMethodName11a = transformationToEntityMethodName11a;
439             if (isMetafacadePropertyCachingEnabled())
440             {
441                 this.__transformationToEntityMethodName11aSet = true;
442             }
443         }
444         return transformationToEntityMethodName11a;
445     }
446 
447    /***
448     * @see org.andromda.cartridges.spring.metafacades.SpringDependency#getValueObjectToEntityTransformerName()
449     */
450     protected abstract java.lang.String handleGetValueObjectToEntityTransformerName();
451 
452     private void handleGetValueObjectToEntityTransformerName12aPreCondition()
453     {
454     }
455 
456     private void handleGetValueObjectToEntityTransformerName12aPostCondition()
457     {
458     }
459 
460     private java.lang.String __valueObjectToEntityTransformerName12a;
461     private boolean __valueObjectToEntityTransformerName12aSet = false;
462 
463     public final java.lang.String getValueObjectToEntityTransformerName()
464     {
465         java.lang.String valueObjectToEntityTransformerName12a = this.__valueObjectToEntityTransformerName12a;
466         if (!this.__valueObjectToEntityTransformerName12aSet)
467         {
468             handleGetValueObjectToEntityTransformerName12aPreCondition();
469             valueObjectToEntityTransformerName12a = handleGetValueObjectToEntityTransformerName();
470             handleGetValueObjectToEntityTransformerName12aPostCondition();
471             this.__valueObjectToEntityTransformerName12a = valueObjectToEntityTransformerName12a;
472             if (isMetafacadePropertyCachingEnabled())
473             {
474                 this.__valueObjectToEntityTransformerName12aSet = true;
475             }
476         }
477         return valueObjectToEntityTransformerName12a;
478     }
479 
480     /***
481      * @see org.andromda.metafacades.uml.DependencyFacade
482      */
483     public boolean isDependencyFacadeMetaType()
484     {
485         return true;
486     }
487     
488     /***
489      * @see org.andromda.metafacades.uml.ModelElementFacade
490      */
491     public boolean isModelElementFacadeMetaType()
492     {
493         return true;
494     }
495     
496     // ----------- delegates to org.andromda.metafacades.uml.DependencyFacade ------------
497     // from org.andromda.metafacades.uml.DependencyFacade
498     public java.lang.String getGetterName()
499     {
500         return this.getSuperDependencyFacade().getGetterName();
501     }
502 
503     // from org.andromda.metafacades.uml.DependencyFacade
504     public java.lang.String getSetterName()
505     {
506         return this.getSuperDependencyFacade().getSetterName();
507     }
508 
509     // from org.andromda.metafacades.uml.DependencyFacade
510     public org.andromda.metafacades.uml.ModelElementFacade getSourceElement()
511     {
512         return this.getSuperDependencyFacade().getSourceElement();
513     }
514 
515     // from org.andromda.metafacades.uml.DependencyFacade
516     public org.andromda.metafacades.uml.ModelElementFacade getTargetElement()
517     {
518         return this.getSuperDependencyFacade().getTargetElement();
519     }
520 
521     // from org.andromda.metafacades.uml.ModelElementFacade
522     public void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
523     {
524         this.getSuperDependencyFacade().copyTaggedValues(element);
525     }
526 
527     // from org.andromda.metafacades.uml.ModelElementFacade
528     public java.lang.Object findTaggedValue(java.lang.String tagName)
529     {
530         return this.getSuperDependencyFacade().findTaggedValue(tagName);
531     }
532 
533     // from org.andromda.metafacades.uml.ModelElementFacade
534     public java.util.Collection findTaggedValues(java.lang.String tagName)
535     {
536         return this.getSuperDependencyFacade().findTaggedValues(tagName);
537     }
538 
539     // from org.andromda.metafacades.uml.ModelElementFacade
540     public java.util.Collection getConstraints()
541     {
542         return this.getSuperDependencyFacade().getConstraints();
543     }
544 
545     // from org.andromda.metafacades.uml.ModelElementFacade
546     public java.util.Collection getConstraints(java.lang.String kind)
547     {
548         return this.getSuperDependencyFacade().getConstraints(kind);
549     }
550 
551     // from org.andromda.metafacades.uml.ModelElementFacade
552     public java.lang.String getDocumentation(java.lang.String indent, int lineLength, boolean htmlStyle)
553     {
554         return this.getSuperDependencyFacade().getDocumentation(indent, lineLength, htmlStyle);
555     }
556 
557     // from org.andromda.metafacades.uml.ModelElementFacade
558     public java.lang.String getDocumentation(java.lang.String indent, int lineLength)
559     {
560         return this.getSuperDependencyFacade().getDocumentation(indent, lineLength);
561     }
562 
563     // from org.andromda.metafacades.uml.ModelElementFacade
564     public java.lang.String getDocumentation(java.lang.String indent)
565     {
566         return this.getSuperDependencyFacade().getDocumentation(indent);
567     }
568 
569     // from org.andromda.metafacades.uml.ModelElementFacade
570     public java.lang.String getFullyQualifiedName(boolean modelName)
571     {
572         return this.getSuperDependencyFacade().getFullyQualifiedName(modelName);
573     }
574 
575     // from org.andromda.metafacades.uml.ModelElementFacade
576     public java.lang.String getFullyQualifiedName()
577     {
578         return this.getSuperDependencyFacade().getFullyQualifiedName();
579     }
580 
581     // from org.andromda.metafacades.uml.ModelElementFacade
582     public java.lang.String getFullyQualifiedNamePath()
583     {
584         return this.getSuperDependencyFacade().getFullyQualifiedNamePath();
585     }
586 
587     // from org.andromda.metafacades.uml.ModelElementFacade
588     public java.lang.String getId()
589     {
590         return this.getSuperDependencyFacade().getId();
591     }
592 
593     // from org.andromda.metafacades.uml.ModelElementFacade
594     public org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
595     {
596         return this.getSuperDependencyFacade().getLanguageMappings();
597     }
598 
599     // from org.andromda.metafacades.uml.ModelElementFacade
600     public org.andromda.metafacades.uml.ModelFacade getModel()
601     {
602         return this.getSuperDependencyFacade().getModel();
603     }
604 
605     // from org.andromda.metafacades.uml.ModelElementFacade
606     public java.lang.String getName()
607     {
608         return this.getSuperDependencyFacade().getName();
609     }
610 
611     // from org.andromda.metafacades.uml.ModelElementFacade
612     public org.andromda.metafacades.uml.ModelElementFacade getPackage()
613     {
614         return this.getSuperDependencyFacade().getPackage();
615     }
616 
617     // from org.andromda.metafacades.uml.ModelElementFacade
618     public java.lang.String getPackageName(boolean modelName)
619     {
620         return this.getSuperDependencyFacade().getPackageName(modelName);
621     }
622 
623     // from org.andromda.metafacades.uml.ModelElementFacade
624     public java.lang.String getPackageName()
625     {
626         return this.getSuperDependencyFacade().getPackageName();
627     }
628 
629     // from org.andromda.metafacades.uml.ModelElementFacade
630     public java.lang.String getPackagePath()
631     {
632         return this.getSuperDependencyFacade().getPackagePath();
633     }
634 
635     // from org.andromda.metafacades.uml.ModelElementFacade
636     public org.andromda.metafacades.uml.PackageFacade getRootPackage()
637     {
638         return this.getSuperDependencyFacade().getRootPackage();
639     }
640 
641     // from org.andromda.metafacades.uml.ModelElementFacade
642     public java.util.Collection getSourceDependencies()
643     {
644         return this.getSuperDependencyFacade().getSourceDependencies();
645     }
646 
647     // from org.andromda.metafacades.uml.ModelElementFacade
648     public org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
649     {
650         return this.getSuperDependencyFacade().getStateMachineContext();
651     }
652 
653     // from org.andromda.metafacades.uml.ModelElementFacade
654     public java.util.Collection getStereotypeNames()
655     {
656         return this.getSuperDependencyFacade().getStereotypeNames();
657     }
658 
659     // from org.andromda.metafacades.uml.ModelElementFacade
660     public java.util.Collection getStereotypes()
661     {
662         return this.getSuperDependencyFacade().getStereotypes();
663     }
664 
665     // from org.andromda.metafacades.uml.ModelElementFacade
666     public java.util.Collection getTaggedValues()
667     {
668         return this.getSuperDependencyFacade().getTaggedValues();
669     }
670 
671     // from org.andromda.metafacades.uml.ModelElementFacade
672     public java.util.Collection getTargetDependencies()
673     {
674         return this.getSuperDependencyFacade().getTargetDependencies();
675     }
676 
677     // from org.andromda.metafacades.uml.ModelElementFacade
678     public java.lang.Object getTemplateParameter(java.lang.String parameterName)
679     {
680         return this.getSuperDependencyFacade().getTemplateParameter(parameterName);
681     }
682 
683     // from org.andromda.metafacades.uml.ModelElementFacade
684     public java.util.Collection getTemplateParameters()
685     {
686         return this.getSuperDependencyFacade().getTemplateParameters();
687     }
688 
689     // from org.andromda.metafacades.uml.ModelElementFacade
690     public java.lang.String getVisibility()
691     {
692         return this.getSuperDependencyFacade().getVisibility();
693     }
694 
695     // from org.andromda.metafacades.uml.ModelElementFacade
696     public boolean hasExactStereotype(java.lang.String stereotypeName)
697     {
698         return this.getSuperDependencyFacade().hasExactStereotype(stereotypeName);
699     }
700 
701     // from org.andromda.metafacades.uml.ModelElementFacade
702     public boolean hasStereotype(java.lang.String stereotypeName)
703     {
704         return this.getSuperDependencyFacade().hasStereotype(stereotypeName);
705     }
706 
707     // from org.andromda.metafacades.uml.ModelElementFacade
708     public boolean isBindingDependenciesPresent()
709     {
710         return this.getSuperDependencyFacade().isBindingDependenciesPresent();
711     }
712 
713     // from org.andromda.metafacades.uml.ModelElementFacade
714     public boolean isConstraintsPresent()
715     {
716         return this.getSuperDependencyFacade().isConstraintsPresent();
717     }
718 
719     // from org.andromda.metafacades.uml.ModelElementFacade
720     public boolean isTemplateParametersPresent()
721     {
722         return this.getSuperDependencyFacade().isTemplateParametersPresent();
723     }
724 
725     // from org.andromda.metafacades.uml.ModelElementFacade
726     public java.lang.String translateConstraint(java.lang.String name, java.lang.String translation)
727     {
728         return this.getSuperDependencyFacade().translateConstraint(name, translation);
729     }
730 
731     // from org.andromda.metafacades.uml.ModelElementFacade
732     public java.lang.String[] translateConstraints(java.lang.String translation)
733     {
734         return this.getSuperDependencyFacade().translateConstraints(translation);
735     }
736 
737     // from org.andromda.metafacades.uml.ModelElementFacade
738     public java.lang.String[] translateConstraints(java.lang.String kind, java.lang.String translation)
739     {
740         return this.getSuperDependencyFacade().translateConstraints(kind, translation);
741     }
742 
743     /***
744      * @see org.andromda.core.metafacade.MetafacadeBase#initialize()
745      */
746     public void initialize()
747     {
748         this.getSuperDependencyFacade().initialize();
749     }
750 
751     /***
752      * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner()
753      */
754     public Object getValidationOwner()
755     {
756         Object owner = this.getSuperDependencyFacade().getValidationOwner();
757         return owner;
758     }
759 
760     /***
761      * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName()
762      */
763     public String getValidationName()
764     {
765         String name = this.getSuperDependencyFacade().getValidationName();
766         return name;
767     }
768 
769     /***
770      * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(java.util.Collection)
771      */
772     public void validateInvariants(java.util.Collection validationMessages)
773     {
774         this.getSuperDependencyFacade().validateInvariants(validationMessages);
775     }
776     
777     /***
778      * The property that stores the name of the metafacade.
779      */
780     private static final String NAME_PROPERTY = "name";
781     
782     /***
783      * @see java.lang.Object#toString()
784      */
785     public String toString()
786     {
787         final StringBuffer toString = new StringBuffer(this.getClass().getName());
788         toString.append("[");
789         try
790         {
791             toString.append(org.andromda.core.common.Introspector.instance().getProperty(this, NAME_PROPERTY));
792         }
793         catch (final Throwable throwable)
794         {
795             // - just ignore when the metafacade doesn't have a name property
796         }
797         toString.append("]");
798         return toString.toString();
799     }
800 }