View Javadoc

1   //
2   // Attention: generated code (by MetafacadeLogic.vsl) - do not modify!
3   //
4   package org.andromda.metafacades.uml14;
5   
6   /***
7    * MetafacadeLogic for org.andromda.metafacades.uml.ManageableEntity
8    *
9    * @see org.andromda.metafacades.uml.ManageableEntity
10   */
11  public abstract class ManageableEntityLogic
12      extends org.andromda.metafacades.uml14.EntityLogicImpl
13      implements org.andromda.metafacades.uml.ManageableEntity
14  {
15  
16      protected Object metaObject;
17  
18      public ManageableEntityLogic(Object metaObject, String context)
19      {
20          super(metaObject, getContext(context));
21          this.metaObject = metaObject;
22      }
23  
24      /***
25       * Gets the context for this metafacade logic instance.
26       */
27      private static String getContext(String context)
28      {
29          if (context == null)
30          {
31              context = "org.andromda.metafacades.uml.ManageableEntity";
32          }
33          return context;
34      }
35  
36      /***
37       * @see org.andromda.core.metafacade.MetafacadeBase
38       */
39      public void resetMetafacadeContext(String context)
40      {
41          if (!this.contextRoot) // reset context only for non-root metafacades
42          {
43              context = getContext(context);  // to have same value as in original constructor call
44              setMetafacadeContext (context);
45          }
46      }
47  
48      /***
49       * @see org.andromda.metafacades.uml.ManageableEntity
50       */
51      public boolean isManageableEntityMetaType()
52      {
53          return true;
54      }
55      
56      // --------------- attributes ---------------------
57  
58     /***
59      * @see org.andromda.metafacades.uml.ManageableEntity#getManageablePackageName()
60      */
61      protected abstract java.lang.String handleGetManageablePackageName();
62  
63      private void handleGetManageablePackageName1aPreCondition()
64      {
65      }
66  
67      private void handleGetManageablePackageName1aPostCondition()
68      {
69      }
70  
71      private java.lang.String __manageablePackageName1a;
72      private boolean __manageablePackageName1aSet = false;
73  
74      public final java.lang.String getManageablePackageName()
75      {
76          java.lang.String manageablePackageName1a = this.__manageablePackageName1a;
77          if (!this.__manageablePackageName1aSet)
78          {
79              handleGetManageablePackageName1aPreCondition();
80              manageablePackageName1a = handleGetManageablePackageName();
81              handleGetManageablePackageName1aPostCondition();
82              this.__manageablePackageName1a = manageablePackageName1a;
83              if (isMetafacadePropertyCachingEnabled())
84              {
85                  this.__manageablePackageName1aSet = true;
86              }
87          }
88          return manageablePackageName1a;
89      }
90  
91     /***
92      * @see org.andromda.metafacades.uml.ManageableEntity#getManageableServiceAccessorCall()
93      */
94      protected abstract java.lang.String handleGetManageableServiceAccessorCall();
95  
96      private void handleGetManageableServiceAccessorCall2aPreCondition()
97      {
98      }
99  
100     private void handleGetManageableServiceAccessorCall2aPostCondition()
101     {
102     }
103 
104     private java.lang.String __manageableServiceAccessorCall2a;
105     private boolean __manageableServiceAccessorCall2aSet = false;
106 
107     public final java.lang.String getManageableServiceAccessorCall()
108     {
109         java.lang.String manageableServiceAccessorCall2a = this.__manageableServiceAccessorCall2a;
110         if (!this.__manageableServiceAccessorCall2aSet)
111         {
112             handleGetManageableServiceAccessorCall2aPreCondition();
113             manageableServiceAccessorCall2a = handleGetManageableServiceAccessorCall();
114             handleGetManageableServiceAccessorCall2aPostCondition();
115             this.__manageableServiceAccessorCall2a = manageableServiceAccessorCall2a;
116             if (isMetafacadePropertyCachingEnabled())
117             {
118                 this.__manageableServiceAccessorCall2aSet = true;
119             }
120         }
121         return manageableServiceAccessorCall2a;
122     }
123 
124    /***
125     * @see org.andromda.metafacades.uml.ManageableEntity#isRead()
126     */
127     protected abstract boolean handleIsRead();
128 
129     private void handleIsRead3aPreCondition()
130     {
131     }
132 
133     private void handleIsRead3aPostCondition()
134     {
135     }
136 
137     private boolean __read3a;
138     private boolean __read3aSet = false;
139 
140     public final boolean isRead()
141     {
142         boolean read3a = this.__read3a;
143         if (!this.__read3aSet)
144         {
145             handleIsRead3aPreCondition();
146             read3a = handleIsRead();
147             handleIsRead3aPostCondition();
148             this.__read3a = read3a;
149             if (isMetafacadePropertyCachingEnabled())
150             {
151                 this.__read3aSet = true;
152             }
153         }
154         return read3a;
155     }
156 
157    /***
158     * @see org.andromda.metafacades.uml.ManageableEntity#isCreate()
159     */
160     protected abstract boolean handleIsCreate();
161 
162     private void handleIsCreate4aPreCondition()
163     {
164     }
165 
166     private void handleIsCreate4aPostCondition()
167     {
168     }
169 
170     private boolean __create4a;
171     private boolean __create4aSet = false;
172 
173     public final boolean isCreate()
174     {
175         boolean create4a = this.__create4a;
176         if (!this.__create4aSet)
177         {
178             handleIsCreate4aPreCondition();
179             create4a = handleIsCreate();
180             handleIsCreate4aPostCondition();
181             this.__create4a = create4a;
182             if (isMetafacadePropertyCachingEnabled())
183             {
184                 this.__create4aSet = true;
185             }
186         }
187         return create4a;
188     }
189 
190    /***
191     * @see org.andromda.metafacades.uml.ManageableEntity#isUpdate()
192     */
193     protected abstract boolean handleIsUpdate();
194 
195     private void handleIsUpdate5aPreCondition()
196     {
197     }
198 
199     private void handleIsUpdate5aPostCondition()
200     {
201     }
202 
203     private boolean __update5a;
204     private boolean __update5aSet = false;
205 
206     public final boolean isUpdate()
207     {
208         boolean update5a = this.__update5a;
209         if (!this.__update5aSet)
210         {
211             handleIsUpdate5aPreCondition();
212             update5a = handleIsUpdate();
213             handleIsUpdate5aPostCondition();
214             this.__update5a = update5a;
215             if (isMetafacadePropertyCachingEnabled())
216             {
217                 this.__update5aSet = true;
218             }
219         }
220         return update5a;
221     }
222 
223    /***
224     * @see org.andromda.metafacades.uml.ManageableEntity#isDelete()
225     */
226     protected abstract boolean handleIsDelete();
227 
228     private void handleIsDelete6aPreCondition()
229     {
230     }
231 
232     private void handleIsDelete6aPostCondition()
233     {
234     }
235 
236     private boolean __delete6a;
237     private boolean __delete6aSet = false;
238 
239     public final boolean isDelete()
240     {
241         boolean delete6a = this.__delete6a;
242         if (!this.__delete6aSet)
243         {
244             handleIsDelete6aPreCondition();
245             delete6a = handleIsDelete();
246             handleIsDelete6aPostCondition();
247             this.__delete6a = delete6a;
248             if (isMetafacadePropertyCachingEnabled())
249             {
250                 this.__delete6aSet = true;
251             }
252         }
253         return delete6a;
254     }
255 
256    /***
257     * @see org.andromda.metafacades.uml.ManageableEntity#getManageablePackagePath()
258     */
259     protected abstract java.lang.String handleGetManageablePackagePath();
260 
261     private void handleGetManageablePackagePath7aPreCondition()
262     {
263     }
264 
265     private void handleGetManageablePackagePath7aPostCondition()
266     {
267     }
268 
269     private java.lang.String __manageablePackagePath7a;
270     private boolean __manageablePackagePath7aSet = false;
271 
272     public final java.lang.String getManageablePackagePath()
273     {
274         java.lang.String manageablePackagePath7a = this.__manageablePackagePath7a;
275         if (!this.__manageablePackagePath7aSet)
276         {
277             handleGetManageablePackagePath7aPreCondition();
278             manageablePackagePath7a = handleGetManageablePackagePath();
279             handleGetManageablePackagePath7aPostCondition();
280             this.__manageablePackagePath7a = manageablePackagePath7a;
281             if (isMetafacadePropertyCachingEnabled())
282             {
283                 this.__manageablePackagePath7aSet = true;
284             }
285         }
286         return manageablePackagePath7a;
287     }
288 
289    /***
290     * @see org.andromda.metafacades.uml.ManageableEntity#getManageableServiceName()
291     */
292     protected abstract java.lang.String handleGetManageableServiceName();
293 
294     private void handleGetManageableServiceName8aPreCondition()
295     {
296     }
297 
298     private void handleGetManageableServiceName8aPostCondition()
299     {
300     }
301 
302     private java.lang.String __manageableServiceName8a;
303     private boolean __manageableServiceName8aSet = false;
304 
305     public final java.lang.String getManageableServiceName()
306     {
307         java.lang.String manageableServiceName8a = this.__manageableServiceName8a;
308         if (!this.__manageableServiceName8aSet)
309         {
310             handleGetManageableServiceName8aPreCondition();
311             manageableServiceName8a = handleGetManageableServiceName();
312             handleGetManageableServiceName8aPostCondition();
313             this.__manageableServiceName8a = manageableServiceName8a;
314             if (isMetafacadePropertyCachingEnabled())
315             {
316                 this.__manageableServiceName8aSet = true;
317             }
318         }
319         return manageableServiceName8a;
320     }
321 
322    /***
323     * @see org.andromda.metafacades.uml.ManageableEntity#getFullyQualifiedManageableServiceName()
324     */
325     protected abstract java.lang.String handleGetFullyQualifiedManageableServiceName();
326 
327     private void handleGetFullyQualifiedManageableServiceName9aPreCondition()
328     {
329     }
330 
331     private void handleGetFullyQualifiedManageableServiceName9aPostCondition()
332     {
333     }
334 
335     private java.lang.String __fullyQualifiedManageableServiceName9a;
336     private boolean __fullyQualifiedManageableServiceName9aSet = false;
337 
338     public final java.lang.String getFullyQualifiedManageableServiceName()
339     {
340         java.lang.String fullyQualifiedManageableServiceName9a = this.__fullyQualifiedManageableServiceName9a;
341         if (!this.__fullyQualifiedManageableServiceName9aSet)
342         {
343             handleGetFullyQualifiedManageableServiceName9aPreCondition();
344             fullyQualifiedManageableServiceName9a = handleGetFullyQualifiedManageableServiceName();
345             handleGetFullyQualifiedManageableServiceName9aPostCondition();
346             this.__fullyQualifiedManageableServiceName9a = fullyQualifiedManageableServiceName9a;
347             if (isMetafacadePropertyCachingEnabled())
348             {
349                 this.__fullyQualifiedManageableServiceName9aSet = true;
350             }
351         }
352         return fullyQualifiedManageableServiceName9a;
353     }
354 
355    /***
356     * @see org.andromda.metafacades.uml.ManageableEntity#getManageableServiceFullPath()
357     */
358     protected abstract java.lang.String handleGetManageableServiceFullPath();
359 
360     private void handleGetManageableServiceFullPath10aPreCondition()
361     {
362     }
363 
364     private void handleGetManageableServiceFullPath10aPostCondition()
365     {
366     }
367 
368     private java.lang.String __manageableServiceFullPath10a;
369     private boolean __manageableServiceFullPath10aSet = false;
370 
371     public final java.lang.String getManageableServiceFullPath()
372     {
373         java.lang.String manageableServiceFullPath10a = this.__manageableServiceFullPath10a;
374         if (!this.__manageableServiceFullPath10aSet)
375         {
376             handleGetManageableServiceFullPath10aPreCondition();
377             manageableServiceFullPath10a = handleGetManageableServiceFullPath();
378             handleGetManageableServiceFullPath10aPostCondition();
379             this.__manageableServiceFullPath10a = manageableServiceFullPath10a;
380             if (isMetafacadePropertyCachingEnabled())
381             {
382                 this.__manageableServiceFullPath10aSet = true;
383             }
384         }
385         return manageableServiceFullPath10a;
386     }
387 
388    /***
389     * @see org.andromda.metafacades.uml.ManageableEntity#getManageableMembers()
390     */
391     protected abstract java.util.List handleGetManageableMembers();
392 
393     private void handleGetManageableMembers11aPreCondition()
394     {
395     }
396 
397     private void handleGetManageableMembers11aPostCondition()
398     {
399     }
400 
401     private java.util.List __manageableMembers11a;
402     private boolean __manageableMembers11aSet = false;
403 
404     public final java.util.List getManageableMembers()
405     {
406         java.util.List manageableMembers11a = this.__manageableMembers11a;
407         if (!this.__manageableMembers11aSet)
408         {
409             handleGetManageableMembers11aPreCondition();
410             manageableMembers11a = handleGetManageableMembers();
411             handleGetManageableMembers11aPostCondition();
412             this.__manageableMembers11a = manageableMembers11a;
413             if (isMetafacadePropertyCachingEnabled())
414             {
415                 this.__manageableMembers11aSet = true;
416             }
417         }
418         return manageableMembers11a;
419     }
420 
421    /***
422     * @see org.andromda.metafacades.uml.ManageableEntity#isManageable()
423     */
424     protected abstract boolean handleIsManageable();
425 
426     private void handleIsManageable12aPreCondition()
427     {
428     }
429 
430     private void handleIsManageable12aPostCondition()
431     {
432     }
433 
434     private boolean __manageable12a;
435     private boolean __manageable12aSet = false;
436 
437     public final boolean isManageable()
438     {
439         boolean manageable12a = this.__manageable12a;
440         if (!this.__manageable12aSet)
441         {
442             handleIsManageable12aPreCondition();
443             manageable12a = handleIsManageable();
444             handleIsManageable12aPostCondition();
445             this.__manageable12a = manageable12a;
446             if (isMetafacadePropertyCachingEnabled())
447             {
448                 this.__manageable12aSet = true;
449             }
450         }
451         return manageable12a;
452     }
453 
454    /***
455     * @see org.andromda.metafacades.uml.ManageableEntity#getMaximumListSize()
456     */
457     protected abstract int handleGetMaximumListSize();
458 
459     private void handleGetMaximumListSize13aPreCondition()
460     {
461     }
462 
463     private void handleGetMaximumListSize13aPostCondition()
464     {
465     }
466 
467     private int __maximumListSize13a;
468     private boolean __maximumListSize13aSet = false;
469 
470     public final int getMaximumListSize()
471     {
472         int maximumListSize13a = this.__maximumListSize13a;
473         if (!this.__maximumListSize13aSet)
474         {
475             handleGetMaximumListSize13aPreCondition();
476             maximumListSize13a = handleGetMaximumListSize();
477             handleGetMaximumListSize13aPostCondition();
478             this.__maximumListSize13a = maximumListSize13a;
479             if (isMetafacadePropertyCachingEnabled())
480             {
481                 this.__maximumListSize13aSet = true;
482             }
483         }
484         return maximumListSize13a;
485     }
486 
487    /***
488     * @see org.andromda.metafacades.uml.ManageableEntity#getPageSize()
489     */
490     protected abstract int handleGetPageSize();
491 
492     private void handleGetPageSize14aPreCondition()
493     {
494     }
495 
496     private void handleGetPageSize14aPostCondition()
497     {
498     }
499 
500     private int __pageSize14a;
501     private boolean __pageSize14aSet = false;
502 
503     public final int getPageSize()
504     {
505         int pageSize14a = this.__pageSize14a;
506         if (!this.__pageSize14aSet)
507         {
508             handleGetPageSize14aPreCondition();
509             pageSize14a = handleGetPageSize();
510             handleGetPageSize14aPostCondition();
511             this.__pageSize14a = pageSize14a;
512             if (isMetafacadePropertyCachingEnabled())
513             {
514                 this.__pageSize14aSet = true;
515             }
516         }
517         return pageSize14a;
518     }
519 
520    /***
521     * @see org.andromda.metafacades.uml.ManageableEntity#isResolveable()
522     */
523     protected abstract boolean handleIsResolveable();
524 
525     private void handleIsResolveable15aPreCondition()
526     {
527     }
528 
529     private void handleIsResolveable15aPostCondition()
530     {
531     }
532 
533     private boolean __resolveable15a;
534     private boolean __resolveable15aSet = false;
535 
536     public final boolean isResolveable()
537     {
538         boolean resolveable15a = this.__resolveable15a;
539         if (!this.__resolveable15aSet)
540         {
541             handleIsResolveable15aPreCondition();
542             resolveable15a = handleIsResolveable();
543             handleIsResolveable15aPostCondition();
544             this.__resolveable15a = resolveable15a;
545             if (isMetafacadePropertyCachingEnabled())
546             {
547                 this.__resolveable15aSet = true;
548             }
549         }
550         return resolveable15a;
551     }
552 
553     // ---------------- business methods ----------------------
554 
555     protected abstract java.lang.String handleListManageableMembers(boolean withTypes);
556 
557     private void handleListManageableMembers1oPreCondition()
558     {
559     }
560 
561     private void handleListManageableMembers1oPostCondition()
562     {
563     }
564 
565     public java.lang.String listManageableMembers(boolean withTypes)
566     {
567         handleListManageableMembers1oPreCondition();
568         java.lang.String returnValue = handleListManageableMembers(withTypes);
569         handleListManageableMembers1oPostCondition();
570         return returnValue;
571     }
572 
573     // ------------- associations ------------------
574 
575     private void handleGetManageableAssociationEnds1rPreCondition()
576     {
577     }
578 
579     private void handleGetManageableAssociationEnds1rPostCondition()
580     {
581     }
582 
583     private java.util.List __getManageableAssociationEnds1r;
584     private boolean __getManageableAssociationEnds1rSet = false;
585 
586     public final java.util.List getManageableAssociationEnds()
587     {
588         java.util.List getManageableAssociationEnds1r = this.__getManageableAssociationEnds1r;
589         if (!this.__getManageableAssociationEnds1rSet)
590         {
591             handleGetManageableAssociationEnds1rPreCondition();
592             Object result = this.shieldedElements(handleGetManageableAssociationEnds());
593             try
594             {
595                 getManageableAssociationEnds1r = (java.util.List)result;
596             }
597             catch (ClassCastException ex)
598             {
599                 // ignore since the metafacade shouldn't
600                 // be set if its not of the correct type
601             }
602             handleGetManageableAssociationEnds1rPostCondition();
603             this.__getManageableAssociationEnds1r = getManageableAssociationEnds1r;
604             if (isMetafacadePropertyCachingEnabled())
605             {
606                 this.__getManageableAssociationEnds1rSet = true;
607             }
608         }
609         return getManageableAssociationEnds1r;
610     }
611 
612     protected abstract java.util.List handleGetManageableAssociationEnds();
613 
614     private void handleGetReferencingManageables2rPreCondition()
615     {
616     }
617 
618     private void handleGetReferencingManageables2rPostCondition()
619     {
620     }
621 
622     public final java.util.List getReferencingManageables()
623     {
624         java.util.List getReferencingManageables2r = null;
625         handleGetReferencingManageables2rPreCondition();
626         Object result = this.shieldedElements(handleGetReferencingManageables());
627         try
628         {
629             getReferencingManageables2r = (java.util.List)result;
630         }
631         catch (ClassCastException ex)
632         {
633             // ignore since the metafacade shouldn't
634             // be set if its not of the correct type
635         }
636         handleGetReferencingManageables2rPostCondition();
637         return getReferencingManageables2r;
638     }
639 
640     protected abstract java.util.List handleGetReferencingManageables();
641 
642     private void handleGetDisplayAttribute4rPreCondition()
643     {
644     }
645 
646     private void handleGetDisplayAttribute4rPostCondition()
647     {
648     }
649 
650     private org.andromda.metafacades.uml.ManageableEntityAttribute __getDisplayAttribute4r;
651     private boolean __getDisplayAttribute4rSet = false;
652 
653     public final org.andromda.metafacades.uml.ManageableEntityAttribute getDisplayAttribute()
654     {
655         org.andromda.metafacades.uml.ManageableEntityAttribute getDisplayAttribute4r = this.__getDisplayAttribute4r;
656         if (!this.__getDisplayAttribute4rSet)
657         {
658             handleGetDisplayAttribute4rPreCondition();
659             Object result = this.shieldedElement(handleGetDisplayAttribute());
660             try
661             {
662                 getDisplayAttribute4r = (org.andromda.metafacades.uml.ManageableEntityAttribute)result;
663             }
664             catch (ClassCastException ex)
665             {
666                 // ignore since the metafacade shouldn't
667                 // be set if its not of the correct type
668             }
669             handleGetDisplayAttribute4rPostCondition();
670             this.__getDisplayAttribute4r = getDisplayAttribute4r;
671             if (isMetafacadePropertyCachingEnabled())
672             {
673                 this.__getDisplayAttribute4rSet = true;
674             }
675         }
676         return getDisplayAttribute4r;
677     }
678 
679     protected abstract java.lang.Object handleGetDisplayAttribute();
680 
681     private void handleGetUsers5rPreCondition()
682     {
683     }
684 
685     private void handleGetUsers5rPostCondition()
686     {
687     }
688 
689     private java.util.List __getUsers5r;
690     private boolean __getUsers5rSet = false;
691 
692     public final java.util.List getUsers()
693     {
694         java.util.List getUsers5r = this.__getUsers5r;
695         if (!this.__getUsers5rSet)
696         {
697             handleGetUsers5rPreCondition();
698             Object result = this.shieldedElements(handleGetUsers());
699             try
700             {
701                 getUsers5r = (java.util.List)result;
702             }
703             catch (ClassCastException ex)
704             {
705                 // ignore since the metafacade shouldn't
706                 // be set if its not of the correct type
707             }
708             handleGetUsers5rPostCondition();
709             this.__getUsers5r = getUsers5r;
710             if (isMetafacadePropertyCachingEnabled())
711             {
712                 this.__getUsers5rSet = true;
713             }
714         }
715         return getUsers5r;
716     }
717 
718     protected abstract java.util.List handleGetUsers();
719 
720     private void handleGetAllManageables6rPreCondition()
721     {
722     }
723 
724     private void handleGetAllManageables6rPostCondition()
725     {
726     }
727 
728     private java.util.List __getAllManageables6r;
729     private boolean __getAllManageables6rSet = false;
730 
731     public final java.util.List getAllManageables()
732     {
733         java.util.List getAllManageables6r = this.__getAllManageables6r;
734         if (!this.__getAllManageables6rSet)
735         {
736             handleGetAllManageables6rPreCondition();
737             Object result = this.shieldedElements(handleGetAllManageables());
738             try
739             {
740                 getAllManageables6r = (java.util.List)result;
741             }
742             catch (ClassCastException ex)
743             {
744                 // ignore since the metafacade shouldn't
745                 // be set if its not of the correct type
746             }
747             handleGetAllManageables6rPostCondition();
748             this.__getAllManageables6r = getAllManageables6r;
749             if (isMetafacadePropertyCachingEnabled())
750             {
751                 this.__getAllManageables6rSet = true;
752             }
753         }
754         return getAllManageables6r;
755     }
756 
757     protected abstract java.util.List handleGetAllManageables();
758 
759     private void handleGetManageableAttributes8rPreCondition()
760     {
761     }
762 
763     private void handleGetManageableAttributes8rPostCondition()
764     {
765     }
766 
767     private java.util.List __getManageableAttributes8r;
768     private boolean __getManageableAttributes8rSet = false;
769 
770     public final java.util.List getManageableAttributes()
771     {
772         java.util.List getManageableAttributes8r = this.__getManageableAttributes8r;
773         if (!this.__getManageableAttributes8rSet)
774         {
775             handleGetManageableAttributes8rPreCondition();
776             Object result = this.shieldedElements(handleGetManageableAttributes());
777             try
778             {
779                 getManageableAttributes8r = (java.util.List)result;
780             }
781             catch (ClassCastException ex)
782             {
783                 // ignore since the metafacade shouldn't
784                 // be set if its not of the correct type
785             }
786             handleGetManageableAttributes8rPostCondition();
787             this.__getManageableAttributes8r = getManageableAttributes8r;
788             if (isMetafacadePropertyCachingEnabled())
789             {
790                 this.__getManageableAttributes8rSet = true;
791             }
792         }
793         return getManageableAttributes8r;
794     }
795 
796     protected abstract java.util.List handleGetManageableAttributes();
797 
798     private void handleGetManageableIdentifier9rPreCondition()
799     {
800     }
801 
802     private void handleGetManageableIdentifier9rPostCondition()
803     {
804     }
805 
806     private org.andromda.metafacades.uml.ManageableEntityAttribute __getManageableIdentifier9r;
807     private boolean __getManageableIdentifier9rSet = false;
808 
809     public final org.andromda.metafacades.uml.ManageableEntityAttribute getManageableIdentifier()
810     {
811         org.andromda.metafacades.uml.ManageableEntityAttribute getManageableIdentifier9r = this.__getManageableIdentifier9r;
812         if (!this.__getManageableIdentifier9rSet)
813         {
814             handleGetManageableIdentifier9rPreCondition();
815             Object result = this.shieldedElement(handleGetManageableIdentifier());
816             try
817             {
818                 getManageableIdentifier9r = (org.andromda.metafacades.uml.ManageableEntityAttribute)result;
819             }
820             catch (ClassCastException ex)
821             {
822                 // ignore since the metafacade shouldn't
823                 // be set if its not of the correct type
824             }
825             handleGetManageableIdentifier9rPostCondition();
826             this.__getManageableIdentifier9r = getManageableIdentifier9r;
827             if (isMetafacadePropertyCachingEnabled())
828             {
829                 this.__getManageableIdentifier9rSet = true;
830             }
831         }
832         return getManageableIdentifier9r;
833     }
834 
835     protected abstract java.lang.Object handleGetManageableIdentifier();
836 
837     /***
838      * @see org.andromda.core.metafacade.MetafacadeBase#validateInvariants(java.util.Collection)
839      */
840     public void validateInvariants(java.util.Collection validationMessages)
841     {
842         super.validateInvariants(validationMessages);
843     }
844     
845     /***
846      * The property that stores the name of the metafacade.
847      */
848     private static final String NAME_PROPERTY = "name";
849     
850     /***
851      * @see java.lang.Object#toString()
852      */
853     public String toString()
854     {
855         final StringBuffer toString = new StringBuffer(this.getClass().getName());
856         toString.append("[");
857         try
858         {
859             toString.append(org.andromda.core.common.Introspector.instance().getProperty(this, NAME_PROPERTY));
860         }
861         catch (final Throwable throwable)
862         {
863             // - just ignore when the metafacade doesn't have a name property
864         }
865         toString.append("]");
866         return toString.toString();
867     }
868 }