Say I have a DisplayNode use-case. This use-case can display any node of the 
tree, so it has a <<FrontEndView>> state called ShowNode. On its activity 
diagram, I want to model that the user can go to, let's say, the parent node. 
So I have to have an event, with the id of the parent node, coming out of the 
ShowNode state, and going into a final state, which calls the use-case to 
display the parent. 



A bit of ASCII art to show this:





&nbsp; &#91;DisplayNode use-case&#93;



&nbsp; &nbsp; &nbsp;+-----------+&nbsp; &nbsp; &nbsp; 
&nbsp;+------------------+ go to parent&#40;parentId&#58; int&#41; _

&nbsp;O-->| load node |------>| <<FrontEndView>> |--------------------------->/O

&nbsp; &nbsp; &nbsp;+-----------+&nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; show 
node&nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _/

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
&nbsp; &nbsp;+------------------+









But what do I name the final node? I thought it should be called DisplayNode 
(the same use-case we are in currently), because that is the one which can 
display any node, and the parent is a node again. But AndroMDA does not accept 
this.



Now if I name the final node with any other use-case's name, it works.



Is my problem any clearer this way?



Roland
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2920#2920
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to