Re: Can the composite relationship exists between the same class?



Date view Thread view Subject view Author view Attachment view

From: Weilei Zhang (weileiz@paul.rutgers.edu)
Date: Mon 26 Jul 2004 - 01:53:07 BST


I just found in UML 2.0 that "composition is recursive", so the answer 
to my question is "yes".
Sorry for the spam.
Regards
-Weilei

> I have a quick question:
>
> Can the composite relationship exists between the same class in UML?
>
> This case exists in the real life. For example, in Prolog, a List is 
> made up of the head and the tail, which is also a List. But I am not 
> quite sure whether it is permitted in the latest OFFICIAL UML 
> semantics. If yes or no, would you please tell me the quote from the 
> official document if possible?
> Thanks a lot!
> Regards
> -Weilei
>
>
>
>
> To remove yourself from this list please mail 
> puml-list-request@cs.york.ac.uk
> with a message containing the word "unsubscribe".
>

Date view Thread view Subject view Author view Attachment view