Hallo all,
these days I had a look to the MetaFacades of the BPM4Struts-Cartridge and I was a little confused:
There are a lot of Attributes at the MetaFacade-Classes, which are generated into getter- and handleGet-Methods respectively. This concept I do not understand. Why don't you modell "get<Name>"-Methods?
My next point is the inheritance in the MetaFacades.
If i got two MetaFacades +------------+ +------------+ | A | | B | +------------+<-----------+------------+ | doA():void | | doB():void | +------------+ +------------+
my generated source code will look this way: ------- Code B.java ----------------------------------- public class B { private A a; (...) public void doA() { a.doA(); } } -------------------------------------------------------
But why is it implemented this way? If I have this I cannot use all the fine stuff of inheritance:
- overriding of methods
- inheritance of more than one level (a new Metafacade C inherits from B cannot use doA())
My last point:
Why are the methods generated with the prefix "handle"? Thats not what I modeled...
MArtin
------------------------------------------------------- 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 Andromda-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-devel