|
Prev: What gives data meaning?
Next: instanceof
From: nsajus on 4 Apr 2007 13:29 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? Thanks, Ann
From: H. S. Lahman on 5 Apr 2007 11:04 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(a)pathfindermda.com Pathfinder Solutions http://www.pathfindermda.com blog: http://pathfinderpeople.blogs.com/hslahman "Model-Based Translation: The Next Step in Agile Development". Email info(a)pathfindermda.com for your copy. Pathfinder is hiring: http://www.pathfindermda.com/about_us/careers_pos3.php. (888)OOA-PATH
From: nsajus on 8 Apr 2007 12:11 Thank you very much Lahman. Your reply was very helpful! Ann
|
Pages: 1 Prev: What gives data meaning? Next: instanceof |