[Uml-devel] Oops. Question on Rolename placement in diagrams.

Luis De la Parra Blum lparrab at gmx.net
Tue Feb 11 12:23:10 UTC 2003


On Tuesday 11 February 2003 18:44, Brian Thomas wrote:
>        ----------------
>
>        | CLASS A |
>
>       ------------------
>          role A
>
>
>
>            role B
>        --------------
>
>        | CLASS B|
>
>        -----------------
>
>
> 	Where "roleA" is the role that ClassA plays within CLASS B and viceversa.

yes. you are right.
an example of a UML book.

|---------------| 1                                    1..* |-------------| 
| company |---------------------------------------------| worker  |
|---------------|employer                employee  |-------------|

so, the role next to a class is the role *that* class plays in the 
association.
the multiplicity next to a class means, with how many objects of that class, 
an object of the class at the other end can be related.

saludos

luis




More information about the umbrello-devel mailing list