Home » Modeling » UML2 » Signal-Reception and Method-Attribute
Signal-Reception and Method-Attribute [message #477944] |
Fri, 07 November 2008 09:30 |
Eclipse User |
|
|
|
Originally posted by: florianwendland.freenet.de
Hi,
i've a question concerning Signal and Signal-Reception, defined inside a
Class/Interface. When i create a Reception for my Interface, i've the
possibility to define the Signal, to which this Reception belongs or better,
the type of Signal, this Reception can recept.
But there is an Method-Attribute either, where it is possible to select an
Interaction for example, defined in my model. I've looked into the spec, but
i didn't found this attribute explained, neither in the Reception metaclass
nor in one of its generalizations. So i'm asking myself, for what purpose
shall this Method-Attribute used?
So long and enhoy your weekend.
Regards
Marc-Florian
|
|
|
Re: Signal-Reception and Method-Attribute [message #477946 is a reply to message #477944] |
Fri, 07 November 2008 13:36 |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, Marc-Florian,
The method of a signal Reception serves the same purpose as the method
of an Operation: to describe the internal behaviour of the class that
is nvoked by the receipt of the signal (or the calling of the operation).
This is something that is common to Receptions and Operations, which are
both BehaviouralFeatures, that they specify the signature for invocable
behaviours (called methods). It is mostly in the semantics of
invocation that they differ.
HTH,
Christian
Marc-Florian Wendland wrote:
> Hi,
>
> i've a question concerning Signal and Signal-Reception, defined inside a
> Class/Interface. When i create a Reception for my Interface, i've the
> possibility to define the Signal, to which this Reception belongs or better,
> the type of Signal, this Reception can recept.
>
> But there is an Method-Attribute either, where it is possible to select an
> Interaction for example, defined in my model. I've looked into the spec, but
> i didn't found this attribute explained, neither in the Reception metaclass
> nor in one of its generalizations. So i'm asking myself, for what purpose
> shall this Method-Attribute used?
>
> So long and enhoy your weekend.
> Regards
> Marc-Florian
>
>
|
|
|
Re: Signal-Reception and Method-Attribute [message #627158 is a reply to message #477944] |
Fri, 07 November 2008 13:36 |
Eclipse User |
|
|
|
Originally posted by: cdamus.zeligsoft.com
Hi, Marc-Florian,
The method of a signal Reception serves the same purpose as the method
of an Operation: to describe the internal behaviour of the class that
is nvoked by the receipt of the signal (or the calling of the operation).
This is something that is common to Receptions and Operations, which are
both BehaviouralFeatures, that they specify the signature for invocable
behaviours (called methods). It is mostly in the semantics of
invocation that they differ.
HTH,
Christian
Marc-Florian Wendland wrote:
> Hi,
>
> i've a question concerning Signal and Signal-Reception, defined inside a
> Class/Interface. When i create a Reception for my Interface, i've the
> possibility to define the Signal, to which this Reception belongs or better,
> the type of Signal, this Reception can recept.
>
> But there is an Method-Attribute either, where it is possible to select an
> Interaction for example, defined in my model. I've looked into the spec, but
> i didn't found this attribute explained, neither in the Reception metaclass
> nor in one of its generalizations. So i'm asking myself, for what purpose
> shall this Method-Attribute used?
>
> So long and enhoy your weekend.
> Regards
> Marc-Florian
>
>
|
|
|
Goto Forum:
Current Time: Fri Apr 19 23:52:05 GMT 2024
Powered by FUDForum. Page generated in 0.03549 seconds
|