[Uml-user] Methods Without Homes

Jean Vittor jean.vittor at wanadoo.fr
Tue Nov 19 05:18:05 UTC 2002


Jens Krüger wrote:

>I think, it is not a good idea to put methods without classes in a class 
>diagram. From my point of view it would be better to use other mechanisms of 
>the UML to display the functionality of the methods. It may be that you can 
>show the functionality of these methods inside a sequence, state, activity or 
>collaboration diagram.
>
It can be useful.

>UML was not designed for writing and storing some code 
>inside.
>
Are you sure ? UML provides annotation mechanisms that allow to store 
some code.

>It is more a language for describing aspects of the software, which 
>uses an object oriented design (A lot of tools handling the uml, support the 
>import of code to simplify the development process, but this does not belong 
>to the UML).
>
Yes it does. It does not belong to UML semantics but it can be stored in 
a strictly UML-compliant tool.

Regards,

Jean






More information about the umbrello mailing list