it's not entirely clear to me what you are trying to do .. I mean, can't you 
just construct the method/constructor signatures in the templates ?



it's also not technically correct to say that a stereotype maps to a facade, 
not in your example anyway; what is going on is that you map an element from 
the model to a facade, and the fact is has a stereotype is a condition which is 
checked



take a look at the Spring or Hibernate cartridges for good examples of facades, 
you'll immediately see how it's done



also, it's good to have functionality in the facades, but don't overdo it, 
although it's theoretically more sound, it's very hard to maintain this 
consistently over an entire cartridge in practice since not everything need to 
be configurable



if you would push this to the extreme your templates would only contain 
variables and constructs, but barely any plain text .. and that's not very 
readable is it



anyway, I'm not sure what you're doing with your mappings, there is no 
EntityMetaFacade .. where did you find it ? (we only have a facade called 
Entity)
--
Wouter Zoons - [EMAIL PROTECTED]

http://www.andromda.org/
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2426#2426
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to