Author Topic: Flow Specification Attribute Direction  (Read 1280 times)

mvinca

  • EA User
  • **
  • Posts: 37
  • Karma: +0/-0
    • View Profile
Flow Specification Attribute Direction
« on: June 12, 2010, 01:39:00 am »
How do you set the direction (in/out) of an attribute in a flow specification? I can't seem to figure it out.
« Last Edit: June 12, 2010, 01:39:14 am by mvinca »

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Re: Flow Specification Attribute Direction
« Reply #1 on: June 12, 2010, 05:32:35 am »
Good question...

Absent better information from Sparx or someone else, I would suggest the following possible workarounds:

1. Add a "direction" tagged value to the attribute and set it to in/out. This will not, however, be visible on the drawing.
2. Set the attribute stereotype to <<in>> or <<out>>; this WILL show up on the drawing.

Fred W
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.&lt;Pogo, 1970&gt;
    • View Profile
Re: Flow Specification Attribute Direction
« Reply #2 on: June 12, 2010, 10:20:15 am »
The "right" way to assign attributes to a flow specification in EA appears to be by use of Flow Properties (on the Internal Block Diagram toolbox); these have tagged values for in, out, etc. predefined.

UPDATED: I think the problem here is that EA doesn't implement many (or any!) of the compartment-based representations of SysML features. Thus a flow specification in EA has no "flow specification" compartment and consequently no simple "built-in" way to represent flow properties as attributes. Coupled with the fact that EA doesn't allow you to show the composite diagram for a flow specification in place of the element itself, this limits the usefulness of trying to represent a flow specification in a diagram. The following workaround, however, does work:

1. Add an attribute representing the flow property, together with its type.
2. Assign it a stereotype of <<flow property>>.
3. Then assign it a stereotype of <<in>>, <<out>>, or <<inout>>.
4. Both stereotypes should be displayed on the diagram.
« Last Edit: June 12, 2010, 12:18:39 pm by fwoolz »
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.&lt;Pogo, 1970&gt;
    • View Profile
Re: Flow Specification Attribute Direction
« Reply #3 on: June 12, 2010, 12:20:50 pm »
BTW, I await the day when attributes and methods (and connectors!) become full-fledged objects in EA.
« Last Edit: June 12, 2010, 12:21:24 pm by fwoolz »
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


beginner

  • Guest
Re: Flow Specification Attribute Direction
« Reply #4 on: June 14, 2010, 06:41:32 pm »
Well, Zarquon...

b.

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.&lt;Pogo, 1970&gt;
    • View Profile
Re: Flow Specification Attribute Direction
« Reply #5 on: June 15, 2010, 12:25:22 am »
Sorry I'm late...
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6867
  • Karma: +147/-104
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Flow Specification Attribute Direction
« Reply #6 on: June 15, 2010, 09:58:03 am »
Never mind, you can try again, and again, and again, and...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!