Re: self referencing UML
- From: "H. S. Lahman" <h.lahman@xxxxxxxxxxx>
- Date: Thu, 05 Apr 2007 15:04:32 GMT
Responding to Nsajus...
Is there way to draw a self referencing object in UML?
For eg: - I have an automated answering system. There are parent
messages and Child messages for each message.
How can I represent this in UML?
It depends one where you are. In a class model relationships define static structure and not participants so a reflexive relationship (i.e., connecting the entity to itself) is not sufficient for what you want. In an Object Diagram, though, one identifies specific objects so a reflexive relationship does express what you want. In an Interaction Diagram one can identify specific objects in swimlanes and a reflexive message is legal.
*************
There is nothing wrong with me that could
not be cured by a capful of Drano.
H. S. Lahman
hsl@xxxxxxxxxxxxxxxxx
Pathfinder Solutions
http://www.pathfindermda.com
blog: http://pathfinderpeople.blogs.com/hslahman
"Model-Based Translation: The Next Step in Agile Development". Email
info@xxxxxxxxxxxxxxxxx for your copy.
Pathfinder is hiring: http://www.pathfindermda.com/about_us/careers_pos3.php.
(888)OOA-PATH
.
- Follow-Ups:
- Re: self referencing UML
- From: nsajus
- Re: self referencing UML
- References:
- self referencing UML
- From: nsajus
- self referencing UML
- Prev by Date: instanceof
- Next by Date: Re: Mixing P/R philosophy with OO (within J2EE).
- Previous by thread: self referencing UML
- Next by thread: Re: self referencing UML
- Index(es):