View Javadoc

1   //
2   // Attention: generated code (by MetafacadeLogic.vsl) - do not modify!
3   //
4   package org.andromda.cartridges.ejb.metafacades;
5   
6   /***
7    * MetafacadeLogic for org.andromda.cartridges.ejb.metafacades.EJBSessionFacade
8    *
9    * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade
10   */
11  public abstract class EJBSessionFacadeLogic
12      extends org.andromda.core.metafacade.MetafacadeBase
13      implements org.andromda.cartridges.ejb.metafacades.EJBSessionFacade
14  {
15  
16      protected Object metaObject;
17  
18      public EJBSessionFacadeLogic(Object metaObject, String context)
19      {
20          super(metaObject, getContext(context));
21          this.superService =
22             (org.andromda.metafacades.uml.Service)
23              org.andromda.core.metafacade.MetafacadeFactory.getInstance().createFacadeImpl(
24                      "org.andromda.metafacades.uml.Service",
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.ejb.metafacades.EJBSessionFacade";
38          }
39          return context;
40      }
41  
42      private org.andromda.metafacades.uml.Service superService;
43      private boolean superServiceInitialized = false;
44  
45      /***
46       * Gets the org.andromda.metafacades.uml.Service parent instance.
47       */
48      private org.andromda.metafacades.uml.Service getSuperService()
49      {
50          if (!this.superServiceInitialized)
51          {
52              ((org.andromda.core.metafacade.MetafacadeBase)superService).setMetafacadeContext(this.getMetafacadeContext());
53              this.superServiceInitialized = true;
54          }
55          return superService;
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.superServiceInitialized)
68              {
69                  ((org.andromda.core.metafacade.MetafacadeBase)superService).resetMetafacadeContext(context);
70              }
71          }
72      }
73  
74      /***
75       * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade
76       */
77      public boolean isEJBSessionFacadeMetaType()
78      {
79          return true;
80      }
81      
82      // --------------- attributes ---------------------
83  
84     /***
85      * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#isSyntheticCreateMethodAllowed()
86      */
87      protected abstract boolean handleIsSyntheticCreateMethodAllowed();
88  
89      private void handleIsSyntheticCreateMethodAllowed1aPreCondition()
90      {
91      }
92  
93      private void handleIsSyntheticCreateMethodAllowed1aPostCondition()
94      {
95      }
96  
97      private boolean __syntheticCreateMethodAllowed1a;
98      private boolean __syntheticCreateMethodAllowed1aSet = false;
99  
100     public final boolean isSyntheticCreateMethodAllowed()
101     {
102         boolean syntheticCreateMethodAllowed1a = this.__syntheticCreateMethodAllowed1a;
103         if (!this.__syntheticCreateMethodAllowed1aSet)
104         {
105             handleIsSyntheticCreateMethodAllowed1aPreCondition();
106             syntheticCreateMethodAllowed1a = handleIsSyntheticCreateMethodAllowed();
107             handleIsSyntheticCreateMethodAllowed1aPostCondition();
108             this.__syntheticCreateMethodAllowed1a = syntheticCreateMethodAllowed1a;
109             if (isMetafacadePropertyCachingEnabled())
110             {
111                 this.__syntheticCreateMethodAllowed1aSet = true;
112             }
113         }
114         return syntheticCreateMethodAllowed1a;
115     }
116 
117    /***
118     * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#getBusinessOperations()
119     */
120     protected abstract java.util.Collection handleGetBusinessOperations();
121 
122     private void handleGetBusinessOperations2aPreCondition()
123     {
124     }
125 
126     private void handleGetBusinessOperations2aPostCondition()
127     {
128     }
129 
130     private java.util.Collection __businessOperations2a;
131     private boolean __businessOperations2aSet = false;
132 
133     public final java.util.Collection getBusinessOperations()
134     {
135         java.util.Collection businessOperations2a = this.__businessOperations2a;
136         if (!this.__businessOperations2aSet)
137         {
138             handleGetBusinessOperations2aPreCondition();
139             businessOperations2a = handleGetBusinessOperations();
140             handleGetBusinessOperations2aPostCondition();
141             this.__businessOperations2a = businessOperations2a;
142             if (isMetafacadePropertyCachingEnabled())
143             {
144                 this.__businessOperations2aSet = true;
145             }
146         }
147         return businessOperations2a;
148     }
149 
150    /***
151     * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#getAllInstanceAttributes()
152     */
153     protected abstract java.util.List handleGetAllInstanceAttributes();
154 
155     private void handleGetAllInstanceAttributes3aPreCondition()
156     {
157     }
158 
159     private void handleGetAllInstanceAttributes3aPostCondition()
160     {
161     }
162 
163     private java.util.List __allInstanceAttributes3a;
164     private boolean __allInstanceAttributes3aSet = false;
165 
166     public final java.util.List getAllInstanceAttributes()
167     {
168         java.util.List allInstanceAttributes3a = this.__allInstanceAttributes3a;
169         if (!this.__allInstanceAttributes3aSet)
170         {
171             handleGetAllInstanceAttributes3aPreCondition();
172             allInstanceAttributes3a = handleGetAllInstanceAttributes();
173             handleGetAllInstanceAttributes3aPostCondition();
174             this.__allInstanceAttributes3a = allInstanceAttributes3a;
175             if (isMetafacadePropertyCachingEnabled())
176             {
177                 this.__allInstanceAttributes3aSet = true;
178             }
179         }
180         return allInstanceAttributes3a;
181     }
182 
183    /***
184     * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#getInheritedInstanceAttributes()
185     */
186     protected abstract java.util.List handleGetInheritedInstanceAttributes();
187 
188     private void handleGetInheritedInstanceAttributes4aPreCondition()
189     {
190     }
191 
192     private void handleGetInheritedInstanceAttributes4aPostCondition()
193     {
194     }
195 
196     private java.util.List __inheritedInstanceAttributes4a;
197     private boolean __inheritedInstanceAttributes4aSet = false;
198 
199     public final java.util.List getInheritedInstanceAttributes()
200     {
201         java.util.List inheritedInstanceAttributes4a = this.__inheritedInstanceAttributes4a;
202         if (!this.__inheritedInstanceAttributes4aSet)
203         {
204             handleGetInheritedInstanceAttributes4aPreCondition();
205             inheritedInstanceAttributes4a = handleGetInheritedInstanceAttributes();
206             handleGetInheritedInstanceAttributes4aPostCondition();
207             this.__inheritedInstanceAttributes4a = inheritedInstanceAttributes4a;
208             if (isMetafacadePropertyCachingEnabled())
209             {
210                 this.__inheritedInstanceAttributes4aSet = true;
211             }
212         }
213         return inheritedInstanceAttributes4a;
214     }
215 
216    /***
217     * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#getJndiName()
218     */
219     protected abstract java.lang.String handleGetJndiName();
220 
221     private void handleGetJndiName5aPreCondition()
222     {
223     }
224 
225     private void handleGetJndiName5aPostCondition()
226     {
227     }
228 
229     private java.lang.String __jndiName5a;
230     private boolean __jndiName5aSet = false;
231 
232     public final java.lang.String getJndiName()
233     {
234         java.lang.String jndiName5a = this.__jndiName5a;
235         if (!this.__jndiName5aSet)
236         {
237             handleGetJndiName5aPreCondition();
238             jndiName5a = handleGetJndiName();
239             handleGetJndiName5aPostCondition();
240             this.__jndiName5a = jndiName5a;
241             if (isMetafacadePropertyCachingEnabled())
242             {
243                 this.__jndiName5aSet = true;
244             }
245         }
246         return jndiName5a;
247     }
248 
249    /***
250     * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#isStateful()
251     */
252     protected abstract boolean handleIsStateful();
253 
254     private void handleIsStateful6aPreCondition()
255     {
256     }
257 
258     private void handleIsStateful6aPostCondition()
259     {
260     }
261 
262     private boolean __stateful6a;
263     private boolean __stateful6aSet = false;
264 
265     public final boolean isStateful()
266     {
267         boolean stateful6a = this.__stateful6a;
268         if (!this.__stateful6aSet)
269         {
270             handleIsStateful6aPreCondition();
271             stateful6a = handleIsStateful();
272             handleIsStateful6aPostCondition();
273             this.__stateful6a = stateful6a;
274             if (isMetafacadePropertyCachingEnabled())
275             {
276                 this.__stateful6aSet = true;
277             }
278         }
279         return stateful6a;
280     }
281 
282    /***
283     * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#isStateless()
284     */
285     protected abstract boolean handleIsStateless();
286 
287     private void handleIsStateless7aPreCondition()
288     {
289     }
290 
291     private void handleIsStateless7aPostCondition()
292     {
293     }
294 
295     private boolean __stateless7a;
296     private boolean __stateless7aSet = false;
297 
298     public final boolean isStateless()
299     {
300         boolean stateless7a = this.__stateless7a;
301         if (!this.__stateless7aSet)
302         {
303             handleIsStateless7aPreCondition();
304             stateless7a = handleIsStateless();
305             handleIsStateless7aPostCondition();
306             this.__stateless7a = stateless7a;
307             if (isMetafacadePropertyCachingEnabled())
308             {
309                 this.__stateless7aSet = true;
310             }
311         }
312         return stateless7a;
313     }
314 
315    /***
316     * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#getType()
317     */
318     protected abstract java.lang.String handleGetType();
319 
320     private void handleGetType8aPreCondition()
321     {
322     }
323 
324     private void handleGetType8aPostCondition()
325     {
326     }
327 
328     private java.lang.String __type8a;
329     private boolean __type8aSet = false;
330 
331     public final java.lang.String getType()
332     {
333         java.lang.String type8a = this.__type8a;
334         if (!this.__type8aSet)
335         {
336             handleGetType8aPreCondition();
337             type8a = handleGetType();
338             handleGetType8aPostCondition();
339             this.__type8a = type8a;
340             if (isMetafacadePropertyCachingEnabled())
341             {
342                 this.__type8aSet = true;
343             }
344         }
345         return type8a;
346     }
347 
348    /***
349     * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#getViewType()
350     */
351     protected abstract java.lang.String handleGetViewType();
352 
353     private void handleGetViewType9aPreCondition()
354     {
355     }
356 
357     private void handleGetViewType9aPostCondition()
358     {
359     }
360 
361     private java.lang.String __viewType9a;
362     private boolean __viewType9aSet = false;
363 
364     public final java.lang.String getViewType()
365     {
366         java.lang.String viewType9a = this.__viewType9a;
367         if (!this.__viewType9aSet)
368         {
369             handleGetViewType9aPreCondition();
370             viewType9a = handleGetViewType();
371             handleGetViewType9aPostCondition();
372             this.__viewType9a = viewType9a;
373             if (isMetafacadePropertyCachingEnabled())
374             {
375                 this.__viewType9aSet = true;
376             }
377         }
378         return viewType9a;
379     }
380 
381    /***
382     * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#getHomeInterfaceName()
383     */
384     protected abstract java.lang.String handleGetHomeInterfaceName();
385 
386     private void handleGetHomeInterfaceName10aPreCondition()
387     {
388     }
389 
390     private void handleGetHomeInterfaceName10aPostCondition()
391     {
392     }
393 
394     private java.lang.String __homeInterfaceName10a;
395     private boolean __homeInterfaceName10aSet = false;
396 
397     public final java.lang.String getHomeInterfaceName()
398     {
399         java.lang.String homeInterfaceName10a = this.__homeInterfaceName10a;
400         if (!this.__homeInterfaceName10aSet)
401         {
402             handleGetHomeInterfaceName10aPreCondition();
403             homeInterfaceName10a = handleGetHomeInterfaceName();
404             handleGetHomeInterfaceName10aPostCondition();
405             this.__homeInterfaceName10a = homeInterfaceName10a;
406             if (isMetafacadePropertyCachingEnabled())
407             {
408                 this.__homeInterfaceName10aSet = true;
409             }
410         }
411         return homeInterfaceName10a;
412     }
413 
414    /***
415     * @see org.andromda.cartridges.ejb.metafacades.EJBSessionFacade#getTransactionType()
416     */
417     protected abstract java.lang.String handleGetTransactionType();
418 
419     private void handleGetTransactionType11aPreCondition()
420     {
421     }
422 
423     private void handleGetTransactionType11aPostCondition()
424     {
425     }
426 
427     private java.lang.String __transactionType11a;
428     private boolean __transactionType11aSet = false;
429 
430     public final java.lang.String getTransactionType()
431     {
432         java.lang.String transactionType11a = this.__transactionType11a;
433         if (!this.__transactionType11aSet)
434         {
435             handleGetTransactionType11aPreCondition();
436             transactionType11a = handleGetTransactionType();
437             handleGetTransactionType11aPostCondition();
438             this.__transactionType11a = transactionType11a;
439             if (isMetafacadePropertyCachingEnabled())
440             {
441                 this.__transactionType11aSet = true;
442             }
443         }
444         return transactionType11a;
445     }
446 
447     // ---------------- business methods ----------------------
448 
449     protected abstract java.util.Collection handleGetCreateMethods(boolean follow);
450 
451     private void handleGetCreateMethods1oPreCondition()
452     {
453     }
454 
455     private void handleGetCreateMethods1oPostCondition()
456     {
457     }
458 
459     public java.util.Collection getCreateMethods(boolean follow)
460     {
461         handleGetCreateMethods1oPreCondition();
462         java.util.Collection returnValue = handleGetCreateMethods(follow);
463         handleGetCreateMethods1oPostCondition();
464         return returnValue;
465     }
466 
467     protected abstract java.util.Collection handleGetEnvironmentEntries(boolean follow);
468 
469     private void handleGetEnvironmentEntries2oPreCondition()
470     {
471     }
472 
473     private void handleGetEnvironmentEntries2oPostCondition()
474     {
475     }
476 
477     public java.util.Collection getEnvironmentEntries(boolean follow)
478     {
479         handleGetEnvironmentEntries2oPreCondition();
480         java.util.Collection returnValue = handleGetEnvironmentEntries(follow);
481         handleGetEnvironmentEntries2oPostCondition();
482         return returnValue;
483     }
484 
485     protected abstract java.util.Collection handleGetConstants(boolean follow);
486 
487     private void handleGetConstants3oPreCondition()
488     {
489     }
490 
491     private void handleGetConstants3oPostCondition()
492     {
493     }
494 
495     public java.util.Collection getConstants(boolean follow)
496     {
497         handleGetConstants3oPreCondition();
498         java.util.Collection returnValue = handleGetConstants(follow);
499         handleGetConstants3oPostCondition();
500         return returnValue;
501     }
502 
503     /***
504      * @see org.andromda.metafacades.uml.Service
505      */
506     public boolean isServiceMetaType()
507     {
508         return true;
509     }
510     
511     /***
512      * @see org.andromda.metafacades.uml.ClassifierFacade
513      */
514     public boolean isClassifierFacadeMetaType()
515     {
516         return true;
517     }
518     
519     /***
520      * @see org.andromda.metafacades.uml.GeneralizableElementFacade
521      */
522     public boolean isGeneralizableElementFacadeMetaType()
523     {
524         return true;
525     }
526     
527     /***
528      * @see org.andromda.metafacades.uml.ModelElementFacade
529      */
530     public boolean isModelElementFacadeMetaType()
531     {
532         return true;
533     }
534     
535     // ----------- delegates to org.andromda.metafacades.uml.Service ------------
536     // from org.andromda.metafacades.uml.ClassifierFacade
537     public org.andromda.metafacades.uml.AttributeFacade findAttribute(java.lang.String name)
538     {
539         return this.getSuperService().findAttribute(name);
540     }
541 
542     // from org.andromda.metafacades.uml.ClassifierFacade
543     public java.util.Collection getAbstractions()
544     {
545         return this.getSuperService().getAbstractions();
546     }
547 
548     // from org.andromda.metafacades.uml.ClassifierFacade
549     public java.util.Collection getAllAssociatedClasses()
550     {
551         return this.getSuperService().getAllAssociatedClasses();
552     }
553 
554     // from org.andromda.metafacades.uml.ClassifierFacade
555     public java.util.Collection getAllProperties()
556     {
557         return this.getSuperService().getAllProperties();
558     }
559 
560     // from org.andromda.metafacades.uml.ClassifierFacade
561     public java.util.Collection getAllRequiredConstructorParameters()
562     {
563         return this.getSuperService().getAllRequiredConstructorParameters();
564     }
565 
566     // from org.andromda.metafacades.uml.ClassifierFacade
567     public org.andromda.metafacades.uml.ClassifierFacade getArray()
568     {
569         return this.getSuperService().getArray();
570     }
571 
572     // from org.andromda.metafacades.uml.ClassifierFacade
573     public java.lang.String getArrayName()
574     {
575         return this.getSuperService().getArrayName();
576     }
577 
578     // from org.andromda.metafacades.uml.ClassifierFacade
579     public java.util.Collection getAssociatedClasses()
580     {
581         return this.getSuperService().getAssociatedClasses();
582     }
583 
584     // from org.andromda.metafacades.uml.ClassifierFacade
585     public java.util.List getAssociationEnds()
586     {
587         return this.getSuperService().getAssociationEnds();
588     }
589 
590     // from org.andromda.metafacades.uml.ClassifierFacade
591     public java.util.Collection getAttributes(boolean follow)
592     {
593         return this.getSuperService().getAttributes(follow);
594     }
595 
596     // from org.andromda.metafacades.uml.ClassifierFacade
597     public java.util.Collection getAttributes()
598     {
599         return this.getSuperService().getAttributes();
600     }
601 
602     // from org.andromda.metafacades.uml.ClassifierFacade
603     public java.lang.String getFullyQualifiedArrayName()
604     {
605         return this.getSuperService().getFullyQualifiedArrayName();
606     }
607 
608     // from org.andromda.metafacades.uml.ClassifierFacade
609     public java.util.Collection getImplementationOperations()
610     {
611         return this.getSuperService().getImplementationOperations();
612     }
613 
614     // from org.andromda.metafacades.uml.ClassifierFacade
615     public java.lang.String getImplementedInterfaceList()
616     {
617         return this.getSuperService().getImplementedInterfaceList();
618     }
619 
620     // from org.andromda.metafacades.uml.ClassifierFacade
621     public java.util.Collection getInstanceAttributes()
622     {
623         return this.getSuperService().getInstanceAttributes();
624     }
625 
626     // from org.andromda.metafacades.uml.ClassifierFacade
627     public java.util.Collection getInstanceOperations()
628     {
629         return this.getSuperService().getInstanceOperations();
630     }
631 
632     // from org.andromda.metafacades.uml.ClassifierFacade
633     public java.util.Collection getInterfaceAbstractions()
634     {
635         return this.getSuperService().getInterfaceAbstractions();
636     }
637 
638     // from org.andromda.metafacades.uml.ClassifierFacade
639     public java.lang.String getJavaNullString()
640     {
641         return this.getSuperService().getJavaNullString();
642     }
643 
644     // from org.andromda.metafacades.uml.ClassifierFacade
645     public java.util.Collection getNavigableConnectingEnds()
646     {
647         return this.getSuperService().getNavigableConnectingEnds();
648     }
649 
650     // from org.andromda.metafacades.uml.ClassifierFacade
651     public java.util.Collection getNavigableConnectingEnds(boolean follow)
652     {
653         return this.getSuperService().getNavigableConnectingEnds(follow);
654     }
655 
656     // from org.andromda.metafacades.uml.ClassifierFacade
657     public org.andromda.metafacades.uml.ClassifierFacade getNonArray()
658     {
659         return this.getSuperService().getNonArray();
660     }
661 
662     // from org.andromda.metafacades.uml.ClassifierFacade
663     public java.lang.String getOperationCallFromAttributes()
664     {
665         return this.getSuperService().getOperationCallFromAttributes();
666     }
667 
668     // from org.andromda.metafacades.uml.ClassifierFacade
669     public java.util.Collection getOperations()
670     {
671         return this.getSuperService().getOperations();
672     }
673 
674     // from org.andromda.metafacades.uml.ClassifierFacade
675     public java.util.Collection getProperties(boolean follow)
676     {
677         return this.getSuperService().getProperties(follow);
678     }
679 
680     // from org.andromda.metafacades.uml.ClassifierFacade
681     public java.util.Collection getProperties()
682     {
683         return this.getSuperService().getProperties();
684     }
685 
686     // from org.andromda.metafacades.uml.ClassifierFacade
687     public java.util.Collection getRequiredConstructorParameters()
688     {
689         return this.getSuperService().getRequiredConstructorParameters();
690     }
691 
692     // from org.andromda.metafacades.uml.ClassifierFacade
693     public java.lang.Long getSerialVersionUID()
694     {
695         return this.getSuperService().getSerialVersionUID();
696     }
697 
698     // from org.andromda.metafacades.uml.ClassifierFacade
699     public java.util.Collection getStaticAttributes()
700     {
701         return this.getSuperService().getStaticAttributes();
702     }
703 
704     // from org.andromda.metafacades.uml.ClassifierFacade
705     public java.util.Collection getStaticOperations()
706     {
707         return this.getSuperService().getStaticOperations();
708     }
709 
710     // from org.andromda.metafacades.uml.ClassifierFacade
711     public org.andromda.metafacades.uml.ClassifierFacade getSuperClass()
712     {
713         return this.getSuperService().getSuperClass();
714     }
715 
716     // from org.andromda.metafacades.uml.ClassifierFacade
717     public java.lang.String getWrapperName()
718     {
719         return this.getSuperService().getWrapperName();
720     }
721 
722     // from org.andromda.metafacades.uml.ClassifierFacade
723     public boolean isAbstract()
724     {
725         return this.getSuperService().isAbstract();
726     }
727 
728     // from org.andromda.metafacades.uml.ClassifierFacade
729     public boolean isArrayType()
730     {
731         return this.getSuperService().isArrayType();
732     }
733 
734     // from org.andromda.metafacades.uml.ClassifierFacade
735     public boolean isAssociationClass()
736     {
737         return this.getSuperService().isAssociationClass();
738     }
739 
740     // from org.andromda.metafacades.uml.ClassifierFacade
741     public boolean isBlobType()
742     {
743         return this.getSuperService().isBlobType();
744     }
745 
746     // from org.andromda.metafacades.uml.ClassifierFacade
747     public boolean isBooleanType()
748     {
749         return this.getSuperService().isBooleanType();
750     }
751 
752     // from org.andromda.metafacades.uml.ClassifierFacade
753     public boolean isClobType()
754     {
755         return this.getSuperService().isClobType();
756     }
757 
758     // from org.andromda.metafacades.uml.ClassifierFacade
759     public boolean isCollectionType()
760     {
761         return this.getSuperService().isCollectionType();
762     }
763 
764     // from org.andromda.metafacades.uml.ClassifierFacade
765     public boolean isDataType()
766     {
767         return this.getSuperService().isDataType();
768     }
769 
770     // from org.andromda.metafacades.uml.ClassifierFacade
771     public boolean isDateType()
772     {
773         return this.getSuperService().isDateType();
774     }
775 
776     // from org.andromda.metafacades.uml.ClassifierFacade
777     public boolean isEnumeration()
778     {
779         return this.getSuperService().isEnumeration();
780     }
781 
782     // from org.andromda.metafacades.uml.ClassifierFacade
783     public boolean isFileType()
784     {
785         return this.getSuperService().isFileType();
786     }
787 
788     // from org.andromda.metafacades.uml.ClassifierFacade
789     public boolean isInterface()
790     {
791         return this.getSuperService().isInterface();
792     }
793 
794     // from org.andromda.metafacades.uml.ClassifierFacade
795     public boolean isLeaf()
796     {
797         return this.getSuperService().isLeaf();
798     }
799 
800     // from org.andromda.metafacades.uml.ClassifierFacade
801     public boolean isListType()
802     {
803         return this.getSuperService().isListType();
804     }
805 
806     // from org.andromda.metafacades.uml.ClassifierFacade
807     public boolean isMapType()
808     {
809         return this.getSuperService().isMapType();
810     }
811 
812     // from org.andromda.metafacades.uml.ClassifierFacade
813     public boolean isPrimitive()
814     {
815         return this.getSuperService().isPrimitive();
816     }
817 
818     // from org.andromda.metafacades.uml.ClassifierFacade
819     public boolean isSetType()
820     {
821         return this.getSuperService().isSetType();
822     }
823 
824     // from org.andromda.metafacades.uml.ClassifierFacade
825     public boolean isStringType()
826     {
827         return this.getSuperService().isStringType();
828     }
829 
830     // from org.andromda.metafacades.uml.ClassifierFacade
831     public boolean isTimeType()
832     {
833         return this.getSuperService().isTimeType();
834     }
835 
836     // from org.andromda.metafacades.uml.GeneralizableElementFacade
837     public java.lang.Object findTaggedValue(java.lang.String tagName, boolean follow)
838     {
839         return this.getSuperService().findTaggedValue(tagName, follow);
840     }
841 
842     // from org.andromda.metafacades.uml.GeneralizableElementFacade
843     public java.util.Collection getAllGeneralizations()
844     {
845         return this.getSuperService().getAllGeneralizations();
846     }
847 
848     // from org.andromda.metafacades.uml.GeneralizableElementFacade
849     public java.util.Collection getAllSpecializations()
850     {
851         return this.getSuperService().getAllSpecializations();
852     }
853 
854     // from org.andromda.metafacades.uml.GeneralizableElementFacade
855     public org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralization()
856     {
857         return this.getSuperService().getGeneralization();
858     }
859 
860     // from org.andromda.metafacades.uml.GeneralizableElementFacade
861     public java.util.Collection getGeneralizationLinks()
862     {
863         return this.getSuperService().getGeneralizationLinks();
864     }
865 
866     // from org.andromda.metafacades.uml.GeneralizableElementFacade
867     public java.lang.String getGeneralizationList()
868     {
869         return this.getSuperService().getGeneralizationList();
870     }
871 
872     // from org.andromda.metafacades.uml.GeneralizableElementFacade
873     public org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralizationRoot()
874     {
875         return this.getSuperService().getGeneralizationRoot();
876     }
877 
878     // from org.andromda.metafacades.uml.GeneralizableElementFacade
879     public java.util.Collection getGeneralizations()
880     {
881         return this.getSuperService().getGeneralizations();
882     }
883 
884     // from org.andromda.metafacades.uml.GeneralizableElementFacade
885     public java.util.Collection getSpecializations()
886     {
887         return this.getSuperService().getSpecializations();
888     }
889 
890     // from org.andromda.metafacades.uml.ModelElementFacade
891     public void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
892     {
893         this.getSuperService().copyTaggedValues(element);
894     }
895 
896     // from org.andromda.metafacades.uml.ModelElementFacade
897     public java.lang.Object findTaggedValue(java.lang.String tagName)
898     {
899         return this.getSuperService().findTaggedValue(tagName);
900     }
901 
902     // from org.andromda.metafacades.uml.ModelElementFacade
903     public java.util.Collection findTaggedValues(java.lang.String tagName)
904     {
905         return this.getSuperService().findTaggedValues(tagName);
906     }
907 
908     // from org.andromda.metafacades.uml.ModelElementFacade
909     public java.util.Collection getConstraints(java.lang.String kind)
910     {
911         return this.getSuperService().getConstraints(kind);
912     }
913 
914     // from org.andromda.metafacades.uml.ModelElementFacade
915     public java.util.Collection getConstraints()
916     {
917         return this.getSuperService().getConstraints();
918     }
919 
920     // from org.andromda.metafacades.uml.ModelElementFacade
921     public java.lang.String getDocumentation(java.lang.String indent, int lineLength)
922     {
923         return this.getSuperService().getDocumentation(indent, lineLength);
924     }
925 
926     // from org.andromda.metafacades.uml.ModelElementFacade
927     public java.lang.String getDocumentation(java.lang.String indent, int lineLength, boolean htmlStyle)
928     {
929         return this.getSuperService().getDocumentation(indent, lineLength, htmlStyle);
930     }
931 
932     // from org.andromda.metafacades.uml.ModelElementFacade
933     public java.lang.String getDocumentation(java.lang.String indent)
934     {
935         return this.getSuperService().getDocumentation(indent);
936     }
937 
938     // from org.andromda.metafacades.uml.ModelElementFacade
939     public java.lang.String getFullyQualifiedName(boolean modelName)
940     {
941         return this.getSuperService().getFullyQualifiedName(modelName);
942     }
943 
944     // from org.andromda.metafacades.uml.ModelElementFacade
945     public java.lang.String getFullyQualifiedName()
946     {
947         return this.getSuperService().getFullyQualifiedName();
948     }
949 
950     // from org.andromda.metafacades.uml.ModelElementFacade
951     public java.lang.String getFullyQualifiedNamePath()
952     {
953         return this.getSuperService().getFullyQualifiedNamePath();
954     }
955 
956     // from org.andromda.metafacades.uml.ModelElementFacade
957     public java.lang.String getId()
958     {
959         return this.getSuperService().getId();
960     }
961 
962     // from org.andromda.metafacades.uml.ModelElementFacade
963     public org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
964     {
965         return this.getSuperService().getLanguageMappings();
966     }
967 
968     // from org.andromda.metafacades.uml.ModelElementFacade
969     public org.andromda.metafacades.uml.ModelFacade getModel()
970     {
971         return this.getSuperService().getModel();
972     }
973 
974     // from org.andromda.metafacades.uml.ModelElementFacade
975     public java.lang.String getName()
976     {
977         return this.getSuperService().getName();
978     }
979 
980     // from org.andromda.metafacades.uml.ModelElementFacade
981     public org.andromda.metafacades.uml.ModelElementFacade getPackage()
982     {
983         return this.getSuperService().getPackage();
984     }
985 
986     // from org.andromda.metafacades.uml.ModelElementFacade
987     public java.lang.String getPackageName()
988     {
989         return this.getSuperService().getPackageName();
990     }
991 
992     // from org.andromda.metafacades.uml.ModelElementFacade
993     public java.lang.String getPackageName(boolean modelName)
994     {
995         return this.getSuperService().getPackageName(modelName);
996     }
997 
998     // from org.andromda.metafacades.uml.ModelElementFacade
999     public java.lang.String getPackagePath()
1000     {
1001         return this.getSuperService().getPackagePath();
1002     }
1003 
1004     // from org.andromda.metafacades.uml.ModelElementFacade
1005     public org.andromda.metafacades.uml.PackageFacade getRootPackage()
1006     {
1007         return this.getSuperService().getRootPackage();
1008     }
1009 
1010     // from org.andromda.metafacades.uml.ModelElementFacade
1011     public java.util.Collection getSourceDependencies()
1012     {
1013         return this.getSuperService().getSourceDependencies();
1014     }
1015 
1016     // from org.andromda.metafacades.uml.ModelElementFacade
1017     public org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
1018     {
1019         return this.getSuperService().getStateMachineContext();
1020     }
1021 
1022     // from org.andromda.metafacades.uml.ModelElementFacade
1023     public java.util.Collection getStereotypeNames()
1024     {
1025         return this.getSuperService().getStereotypeNames();
1026     }
1027 
1028     // from org.andromda.metafacades.uml.ModelElementFacade
1029     public java.util.Collection getStereotypes()
1030     {
1031         return this.getSuperService().getStereotypes();
1032     }
1033 
1034     // from org.andromda.metafacades.uml.ModelElementFacade
1035     public java.util.Collection getTaggedValues()
1036     {
1037         return this.getSuperService().getTaggedValues();
1038     }
1039 
1040     // from org.andromda.metafacades.uml.ModelElementFacade
1041     public java.util.Collection getTargetDependencies()
1042     {
1043         return this.getSuperService().getTargetDependencies();
1044     }
1045 
1046     // from org.andromda.metafacades.uml.ModelElementFacade
1047     public java.lang.Object getTemplateParameter(java.lang.String parameterName)
1048     {
1049         return this.getSuperService().getTemplateParameter(parameterName);
1050     }
1051 
1052     // from org.andromda.metafacades.uml.ModelElementFacade
1053     public java.util.Collection getTemplateParameters()
1054     {
1055         return this.getSuperService().getTemplateParameters();
1056     }
1057 
1058     // from org.andromda.metafacades.uml.ModelElementFacade
1059     public java.lang.String getVisibility()
1060     {
1061         return this.getSuperService().getVisibility();
1062     }
1063 
1064     // from org.andromda.metafacades.uml.ModelElementFacade
1065     public boolean hasExactStereotype(java.lang.String stereotypeName)
1066     {
1067         return this.getSuperService().hasExactStereotype(stereotypeName);
1068     }
1069 
1070     // from org.andromda.metafacades.uml.ModelElementFacade
1071     public boolean hasStereotype(java.lang.String stereotypeName)
1072     {
1073         return this.getSuperService().hasStereotype(stereotypeName);
1074     }
1075 
1076     // from org.andromda.metafacades.uml.ModelElementFacade
1077     public boolean isBindingDependenciesPresent()
1078     {
1079         return this.getSuperService().isBindingDependenciesPresent();
1080     }
1081 
1082     // from org.andromda.metafacades.uml.ModelElementFacade
1083     public boolean isConstraintsPresent()
1084     {
1085         return this.getSuperService().isConstraintsPresent();
1086     }
1087 
1088     // from org.andromda.metafacades.uml.ModelElementFacade
1089     public boolean isTemplateParametersPresent()
1090     {
1091         return this.getSuperService().isTemplateParametersPresent();
1092     }
1093 
1094     // from org.andromda.metafacades.uml.ModelElementFacade
1095     public java.lang.String translateConstraint(java.lang.String name, java.lang.String translation)
1096     {
1097         return this.getSuperService().translateConstraint(name, translation);
1098     }
1099 
1100     // from org.andromda.metafacades.uml.ModelElementFacade
1101     public java.lang.String[] translateConstraints(java.lang.String translation)
1102     {
1103         return this.getSuperService().translateConstraints(translation);
1104     }
1105 
1106     // from org.andromda.metafacades.uml.ModelElementFacade
1107     public java.lang.String[] translateConstraints(java.lang.String kind, java.lang.String translation)
1108     {
1109         return this.getSuperService().translateConstraints(kind, translation);
1110     }
1111 
1112     // from org.andromda.metafacades.uml.Service
1113     public java.util.Collection getAllRoles()
1114     {
1115         return this.getSuperService().getAllRoles();
1116     }
1117 
1118     // from org.andromda.metafacades.uml.Service
1119     public java.util.Collection getAllServiceReferences()
1120     {
1121         return this.getSuperService().getAllServiceReferences();
1122     }
1123 
1124     // from org.andromda.metafacades.uml.Service
1125     public java.util.Collection getEntityReferences()
1126     {
1127         return this.getSuperService().getEntityReferences();
1128     }
1129 
1130     // from org.andromda.metafacades.uml.Service
1131     public java.util.Collection getRoles()
1132     {
1133         return this.getSuperService().getRoles();
1134     }
1135 
1136     // from org.andromda.metafacades.uml.Service
1137     public java.util.Collection getServiceReferences()
1138     {
1139         return this.getSuperService().getServiceReferences();
1140     }
1141 
1142     /***
1143      * @see org.andromda.core.metafacade.MetafacadeBase#initialize()
1144      */
1145     public void initialize()
1146     {
1147         this.getSuperService().initialize();
1148     }
1149 
1150     /***
1151      * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner()
1152      */
1153     public Object getValidationOwner()
1154     {
1155         Object owner = this.getSuperService().getValidationOwner();
1156         return owner;
1157     }
1158 
1159     /***
1160      * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName()
1161      */
1162     public String getValidationName()
1163     {
1164         String name = this.getSuperService().getValidationName();
1165         return name;
1166     }
1167 
1168     /***
1169      * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(java.util.Collection)
1170      */
1171     public void validateInvariants(java.util.Collection validationMessages)
1172     {
1173         this.getSuperService().validateInvariants(validationMessages);
1174     }
1175     
1176     /***
1177      * The property that stores the name of the metafacade.
1178      */
1179     private static final String NAME_PROPERTY = "name";
1180     
1181     /***
1182      * @see java.lang.Object#toString()
1183      */
1184     public String toString()
1185     {
1186         final StringBuffer toString = new StringBuffer(this.getClass().getName());
1187         toString.append("[");
1188         try
1189         {
1190             toString.append(org.andromda.core.common.Introspector.instance().getProperty(this, NAME_PROPERTY));
1191         }
1192         catch (final Throwable throwable)
1193         {
1194             // - just ignore when the metafacade doesn't have a name property
1195         }
1196         toString.append("]");
1197         return toString.toString();
1198     }
1199 }