modeling python with UML
Alan Gauld
alan.gauld at btinternet.com
Mon Feb 23 17:38:13 EST 2004
On Mon, 23 Feb 2004 11:32:30 +0100, Uwe Mayer <merkosh at hadiko.de>
wrote:
> Packages would be moduled as UML packages i presume.
Could be, or as components since they are physical deployable
entities...
> 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.
Yes, thats one approach, or they could be an inteface to your
component.
> However, if you module contains several classes - what do you do then?
UML packages are logical containers that can contain any other
UML item (classes, usecases, components, other packages...). Thus
a package can contain several classes. What exactly do you
perceive to be the problem?
Alan G.
Author of the Learn to Program website
http://www.freenetpages.co.uk/hp/alan.gauld
More information about the Python-list
mailing list