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