Hi Chad,
but that's exacetly what I did: <template path="templates/entity/repeatedly/PackageDAOFactory.vsl" outputPattern="$generatedFile" outlet="backend-java-repeatedly" overwrite="true" required="false" outputOnEmptyElements="false"> <modelElements variable="package"> <modelElement> <type name="de.mycomp.metafacades.PackageFacade"> <property name="createDAOFactory"/> </type> </modelElement> </modelElements> </template> where the implementation of createDAOFactory looks like this: protected boolean handleIsCreateDAOFactory() { return !getEntities().isEmpty(); } protected Collection handleGetEntities() { Collection entities = getClasses(); CollectionUtils.filter(entities, new Predicate() { public boolean evaluate(Object object) { return object instanceof MyEntity; } }); return entities; } and the andromda-metafacades.xml like this: <metafacade class="de.mycomp.metafacades.PackageFacadeLogicImpl"> <mapping class="org.omg.uml.modelmanagement.UmlPackage$Impl"/> </metafacade> However, the PackageFacade for a.b.c is not filtered out by AndroMDA (because the parent package a.b isn't filter out) and therefore the method "createDAOFactory" returns true and my DAOFactory is created :-( _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1651#1651 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user