[ http://jira.andromda.org/browse/CORE-19?page=history ]
     
Work on CORE-19 started by Chad Brandon

> The MetafacadeFactory should take into account inheritance when constructing 
> metafacades
> ----------------------------------------------------------------------------------------
>
>          Key: CORE-19
>          URL: http://jira.andromda.org/browse/CORE-19
>      Project: AndroMDA Core
>         Type: Improvement
>     Reporter: Chad Brandon
>     Assignee: Chad Brandon

>
> Current metafacade mappings are only based on meta object class name, and if 
> one can't be found, then the default metafacade implementation is used (i.e. 
> ModelElementFacade), this causes class cast exceptions for elements that may 
> extend from a mapped meta object but aren't mapped themselves (i.e. not in 
> the andromda-metafacades.xml).  When constructing metafacades, we should 
> check to see if there is a mapping specifically for that meta object class 
> and if not go up the inheritance tree of the meta object to get the parent 
> and check if the parent meta object class is mapped, and if so construct that 
> metafacade, this would avoid errors like class cast exceptions when a super 
> meta object isn't mapped and it doesn't need to be.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to