[Uml-user] aggregation / composition

Mike bush0014 at algonquincollege.com
Mon Sep 16 15:43:06 UTC 2002


This example is slightly old (uml 1.1) , but it does prove the point.

http://www.informatik.fh-luebeck.de/~st/UML/UML1.1/notation5.html#5.26

As in the example, Window is composed of  classes Slider, Header, and Panel.



Jonathan Riddell wrote:

>>Does anyone know why i cannot  compose a class that is composed of
>>two other classes ??
>>
>>I can make Class A a composition of Class B, but when i also try to add Class
>>C to the composition of Class A I get the following :
>>"Incorrect use of associations".
>>    
>>
>
>I'll ask my university's UML keen-beans, and you may well be right, but
>off the top of my head it would seem incorrect to have a class composed
>of two separate classes.  A composition seems like a total relationship,
>nothing else would be included.
>
>Does anyone know for sure?
>
>Jonathan Riddell
>
>
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Welcome to geek heaven.
>http://thinkgeek.com/sf
>_______________________________________________
>Uml-user mailing list
>umbrello at kde.org
>https://mail.kde.org/mailman/listinfo/umbrello
>
>
>  
>






More information about the umbrello mailing list