Author Topic: Action - Constant Inputs  (Read 982 times)


  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Action - Constant Inputs
« on: October 05, 2006, 06:42:42 am »
Is it valid to show a "constant" input to an action (such WriteStructuralFeature) as a "ActionPin" with no arrow pointing it.

For example, I have an action that writes "0" to a structural feature as the result of a branch of a control flow. I am showing this as a WriteStructuralFeature action, with the input pin unconnected, but with "0" attached to it.


  • EA User
  • **
  • Posts: 701
  • Karma: +0/-0
  • I'm a Singleton, what pattern are you?
    • View Profile
Re: Action - Constant Inputs
« Reply #1 on: October 05, 2006, 08:21:49 pm »
When the inital value is a constant, I do this with a ValuePin.  See the UML 2.1 Specification, Section 11.3.50 for this.  It is notated like a normal input pin with a value specification written beside it as an adournment.

In another approach, an action with a stereotype of <<ValueSpecificationAction>>  can be used to initalize the pin's value.  In this case, the value pin is an embedded output pin on the initalizing action element.
Verbal Use Cases aren't worth the paper they are written upon.