View Javadoc

1   //
2   // Attention: generated code (by MetafacadeLogic.vsl) - do not modify!
3   //
4   package org.andromda.cartridges.bpm4struts.metafacades;
5   
6   /***
7    * MetafacadeLogic for org.andromda.cartridges.bpm4struts.metafacades.StrutsControllerOperation
8    *
9    * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsControllerOperation
10   */
11  public abstract class StrutsControllerOperationLogic
12      extends org.andromda.core.metafacade.MetafacadeBase
13      implements org.andromda.cartridges.bpm4struts.metafacades.StrutsControllerOperation
14  {
15  
16      protected Object metaObject;
17  
18      public StrutsControllerOperationLogic(Object metaObject, String context)
19      {
20          super(metaObject, getContext(context));
21          this.superFrontEndControllerOperation =
22             (org.andromda.metafacades.uml.FrontEndControllerOperation)
23              org.andromda.core.metafacade.MetafacadeFactory.getInstance().createFacadeImpl(
24                      "org.andromda.metafacades.uml.FrontEndControllerOperation",
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.bpm4struts.metafacades.StrutsControllerOperation";
38          }
39          return context;
40      }
41  
42      private org.andromda.metafacades.uml.FrontEndControllerOperation superFrontEndControllerOperation;
43      private boolean superFrontEndControllerOperationInitialized = false;
44  
45      /***
46       * Gets the org.andromda.metafacades.uml.FrontEndControllerOperation parent instance.
47       */
48      private org.andromda.metafacades.uml.FrontEndControllerOperation getSuperFrontEndControllerOperation()
49      {
50          if (!this.superFrontEndControllerOperationInitialized)
51          {
52              ((org.andromda.core.metafacade.MetafacadeBase)superFrontEndControllerOperation).setMetafacadeContext(this.getMetafacadeContext());
53              this.superFrontEndControllerOperationInitialized = true;
54          }
55          return superFrontEndControllerOperation;
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.superFrontEndControllerOperationInitialized)
68              {
69                  ((org.andromda.core.metafacade.MetafacadeBase)superFrontEndControllerOperation).resetMetafacadeContext(context);
70              }
71          }
72      }
73  
74      /***
75       * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsControllerOperation
76       */
77      public boolean isStrutsControllerOperationMetaType()
78      {
79          return true;
80      }
81      
82      // --------------- attributes ---------------------
83  
84     /***
85      * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsControllerOperation#getInterfaceName()
86      */
87      protected abstract java.lang.String handleGetInterfaceName();
88  
89      private void handleGetInterfaceName1aPreCondition()
90      {
91      }
92  
93      private void handleGetInterfaceName1aPostCondition()
94      {
95      }
96  
97      private java.lang.String __interfaceName1a;
98      private boolean __interfaceName1aSet = false;
99  
100     public final java.lang.String getInterfaceName()
101     {
102         java.lang.String interfaceName1a = this.__interfaceName1a;
103         if (!this.__interfaceName1aSet)
104         {
105             handleGetInterfaceName1aPreCondition();
106             interfaceName1a = handleGetInterfaceName();
107             handleGetInterfaceName1aPostCondition();
108             this.__interfaceName1a = interfaceName1a;
109             if (isMetafacadePropertyCachingEnabled())
110             {
111                 this.__interfaceName1aSet = true;
112             }
113         }
114         return interfaceName1a;
115     }
116 
117    /***
118     * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsControllerOperation#getInterfacePackageName()
119     */
120     protected abstract java.lang.String handleGetInterfacePackageName();
121 
122     private void handleGetInterfacePackageName2aPreCondition()
123     {
124     }
125 
126     private void handleGetInterfacePackageName2aPostCondition()
127     {
128     }
129 
130     private java.lang.String __interfacePackageName2a;
131     private boolean __interfacePackageName2aSet = false;
132 
133     public final java.lang.String getInterfacePackageName()
134     {
135         java.lang.String interfacePackageName2a = this.__interfacePackageName2a;
136         if (!this.__interfacePackageName2aSet)
137         {
138             handleGetInterfacePackageName2aPreCondition();
139             interfacePackageName2a = handleGetInterfacePackageName();
140             handleGetInterfacePackageName2aPostCondition();
141             this.__interfacePackageName2a = interfacePackageName2a;
142             if (isMetafacadePropertyCachingEnabled())
143             {
144                 this.__interfacePackageName2aSet = true;
145             }
146         }
147         return interfacePackageName2a;
148     }
149 
150    /***
151     * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsControllerOperation#getInterfaceFullPath()
152     */
153     protected abstract java.lang.String handleGetInterfaceFullPath();
154 
155     private void handleGetInterfaceFullPath3aPreCondition()
156     {
157     }
158 
159     private void handleGetInterfaceFullPath3aPostCondition()
160     {
161     }
162 
163     private java.lang.String __interfaceFullPath3a;
164     private boolean __interfaceFullPath3aSet = false;
165 
166     public final java.lang.String getInterfaceFullPath()
167     {
168         java.lang.String interfaceFullPath3a = this.__interfaceFullPath3a;
169         if (!this.__interfaceFullPath3aSet)
170         {
171             handleGetInterfaceFullPath3aPreCondition();
172             interfaceFullPath3a = handleGetInterfaceFullPath();
173             handleGetInterfaceFullPath3aPostCondition();
174             this.__interfaceFullPath3a = interfaceFullPath3a;
175             if (isMetafacadePropertyCachingEnabled())
176             {
177                 this.__interfaceFullPath3aSet = true;
178             }
179         }
180         return interfaceFullPath3a;
181     }
182 
183    /***
184     * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsControllerOperation#getInterfaceType()
185     */
186     protected abstract java.lang.String handleGetInterfaceType();
187 
188     private void handleGetInterfaceType4aPreCondition()
189     {
190     }
191 
192     private void handleGetInterfaceType4aPostCondition()
193     {
194     }
195 
196     private java.lang.String __interfaceType4a;
197     private boolean __interfaceType4aSet = false;
198 
199     public final java.lang.String getInterfaceType()
200     {
201         java.lang.String interfaceType4a = this.__interfaceType4a;
202         if (!this.__interfaceType4aSet)
203         {
204             handleGetInterfaceType4aPreCondition();
205             interfaceType4a = handleGetInterfaceType();
206             handleGetInterfaceType4aPostCondition();
207             this.__interfaceType4a = interfaceType4a;
208             if (isMetafacadePropertyCachingEnabled())
209             {
210                 this.__interfaceType4aSet = true;
211             }
212         }
213         return interfaceType4a;
214     }
215 
216    /***
217     * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsControllerOperation#isBackEndServiceOperationMatchingParameters()
218     */
219     protected abstract boolean handleIsBackEndServiceOperationMatchingParameters();
220 
221     private void handleIsBackEndServiceOperationMatchingParameters5aPreCondition()
222     {
223     }
224 
225     private void handleIsBackEndServiceOperationMatchingParameters5aPostCondition()
226     {
227     }
228 
229     private boolean __backEndServiceOperationMatchingParameters5a;
230     private boolean __backEndServiceOperationMatchingParameters5aSet = false;
231 
232     public final boolean isBackEndServiceOperationMatchingParameters()
233     {
234         boolean backEndServiceOperationMatchingParameters5a = this.__backEndServiceOperationMatchingParameters5a;
235         if (!this.__backEndServiceOperationMatchingParameters5aSet)
236         {
237             handleIsBackEndServiceOperationMatchingParameters5aPreCondition();
238             backEndServiceOperationMatchingParameters5a = handleIsBackEndServiceOperationMatchingParameters();
239             handleIsBackEndServiceOperationMatchingParameters5aPostCondition();
240             this.__backEndServiceOperationMatchingParameters5a = backEndServiceOperationMatchingParameters5a;
241             if (isMetafacadePropertyCachingEnabled())
242             {
243                 this.__backEndServiceOperationMatchingParameters5aSet = true;
244             }
245         }
246         return backEndServiceOperationMatchingParameters5a;
247     }
248 
249    /***
250     * @see org.andromda.cartridges.bpm4struts.metafacades.StrutsControllerOperation#isCallingBackEnd()
251     */
252     protected abstract boolean handleIsCallingBackEnd();
253 
254     private void handleIsCallingBackEnd6aPreCondition()
255     {
256     }
257 
258     private void handleIsCallingBackEnd6aPostCondition()
259     {
260     }
261 
262     private boolean __callingBackEnd6a;
263     private boolean __callingBackEnd6aSet = false;
264 
265     public final boolean isCallingBackEnd()
266     {
267         boolean callingBackEnd6a = this.__callingBackEnd6a;
268         if (!this.__callingBackEnd6aSet)
269         {
270             handleIsCallingBackEnd6aPreCondition();
271             callingBackEnd6a = handleIsCallingBackEnd();
272             handleIsCallingBackEnd6aPostCondition();
273             this.__callingBackEnd6a = callingBackEnd6a;
274             if (isMetafacadePropertyCachingEnabled())
275             {
276                 this.__callingBackEnd6aSet = true;
277             }
278         }
279         return callingBackEnd6a;
280     }
281 
282     // ------------- associations ------------------
283 
284     private void handleGetController2rPreCondition()
285     {
286     }
287 
288     private void handleGetController2rPostCondition()
289     {
290     }
291 
292     private org.andromda.cartridges.bpm4struts.metafacades.StrutsController __getController2r;
293     private boolean __getController2rSet = false;
294 
295     public final org.andromda.cartridges.bpm4struts.metafacades.StrutsController getController()
296     {
297         org.andromda.cartridges.bpm4struts.metafacades.StrutsController getController2r = this.__getController2r;
298         if (!this.__getController2rSet)
299         {
300             handleGetController2rPreCondition();
301             Object result = this.shieldedElement(handleGetController());
302             try
303             {
304                 getController2r = (org.andromda.cartridges.bpm4struts.metafacades.StrutsController)result;
305             }
306             catch (ClassCastException ex)
307             {
308                 // ignore since the metafacade shouldn't
309                 // be set if its not of the correct type
310             }
311             handleGetController2rPostCondition();
312             this.__getController2r = getController2r;
313             if (isMetafacadePropertyCachingEnabled())
314             {
315                 this.__getController2rSet = true;
316             }
317         }
318         return getController2r;
319     }
320 
321     protected abstract java.lang.Object handleGetController();
322 
323     private void handleGetBackEndServiceOperation3rPreCondition()
324     {
325     }
326 
327     private void handleGetBackEndServiceOperation3rPostCondition()
328     {
329     }
330 
331     private org.andromda.metafacades.uml.ServiceOperation __getBackEndServiceOperation3r;
332     private boolean __getBackEndServiceOperation3rSet = false;
333 
334     public final org.andromda.metafacades.uml.ServiceOperation getBackEndServiceOperation()
335     {
336         org.andromda.metafacades.uml.ServiceOperation getBackEndServiceOperation3r = this.__getBackEndServiceOperation3r;
337         if (!this.__getBackEndServiceOperation3rSet)
338         {
339             handleGetBackEndServiceOperation3rPreCondition();
340             Object result = this.shieldedElement(handleGetBackEndServiceOperation());
341             try
342             {
343                 getBackEndServiceOperation3r = (org.andromda.metafacades.uml.ServiceOperation)result;
344             }
345             catch (ClassCastException ex)
346             {
347                 // ignore since the metafacade shouldn't
348                 // be set if its not of the correct type
349             }
350             handleGetBackEndServiceOperation3rPostCondition();
351             this.__getBackEndServiceOperation3r = getBackEndServiceOperation3r;
352             if (isMetafacadePropertyCachingEnabled())
353             {
354                 this.__getBackEndServiceOperation3rSet = true;
355             }
356         }
357         return getBackEndServiceOperation3r;
358     }
359 
360     protected abstract java.lang.Object handleGetBackEndServiceOperation();
361 
362     /***
363      * @see org.andromda.metafacades.uml.FrontEndControllerOperation
364      */
365     public boolean isFrontEndControllerOperationMetaType()
366     {
367         return true;
368     }
369     
370     /***
371      * @see org.andromda.metafacades.uml.OperationFacade
372      */
373     public boolean isOperationFacadeMetaType()
374     {
375         return true;
376     }
377     
378     /***
379      * @see org.andromda.metafacades.uml.ModelElementFacade
380      */
381     public boolean isModelElementFacadeMetaType()
382     {
383         return true;
384     }
385     
386     // ----------- delegates to org.andromda.metafacades.uml.FrontEndControllerOperation ------------
387     // from org.andromda.metafacades.uml.FrontEndControllerOperation
388     public org.andromda.metafacades.uml.FrontEndActivityGraph getActivityGraph()
389     {
390         return this.getSuperFrontEndControllerOperation().getActivityGraph();
391     }
392 
393     // from org.andromda.metafacades.uml.FrontEndControllerOperation
394     public java.util.List getDeferringActions()
395     {
396         return this.getSuperFrontEndControllerOperation().getDeferringActions();
397     }
398 
399     // from org.andromda.metafacades.uml.FrontEndControllerOperation
400     public java.util.List getFormFields()
401     {
402         return this.getSuperFrontEndControllerOperation().getFormFields();
403     }
404 
405     // from org.andromda.metafacades.uml.FrontEndControllerOperation
406     public boolean isAllArgumentsHaveFormFields()
407     {
408         return this.getSuperFrontEndControllerOperation().isAllArgumentsHaveFormFields();
409     }
410 
411     // from org.andromda.metafacades.uml.FrontEndControllerOperation
412     public boolean isOwnerIsController()
413     {
414         return this.getSuperFrontEndControllerOperation().isOwnerIsController();
415     }
416 
417     // from org.andromda.metafacades.uml.ModelElementFacade
418     public void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
419     {
420         this.getSuperFrontEndControllerOperation().copyTaggedValues(element);
421     }
422 
423     // from org.andromda.metafacades.uml.ModelElementFacade
424     public java.lang.Object findTaggedValue(java.lang.String tagName)
425     {
426         return this.getSuperFrontEndControllerOperation().findTaggedValue(tagName);
427     }
428 
429     // from org.andromda.metafacades.uml.ModelElementFacade
430     public java.util.Collection findTaggedValues(java.lang.String tagName)
431     {
432         return this.getSuperFrontEndControllerOperation().findTaggedValues(tagName);
433     }
434 
435     // from org.andromda.metafacades.uml.ModelElementFacade
436     public java.util.Collection getConstraints()
437     {
438         return this.getSuperFrontEndControllerOperation().getConstraints();
439     }
440 
441     // from org.andromda.metafacades.uml.ModelElementFacade
442     public java.util.Collection getConstraints(java.lang.String kind)
443     {
444         return this.getSuperFrontEndControllerOperation().getConstraints(kind);
445     }
446 
447     // from org.andromda.metafacades.uml.ModelElementFacade
448     public java.lang.String getDocumentation(java.lang.String indent, int lineLength)
449     {
450         return this.getSuperFrontEndControllerOperation().getDocumentation(indent, lineLength);
451     }
452 
453     // from org.andromda.metafacades.uml.ModelElementFacade
454     public java.lang.String getDocumentation(java.lang.String indent, int lineLength, boolean htmlStyle)
455     {
456         return this.getSuperFrontEndControllerOperation().getDocumentation(indent, lineLength, htmlStyle);
457     }
458 
459     // from org.andromda.metafacades.uml.ModelElementFacade
460     public java.lang.String getDocumentation(java.lang.String indent)
461     {
462         return this.getSuperFrontEndControllerOperation().getDocumentation(indent);
463     }
464 
465     // from org.andromda.metafacades.uml.ModelElementFacade
466     public java.lang.String getFullyQualifiedName(boolean modelName)
467     {
468         return this.getSuperFrontEndControllerOperation().getFullyQualifiedName(modelName);
469     }
470 
471     // from org.andromda.metafacades.uml.ModelElementFacade
472     public java.lang.String getFullyQualifiedName()
473     {
474         return this.getSuperFrontEndControllerOperation().getFullyQualifiedName();
475     }
476 
477     // from org.andromda.metafacades.uml.ModelElementFacade
478     public java.lang.String getFullyQualifiedNamePath()
479     {
480         return this.getSuperFrontEndControllerOperation().getFullyQualifiedNamePath();
481     }
482 
483     // from org.andromda.metafacades.uml.ModelElementFacade
484     public java.lang.String getId()
485     {
486         return this.getSuperFrontEndControllerOperation().getId();
487     }
488 
489     // from org.andromda.metafacades.uml.ModelElementFacade
490     public org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
491     {
492         return this.getSuperFrontEndControllerOperation().getLanguageMappings();
493     }
494 
495     // from org.andromda.metafacades.uml.ModelElementFacade
496     public org.andromda.metafacades.uml.ModelFacade getModel()
497     {
498         return this.getSuperFrontEndControllerOperation().getModel();
499     }
500 
501     // from org.andromda.metafacades.uml.ModelElementFacade
502     public java.lang.String getName()
503     {
504         return this.getSuperFrontEndControllerOperation().getName();
505     }
506 
507     // from org.andromda.metafacades.uml.ModelElementFacade
508     public org.andromda.metafacades.uml.ModelElementFacade getPackage()
509     {
510         return this.getSuperFrontEndControllerOperation().getPackage();
511     }
512 
513     // from org.andromda.metafacades.uml.ModelElementFacade
514     public java.lang.String getPackageName(boolean modelName)
515     {
516         return this.getSuperFrontEndControllerOperation().getPackageName(modelName);
517     }
518 
519     // from org.andromda.metafacades.uml.ModelElementFacade
520     public java.lang.String getPackageName()
521     {
522         return this.getSuperFrontEndControllerOperation().getPackageName();
523     }
524 
525     // from org.andromda.metafacades.uml.ModelElementFacade
526     public java.lang.String getPackagePath()
527     {
528         return this.getSuperFrontEndControllerOperation().getPackagePath();
529     }
530 
531     // from org.andromda.metafacades.uml.ModelElementFacade
532     public org.andromda.metafacades.uml.PackageFacade getRootPackage()
533     {
534         return this.getSuperFrontEndControllerOperation().getRootPackage();
535     }
536 
537     // from org.andromda.metafacades.uml.ModelElementFacade
538     public java.util.Collection getSourceDependencies()
539     {
540         return this.getSuperFrontEndControllerOperation().getSourceDependencies();
541     }
542 
543     // from org.andromda.metafacades.uml.ModelElementFacade
544     public org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
545     {
546         return this.getSuperFrontEndControllerOperation().getStateMachineContext();
547     }
548 
549     // from org.andromda.metafacades.uml.ModelElementFacade
550     public java.util.Collection getStereotypeNames()
551     {
552         return this.getSuperFrontEndControllerOperation().getStereotypeNames();
553     }
554 
555     // from org.andromda.metafacades.uml.ModelElementFacade
556     public java.util.Collection getStereotypes()
557     {
558         return this.getSuperFrontEndControllerOperation().getStereotypes();
559     }
560 
561     // from org.andromda.metafacades.uml.ModelElementFacade
562     public java.util.Collection getTaggedValues()
563     {
564         return this.getSuperFrontEndControllerOperation().getTaggedValues();
565     }
566 
567     // from org.andromda.metafacades.uml.ModelElementFacade
568     public java.util.Collection getTargetDependencies()
569     {
570         return this.getSuperFrontEndControllerOperation().getTargetDependencies();
571     }
572 
573     // from org.andromda.metafacades.uml.ModelElementFacade
574     public java.lang.Object getTemplateParameter(java.lang.String parameterName)
575     {
576         return this.getSuperFrontEndControllerOperation().getTemplateParameter(parameterName);
577     }
578 
579     // from org.andromda.metafacades.uml.ModelElementFacade
580     public java.util.Collection getTemplateParameters()
581     {
582         return this.getSuperFrontEndControllerOperation().getTemplateParameters();
583     }
584 
585     // from org.andromda.metafacades.uml.ModelElementFacade
586     public java.lang.String getVisibility()
587     {
588         return this.getSuperFrontEndControllerOperation().getVisibility();
589     }
590 
591     // from org.andromda.metafacades.uml.ModelElementFacade
592     public boolean hasExactStereotype(java.lang.String stereotypeName)
593     {
594         return this.getSuperFrontEndControllerOperation().hasExactStereotype(stereotypeName);
595     }
596 
597     // from org.andromda.metafacades.uml.ModelElementFacade
598     public boolean hasStereotype(java.lang.String stereotypeName)
599     {
600         return this.getSuperFrontEndControllerOperation().hasStereotype(stereotypeName);
601     }
602 
603     // from org.andromda.metafacades.uml.ModelElementFacade
604     public boolean isBindingDependenciesPresent()
605     {
606         return this.getSuperFrontEndControllerOperation().isBindingDependenciesPresent();
607     }
608 
609     // from org.andromda.metafacades.uml.ModelElementFacade
610     public boolean isConstraintsPresent()
611     {
612         return this.getSuperFrontEndControllerOperation().isConstraintsPresent();
613     }
614 
615     // from org.andromda.metafacades.uml.ModelElementFacade
616     public boolean isTemplateParametersPresent()
617     {
618         return this.getSuperFrontEndControllerOperation().isTemplateParametersPresent();
619     }
620 
621     // from org.andromda.metafacades.uml.ModelElementFacade
622     public java.lang.String translateConstraint(java.lang.String name, java.lang.String translation)
623     {
624         return this.getSuperFrontEndControllerOperation().translateConstraint(name, translation);
625     }
626 
627     // from org.andromda.metafacades.uml.ModelElementFacade
628     public java.lang.String[] translateConstraints(java.lang.String translation)
629     {
630         return this.getSuperFrontEndControllerOperation().translateConstraints(translation);
631     }
632 
633     // from org.andromda.metafacades.uml.ModelElementFacade
634     public java.lang.String[] translateConstraints(java.lang.String kind, java.lang.String translation)
635     {
636         return this.getSuperFrontEndControllerOperation().translateConstraints(kind, translation);
637     }
638 
639     // from org.andromda.metafacades.uml.OperationFacade
640     public org.andromda.metafacades.uml.ParameterFacade findParameter(java.lang.String name)
641     {
642         return this.getSuperFrontEndControllerOperation().findParameter(name);
643     }
644 
645     // from org.andromda.metafacades.uml.OperationFacade
646     public java.lang.Object findTaggedValue(java.lang.String name, boolean follow)
647     {
648         return this.getSuperFrontEndControllerOperation().findTaggedValue(name, follow);
649     }
650 
651     // from org.andromda.metafacades.uml.OperationFacade
652     public java.lang.String getArgumentNames()
653     {
654         return this.getSuperFrontEndControllerOperation().getArgumentNames();
655     }
656 
657     // from org.andromda.metafacades.uml.OperationFacade
658     public java.lang.String getArgumentTypeNames()
659     {
660         return this.getSuperFrontEndControllerOperation().getArgumentTypeNames();
661     }
662 
663     // from org.andromda.metafacades.uml.OperationFacade
664     public java.util.Collection getArguments()
665     {
666         return this.getSuperFrontEndControllerOperation().getArguments();
667     }
668 
669     // from org.andromda.metafacades.uml.OperationFacade
670     public java.lang.String getCall()
671     {
672         return this.getSuperFrontEndControllerOperation().getCall();
673     }
674 
675     // from org.andromda.metafacades.uml.OperationFacade
676     public java.lang.String getConcurrency()
677     {
678         return this.getSuperFrontEndControllerOperation().getConcurrency();
679     }
680 
681     // from org.andromda.metafacades.uml.OperationFacade
682     public java.lang.String getExceptionList(java.lang.String initialExceptions)
683     {
684         return this.getSuperFrontEndControllerOperation().getExceptionList(initialExceptions);
685     }
686 
687     // from org.andromda.metafacades.uml.OperationFacade
688     public java.lang.String getExceptionList()
689     {
690         return this.getSuperFrontEndControllerOperation().getExceptionList();
691     }
692 
693     // from org.andromda.metafacades.uml.OperationFacade
694     public java.util.Collection getExceptions()
695     {
696         return this.getSuperFrontEndControllerOperation().getExceptions();
697     }
698 
699     // from org.andromda.metafacades.uml.OperationFacade
700     public int getLower()
701     {
702         return this.getSuperFrontEndControllerOperation().getLower();
703     }
704 
705     // from org.andromda.metafacades.uml.OperationFacade
706     public org.andromda.metafacades.uml.OperationFacade getOverriddenOperation()
707     {
708         return this.getSuperFrontEndControllerOperation().getOverriddenOperation();
709     }
710 
711     // from org.andromda.metafacades.uml.OperationFacade
712     public org.andromda.metafacades.uml.ClassifierFacade getOwner()
713     {
714         return this.getSuperFrontEndControllerOperation().getOwner();
715     }
716 
717     // from org.andromda.metafacades.uml.OperationFacade
718     public java.util.Collection getParameters()
719     {
720         return this.getSuperFrontEndControllerOperation().getParameters();
721     }
722 
723     // from org.andromda.metafacades.uml.OperationFacade
724     public java.lang.String getPostconditionName()
725     {
726         return this.getSuperFrontEndControllerOperation().getPostconditionName();
727     }
728 
729     // from org.andromda.metafacades.uml.OperationFacade
730     public java.util.Collection getPostconditions()
731     {
732         return this.getSuperFrontEndControllerOperation().getPostconditions();
733     }
734 
735     // from org.andromda.metafacades.uml.OperationFacade
736     public java.lang.String getPreconditionCall()
737     {
738         return this.getSuperFrontEndControllerOperation().getPreconditionCall();
739     }
740 
741     // from org.andromda.metafacades.uml.OperationFacade
742     public java.lang.String getPreconditionName()
743     {
744         return this.getSuperFrontEndControllerOperation().getPreconditionName();
745     }
746 
747     // from org.andromda.metafacades.uml.OperationFacade
748     public java.lang.String getPreconditionSignature()
749     {
750         return this.getSuperFrontEndControllerOperation().getPreconditionSignature();
751     }
752 
753     // from org.andromda.metafacades.uml.OperationFacade
754     public java.util.Collection getPreconditions()
755     {
756         return this.getSuperFrontEndControllerOperation().getPreconditions();
757     }
758 
759     // from org.andromda.metafacades.uml.OperationFacade
760     public org.andromda.metafacades.uml.ParameterFacade getReturnParameter()
761     {
762         return this.getSuperFrontEndControllerOperation().getReturnParameter();
763     }
764 
765     // from org.andromda.metafacades.uml.OperationFacade
766     public org.andromda.metafacades.uml.ClassifierFacade getReturnType()
767     {
768         return this.getSuperFrontEndControllerOperation().getReturnType();
769     }
770 
771     // from org.andromda.metafacades.uml.OperationFacade
772     public java.lang.String getSignature(boolean withArgumentNames)
773     {
774         return this.getSuperFrontEndControllerOperation().getSignature(withArgumentNames);
775     }
776 
777     // from org.andromda.metafacades.uml.OperationFacade
778     public java.lang.String getSignature()
779     {
780         return this.getSuperFrontEndControllerOperation().getSignature();
781     }
782 
783     // from org.andromda.metafacades.uml.OperationFacade
784     public java.lang.String getSignature(java.lang.String argumentModifier)
785     {
786         return this.getSuperFrontEndControllerOperation().getSignature(argumentModifier);
787     }
788 
789     // from org.andromda.metafacades.uml.OperationFacade
790     public java.lang.String getTypedArgumentList(java.lang.String modifier)
791     {
792         return this.getSuperFrontEndControllerOperation().getTypedArgumentList(modifier);
793     }
794 
795     // from org.andromda.metafacades.uml.OperationFacade
796     public java.lang.String getTypedArgumentList()
797     {
798         return this.getSuperFrontEndControllerOperation().getTypedArgumentList();
799     }
800 
801     // from org.andromda.metafacades.uml.OperationFacade
802     public int getUpper()
803     {
804         return this.getSuperFrontEndControllerOperation().getUpper();
805     }
806 
807     // from org.andromda.metafacades.uml.OperationFacade
808     public boolean isAbstract()
809     {
810         return this.getSuperFrontEndControllerOperation().isAbstract();
811     }
812 
813     // from org.andromda.metafacades.uml.OperationFacade
814     public boolean isExceptionsPresent()
815     {
816         return this.getSuperFrontEndControllerOperation().isExceptionsPresent();
817     }
818 
819     // from org.andromda.metafacades.uml.OperationFacade
820     public boolean isOverriding()
821     {
822         return this.getSuperFrontEndControllerOperation().isOverriding();
823     }
824 
825     // from org.andromda.metafacades.uml.OperationFacade
826     public boolean isPostconditionsPresent()
827     {
828         return this.getSuperFrontEndControllerOperation().isPostconditionsPresent();
829     }
830 
831     // from org.andromda.metafacades.uml.OperationFacade
832     public boolean isPreconditionsPresent()
833     {
834         return this.getSuperFrontEndControllerOperation().isPreconditionsPresent();
835     }
836 
837     // from org.andromda.metafacades.uml.OperationFacade
838     public boolean isQuery()
839     {
840         return this.getSuperFrontEndControllerOperation().isQuery();
841     }
842 
843     // from org.andromda.metafacades.uml.OperationFacade
844     public boolean isReturnTypePresent()
845     {
846         return this.getSuperFrontEndControllerOperation().isReturnTypePresent();
847     }
848 
849     // from org.andromda.metafacades.uml.OperationFacade
850     public boolean isStatic()
851     {
852         return this.getSuperFrontEndControllerOperation().isStatic();
853     }
854 
855     /***
856      * @see org.andromda.core.metafacade.MetafacadeBase#initialize()
857      */
858     public void initialize()
859     {
860         this.getSuperFrontEndControllerOperation().initialize();
861     }
862 
863     /***
864      * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner()
865      */
866     public Object getValidationOwner()
867     {
868         Object owner = this.getSuperFrontEndControllerOperation().getValidationOwner();
869         return owner;
870     }
871 
872     /***
873      * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName()
874      */
875     public String getValidationName()
876     {
877         String name = this.getSuperFrontEndControllerOperation().getValidationName();
878         return name;
879     }
880 
881     /***
882      * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(java.util.Collection)
883      */
884     public void validateInvariants(java.util.Collection validationMessages)
885     {
886         this.getSuperFrontEndControllerOperation().validateInvariants(validationMessages);
887         {
888             final java.lang.Object contextElement = this.THIS(); boolean constraintValid = org.andromda.translation.ocl.validation.OCLResultEnsurer.ensure(org.andromda.translation.ocl.validation.OCLCollections.notEmpty(org.andromda.translation.ocl.validation.OCLIntrospector.invoke(contextElement,"name"))); 
889             if (!constraintValid)
890                 validationMessages.add(
891                     new org.andromda.core.metafacade.ModelValidationMessage(
892                         (org.andromda.core.metafacade.MetafacadeBase)contextElement ,
893                         "org::andromda::cartridges::bpm4struts::metafacades::StrutsControllerOperation::non-empty controller operation names",
894                         "Each operation name on a controller must be non-empty."));
895         }
896         {
897             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,"backEndServiceOperation")))).booleanValue()?Boolean.valueOf(String.valueOf(org.andromda.translation.ocl.validation.OCLIntrospector.invoke(contextElement,"backEndServiceOperationMatchingParameters"))).booleanValue():true)); 
898             if (!constraintValid)
899                 validationMessages.add(
900                     new org.andromda.core.metafacade.ModelValidationMessage(
901                         (org.andromda.core.metafacade.MetafacadeBase)contextElement ,
902                         "org::andromda::cartridges::bpm4struts::metafacades::StrutsControllerOperation::controller/service operations need matching parameter types and names",
903                         "If a controller operation delegates to a service operation it is required for them to have the same number of parameters and to have the parameter names and types matching so it is straightforward to pass these on."));
904         }
905     }
906     
907     /***
908      * The property that stores the name of the metafacade.
909      */
910     private static final String NAME_PROPERTY = "name";
911     
912     /***
913      * @see java.lang.Object#toString()
914      */
915     public String toString()
916     {
917         final StringBuffer toString = new StringBuffer(this.getClass().getName());
918         toString.append("[");
919         try
920         {
921             toString.append(org.andromda.core.common.Introspector.instance().getProperty(this, NAME_PROPERTY));
922         }
923         catch (final Throwable throwable)
924         {
925             // - just ignore when the metafacade doesn't have a name property
926         }
927         toString.append("]");
928         return toString.toString();
929     }
930 }