|Re: Can I use 'self' in sequence diagram? [message #1022146 is a reply to message #1022126]
||Thu, 21 March 2013 10:52
| Joost Kraaijeveld
Registered: July 2009
On 21-03-13 11:12, Andrea Sindico wrote:|
> Yes you can
> see http://www.eclipse.org/forums/index.php/t/447570/
> According to the UML spec
> If the name is the keyword self, then the Lifeline represents the object
> of the classifier that encloses the Interaction that owns the Lifeline.
> Ports of the encloser may be shown separately even when self is included.
> Also See the notation rules for lifelines in UML 2.5 beta 1:
> <lifelineident> ::= ([<connectable-element-name>['[' <selector> ']']] [:
> <class_name>] [decomposition]) | 'self'
> <selector> ::= <expression>
> <decomposition> ::= 'ref' <interactionident> ['strict']
OK, thanks. Sadly I do not quit understand it. You mentioned "I created
two Role Bindings in CollaborationUse with dependencies." in one of your
responses. How did you do that? By going to the model and choosing "new
child->new CollaborationUse" with the righ mouse button on the
appropriate class or by drawing some diagram?
tel: 024-3888063 / 06-51855277
Powered by FUDForum
. Page generated in 0.05386 seconds