|modeling object creation action [message #623665]
||Sat, 14 July 2007 05:51
| Krzysztof Kaczmarski
Registered: July 2009
I am sorry for a little bit off-topic question but this is a place where
there are many UML experts and maybe someone could at least point me to
a place where I could look for an answer.
I need to model object creation and initiation using UML actions. Say,
we have a class Person(name:String, address:String). The most obvious
solution is to use CreateObjectAction and then twice
AddStructuralFeatureValueAction for the name and the address. How could
I pass the newly created object to the two initiating actions?
According to the specification ForkNode will copy the object, which is
wrong and using two competing ObjectFlows will send the resulting object
to one of the AddStructuralFeatureValueAction objects only.
Thanks for any ideas,
Powered by FUDForum
. Page generated in 0.01892 seconds