[Uml-user] constructor / destructor

Jean Vittor jean.vittor at wanadoo.fr
Mon Feb 17 11:12:14 UTC 2003



Jonathan Riddell wrote:

>On Wed, 12 Feb 2003, Leonardo B Lopes wrote:
>
>  
>
>>Simple question: sorry if asked before. I couldn't find it in the log.
>>How does umbrello know which methods are constructors and destructors?
>>    
>>
>
>I don't think it does at any point.  When should it?
>
>The codegenerators will have their own way but probably match the class
>name to the method name.
>
>Jonathan Riddell
>  
>
I think stereotypes <<create>> and <<destroy>> should be used (cf UML), 
probably with an empty method name.

Jean

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/umbrello/attachments/20030217/5c6aa8d6/attachment.html>


More information about the umbrello mailing list