Book a Demo

Author Topic: AD Difference between Call Behavior and composite  (Read 2674 times)

hmppwork

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
AD Difference between Call Behavior and composite
« on: October 28, 2008, 07:24:00 pm »
Hi all

What is the difference between a "Call Behavior" and a "composite" (in an activity diagram) ?

Thank you for your help
HMpp from Germany
« Last Edit: October 28, 2008, 07:24:21 pm by hmppwork »

tinlans

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: AD Difference between Call Behavior and compos
« Reply #1 on: October 29, 2008, 09:32:51 pm »
To create a sub-diagram by using 'Make Composite',
the pitchforks (rakes) will not be shown in the action classifer automatically.
You have to set the 'kind' property to 'CallBehavior' in 'Advanced -> Custom Properties' in order to show the pitchfork.

In many UML tools, the normal way to create a 'call behavior' action is:
  step 1. create an action, and a dialog will be poped up
  step 2. select 'call behavior' option, and then click ok

EA's interface also works like this, but there are some differences with other tools.
If I set a behavior classifer to an action,
the format of action name will be shown as 'ActionName : ClassfierName'.
This format is different to many UML books and other UML tools,
and I cannot find a way to hide the suffix ': ClassiferName'.

The alternative way to only show 'ActionName' is to create a 'call behavior' action and then select its behavior classifier to 'none'.
Although the behavior classifer is set to 'none',
the picthfork is still shown because its 'kind' property is still 'CallBehavior'.
Finally, I create a sub-diagram by 'Make Composite' with the same name.

Exactly, it's not a regular way to create a 'call behavior' action.
But I really cannot find a way to hide the suffix ': ClassfierName' in the name of action.
« Last Edit: October 29, 2008, 09:55:11 pm by tinlans »

hmppwork

  • EA Novice
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Re: AD Difference between Call Behavior and compos
« Reply #2 on: November 01, 2008, 01:11:28 am »
Ok thank you for your help ;)