Hi,
is it possible to model attributes with a stereotype and then generating this
as a class in an extra Java File? (I need this because it depends on the
attribute whether a class should be generated or not)
Can I only set templates for elements "org.omg.uml.foundation.core.UmlClass" or
can I do the following?
The snippet of my (try) metafacade:
<metafacade
class="org.andromda.cartridges.gl.metafacades.CheckFacadeLogicImpl">
<mapping class="org.omg.uml.foundation.core.Attribute$Impl">
<stereotype>Check</stereotype>
</mapping>
</metafacade>
The andromda- cartridge.xml
<template
path="templates/check.vsl"
outputPattern="{0}/{1}Check.java"
outlet="checks"
overwrite="true"
required="false">
<modelElements variable="checkclass">
<modelElement>
<type
name="org.andromda.cartridges.gl.metafacades.CheckFacade"/>
</modelElement>
</modelElements>
</template>
It doesn't work. There is no exception but it generates no files. What do I
have to change? Any idea?
Thanks.
Sandra
__________________________________________________________
Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
weltweit telefonieren! http://freephone.web.de/?mc=021201
-------------------------------------------------------
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-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user