Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » MDT (Model Development Tools) » Assign Interaction's parameter used as message argument?
Assign Interaction's parameter used as message argument? [message #569138] Sat, 23 December 2006 21:48
Leila Naslavsky is currently offline Leila Naslavsky
Messages: 13
Registered: July 2009
Junior Member
Hi All,
One quick question....
I'm creating an interaction, which has a paremeter, say : x, which is an
integer.
I want one of the messages in the interaction to receive this parameter as
an argument.

In fact, in the UML super structure spec, they say:

Arguments of a Message must only be:
i) attributes of the sending lifeline.
ii) constants.
iii) symbolic values (which are wildcard values representing any legal
value).
iv)>>>>>> explicit parameters of the enclosing Interaction. <<<<<<<<
v) attributes of the class owning the Interaction.

However, the type of 'argument' (in the Message element) is
'ValueSpecification', so I can't directly reference the parameter of the
enclosing interaction... Am I right? Is there a way to do this?


Thanks!
Previous Topic:UML2 newsgroups
Next Topic:Assign Interaction's parameter used as message argument?
Goto Forum:
  


Current Time: Fri Aug 29 22:26:00 EDT 2014

Powered by FUDForum. Page generated in 0.01556 seconds