View Javadoc

1   //
2   // Attention: generated code (by MetafacadeLogic.vsl) - do not modify!
3   //
4   package org.andromda.cartridges.webservice.metafacades;
5   
6   /***
7    * MetafacadeLogic for org.andromda.cartridges.webservice.metafacades.WebService
8    *
9    * @see org.andromda.cartridges.webservice.metafacades.WebService
10   */
11  public abstract class WebServiceLogic
12      extends org.andromda.core.metafacade.MetafacadeBase
13      implements org.andromda.cartridges.webservice.metafacades.WebService
14  {
15  
16      protected Object metaObject;
17  
18      public WebServiceLogic(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.webservice.metafacades.WebService";
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.webservice.metafacades.WebService
76       */
77      public boolean isWebServiceMetaType()
78      {
79          return true;
80      }
81      
82      // --------------- attributes ---------------------
83  
84     /***
85      * @see org.andromda.cartridges.webservice.metafacades.WebService#getRpcClassName()
86      */
87      protected abstract java.lang.String handleGetRpcClassName();
88  
89      private void handleGetRpcClassName1aPreCondition()
90      {
91      }
92  
93      private void handleGetRpcClassName1aPostCondition()
94      {
95      }
96  
97      private java.lang.String __rpcClassName1a;
98      private boolean __rpcClassName1aSet = false;
99  
100     public final java.lang.String getRpcClassName()
101     {
102         java.lang.String rpcClassName1a = this.__rpcClassName1a;
103         if (!this.__rpcClassName1aSet)
104         {
105             handleGetRpcClassName1aPreCondition();
106             rpcClassName1a = handleGetRpcClassName();
107             handleGetRpcClassName1aPostCondition();
108             this.__rpcClassName1a = rpcClassName1a;
109             if (isMetafacadePropertyCachingEnabled())
110             {
111                 this.__rpcClassName1aSet = true;
112             }
113         }
114         return rpcClassName1a;
115     }
116 
117    /***
118     * @see org.andromda.cartridges.webservice.metafacades.WebService#isSecured()
119     */
120     protected abstract boolean handleIsSecured();
121 
122     private void handleIsSecured2aPreCondition()
123     {
124     }
125 
126     private void handleIsSecured2aPostCondition()
127     {
128     }
129 
130     private boolean __secured2a;
131     private boolean __secured2aSet = false;
132 
133     public final boolean isSecured()
134     {
135         boolean secured2a = this.__secured2a;
136         if (!this.__secured2aSet)
137         {
138             handleIsSecured2aPreCondition();
139             secured2a = handleIsSecured();
140             handleIsSecured2aPostCondition();
141             this.__secured2a = secured2a;
142             if (isMetafacadePropertyCachingEnabled())
143             {
144                 this.__secured2aSet = true;
145             }
146         }
147         return secured2a;
148     }
149 
150    /***
151     * @see org.andromda.cartridges.webservice.metafacades.WebService#getAllowedMethods()
152     */
153     protected abstract java.lang.String handleGetAllowedMethods();
154 
155     private void handleGetAllowedMethods3aPreCondition()
156     {
157     }
158 
159     private void handleGetAllowedMethods3aPostCondition()
160     {
161     }
162 
163     private java.lang.String __allowedMethods3a;
164     private boolean __allowedMethods3aSet = false;
165 
166     public final java.lang.String getAllowedMethods()
167     {
168         java.lang.String allowedMethods3a = this.__allowedMethods3a;
169         if (!this.__allowedMethods3aSet)
170         {
171             handleGetAllowedMethods3aPreCondition();
172             allowedMethods3a = handleGetAllowedMethods();
173             handleGetAllowedMethods3aPostCondition();
174             this.__allowedMethods3a = allowedMethods3a;
175             if (isMetafacadePropertyCachingEnabled())
176             {
177                 this.__allowedMethods3aSet = true;
178             }
179         }
180         return allowedMethods3a;
181     }
182 
183    /***
184     * @see org.andromda.cartridges.webservice.metafacades.WebService#getWsdlFile()
185     */
186     protected abstract java.lang.String handleGetWsdlFile();
187 
188     private void handleGetWsdlFile4aPreCondition()
189     {
190     }
191 
192     private void handleGetWsdlFile4aPostCondition()
193     {
194     }
195 
196     private java.lang.String __wsdlFile4a;
197     private boolean __wsdlFile4aSet = false;
198 
199     public final java.lang.String getWsdlFile()
200     {
201         java.lang.String wsdlFile4a = this.__wsdlFile4a;
202         if (!this.__wsdlFile4aSet)
203         {
204             handleGetWsdlFile4aPreCondition();
205             wsdlFile4a = handleGetWsdlFile();
206             handleGetWsdlFile4aPostCondition();
207             this.__wsdlFile4a = wsdlFile4a;
208             if (isMetafacadePropertyCachingEnabled())
209             {
210                 this.__wsdlFile4aSet = true;
211             }
212         }
213         return wsdlFile4a;
214     }
215 
216    /***
217     * @see org.andromda.cartridges.webservice.metafacades.WebService#getUse()
218     */
219     protected abstract java.lang.String handleGetUse();
220 
221     private void handleGetUse5aPreCondition()
222     {
223     }
224 
225     private void handleGetUse5aPostCondition()
226     {
227     }
228 
229     private java.lang.String __use5a;
230     private boolean __use5aSet = false;
231 
232     public final java.lang.String getUse()
233     {
234         java.lang.String use5a = this.__use5a;
235         if (!this.__use5aSet)
236         {
237             handleGetUse5aPreCondition();
238             use5a = handleGetUse();
239             handleGetUse5aPostCondition();
240             this.__use5a = use5a;
241             if (isMetafacadePropertyCachingEnabled())
242             {
243                 this.__use5aSet = true;
244             }
245         }
246         return use5a;
247     }
248 
249    /***
250     * @see org.andromda.cartridges.webservice.metafacades.WebService#getStyle()
251     */
252     protected abstract java.lang.String handleGetStyle();
253 
254     private void handleGetStyle6aPreCondition()
255     {
256     }
257 
258     private void handleGetStyle6aPostCondition()
259     {
260     }
261 
262     private java.lang.String __style6a;
263     private boolean __style6aSet = false;
264 
265     public final java.lang.String getStyle()
266     {
267         java.lang.String style6a = this.__style6a;
268         if (!this.__style6aSet)
269         {
270             handleGetStyle6aPreCondition();
271             style6a = handleGetStyle();
272             handleGetStyle6aPostCondition();
273             this.__style6a = style6a;
274             if (isMetafacadePropertyCachingEnabled())
275             {
276                 this.__style6aSet = true;
277             }
278         }
279         return style6a;
280     }
281 
282    /***
283     * @see org.andromda.cartridges.webservice.metafacades.WebService#getNamespace()
284     */
285     protected abstract java.lang.String handleGetNamespace();
286 
287     private void handleGetNamespace7aPreCondition()
288     {
289     }
290 
291     private void handleGetNamespace7aPostCondition()
292     {
293     }
294 
295     private java.lang.String __namespace7a;
296     private boolean __namespace7aSet = false;
297 
298     public final java.lang.String getNamespace()
299     {
300         java.lang.String namespace7a = this.__namespace7a;
301         if (!this.__namespace7aSet)
302         {
303             handleGetNamespace7aPreCondition();
304             namespace7a = handleGetNamespace();
305             handleGetNamespace7aPostCondition();
306             this.__namespace7a = namespace7a;
307             if (isMetafacadePropertyCachingEnabled())
308             {
309                 this.__namespace7aSet = true;
310             }
311         }
312         return namespace7a;
313     }
314 
315    /***
316     * @see org.andromda.cartridges.webservice.metafacades.WebService#getProvider()
317     */
318     protected abstract java.lang.String handleGetProvider();
319 
320     private void handleGetProvider8aPreCondition()
321     {
322     }
323 
324     private void handleGetProvider8aPostCondition()
325     {
326     }
327 
328     private java.lang.String __provider8a;
329     private boolean __provider8aSet = false;
330 
331     public final java.lang.String getProvider()
332     {
333         java.lang.String provider8a = this.__provider8a;
334         if (!this.__provider8aSet)
335         {
336             handleGetProvider8aPreCondition();
337             provider8a = handleGetProvider();
338             handleGetProvider8aPostCondition();
339             this.__provider8a = provider8a;
340             if (isMetafacadePropertyCachingEnabled())
341             {
342                 this.__provider8aSet = true;
343             }
344         }
345         return provider8a;
346     }
347 
348    /***
349     * @see org.andromda.cartridges.webservice.metafacades.WebService#getNamespacePrefix()
350     */
351     protected abstract java.lang.String handleGetNamespacePrefix();
352 
353     private void handleGetNamespacePrefix9aPreCondition()
354     {
355     }
356 
357     private void handleGetNamespacePrefix9aPostCondition()
358     {
359     }
360 
361     private java.lang.String __namespacePrefix9a;
362     private boolean __namespacePrefix9aSet = false;
363 
364     public final java.lang.String getNamespacePrefix()
365     {
366         java.lang.String namespacePrefix9a = this.__namespacePrefix9a;
367         if (!this.__namespacePrefix9aSet)
368         {
369             handleGetNamespacePrefix9aPreCondition();
370             namespacePrefix9a = handleGetNamespacePrefix();
371             handleGetNamespacePrefix9aPostCondition();
372             this.__namespacePrefix9a = namespacePrefix9a;
373             if (isMetafacadePropertyCachingEnabled())
374             {
375                 this.__namespacePrefix9aSet = true;
376             }
377         }
378         return namespacePrefix9a;
379     }
380 
381    /***
382     * @see org.andromda.cartridges.webservice.metafacades.WebService#getEjbHomeInterface()
383     */
384     protected abstract java.lang.String handleGetEjbHomeInterface();
385 
386     private void handleGetEjbHomeInterface10aPreCondition()
387     {
388     }
389 
390     private void handleGetEjbHomeInterface10aPostCondition()
391     {
392     }
393 
394     private java.lang.String __ejbHomeInterface10a;
395     private boolean __ejbHomeInterface10aSet = false;
396 
397     public final java.lang.String getEjbHomeInterface()
398     {
399         java.lang.String ejbHomeInterface10a = this.__ejbHomeInterface10a;
400         if (!this.__ejbHomeInterface10aSet)
401         {
402             handleGetEjbHomeInterface10aPreCondition();
403             ejbHomeInterface10a = handleGetEjbHomeInterface();
404             handleGetEjbHomeInterface10aPostCondition();
405             this.__ejbHomeInterface10a = ejbHomeInterface10a;
406             if (isMetafacadePropertyCachingEnabled())
407             {
408                 this.__ejbHomeInterface10aSet = true;
409             }
410         }
411         return ejbHomeInterface10a;
412     }
413 
414    /***
415     * @see org.andromda.cartridges.webservice.metafacades.WebService#getEjbInterface()
416     */
417     protected abstract java.lang.String handleGetEjbInterface();
418 
419     private void handleGetEjbInterface11aPreCondition()
420     {
421     }
422 
423     private void handleGetEjbInterface11aPostCondition()
424     {
425     }
426 
427     private java.lang.String __ejbInterface11a;
428     private boolean __ejbInterface11aSet = false;
429 
430     public final java.lang.String getEjbInterface()
431     {
432         java.lang.String ejbInterface11a = this.__ejbInterface11a;
433         if (!this.__ejbInterface11aSet)
434         {
435             handleGetEjbInterface11aPreCondition();
436             ejbInterface11a = handleGetEjbInterface();
437             handleGetEjbInterface11aPostCondition();
438             this.__ejbInterface11a = ejbInterface11a;
439             if (isMetafacadePropertyCachingEnabled())
440             {
441                 this.__ejbInterface11aSet = true;
442             }
443         }
444         return ejbInterface11a;
445     }
446 
447    /***
448     * @see org.andromda.cartridges.webservice.metafacades.WebService#getEjbJndiName()
449     */
450     protected abstract java.lang.String handleGetEjbJndiName();
451 
452     private void handleGetEjbJndiName12aPreCondition()
453     {
454     }
455 
456     private void handleGetEjbJndiName12aPostCondition()
457     {
458     }
459 
460     private java.lang.String __ejbJndiName12a;
461     private boolean __ejbJndiName12aSet = false;
462 
463     public final java.lang.String getEjbJndiName()
464     {
465         java.lang.String ejbJndiName12a = this.__ejbJndiName12a;
466         if (!this.__ejbJndiName12aSet)
467         {
468             handleGetEjbJndiName12aPreCondition();
469             ejbJndiName12a = handleGetEjbJndiName();
470             handleGetEjbJndiName12aPostCondition();
471             this.__ejbJndiName12a = ejbJndiName12a;
472             if (isMetafacadePropertyCachingEnabled())
473             {
474                 this.__ejbJndiName12aSet = true;
475             }
476         }
477         return ejbJndiName12a;
478     }
479 
480    /***
481     * @see org.andromda.cartridges.webservice.metafacades.WebService#getQName()
482     */
483     protected abstract java.lang.String handleGetQName();
484 
485     private void handleGetQName13aPreCondition()
486     {
487     }
488 
489     private void handleGetQName13aPostCondition()
490     {
491     }
492 
493     private java.lang.String __qName13a;
494     private boolean __qName13aSet = false;
495 
496     public final java.lang.String getQName()
497     {
498         java.lang.String qName13a = this.__qName13a;
499         if (!this.__qName13aSet)
500         {
501             handleGetQName13aPreCondition();
502             qName13a = handleGetQName();
503             handleGetQName13aPostCondition();
504             this.__qName13a = qName13a;
505             if (isMetafacadePropertyCachingEnabled())
506             {
507                 this.__qName13aSet = true;
508             }
509         }
510         return qName13a;
511     }
512 
513    /***
514     * @see org.andromda.cartridges.webservice.metafacades.WebService#getTestPackageName()
515     */
516     protected abstract java.lang.String handleGetTestPackageName();
517 
518     private void handleGetTestPackageName14aPreCondition()
519     {
520     }
521 
522     private void handleGetTestPackageName14aPostCondition()
523     {
524     }
525 
526     private java.lang.String __testPackageName14a;
527     private boolean __testPackageName14aSet = false;
528 
529     public final java.lang.String getTestPackageName()
530     {
531         java.lang.String testPackageName14a = this.__testPackageName14a;
532         if (!this.__testPackageName14aSet)
533         {
534             handleGetTestPackageName14aPreCondition();
535             testPackageName14a = handleGetTestPackageName();
536             handleGetTestPackageName14aPostCondition();
537             this.__testPackageName14a = testPackageName14a;
538             if (isMetafacadePropertyCachingEnabled())
539             {
540                 this.__testPackageName14aSet = true;
541             }
542         }
543         return testPackageName14a;
544     }
545 
546    /***
547     * @see org.andromda.cartridges.webservice.metafacades.WebService#getFullyQualifiedTestName()
548     */
549     protected abstract java.lang.String handleGetFullyQualifiedTestName();
550 
551     private void handleGetFullyQualifiedTestName15aPreCondition()
552     {
553     }
554 
555     private void handleGetFullyQualifiedTestName15aPostCondition()
556     {
557     }
558 
559     private java.lang.String __fullyQualifiedTestName15a;
560     private boolean __fullyQualifiedTestName15aSet = false;
561 
562     public final java.lang.String getFullyQualifiedTestName()
563     {
564         java.lang.String fullyQualifiedTestName15a = this.__fullyQualifiedTestName15a;
565         if (!this.__fullyQualifiedTestName15aSet)
566         {
567             handleGetFullyQualifiedTestName15aPreCondition();
568             fullyQualifiedTestName15a = handleGetFullyQualifiedTestName();
569             handleGetFullyQualifiedTestName15aPostCondition();
570             this.__fullyQualifiedTestName15a = fullyQualifiedTestName15a;
571             if (isMetafacadePropertyCachingEnabled())
572             {
573                 this.__fullyQualifiedTestName15aSet = true;
574             }
575         }
576         return fullyQualifiedTestName15a;
577     }
578 
579    /***
580     * @see org.andromda.cartridges.webservice.metafacades.WebService#getTestName()
581     */
582     protected abstract java.lang.String handleGetTestName();
583 
584     private void handleGetTestName16aPreCondition()
585     {
586     }
587 
588     private void handleGetTestName16aPostCondition()
589     {
590     }
591 
592     private java.lang.String __testName16a;
593     private boolean __testName16aSet = false;
594 
595     public final java.lang.String getTestName()
596     {
597         java.lang.String testName16a = this.__testName16a;
598         if (!this.__testName16aSet)
599         {
600             handleGetTestName16aPreCondition();
601             testName16a = handleGetTestName();
602             handleGetTestName16aPostCondition();
603             this.__testName16a = testName16a;
604             if (isMetafacadePropertyCachingEnabled())
605             {
606                 this.__testName16aSet = true;
607             }
608         }
609         return testName16a;
610     }
611 
612    /***
613     * @see org.andromda.cartridges.webservice.metafacades.WebService#isWrappedStyle()
614     */
615     protected abstract boolean handleIsWrappedStyle();
616 
617     private void handleIsWrappedStyle17aPreCondition()
618     {
619     }
620 
621     private void handleIsWrappedStyle17aPostCondition()
622     {
623     }
624 
625     private boolean __wrappedStyle17a;
626     private boolean __wrappedStyle17aSet = false;
627 
628     public final boolean isWrappedStyle()
629     {
630         boolean wrappedStyle17a = this.__wrappedStyle17a;
631         if (!this.__wrappedStyle17aSet)
632         {
633             handleIsWrappedStyle17aPreCondition();
634             wrappedStyle17a = handleIsWrappedStyle();
635             handleIsWrappedStyle17aPostCondition();
636             this.__wrappedStyle17a = wrappedStyle17a;
637             if (isMetafacadePropertyCachingEnabled())
638             {
639                 this.__wrappedStyle17aSet = true;
640             }
641         }
642         return wrappedStyle17a;
643     }
644 
645    /***
646     * @see org.andromda.cartridges.webservice.metafacades.WebService#isDocumentStyle()
647     */
648     protected abstract boolean handleIsDocumentStyle();
649 
650     private void handleIsDocumentStyle18aPreCondition()
651     {
652     }
653 
654     private void handleIsDocumentStyle18aPostCondition()
655     {
656     }
657 
658     private boolean __documentStyle18a;
659     private boolean __documentStyle18aSet = false;
660 
661     public final boolean isDocumentStyle()
662     {
663         boolean documentStyle18a = this.__documentStyle18a;
664         if (!this.__documentStyle18aSet)
665         {
666             handleIsDocumentStyle18aPreCondition();
667             documentStyle18a = handleIsDocumentStyle();
668             handleIsDocumentStyle18aPostCondition();
669             this.__documentStyle18a = documentStyle18a;
670             if (isMetafacadePropertyCachingEnabled())
671             {
672                 this.__documentStyle18aSet = true;
673             }
674         }
675         return documentStyle18a;
676     }
677 
678    /***
679     * @see org.andromda.cartridges.webservice.metafacades.WebService#isRpcStyle()
680     */
681     protected abstract boolean handleIsRpcStyle();
682 
683     private void handleIsRpcStyle19aPreCondition()
684     {
685     }
686 
687     private void handleIsRpcStyle19aPostCondition()
688     {
689     }
690 
691     private boolean __rpcStyle19a;
692     private boolean __rpcStyle19aSet = false;
693 
694     public final boolean isRpcStyle()
695     {
696         boolean rpcStyle19a = this.__rpcStyle19a;
697         if (!this.__rpcStyle19aSet)
698         {
699             handleIsRpcStyle19aPreCondition();
700             rpcStyle19a = handleIsRpcStyle();
701             handleIsRpcStyle19aPostCondition();
702             this.__rpcStyle19a = rpcStyle19a;
703             if (isMetafacadePropertyCachingEnabled())
704             {
705                 this.__rpcStyle19aSet = true;
706             }
707         }
708         return rpcStyle19a;
709     }
710 
711    /***
712     * @see org.andromda.cartridges.webservice.metafacades.WebService#isLiteralUse()
713     */
714     protected abstract boolean handleIsLiteralUse();
715 
716     private void handleIsLiteralUse20aPreCondition()
717     {
718     }
719 
720     private void handleIsLiteralUse20aPostCondition()
721     {
722     }
723 
724     private boolean __literalUse20a;
725     private boolean __literalUse20aSet = false;
726 
727     public final boolean isLiteralUse()
728     {
729         boolean literalUse20a = this.__literalUse20a;
730         if (!this.__literalUse20aSet)
731         {
732             handleIsLiteralUse20aPreCondition();
733             literalUse20a = handleIsLiteralUse();
734             handleIsLiteralUse20aPostCondition();
735             this.__literalUse20a = literalUse20a;
736             if (isMetafacadePropertyCachingEnabled())
737             {
738                 this.__literalUse20aSet = true;
739             }
740         }
741         return literalUse20a;
742     }
743 
744    /***
745     * @see org.andromda.cartridges.webservice.metafacades.WebService#isEncodedUse()
746     */
747     protected abstract boolean handleIsEncodedUse();
748 
749     private void handleIsEncodedUse21aPreCondition()
750     {
751     }
752 
753     private void handleIsEncodedUse21aPostCondition()
754     {
755     }
756 
757     private boolean __encodedUse21a;
758     private boolean __encodedUse21aSet = false;
759 
760     public final boolean isEncodedUse()
761     {
762         boolean encodedUse21a = this.__encodedUse21a;
763         if (!this.__encodedUse21aSet)
764         {
765             handleIsEncodedUse21aPreCondition();
766             encodedUse21a = handleIsEncodedUse();
767             handleIsEncodedUse21aPostCondition();
768             this.__encodedUse21a = encodedUse21a;
769             if (isMetafacadePropertyCachingEnabled())
770             {
771                 this.__encodedUse21aSet = true;
772             }
773         }
774         return encodedUse21a;
775     }
776 
777    /***
778     * @see org.andromda.cartridges.webservice.metafacades.WebService#getTestImplementationName()
779     */
780     protected abstract java.lang.String handleGetTestImplementationName();
781 
782     private void handleGetTestImplementationName22aPreCondition()
783     {
784     }
785 
786     private void handleGetTestImplementationName22aPostCondition()
787     {
788     }
789 
790     private java.lang.String __testImplementationName22a;
791     private boolean __testImplementationName22aSet = false;
792 
793     public final java.lang.String getTestImplementationName()
794     {
795         java.lang.String testImplementationName22a = this.__testImplementationName22a;
796         if (!this.__testImplementationName22aSet)
797         {
798             handleGetTestImplementationName22aPreCondition();
799             testImplementationName22a = handleGetTestImplementationName();
800             handleGetTestImplementationName22aPostCondition();
801             this.__testImplementationName22a = testImplementationName22a;
802             if (isMetafacadePropertyCachingEnabled())
803             {
804                 this.__testImplementationName22aSet = true;
805             }
806         }
807         return testImplementationName22a;
808     }
809 
810    /***
811     * @see org.andromda.cartridges.webservice.metafacades.WebService#getFullyQualifiedTestImplementationName()
812     */
813     protected abstract java.lang.String handleGetFullyQualifiedTestImplementationName();
814 
815     private void handleGetFullyQualifiedTestImplementationName23aPreCondition()
816     {
817     }
818 
819     private void handleGetFullyQualifiedTestImplementationName23aPostCondition()
820     {
821     }
822 
823     private java.lang.String __fullyQualifiedTestImplementationName23a;
824     private boolean __fullyQualifiedTestImplementationName23aSet = false;
825 
826     public final java.lang.String getFullyQualifiedTestImplementationName()
827     {
828         java.lang.String fullyQualifiedTestImplementationName23a = this.__fullyQualifiedTestImplementationName23a;
829         if (!this.__fullyQualifiedTestImplementationName23aSet)
830         {
831             handleGetFullyQualifiedTestImplementationName23aPreCondition();
832             fullyQualifiedTestImplementationName23a = handleGetFullyQualifiedTestImplementationName();
833             handleGetFullyQualifiedTestImplementationName23aPostCondition();
834             this.__fullyQualifiedTestImplementationName23a = fullyQualifiedTestImplementationName23a;
835             if (isMetafacadePropertyCachingEnabled())
836             {
837                 this.__fullyQualifiedTestImplementationName23aSet = true;
838             }
839         }
840         return fullyQualifiedTestImplementationName23a;
841     }
842 
843     // ---------------- business methods ----------------------
844 
845     protected abstract java.util.Collection handleGetTypeMappingElements();
846 
847     private void handleGetTypeMappingElements1oPreCondition()
848     {
849     }
850 
851     private void handleGetTypeMappingElements1oPostCondition()
852     {
853     }
854 
855     public java.util.Collection getTypeMappingElements()
856     {
857         handleGetTypeMappingElements1oPreCondition();
858         java.util.Collection returnValue = handleGetTypeMappingElements();
859         handleGetTypeMappingElements1oPostCondition();
860         return returnValue;
861     }
862 
863     // ------------- associations ------------------
864 
865     private void handleGetAllowedOperations1rPreCondition()
866     {
867     }
868 
869     private void handleGetAllowedOperations1rPostCondition()
870     {
871     }
872 
873     public final java.util.Collection getAllowedOperations()
874     {
875         java.util.Collection getAllowedOperations1r = null;
876         handleGetAllowedOperations1rPreCondition();
877         Object result = this.shieldedElements(handleGetAllowedOperations());
878         try
879         {
880             getAllowedOperations1r = (java.util.Collection)result;
881         }
882         catch (ClassCastException ex)
883         {
884             // ignore since the metafacade shouldn't
885             // be set if its not of the correct type
886         }
887         handleGetAllowedOperations1rPostCondition();
888         return getAllowedOperations1r;
889     }
890 
891     protected abstract java.util.Collection handleGetAllowedOperations();
892 
893     /***
894      * @see org.andromda.metafacades.uml.Service
895      */
896     public boolean isServiceMetaType()
897     {
898         return true;
899     }
900     
901     /***
902      * @see org.andromda.metafacades.uml.ClassifierFacade
903      */
904     public boolean isClassifierFacadeMetaType()
905     {
906         return true;
907     }
908     
909     /***
910      * @see org.andromda.metafacades.uml.GeneralizableElementFacade
911      */
912     public boolean isGeneralizableElementFacadeMetaType()
913     {
914         return true;
915     }
916     
917     /***
918      * @see org.andromda.metafacades.uml.ModelElementFacade
919      */
920     public boolean isModelElementFacadeMetaType()
921     {
922         return true;
923     }
924     
925     // ----------- delegates to org.andromda.metafacades.uml.Service ------------
926     // from org.andromda.metafacades.uml.ClassifierFacade
927     public org.andromda.metafacades.uml.AttributeFacade findAttribute(java.lang.String name)
928     {
929         return this.getSuperService().findAttribute(name);
930     }
931 
932     // from org.andromda.metafacades.uml.ClassifierFacade
933     public java.util.Collection getAbstractions()
934     {
935         return this.getSuperService().getAbstractions();
936     }
937 
938     // from org.andromda.metafacades.uml.ClassifierFacade
939     public java.util.Collection getAllAssociatedClasses()
940     {
941         return this.getSuperService().getAllAssociatedClasses();
942     }
943 
944     // from org.andromda.metafacades.uml.ClassifierFacade
945     public java.util.Collection getAllProperties()
946     {
947         return this.getSuperService().getAllProperties();
948     }
949 
950     // from org.andromda.metafacades.uml.ClassifierFacade
951     public java.util.Collection getAllRequiredConstructorParameters()
952     {
953         return this.getSuperService().getAllRequiredConstructorParameters();
954     }
955 
956     // from org.andromda.metafacades.uml.ClassifierFacade
957     public org.andromda.metafacades.uml.ClassifierFacade getArray()
958     {
959         return this.getSuperService().getArray();
960     }
961 
962     // from org.andromda.metafacades.uml.ClassifierFacade
963     public java.lang.String getArrayName()
964     {
965         return this.getSuperService().getArrayName();
966     }
967 
968     // from org.andromda.metafacades.uml.ClassifierFacade
969     public java.util.Collection getAssociatedClasses()
970     {
971         return this.getSuperService().getAssociatedClasses();
972     }
973 
974     // from org.andromda.metafacades.uml.ClassifierFacade
975     public java.util.List getAssociationEnds()
976     {
977         return this.getSuperService().getAssociationEnds();
978     }
979 
980     // from org.andromda.metafacades.uml.ClassifierFacade
981     public java.util.Collection getAttributes(boolean follow)
982     {
983         return this.getSuperService().getAttributes(follow);
984     }
985 
986     // from org.andromda.metafacades.uml.ClassifierFacade
987     public java.util.Collection getAttributes()
988     {
989         return this.getSuperService().getAttributes();
990     }
991 
992     // from org.andromda.metafacades.uml.ClassifierFacade
993     public java.lang.String getFullyQualifiedArrayName()
994     {
995         return this.getSuperService().getFullyQualifiedArrayName();
996     }
997 
998     // from org.andromda.metafacades.uml.ClassifierFacade
999     public java.util.Collection getImplementationOperations()
1000     {
1001         return this.getSuperService().getImplementationOperations();
1002     }
1003 
1004     // from org.andromda.metafacades.uml.ClassifierFacade
1005     public java.lang.String getImplementedInterfaceList()
1006     {
1007         return this.getSuperService().getImplementedInterfaceList();
1008     }
1009 
1010     // from org.andromda.metafacades.uml.ClassifierFacade
1011     public java.util.Collection getInstanceAttributes()
1012     {
1013         return this.getSuperService().getInstanceAttributes();
1014     }
1015 
1016     // from org.andromda.metafacades.uml.ClassifierFacade
1017     public java.util.Collection getInstanceOperations()
1018     {
1019         return this.getSuperService().getInstanceOperations();
1020     }
1021 
1022     // from org.andromda.metafacades.uml.ClassifierFacade
1023     public java.util.Collection getInterfaceAbstractions()
1024     {
1025         return this.getSuperService().getInterfaceAbstractions();
1026     }
1027 
1028     // from org.andromda.metafacades.uml.ClassifierFacade
1029     public java.lang.String getJavaNullString()
1030     {
1031         return this.getSuperService().getJavaNullString();
1032     }
1033 
1034     // from org.andromda.metafacades.uml.ClassifierFacade
1035     public java.util.Collection getNavigableConnectingEnds()
1036     {
1037         return this.getSuperService().getNavigableConnectingEnds();
1038     }
1039 
1040     // from org.andromda.metafacades.uml.ClassifierFacade
1041     public java.util.Collection getNavigableConnectingEnds(boolean follow)
1042     {
1043         return this.getSuperService().getNavigableConnectingEnds(follow);
1044     }
1045 
1046     // from org.andromda.metafacades.uml.ClassifierFacade
1047     public org.andromda.metafacades.uml.ClassifierFacade getNonArray()
1048     {
1049         return this.getSuperService().getNonArray();
1050     }
1051 
1052     // from org.andromda.metafacades.uml.ClassifierFacade
1053     public java.lang.String getOperationCallFromAttributes()
1054     {
1055         return this.getSuperService().getOperationCallFromAttributes();
1056     }
1057 
1058     // from org.andromda.metafacades.uml.ClassifierFacade
1059     public java.util.Collection getOperations()
1060     {
1061         return this.getSuperService().getOperations();
1062     }
1063 
1064     // from org.andromda.metafacades.uml.ClassifierFacade
1065     public java.util.Collection getProperties(boolean follow)
1066     {
1067         return this.getSuperService().getProperties(follow);
1068     }
1069 
1070     // from org.andromda.metafacades.uml.ClassifierFacade
1071     public java.util.Collection getProperties()
1072     {
1073         return this.getSuperService().getProperties();
1074     }
1075 
1076     // from org.andromda.metafacades.uml.ClassifierFacade
1077     public java.util.Collection getRequiredConstructorParameters()
1078     {
1079         return this.getSuperService().getRequiredConstructorParameters();
1080     }
1081 
1082     // from org.andromda.metafacades.uml.ClassifierFacade
1083     public java.lang.Long getSerialVersionUID()
1084     {
1085         return this.getSuperService().getSerialVersionUID();
1086     }
1087 
1088     // from org.andromda.metafacades.uml.ClassifierFacade
1089     public java.util.Collection getStaticAttributes()
1090     {
1091         return this.getSuperService().getStaticAttributes();
1092     }
1093 
1094     // from org.andromda.metafacades.uml.ClassifierFacade
1095     public java.util.Collection getStaticOperations()
1096     {
1097         return this.getSuperService().getStaticOperations();
1098     }
1099 
1100     // from org.andromda.metafacades.uml.ClassifierFacade
1101     public org.andromda.metafacades.uml.ClassifierFacade getSuperClass()
1102     {
1103         return this.getSuperService().getSuperClass();
1104     }
1105 
1106     // from org.andromda.metafacades.uml.ClassifierFacade
1107     public java.lang.String getWrapperName()
1108     {
1109         return this.getSuperService().getWrapperName();
1110     }
1111 
1112     // from org.andromda.metafacades.uml.ClassifierFacade
1113     public boolean isAbstract()
1114     {
1115         return this.getSuperService().isAbstract();
1116     }
1117 
1118     // from org.andromda.metafacades.uml.ClassifierFacade
1119     public boolean isArrayType()
1120     {
1121         return this.getSuperService().isArrayType();
1122     }
1123 
1124     // from org.andromda.metafacades.uml.ClassifierFacade
1125     public boolean isAssociationClass()
1126     {
1127         return this.getSuperService().isAssociationClass();
1128     }
1129 
1130     // from org.andromda.metafacades.uml.ClassifierFacade
1131     public boolean isBlobType()
1132     {
1133         return this.getSuperService().isBlobType();
1134     }
1135 
1136     // from org.andromda.metafacades.uml.ClassifierFacade
1137     public boolean isBooleanType()
1138     {
1139         return this.getSuperService().isBooleanType();
1140     }
1141 
1142     // from org.andromda.metafacades.uml.ClassifierFacade
1143     public boolean isClobType()
1144     {
1145         return this.getSuperService().isClobType();
1146     }
1147 
1148     // from org.andromda.metafacades.uml.ClassifierFacade
1149     public boolean isCollectionType()
1150     {
1151         return this.getSuperService().isCollectionType();
1152     }
1153 
1154     // from org.andromda.metafacades.uml.ClassifierFacade
1155     public boolean isDataType()
1156     {
1157         return this.getSuperService().isDataType();
1158     }
1159 
1160     // from org.andromda.metafacades.uml.ClassifierFacade
1161     public boolean isDateType()
1162     {
1163         return this.getSuperService().isDateType();
1164     }
1165 
1166     // from org.andromda.metafacades.uml.ClassifierFacade
1167     public boolean isEnumeration()
1168     {
1169         return this.getSuperService().isEnumeration();
1170     }
1171 
1172     // from org.andromda.metafacades.uml.ClassifierFacade
1173     public boolean isFileType()
1174     {
1175         return this.getSuperService().isFileType();
1176     }
1177 
1178     // from org.andromda.metafacades.uml.ClassifierFacade
1179     public boolean isInterface()
1180     {
1181         return this.getSuperService().isInterface();
1182     }
1183 
1184     // from org.andromda.metafacades.uml.ClassifierFacade
1185     public boolean isLeaf()
1186     {
1187         return this.getSuperService().isLeaf();
1188     }
1189 
1190     // from org.andromda.metafacades.uml.ClassifierFacade
1191     public boolean isListType()
1192     {
1193         return this.getSuperService().isListType();
1194     }
1195 
1196     // from org.andromda.metafacades.uml.ClassifierFacade
1197     public boolean isMapType()
1198     {
1199         return this.getSuperService().isMapType();
1200     }
1201 
1202     // from org.andromda.metafacades.uml.ClassifierFacade
1203     public boolean isPrimitive()
1204     {
1205         return this.getSuperService().isPrimitive();
1206     }
1207 
1208     // from org.andromda.metafacades.uml.ClassifierFacade
1209     public boolean isSetType()
1210     {
1211         return this.getSuperService().isSetType();
1212     }
1213 
1214     // from org.andromda.metafacades.uml.ClassifierFacade
1215     public boolean isStringType()
1216     {
1217         return this.getSuperService().isStringType();
1218     }
1219 
1220     // from org.andromda.metafacades.uml.ClassifierFacade
1221     public boolean isTimeType()
1222     {
1223         return this.getSuperService().isTimeType();
1224     }
1225 
1226     // from org.andromda.metafacades.uml.GeneralizableElementFacade
1227     public java.lang.Object findTaggedValue(java.lang.String tagName, boolean follow)
1228     {
1229         return this.getSuperService().findTaggedValue(tagName, follow);
1230     }
1231 
1232     // from org.andromda.metafacades.uml.GeneralizableElementFacade
1233     public java.util.Collection getAllGeneralizations()
1234     {
1235         return this.getSuperService().getAllGeneralizations();
1236     }
1237 
1238     // from org.andromda.metafacades.uml.GeneralizableElementFacade
1239     public java.util.Collection getAllSpecializations()
1240     {
1241         return this.getSuperService().getAllSpecializations();
1242     }
1243 
1244     // from org.andromda.metafacades.uml.GeneralizableElementFacade
1245     public org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralization()
1246     {
1247         return this.getSuperService().getGeneralization();
1248     }
1249 
1250     // from org.andromda.metafacades.uml.GeneralizableElementFacade
1251     public java.util.Collection getGeneralizationLinks()
1252     {
1253         return this.getSuperService().getGeneralizationLinks();
1254     }
1255 
1256     // from org.andromda.metafacades.uml.GeneralizableElementFacade
1257     public java.lang.String getGeneralizationList()
1258     {
1259         return this.getSuperService().getGeneralizationList();
1260     }
1261 
1262     // from org.andromda.metafacades.uml.GeneralizableElementFacade
1263     public org.andromda.metafacades.uml.GeneralizableElementFacade getGeneralizationRoot()
1264     {
1265         return this.getSuperService().getGeneralizationRoot();
1266     }
1267 
1268     // from org.andromda.metafacades.uml.GeneralizableElementFacade
1269     public java.util.Collection getGeneralizations()
1270     {
1271         return this.getSuperService().getGeneralizations();
1272     }
1273 
1274     // from org.andromda.metafacades.uml.GeneralizableElementFacade
1275     public java.util.Collection getSpecializations()
1276     {
1277         return this.getSuperService().getSpecializations();
1278     }
1279 
1280     // from org.andromda.metafacades.uml.ModelElementFacade
1281     public void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
1282     {
1283         this.getSuperService().copyTaggedValues(element);
1284     }
1285 
1286     // from org.andromda.metafacades.uml.ModelElementFacade
1287     public java.lang.Object findTaggedValue(java.lang.String tagName)
1288     {
1289         return this.getSuperService().findTaggedValue(tagName);
1290     }
1291 
1292     // from org.andromda.metafacades.uml.ModelElementFacade
1293     public java.util.Collection findTaggedValues(java.lang.String tagName)
1294     {
1295         return this.getSuperService().findTaggedValues(tagName);
1296     }
1297 
1298     // from org.andromda.metafacades.uml.ModelElementFacade
1299     public java.util.Collection getConstraints(java.lang.String kind)
1300     {
1301         return this.getSuperService().getConstraints(kind);
1302     }
1303 
1304     // from org.andromda.metafacades.uml.ModelElementFacade
1305     public java.util.Collection getConstraints()
1306     {
1307         return this.getSuperService().getConstraints();
1308     }
1309 
1310     // from org.andromda.metafacades.uml.ModelElementFacade
1311     public java.lang.String getDocumentation(java.lang.String indent, int lineLength)
1312     {
1313         return this.getSuperService().getDocumentation(indent, lineLength);
1314     }
1315 
1316     // from org.andromda.metafacades.uml.ModelElementFacade
1317     public java.lang.String getDocumentation(java.lang.String indent, int lineLength, boolean htmlStyle)
1318     {
1319         return this.getSuperService().getDocumentation(indent, lineLength, htmlStyle);
1320     }
1321 
1322     // from org.andromda.metafacades.uml.ModelElementFacade
1323     public java.lang.String getDocumentation(java.lang.String indent)
1324     {
1325         return this.getSuperService().getDocumentation(indent);
1326     }
1327 
1328     // from org.andromda.metafacades.uml.ModelElementFacade
1329     public java.lang.String getFullyQualifiedName(boolean modelName)
1330     {
1331         return this.getSuperService().getFullyQualifiedName(modelName);
1332     }
1333 
1334     // from org.andromda.metafacades.uml.ModelElementFacade
1335     public java.lang.String getFullyQualifiedName()
1336     {
1337         return this.getSuperService().getFullyQualifiedName();
1338     }
1339 
1340     // from org.andromda.metafacades.uml.ModelElementFacade
1341     public java.lang.String getFullyQualifiedNamePath()
1342     {
1343         return this.getSuperService().getFullyQualifiedNamePath();
1344     }
1345 
1346     // from org.andromda.metafacades.uml.ModelElementFacade
1347     public java.lang.String getId()
1348     {
1349         return this.getSuperService().getId();
1350     }
1351 
1352     // from org.andromda.metafacades.uml.ModelElementFacade
1353     public org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
1354     {
1355         return this.getSuperService().getLanguageMappings();
1356     }
1357 
1358     // from org.andromda.metafacades.uml.ModelElementFacade
1359     public org.andromda.metafacades.uml.ModelFacade getModel()
1360     {
1361         return this.getSuperService().getModel();
1362     }
1363 
1364     // from org.andromda.metafacades.uml.ModelElementFacade
1365     public java.lang.String getName()
1366     {
1367         return this.getSuperService().getName();
1368     }
1369 
1370     // from org.andromda.metafacades.uml.ModelElementFacade
1371     public org.andromda.metafacades.uml.ModelElementFacade getPackage()
1372     {
1373         return this.getSuperService().getPackage();
1374     }
1375 
1376     // from org.andromda.metafacades.uml.ModelElementFacade
1377     public java.lang.String getPackageName()
1378     {
1379         return this.getSuperService().getPackageName();
1380     }
1381 
1382     // from org.andromda.metafacades.uml.ModelElementFacade
1383     public java.lang.String getPackageName(boolean modelName)
1384     {
1385         return this.getSuperService().getPackageName(modelName);
1386     }
1387 
1388     // from org.andromda.metafacades.uml.ModelElementFacade
1389     public java.lang.String getPackagePath()
1390     {
1391         return this.getSuperService().getPackagePath();
1392     }
1393 
1394     // from org.andromda.metafacades.uml.ModelElementFacade
1395     public org.andromda.metafacades.uml.PackageFacade getRootPackage()
1396     {
1397         return this.getSuperService().getRootPackage();
1398     }
1399 
1400     // from org.andromda.metafacades.uml.ModelElementFacade
1401     public java.util.Collection getSourceDependencies()
1402     {
1403         return this.getSuperService().getSourceDependencies();
1404     }
1405 
1406     // from org.andromda.metafacades.uml.ModelElementFacade
1407     public org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
1408     {
1409         return this.getSuperService().getStateMachineContext();
1410     }
1411 
1412     // from org.andromda.metafacades.uml.ModelElementFacade
1413     public java.util.Collection getStereotypeNames()
1414     {
1415         return this.getSuperService().getStereotypeNames();
1416     }
1417 
1418     // from org.andromda.metafacades.uml.ModelElementFacade
1419     public java.util.Collection getStereotypes()
1420     {
1421         return this.getSuperService().getStereotypes();
1422     }
1423 
1424     // from org.andromda.metafacades.uml.ModelElementFacade
1425     public java.util.Collection getTaggedValues()
1426     {
1427         return this.getSuperService().getTaggedValues();
1428     }
1429 
1430     // from org.andromda.metafacades.uml.ModelElementFacade
1431     public java.util.Collection getTargetDependencies()
1432     {
1433         return this.getSuperService().getTargetDependencies();
1434     }
1435 
1436     // from org.andromda.metafacades.uml.ModelElementFacade
1437     public java.lang.Object getTemplateParameter(java.lang.String parameterName)
1438     {
1439         return this.getSuperService().getTemplateParameter(parameterName);
1440     }
1441 
1442     // from org.andromda.metafacades.uml.ModelElementFacade
1443     public java.util.Collection getTemplateParameters()
1444     {
1445         return this.getSuperService().getTemplateParameters();
1446     }
1447 
1448     // from org.andromda.metafacades.uml.ModelElementFacade
1449     public java.lang.String getVisibility()
1450     {
1451         return this.getSuperService().getVisibility();
1452     }
1453 
1454     // from org.andromda.metafacades.uml.ModelElementFacade
1455     public boolean hasExactStereotype(java.lang.String stereotypeName)
1456     {
1457         return this.getSuperService().hasExactStereotype(stereotypeName);
1458     }
1459 
1460     // from org.andromda.metafacades.uml.ModelElementFacade
1461     public boolean hasStereotype(java.lang.String stereotypeName)
1462     {
1463         return this.getSuperService().hasStereotype(stereotypeName);
1464     }
1465 
1466     // from org.andromda.metafacades.uml.ModelElementFacade
1467     public boolean isBindingDependenciesPresent()
1468     {
1469         return this.getSuperService().isBindingDependenciesPresent();
1470     }
1471 
1472     // from org.andromda.metafacades.uml.ModelElementFacade
1473     public boolean isConstraintsPresent()
1474     {
1475         return this.getSuperService().isConstraintsPresent();
1476     }
1477 
1478     // from org.andromda.metafacades.uml.ModelElementFacade
1479     public boolean isTemplateParametersPresent()
1480     {
1481         return this.getSuperService().isTemplateParametersPresent();
1482     }
1483 
1484     // from org.andromda.metafacades.uml.ModelElementFacade
1485     public java.lang.String translateConstraint(java.lang.String name, java.lang.String translation)
1486     {
1487         return this.getSuperService().translateConstraint(name, translation);
1488     }
1489 
1490     // from org.andromda.metafacades.uml.ModelElementFacade
1491     public java.lang.String[] translateConstraints(java.lang.String translation)
1492     {
1493         return this.getSuperService().translateConstraints(translation);
1494     }
1495 
1496     // from org.andromda.metafacades.uml.ModelElementFacade
1497     public java.lang.String[] translateConstraints(java.lang.String kind, java.lang.String translation)
1498     {
1499         return this.getSuperService().translateConstraints(kind, translation);
1500     }
1501 
1502     // from org.andromda.metafacades.uml.Service
1503     public java.util.Collection getAllRoles()
1504     {
1505         return this.getSuperService().getAllRoles();
1506     }
1507 
1508     // from org.andromda.metafacades.uml.Service
1509     public java.util.Collection getAllServiceReferences()
1510     {
1511         return this.getSuperService().getAllServiceReferences();
1512     }
1513 
1514     // from org.andromda.metafacades.uml.Service
1515     public java.util.Collection getEntityReferences()
1516     {
1517         return this.getSuperService().getEntityReferences();
1518     }
1519 
1520     // from org.andromda.metafacades.uml.Service
1521     public java.util.Collection getRoles()
1522     {
1523         return this.getSuperService().getRoles();
1524     }
1525 
1526     // from org.andromda.metafacades.uml.Service
1527     public java.util.Collection getServiceReferences()
1528     {
1529         return this.getSuperService().getServiceReferences();
1530     }
1531 
1532     /***
1533      * @see org.andromda.core.metafacade.MetafacadeBase#initialize()
1534      */
1535     public void initialize()
1536     {
1537         this.getSuperService().initialize();
1538     }
1539 
1540     /***
1541      * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner()
1542      */
1543     public Object getValidationOwner()
1544     {
1545         Object owner = this.getSuperService().getValidationOwner();
1546         return owner;
1547     }
1548 
1549     /***
1550      * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName()
1551      */
1552     public String getValidationName()
1553     {
1554         String name = this.getSuperService().getValidationName();
1555         return name;
1556     }
1557 
1558     /***
1559      * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(java.util.Collection)
1560      */
1561     public void validateInvariants(java.util.Collection validationMessages)
1562     {
1563         this.getSuperService().validateInvariants(validationMessages);
1564         {
1565             final java.lang.Object contextElement = this.THIS(); boolean constraintValid = org.andromda.translation.ocl.validation.OCLResultEnsurer.ensure(org.andromda.translation.ocl.validation.OCLCollections.isUnique(org.andromda.translation.ocl.validation.OCLIntrospector.invoke(contextElement,"allowedOperations"),new org.apache.commons.collections.Transformer(){public Object transform(java.lang.Object object){return org.andromda.translation.ocl.validation.OCLIntrospector.invoke(object,"name");}})); 
1566             if (!constraintValid)
1567                 validationMessages.add(
1568                     new org.andromda.core.metafacade.ModelValidationMessage(
1569                         (org.andromda.core.metafacade.MetafacadeBase)contextElement ,
1570                         "org::andromda::cartridges::webservice::metafacades::WebService::operation name must be unique",
1571                         "A web service can not have more than one operation with the same name, please check the names of your web service operations."));
1572         }
1573     }
1574     
1575     /***
1576      * The property that stores the name of the metafacade.
1577      */
1578     private static final String NAME_PROPERTY = "name";
1579     
1580     /***
1581      * @see java.lang.Object#toString()
1582      */
1583     public String toString()
1584     {
1585         final StringBuffer toString = new StringBuffer(this.getClass().getName());
1586         toString.append("[");
1587         try
1588         {
1589             toString.append(org.andromda.core.common.Introspector.instance().getProperty(this, NAME_PROPERTY));
1590         }
1591         catch (final Throwable throwable)
1592         {
1593             // - just ignore when the metafacade doesn't have a name property
1594         }
1595         toString.append("]");
1596         return toString.toString();
1597     }
1598 }