Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: SF_lt on August 26, 2005, 05:32:35 am

Title: Default multiplicity
Post by: SF_lt on August 26, 2005, 05:32:35 am
What default multiplicity is in the UML2?
I though, that it's 1, but today in UML2 infrastructure (8.2.2 section) found this statement:

When directed associations are specified in lieu of attributes, the multiplicity on the undirected end is assumed to be ‘*’
(default in UML) and the role name should not be used.
Title: Re: Default multiplicity
Post by: Paolo F Cantoni on August 26, 2005, 05:58:55 am
Quote
What default multiplicity is in the UML2?
I though, that it's 1, but today in UML2 infrastructure (8.2.2 section) found this statement:

When directed associations are specified in lieu of attributes, the multiplicity on the undirected end is assumed to be ‘*’
(default in UML) and the role name should not be used.
SF,

It means what it says.  The association should be drawn from the client class to the supplier class.  The directed end is the navigable end - which is the supplier (or in EA terms, the target end)  The undirected end is therefore the client (or source) end.  The default multiplicity on the client end is "*".

If the association is bidirectional there is NO undirected end and thus the statement doesn't apply.

HTH,
Paolo
Title: Re: Default multiplicity
Post by: sargasso on August 28, 2005, 04:04:13 pm
Also, dont forget "*" means "any" not "lots".
b