On the Select Conveyed Classifier dialog, create or select the
Exchange Element that is the Command element's conveyed classifier.
• From an
SV-10c Resource Event-Trace Description, click the Command Message toolbar button, in line with the required Statement click the source lifeline, and then click the destination lifeline.
The source and destination Resource Role elements must use an
Organization,
Post, or
Role Type as their type.
On the Select Conveyed Classifier dialog, create or select the
Exchange Element that is the Command element's conveyed classifier.
◦ For a Resource Connector: the Resource Role elements that own the source and destination
Resource Port elements must use an
Organization,
Post, or
Role Type as their type.
◦ For a Service Channel: the Resource Role elements that own the source and destination
Request and
Service elements must use an Organization, Post or Role Type as their type.
On the Select Conveyed Classifier dialog, create or select the
Exchange Element that is the Command element's conveyed classifier. On the context menu, click the command for the destination element.
• From an
SV-4 Functionality Description: click the Command toolbar button, and then click the Function Edge (Control Flow) or Function Edge (Object Flow).
From the dialogs that appear, select the conveyed classifier, the source element of the Command, and the destination element of the Command.
The direction of the Command is set to the direction of the Function Edge (Control Flow) or Function Edge (Object Flow).
You can convert a Command to a
Control or
Resource Interaction: right click the Command, point to Convert To, and then click the required command.
Realizing Elements
A Command can be realized by many Resource Connector, Resource Interface, Function Edge (Control Flow) and Function Edge (Object Flow) elements.
To define that a Command is realized by an element:
• Drag the Command from a Modeler pane to the Resource Connector, Resource Interface, Function Edge (Control Flow), Function Edge (Object Flow) or Service Channel on a diagram.
• Drag the Command element's conveyed classifier from a Modeler pane to the Resource Connector, Resource Interface, Function Edge (Control Flow), Function Edge (Object Flow) or Service Channel on a diagram. On the Select Command dialog, select the Command.
• Right-click the Resource Connector, Resource Interface, Function Edge (Control Flow), Function Edge (Object Flow) or Service Channel, point to Links, point to Realized, and then click Command. From the dialog, select the Command elements that realize the element you right-clicked.
If you right-click the Resource Connector, Resource Interface, Function Edge (Control Flow), Function Edge (Object Flow) or Service Channel on a diagram, the Command elements you select are added to the diagram.
You can view which elements realize a Command on the Items tab of its Property Pages. In the Show Associated list, select Realization. Do not define realized elements through the Items tab.
When a Command is realized by an element, you can change the source and target elements of the Command to those of the realized element: on a diagram that shows the Command on the realized Resource Connector, Resource Interface, Function Edge (Control Flow), Function Edge (Object Flow) or Service Channel, right-click the Command, and then click Set Ends to Realizing Link Ends.