modeling python with UML
Peter Otten
__peter__ at web.de
Mon Feb 23 05:58:10 EST 2004
Uwe Mayer wrote:
> I was trying to model some classes, modules and packages of mine with UML
> and got the following problem:
>
> Packages would be moduled as UML packages i presume.
>
> If your module contains only functions you can model them as static class
> methods, either by writing a dummy class that takes them up or by
> representing the file as a class.
>
> However, if you module contains several classes - what do you do then?
Just mark the class containing the global functions and variables with the
<<utility>> stereotype? A naming convention could be helpful, too.
Peter
More information about the Python-list
mailing list