[Modeling] Modeling an Agent Class- register your opinion
Joaquin Peņa
joaquinp@us.es
Sat, 28 Jun 1997 22:14:31 +0200
Hello Stephen:
> Also, I think of UML's part-whole relationships as static
> modelling constructs. UML doesn't have anything to say about
> the dynamic aspects of these relationships, except to say
> that a composite has "responsibility for the existence and
> storage of the composed objects".
I agree with you Stephen, but I think that UML collaborations could
be used to modell such dynamic associations.
> I think this is the right
> way to go. Your idea of congregation seems to be an attempt
> to provide a whole-part relationship that has dynamic as well
> as static semantics. In my opinion, it would be better to
> keep these aspects of modelling orthogonal and provide
> appropriate constraints that can be added to aggregations or
> compositions to assert relationships between the lifetimes of
> the composite and the parts.