> when I use Poseidon for modelling (instead of MagicDraw) the
documentation
> cannot be
> retrieved via the ModelElementFacade.getDocumentation(...) methods,
> because
> Poseidon stores the documentation as a tagged value with the key
> 'documentation'.
>
> Now I'd like to override the getDocumentation(...) methods by
extending
> the
> ModelElementFacadeLogicImpl class. Is there any way to declare in a
> cartridge that it
> should use my subclass instead of the ModelElementFacadeLogicImpl
class?
> Or should
> the ModelElementFacadeLogicImpl class be extended so that it also
searches
> for a
> tagged value with name 'documentation' if metaObject.getComment()
returns
> no result?
>
isn't it doing that already ?
here's the snippet: ModelElementFacadeLogicImpl, line 276
-----------------------------------------------------------
// if there still isn't anything, try a tagged value
if (StringUtils.isEmpty(commentString))
{
commentString = StringUtils.trimToEmpty((String)this
.findTaggedValue(UMLProfile.TAGGEDVALUE_DOCUMENTATION));
}
-----------------------------------------------------------
and it would still not be working ? weird, Chad, any ideas ?
-- Wouter
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user