Book a Demo

Author Topic: call operation and call behavior actions  (Read 8690 times)

zyx

  • EA User
  • **
  • Posts: 95
  • Karma: +1/-1
    • View Profile
call operation and call behavior actions
« on: February 03, 2011, 11:12:59 am »
Hello,

   What is the difference between call operation and call behavior actions? Someone can give me some examples?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: call operation and call behavior actions
« Reply #1 on: February 03, 2011, 08:09:41 pm »
CallOperation action calls an operation, where a CallBehavior action will call a Behavior.
Operation is a Behavioral feature, not a Behavior.
From UML 2.3:
Quote
CallBehaviorAction is a call action that invokes a behavior directly rather than invoking a behavioral feature that, in turn,
results in the invocation of that behavior. The argument values of the action are available to the execution of the invoked
behavior. For synchronous calls the execution of the call behavior action waits until the execution of the invoked behavior
completes and a result is returned on its output pin. The action completes immediately without a result, if the call is
asynchronous.

Geert

zyx

  • EA User
  • **
  • Posts: 95
  • Karma: +1/-1
    • View Profile
Re: call operation and call behavior actions
« Reply #2 on: February 05, 2011, 10:23:52 am »
Can be a call behavior action the call of an activity and a call operation the call of a method?