Hi,


lets assume I have the following packages and classes:



Package:  a.b.c

Classes in a.b.c: C1 and C2



Package: a.b

Classes in a.b: B1 and B2



Now I want to disable the creation of Classes C1 and C2 but I want to create 
the classes B1 and B2. So I add the package a.b.c to my modelPackage filter and 
C1 and C2 won't be generated. However, the DAOFactory for C1 and C2 will be 
generated, because the parent package a.b is not filtered (and it can't be 
filtered, because I want to generate the classes B1 and B2).



In my PackageFacade I have a method createDAOFactory (see previous posting) the 
determines, if I have to generate the DAOFactory at all (this method checks, if 
there exists any classes in the package). If I was able to access the filtered 
packages I could use that information in this method.
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1646#1646
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

Reply via email to