SysML, UAF, UML, and UPDM Profiles > SysML profile > Activities > Extending activity model items through SysML (SysML)
  
Extending activity model items through SysML (SysML)
Through the SysML profile you can extend the following Activity related items in a model through SysML profile stereotypes:
Activity
Activity Flow
Central Buffer
Data Store
Input Pin
Operation (referenced by a Call Operation Action)
Output Pin
Parameter (referenced by an Input Pin or Output Pin)
To apply a Stereotype to an item: right-click the item, point to Links > Stereotypes, and then click the command appropriate for the Stereotype you want to apply.
To show the Stereotypes that are applied to an item (or its Linked Item) on an Activity Diagram, right-click the symbol, and then click View Options. Click the Stereotypes entry, and then select the Show Stereotypes check box.
Activity
You can extend an Activity through the following SysML stereotypes:
«ControlOperator» - specifies that the behavior can be used to enable and disable other actions.
«NonStreaming» - specifies that the Activity accepts inputs only when it starts, and provides outputs only when it finishes.
«Streaming» - specifies that the Activity can accept inputs after it starts, and provide outputs before it is finished.
«EFFBD»
«Testcase» - specifies that the Activity is a test case.
Activity Flow
You can extend an Activity Flow through the following SysML stereotypes:
«continuous» - specifies that the rate of flow is continuous, where the increment of time between items approaches zero.
«discrete» - specifies for a rate that the increment of time between items is non-zero.
«probability» - specifies an expression for the probability that the Activity Flow will be traversed.
«rate» - specifies the expected number of objects and values that will traverse the Activity Flow per time interval.
Central Buffer
You can extend a Central Buffer through the following SysML stereotypes:
«noBuffer» - specifies that tokens arriving at the Central Buffer are discarded if they are refused by outgoing Activity Flows.
«overwrite» - specifies that a token arriving at a full Central Bufferreplaces the tokens already there.
«Pin»
Data Store
You can extend a Data Store through the following SysML stereotypes:
«noBuffer» - specifies that tokens arriving at the Data Store are discarded if they are refused by outgoing Activity Flows.
«overwrite» - specifies that a token arriving at a full Data Store replaces the tokens already there.
«Pin»
Input Pin
You can extend an Input Pin through the following SysML stereotypes:
«noBuffer» - specifies that tokens arriving at the Input Pin are discarded if they are refused by actions.
«overwrite» - specifies that a token arriving at a full Input Pin replaces the tokens already there.
«Pin»
In addition to applying SysML stereotypes to an Input Pin, you can also apply SysML stereotypes to the Operation Parameter that is used as its Linked Item. See the Parameter section that follows.
Operation
You can extend an Operation that is used as a Linked Item for a Call Operation Action through the following SysML stereotypes:
«ControlOperator» - specifies that the behavior can be used to enable and disable other actions.
«create»
«destroy»
«DirectedFeature»
«Testcase» - specifies that the Operation is a test case.
To show Stereotypes applied to an Operation on an Activity Diagram, right-click the associated Call Operation Action, and then click View Options. Click the Stereotypes entry, and then select the Show Stereotypes check box.
Output Pin
You can extend an Output Pin through the following SysML stereotypes:
«noBuffer» - specifies that tokens arriving at the Output Pin are discarded if they are refused by actions.
«overwrite» - specifies that a token arriving at a full Output Pin replaces the tokens already there.
«Pin»
In addition to applying SysML stereotypes to an Output Pin, you can also apply SysML stereotypes to the Operation Parameter that is used as its Linked Item. See the Parameter section that follows.
Parameter
You can extend an Operation Parameter through the following SysML stereotypes:
«continuous» - specifies that the rate of flow is continuous and the increment of time between items approaches zero.
«Discrete» - specifies for a rate that the increment of time between items is non-zero.
«Optional» - specifies that the lower multiplicity must be equal to zero.
«Rate» - specifies the expected number of objects and values that will traverse the Activity Flow per time interval.
«Parameter»
To show Stereotypes applied to a Parameter on an Activity Diagram, right-click the associated Input Pin or Output Pin, and then click View Options. Click the Stereotypes entry, and then select the Show Stereotypes check box.