[Tutor] The python implementation of the "class relationship".
jerry.scofield at gmail.com
Thu Nov 10 10:23:28 CET 2011
As you know, there are several kinds of relationships between classes in
the UML -- dependency, association, aggregation, composition.
Q1. Is there any article or code example on its implementation in python?
Q2. More specific, in composition model, the container object may be
responsible for the handling of embedded objects' lifecycle. The common way
would be adding __del__ to the container class or something else?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tutor