[Modeling] Modeling an Agent Class- composition
Tue, 8 Jul 1997 14:38:45 +0200
Sorry for the delay.
> > > What do you mean by "static"/"dynamic" associations?
> > > I don't think this is a term defined in UML.
> > >
> > > Obviously, an association's instance set (of links)
> > > can change at run-time (if it's not frozen by some
> constraint). So,
> > > in this sense, any association is dynamic.
I agree Gerd, association are not static by means of
creation/destruction and can change over time. I mean static in
the sense they are used to modell static properties (data relations),
Am I right? We think they don't fit well with modelling dynamic
properties of agents (interaction between agents).
We think that this kind of relations between agents can be
modelled better using UML collaboration instead of class diagrams.
For example, if we modell the departments/employees example using
UML collaborations we can see it as a group of agents
collaborating each other where each agent participate in the
collaboration with a certain role. With this approach, there are
no problems with creation/destruction of departments, since this
is modelled as a change of role.