Book a Demo

Author Topic: action pin transformation composit case  (Read 3649 times)

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
action pin transformation composit case
« on: May 13, 2008, 10:36:13 am »
In an activity diagram we may have two actions, one with an action pin for object output that is connected to the other's action pin for object input.  If the two pins do not refer to the same object (common in cases of decomposition) we can indicate this through a transformation.  The decomposition case is shown, for example, in fig. 12 here: http://www.jot.fm/issues/issue_2004_01/column3/.

OK, so how do we indicate the opposite case (composition)?

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: action pin transformation composit case
« Reply #1 on: May 15, 2008, 02:51:13 am »
OK, here is a pictorial representation of what I am trying to do: .

The decomposition transformation is well-documented in various places, but I haven't found a good source to describe the composition case.  (I would think this case would be pretty ubiquitous!)  The solution I have here may in fact be correct, but I haven't found any reliable documentation to support this.

Paul

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: action pin transformation composit case
« Reply #2 on: May 15, 2008, 03:21:07 am »
Just curious... Why not a composite structure or collaboration diagram, or perhaps both?
No, you can't have it!

Paul Lotz

  • EA User
  • **
  • Posts: 248
  • Karma: +1/-0
    • View Profile
Re: action pin transformation composit case
« Reply #3 on: May 15, 2008, 03:33:23 am »
Quote
Just curious... Why not a composite structure or collaboration diagram, or perhaps both?

Hmm... well, I will take a look at these.  The plan to date has been to focus on the behavioral aspects of the model using use cases-->activity diagrams-->interaction diagrams, a workflow that seems to fit my current objectives well (derive the interface definitions based on the required system user features).  Activity diagrams are designed to handle object flow, according to the examples--there are just these couple issues that seem to impede the modeling process....