[ http://jira.andromda.org/browse/CORE-19?page=history ]
Chad Brandon updated CORE-19:
-----------------------------
Environment:
Version: 3.0 RC1
Fix Version: 3.0 RC2
> 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
> Versions: 3.0 RC1
> Reporter: Chad Brandon
> Assignee: Chad Brandon
> Fix For: 3.0 RC2
>
> 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