View Javadoc

1   //
2   // Attention: generated code (by MetafacadeLogic.vsl) - do not modify!
3   //
4   package org.andromda.cartridges.spring.metafacades;
5   
6   /***
7    * MetafacadeLogic for org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute
8    *
9    * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute
10   */
11  public abstract class SpringCriteriaAttributeLogic
12      extends org.andromda.core.metafacade.MetafacadeBase
13      implements org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute
14  {
15  
16      protected Object metaObject;
17  
18      public SpringCriteriaAttributeLogic(Object metaObject, String context)
19      {
20          super(metaObject, getContext(context));
21          this.superAttributeFacade =
22             (org.andromda.metafacades.uml.AttributeFacade)
23              org.andromda.core.metafacade.MetafacadeFactory.getInstance().createFacadeImpl(
24                      "org.andromda.metafacades.uml.AttributeFacade",
25                      metaObject,
26                      getContext(context));
27          this.metaObject = metaObject;
28      }
29  
30      /***
31       * Gets the context for this metafacade logic instance.
32       */
33      private static String getContext(String context)
34      {
35          if (context == null)
36          {
37              context = "org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute";
38          }
39          return context;
40      }
41  
42      private org.andromda.metafacades.uml.AttributeFacade superAttributeFacade;
43      private boolean superAttributeFacadeInitialized = false;
44  
45      /***
46       * Gets the org.andromda.metafacades.uml.AttributeFacade parent instance.
47       */
48      private org.andromda.metafacades.uml.AttributeFacade getSuperAttributeFacade()
49      {
50          if (!this.superAttributeFacadeInitialized)
51          {
52              ((org.andromda.core.metafacade.MetafacadeBase)superAttributeFacade).setMetafacadeContext(this.getMetafacadeContext());
53              this.superAttributeFacadeInitialized = true;
54          }
55          return superAttributeFacade;
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.superAttributeFacadeInitialized)
68              {
69                  ((org.andromda.core.metafacade.MetafacadeBase)superAttributeFacade).resetMetafacadeContext(context);
70              }
71          }
72      }
73  
74      /***
75       * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute
76       */
77      public boolean isSpringCriteriaAttributeMetaType()
78      {
79          return true;
80      }
81      
82      // --------------- attributes ---------------------
83  
84     /***
85      * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute#getAttributeName()
86      */
87      protected abstract java.lang.String handleGetAttributeName();
88  
89      private void handleGetAttributeName1aPreCondition()
90      {
91      }
92  
93      private void handleGetAttributeName1aPostCondition()
94      {
95      }
96  
97      private java.lang.String __attributeName1a;
98      private boolean __attributeName1aSet = false;
99  
100     public final java.lang.String getAttributeName()
101     {
102         java.lang.String attributeName1a = this.__attributeName1a;
103         if (!this.__attributeName1aSet)
104         {
105             handleGetAttributeName1aPreCondition();
106             attributeName1a = handleGetAttributeName();
107             handleGetAttributeName1aPostCondition();
108             this.__attributeName1a = attributeName1a;
109             if (isMetafacadePropertyCachingEnabled())
110             {
111                 this.__attributeName1aSet = true;
112             }
113         }
114         return attributeName1a;
115     }
116 
117    /***
118     * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute#getComparator()
119     */
120     protected abstract java.lang.String handleGetComparator();
121 
122     private void handleGetComparator2aPreCondition()
123     {
124     }
125 
126     private void handleGetComparator2aPostCondition()
127     {
128     }
129 
130     private java.lang.String __comparator2a;
131     private boolean __comparator2aSet = false;
132 
133     public final java.lang.String getComparator()
134     {
135         java.lang.String comparator2a = this.__comparator2a;
136         if (!this.__comparator2aSet)
137         {
138             handleGetComparator2aPreCondition();
139             comparator2a = handleGetComparator();
140             handleGetComparator2aPostCondition();
141             this.__comparator2a = comparator2a;
142             if (isMetafacadePropertyCachingEnabled())
143             {
144                 this.__comparator2aSet = true;
145             }
146         }
147         return comparator2a;
148     }
149 
150    /***
151     * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute#isComparatorPresent()
152     */
153     protected abstract boolean handleIsComparatorPresent();
154 
155     private void handleIsComparatorPresent3aPreCondition()
156     {
157     }
158 
159     private void handleIsComparatorPresent3aPostCondition()
160     {
161     }
162 
163     private boolean __comparatorPresent3a;
164     private boolean __comparatorPresent3aSet = false;
165 
166     public final boolean isComparatorPresent()
167     {
168         boolean comparatorPresent3a = this.__comparatorPresent3a;
169         if (!this.__comparatorPresent3aSet)
170         {
171             handleIsComparatorPresent3aPreCondition();
172             comparatorPresent3a = handleIsComparatorPresent();
173             handleIsComparatorPresent3aPostCondition();
174             this.__comparatorPresent3a = comparatorPresent3a;
175             if (isMetafacadePropertyCachingEnabled())
176             {
177                 this.__comparatorPresent3aSet = true;
178             }
179         }
180         return comparatorPresent3a;
181     }
182 
183    /***
184     * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute#getComparatorConstant()
185     */
186     protected abstract java.lang.String handleGetComparatorConstant();
187 
188     private void handleGetComparatorConstant4aPreCondition()
189     {
190     }
191 
192     private void handleGetComparatorConstant4aPostCondition()
193     {
194     }
195 
196     private java.lang.String __comparatorConstant4a;
197     private boolean __comparatorConstant4aSet = false;
198 
199     public final java.lang.String getComparatorConstant()
200     {
201         java.lang.String comparatorConstant4a = this.__comparatorConstant4a;
202         if (!this.__comparatorConstant4aSet)
203         {
204             handleGetComparatorConstant4aPreCondition();
205             comparatorConstant4a = handleGetComparatorConstant();
206             handleGetComparatorConstant4aPostCondition();
207             this.__comparatorConstant4a = comparatorConstant4a;
208             if (isMetafacadePropertyCachingEnabled())
209             {
210                 this.__comparatorConstant4aSet = true;
211             }
212         }
213         return comparatorConstant4a;
214     }
215 
216    /***
217     * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute#isNullable()
218     */
219     protected abstract boolean handleIsNullable();
220 
221     private void handleIsNullable5aPreCondition()
222     {
223     }
224 
225     private void handleIsNullable5aPostCondition()
226     {
227     }
228 
229     private boolean __nullable5a;
230     private boolean __nullable5aSet = false;
231 
232     public final boolean isNullable()
233     {
234         boolean nullable5a = this.__nullable5a;
235         if (!this.__nullable5aSet)
236         {
237             handleIsNullable5aPreCondition();
238             nullable5a = handleIsNullable();
239             handleIsNullable5aPostCondition();
240             this.__nullable5a = nullable5a;
241             if (isMetafacadePropertyCachingEnabled())
242             {
243                 this.__nullable5aSet = true;
244             }
245         }
246         return nullable5a;
247     }
248 
249    /***
250     * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute#getMatchMode()
251     */
252     protected abstract java.lang.String handleGetMatchMode();
253 
254     private void handleGetMatchMode6aPreCondition()
255     {
256     }
257 
258     private void handleGetMatchMode6aPostCondition()
259     {
260     }
261 
262     private java.lang.String __matchMode6a;
263     private boolean __matchMode6aSet = false;
264 
265     public final java.lang.String getMatchMode()
266     {
267         java.lang.String matchMode6a = this.__matchMode6a;
268         if (!this.__matchMode6aSet)
269         {
270             handleGetMatchMode6aPreCondition();
271             matchMode6a = handleGetMatchMode();
272             handleGetMatchMode6aPostCondition();
273             this.__matchMode6a = matchMode6a;
274             if (isMetafacadePropertyCachingEnabled())
275             {
276                 this.__matchMode6aSet = true;
277             }
278         }
279         return matchMode6a;
280     }
281 
282    /***
283     * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute#getMatchModeConstant()
284     */
285     protected abstract java.lang.String handleGetMatchModeConstant();
286 
287     private void handleGetMatchModeConstant7aPreCondition()
288     {
289     }
290 
291     private void handleGetMatchModeConstant7aPostCondition()
292     {
293     }
294 
295     private java.lang.String __matchModeConstant7a;
296     private boolean __matchModeConstant7aSet = false;
297 
298     public final java.lang.String getMatchModeConstant()
299     {
300         java.lang.String matchModeConstant7a = this.__matchModeConstant7a;
301         if (!this.__matchModeConstant7aSet)
302         {
303             handleGetMatchModeConstant7aPreCondition();
304             matchModeConstant7a = handleGetMatchModeConstant();
305             handleGetMatchModeConstant7aPostCondition();
306             this.__matchModeConstant7a = matchModeConstant7a;
307             if (isMetafacadePropertyCachingEnabled())
308             {
309                 this.__matchModeConstant7aSet = true;
310             }
311         }
312         return matchModeConstant7a;
313     }
314 
315    /***
316     * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute#isMatchModePresent()
317     */
318     protected abstract boolean handleIsMatchModePresent();
319 
320     private void handleIsMatchModePresent8aPreCondition()
321     {
322     }
323 
324     private void handleIsMatchModePresent8aPostCondition()
325     {
326     }
327 
328     private boolean __matchModePresent8a;
329     private boolean __matchModePresent8aSet = false;
330 
331     public final boolean isMatchModePresent()
332     {
333         boolean matchModePresent8a = this.__matchModePresent8a;
334         if (!this.__matchModePresent8aSet)
335         {
336             handleIsMatchModePresent8aPreCondition();
337             matchModePresent8a = handleIsMatchModePresent();
338             handleIsMatchModePresent8aPostCondition();
339             this.__matchModePresent8a = matchModePresent8a;
340             if (isMetafacadePropertyCachingEnabled())
341             {
342                 this.__matchModePresent8aSet = true;
343             }
344         }
345         return matchModePresent8a;
346     }
347 
348    /***
349     * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute#isOrderable()
350     */
351     protected abstract boolean handleIsOrderable();
352 
353     private void handleIsOrderable9aPreCondition()
354     {
355     }
356 
357     private void handleIsOrderable9aPostCondition()
358     {
359     }
360 
361     private boolean __orderable9a;
362     private boolean __orderable9aSet = false;
363 
364     public final boolean isOrderable()
365     {
366         boolean orderable9a = this.__orderable9a;
367         if (!this.__orderable9aSet)
368         {
369             handleIsOrderable9aPreCondition();
370             orderable9a = handleIsOrderable();
371             handleIsOrderable9aPostCondition();
372             this.__orderable9a = orderable9a;
373             if (isMetafacadePropertyCachingEnabled())
374             {
375                 this.__orderable9aSet = true;
376             }
377         }
378         return orderable9a;
379     }
380 
381    /***
382     * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute#getOrderDirection()
383     */
384     protected abstract java.lang.String handleGetOrderDirection();
385 
386     private void handleGetOrderDirection10aPreCondition()
387     {
388     }
389 
390     private void handleGetOrderDirection10aPostCondition()
391     {
392     }
393 
394     private java.lang.String __orderDirection10a;
395     private boolean __orderDirection10aSet = false;
396 
397     public final java.lang.String getOrderDirection()
398     {
399         java.lang.String orderDirection10a = this.__orderDirection10a;
400         if (!this.__orderDirection10aSet)
401         {
402             handleGetOrderDirection10aPreCondition();
403             orderDirection10a = handleGetOrderDirection();
404             handleGetOrderDirection10aPostCondition();
405             this.__orderDirection10a = orderDirection10a;
406             if (isMetafacadePropertyCachingEnabled())
407             {
408                 this.__orderDirection10aSet = true;
409             }
410         }
411         return orderDirection10a;
412     }
413 
414    /***
415     * @see org.andromda.cartridges.spring.metafacades.SpringCriteriaAttribute#getOrderRelevance()
416     */
417     protected abstract int handleGetOrderRelevance();
418 
419     private void handleGetOrderRelevance11aPreCondition()
420     {
421     }
422 
423     private void handleGetOrderRelevance11aPostCondition()
424     {
425     }
426 
427     private int __orderRelevance11a;
428     private boolean __orderRelevance11aSet = false;
429 
430     public final int getOrderRelevance()
431     {
432         int orderRelevance11a = this.__orderRelevance11a;
433         if (!this.__orderRelevance11aSet)
434         {
435             handleGetOrderRelevance11aPreCondition();
436             orderRelevance11a = handleGetOrderRelevance();
437             handleGetOrderRelevance11aPostCondition();
438             this.__orderRelevance11a = orderRelevance11a;
439             if (isMetafacadePropertyCachingEnabled())
440             {
441                 this.__orderRelevance11aSet = true;
442             }
443         }
444         return orderRelevance11a;
445     }
446 
447     /***
448      * @see org.andromda.metafacades.uml.AttributeFacade
449      */
450     public boolean isAttributeFacadeMetaType()
451     {
452         return true;
453     }
454     
455     /***
456      * @see org.andromda.metafacades.uml.ModelElementFacade
457      */
458     public boolean isModelElementFacadeMetaType()
459     {
460         return true;
461     }
462     
463     // ----------- delegates to org.andromda.metafacades.uml.AttributeFacade ------------
464     // from org.andromda.metafacades.uml.AttributeFacade
465     public java.lang.Object findTaggedValue(java.lang.String name, boolean follow)
466     {
467         return this.getSuperAttributeFacade().findTaggedValue(name, follow);
468     }
469 
470     // from org.andromda.metafacades.uml.AttributeFacade
471     public java.lang.String getDefaultValue()
472     {
473         return this.getSuperAttributeFacade().getDefaultValue();
474     }
475 
476     // from org.andromda.metafacades.uml.AttributeFacade
477     public org.andromda.metafacades.uml.EnumerationFacade getEnumeration()
478     {
479         return this.getSuperAttributeFacade().getEnumeration();
480     }
481 
482     // from org.andromda.metafacades.uml.AttributeFacade
483     public java.lang.String getEnumerationLiteralParameters()
484     {
485         return this.getSuperAttributeFacade().getEnumerationLiteralParameters();
486     }
487 
488     // from org.andromda.metafacades.uml.AttributeFacade
489     public java.lang.String getEnumerationValue()
490     {
491         return this.getSuperAttributeFacade().getEnumerationValue();
492     }
493 
494     // from org.andromda.metafacades.uml.AttributeFacade
495     public java.lang.String getGetterName()
496     {
497         return this.getSuperAttributeFacade().getGetterName();
498     }
499 
500     // from org.andromda.metafacades.uml.AttributeFacade
501     public java.lang.String getGetterSetterTypeName()
502     {
503         return this.getSuperAttributeFacade().getGetterSetterTypeName();
504     }
505 
506     // from org.andromda.metafacades.uml.AttributeFacade
507     public int getLower()
508     {
509         return this.getSuperAttributeFacade().getLower();
510     }
511 
512     // from org.andromda.metafacades.uml.AttributeFacade
513     public org.andromda.metafacades.uml.ClassifierFacade getOwner()
514     {
515         return this.getSuperAttributeFacade().getOwner();
516     }
517 
518     // from org.andromda.metafacades.uml.AttributeFacade
519     public java.lang.String getSetterName()
520     {
521         return this.getSuperAttributeFacade().getSetterName();
522     }
523 
524     // from org.andromda.metafacades.uml.AttributeFacade
525     public org.andromda.metafacades.uml.ClassifierFacade getType()
526     {
527         return this.getSuperAttributeFacade().getType();
528     }
529 
530     // from org.andromda.metafacades.uml.AttributeFacade
531     public int getUpper()
532     {
533         return this.getSuperAttributeFacade().getUpper();
534     }
535 
536     // from org.andromda.metafacades.uml.AttributeFacade
537     public boolean isAddOnly()
538     {
539         return this.getSuperAttributeFacade().isAddOnly();
540     }
541 
542     // from org.andromda.metafacades.uml.AttributeFacade
543     public boolean isChangeable()
544     {
545         return this.getSuperAttributeFacade().isChangeable();
546     }
547 
548     // from org.andromda.metafacades.uml.AttributeFacade
549     public boolean isDefaultValuePresent()
550     {
551         return this.getSuperAttributeFacade().isDefaultValuePresent();
552     }
553 
554     // from org.andromda.metafacades.uml.AttributeFacade
555     public boolean isEnumerationLiteral()
556     {
557         return this.getSuperAttributeFacade().isEnumerationLiteral();
558     }
559 
560     // from org.andromda.metafacades.uml.AttributeFacade
561     public boolean isEnumerationLiteralParametersExist()
562     {
563         return this.getSuperAttributeFacade().isEnumerationLiteralParametersExist();
564     }
565 
566     // from org.andromda.metafacades.uml.AttributeFacade
567     public boolean isEnumerationMember()
568     {
569         return this.getSuperAttributeFacade().isEnumerationMember();
570     }
571 
572     // from org.andromda.metafacades.uml.AttributeFacade
573     public boolean isMany()
574     {
575         return this.getSuperAttributeFacade().isMany();
576     }
577 
578     // from org.andromda.metafacades.uml.AttributeFacade
579     public boolean isOrdered()
580     {
581         return this.getSuperAttributeFacade().isOrdered();
582     }
583 
584     // from org.andromda.metafacades.uml.AttributeFacade
585     public boolean isReadOnly()
586     {
587         return this.getSuperAttributeFacade().isReadOnly();
588     }
589 
590     // from org.andromda.metafacades.uml.AttributeFacade
591     public boolean isRequired()
592     {
593         return this.getSuperAttributeFacade().isRequired();
594     }
595 
596     // from org.andromda.metafacades.uml.AttributeFacade
597     public boolean isStatic()
598     {
599         return this.getSuperAttributeFacade().isStatic();
600     }
601 
602     // from org.andromda.metafacades.uml.ModelElementFacade
603     public void copyTaggedValues(org.andromda.metafacades.uml.ModelElementFacade element)
604     {
605         this.getSuperAttributeFacade().copyTaggedValues(element);
606     }
607 
608     // from org.andromda.metafacades.uml.ModelElementFacade
609     public java.lang.Object findTaggedValue(java.lang.String tagName)
610     {
611         return this.getSuperAttributeFacade().findTaggedValue(tagName);
612     }
613 
614     // from org.andromda.metafacades.uml.ModelElementFacade
615     public java.util.Collection findTaggedValues(java.lang.String tagName)
616     {
617         return this.getSuperAttributeFacade().findTaggedValues(tagName);
618     }
619 
620     // from org.andromda.metafacades.uml.ModelElementFacade
621     public java.util.Collection getConstraints()
622     {
623         return this.getSuperAttributeFacade().getConstraints();
624     }
625 
626     // from org.andromda.metafacades.uml.ModelElementFacade
627     public java.util.Collection getConstraints(java.lang.String kind)
628     {
629         return this.getSuperAttributeFacade().getConstraints(kind);
630     }
631 
632     // from org.andromda.metafacades.uml.ModelElementFacade
633     public java.lang.String getDocumentation(java.lang.String indent, int lineLength)
634     {
635         return this.getSuperAttributeFacade().getDocumentation(indent, lineLength);
636     }
637 
638     // from org.andromda.metafacades.uml.ModelElementFacade
639     public java.lang.String getDocumentation(java.lang.String indent, int lineLength, boolean htmlStyle)
640     {
641         return this.getSuperAttributeFacade().getDocumentation(indent, lineLength, htmlStyle);
642     }
643 
644     // from org.andromda.metafacades.uml.ModelElementFacade
645     public java.lang.String getDocumentation(java.lang.String indent)
646     {
647         return this.getSuperAttributeFacade().getDocumentation(indent);
648     }
649 
650     // from org.andromda.metafacades.uml.ModelElementFacade
651     public java.lang.String getFullyQualifiedName(boolean modelName)
652     {
653         return this.getSuperAttributeFacade().getFullyQualifiedName(modelName);
654     }
655 
656     // from org.andromda.metafacades.uml.ModelElementFacade
657     public java.lang.String getFullyQualifiedName()
658     {
659         return this.getSuperAttributeFacade().getFullyQualifiedName();
660     }
661 
662     // from org.andromda.metafacades.uml.ModelElementFacade
663     public java.lang.String getFullyQualifiedNamePath()
664     {
665         return this.getSuperAttributeFacade().getFullyQualifiedNamePath();
666     }
667 
668     // from org.andromda.metafacades.uml.ModelElementFacade
669     public java.lang.String getId()
670     {
671         return this.getSuperAttributeFacade().getId();
672     }
673 
674     // from org.andromda.metafacades.uml.ModelElementFacade
675     public org.andromda.metafacades.uml.TypeMappings getLanguageMappings()
676     {
677         return this.getSuperAttributeFacade().getLanguageMappings();
678     }
679 
680     // from org.andromda.metafacades.uml.ModelElementFacade
681     public org.andromda.metafacades.uml.ModelFacade getModel()
682     {
683         return this.getSuperAttributeFacade().getModel();
684     }
685 
686     // from org.andromda.metafacades.uml.ModelElementFacade
687     public java.lang.String getName()
688     {
689         return this.getSuperAttributeFacade().getName();
690     }
691 
692     // from org.andromda.metafacades.uml.ModelElementFacade
693     public org.andromda.metafacades.uml.ModelElementFacade getPackage()
694     {
695         return this.getSuperAttributeFacade().getPackage();
696     }
697 
698     // from org.andromda.metafacades.uml.ModelElementFacade
699     public java.lang.String getPackageName(boolean modelName)
700     {
701         return this.getSuperAttributeFacade().getPackageName(modelName);
702     }
703 
704     // from org.andromda.metafacades.uml.ModelElementFacade
705     public java.lang.String getPackageName()
706     {
707         return this.getSuperAttributeFacade().getPackageName();
708     }
709 
710     // from org.andromda.metafacades.uml.ModelElementFacade
711     public java.lang.String getPackagePath()
712     {
713         return this.getSuperAttributeFacade().getPackagePath();
714     }
715 
716     // from org.andromda.metafacades.uml.ModelElementFacade
717     public org.andromda.metafacades.uml.PackageFacade getRootPackage()
718     {
719         return this.getSuperAttributeFacade().getRootPackage();
720     }
721 
722     // from org.andromda.metafacades.uml.ModelElementFacade
723     public java.util.Collection getSourceDependencies()
724     {
725         return this.getSuperAttributeFacade().getSourceDependencies();
726     }
727 
728     // from org.andromda.metafacades.uml.ModelElementFacade
729     public org.andromda.metafacades.uml.StateMachineFacade getStateMachineContext()
730     {
731         return this.getSuperAttributeFacade().getStateMachineContext();
732     }
733 
734     // from org.andromda.metafacades.uml.ModelElementFacade
735     public java.util.Collection getStereotypeNames()
736     {
737         return this.getSuperAttributeFacade().getStereotypeNames();
738     }
739 
740     // from org.andromda.metafacades.uml.ModelElementFacade
741     public java.util.Collection getStereotypes()
742     {
743         return this.getSuperAttributeFacade().getStereotypes();
744     }
745 
746     // from org.andromda.metafacades.uml.ModelElementFacade
747     public java.util.Collection getTaggedValues()
748     {
749         return this.getSuperAttributeFacade().getTaggedValues();
750     }
751 
752     // from org.andromda.metafacades.uml.ModelElementFacade
753     public java.util.Collection getTargetDependencies()
754     {
755         return this.getSuperAttributeFacade().getTargetDependencies();
756     }
757 
758     // from org.andromda.metafacades.uml.ModelElementFacade
759     public java.lang.Object getTemplateParameter(java.lang.String parameterName)
760     {
761         return this.getSuperAttributeFacade().getTemplateParameter(parameterName);
762     }
763 
764     // from org.andromda.metafacades.uml.ModelElementFacade
765     public java.util.Collection getTemplateParameters()
766     {
767         return this.getSuperAttributeFacade().getTemplateParameters();
768     }
769 
770     // from org.andromda.metafacades.uml.ModelElementFacade
771     public java.lang.String getVisibility()
772     {
773         return this.getSuperAttributeFacade().getVisibility();
774     }
775 
776     // from org.andromda.metafacades.uml.ModelElementFacade
777     public boolean hasExactStereotype(java.lang.String stereotypeName)
778     {
779         return this.getSuperAttributeFacade().hasExactStereotype(stereotypeName);
780     }
781 
782     // from org.andromda.metafacades.uml.ModelElementFacade
783     public boolean hasStereotype(java.lang.String stereotypeName)
784     {
785         return this.getSuperAttributeFacade().hasStereotype(stereotypeName);
786     }
787 
788     // from org.andromda.metafacades.uml.ModelElementFacade
789     public boolean isBindingDependenciesPresent()
790     {
791         return this.getSuperAttributeFacade().isBindingDependenciesPresent();
792     }
793 
794     // from org.andromda.metafacades.uml.ModelElementFacade
795     public boolean isConstraintsPresent()
796     {
797         return this.getSuperAttributeFacade().isConstraintsPresent();
798     }
799 
800     // from org.andromda.metafacades.uml.ModelElementFacade
801     public boolean isTemplateParametersPresent()
802     {
803         return this.getSuperAttributeFacade().isTemplateParametersPresent();
804     }
805 
806     // from org.andromda.metafacades.uml.ModelElementFacade
807     public java.lang.String translateConstraint(java.lang.String name, java.lang.String translation)
808     {
809         return this.getSuperAttributeFacade().translateConstraint(name, translation);
810     }
811 
812     // from org.andromda.metafacades.uml.ModelElementFacade
813     public java.lang.String[] translateConstraints(java.lang.String translation)
814     {
815         return this.getSuperAttributeFacade().translateConstraints(translation);
816     }
817 
818     // from org.andromda.metafacades.uml.ModelElementFacade
819     public java.lang.String[] translateConstraints(java.lang.String kind, java.lang.String translation)
820     {
821         return this.getSuperAttributeFacade().translateConstraints(kind, translation);
822     }
823 
824     /***
825      * @see org.andromda.core.metafacade.MetafacadeBase#initialize()
826      */
827     public void initialize()
828     {
829         this.getSuperAttributeFacade().initialize();
830     }
831 
832     /***
833      * @see org.andromda.core.metafacade.MetafacadeBase#getValidationOwner()
834      */
835     public Object getValidationOwner()
836     {
837         Object owner = this.getSuperAttributeFacade().getValidationOwner();
838         return owner;
839     }
840 
841     /***
842      * @see org.andromda.core.metafacade.MetafacadeBase#getValidationName()
843      */
844     public String getValidationName()
845     {
846         String name = this.getSuperAttributeFacade().getValidationName();
847         return name;
848     }
849 
850     /***
851      * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(java.util.Collection)
852      */
853     public void validateInvariants(java.util.Collection validationMessages)
854     {
855         this.getSuperAttributeFacade().validateInvariants(validationMessages);
856     }
857     
858     /***
859      * The property that stores the name of the metafacade.
860      */
861     private static final String NAME_PROPERTY = "name";
862     
863     /***
864      * @see java.lang.Object#toString()
865      */
866     public String toString()
867     {
868         final StringBuffer toString = new StringBuffer(this.getClass().getName());
869         toString.append("[");
870         try
871         {
872             toString.append(org.andromda.core.common.Introspector.instance().getProperty(this, NAME_PROPERTY));
873         }
874         catch (final Throwable throwable)
875         {
876             // - just ignore when the metafacade doesn't have a name property
877         }
878         toString.append("]");
879         return toString.toString();
880     }
881 }