Sequence diagram IDL (IDL code)
A Sequence Diagram (IDL) allows you to model high-level communication between Component Parts and low-level transactions between ports and Connector Instances:
Create a Sequence Diagram (IDL) from a Package or a Component:
Right-click a Package, and select New > IDL Profile > Sequence Diagram.
Right-click the Component, and select New > Sequence Diagram.
High-level sequence diagrams
A high-level Sequence Diagram allows you to model the communication between Component Parts without having to define ports or Connector Instances.
Important: The Event Messages you create on a high-level Sequence Diagram are not used for generating Component Deployment Plan (CDP) files for Deployment Plans. For generation purposes, the communication must be defined through Operation Messages on low-level Sequence Diagrams.
On the Sequence Diagram add Component Parts and then create Event Messages to model communication between those Component Parts:
To add a Component Part to the Sequence Diagram: click the Part button, right-click the top part of the Sequence Diagram, and then click the command for the Component Part you want to add. Alternatively, you can drag the Component Part from an appropriate Modeler pane to the diagram.
To add an Event Message to the Sequence Diagram: click the Event button, inline with the appropriate step click the lifeline of the source Component Part, and then click the lifeline of the target Component Part. From the Type Selector dialog, you can select or create an IDL Event. When you create an IDL Event, you select a payload for that Event to use for the communication.
Low-level sequence diagrams
A low-level Sequence Diagram models the transactions between Extended Port (Consumers), Extended Port (Publishers), Connector Instances, Clients and Services.
On the Sequence Diagram add Component Parts and Connector Instances, and then create Operation Messages to model transactions between those items:
To add an Extended Port (Consumer), Extended Port (Publisher), Client or Service to the Sequence Diagram: locate the port in an appropriate Modeler pane, such as the Parts pane, and then drag that port to the top part of the Sequence Diagram.
To add a Connector Instance to the Sequence Diagram: click the Part button, right-click the top part of the Sequence Diagram, and then click the command for the Component Part you want to add. Alternatively, you can drag the Connector Instance from an appropriate Modeler pane to the diagram.
To add an Operation Message to the Sequence Diagram: click the Operation button, inline with the appropriate step click the lifeline of the source item, and then click the lifeline of the target item. From the Select Object dialog, select the Operation you want to use for the Operation Message.
The following sections provide information about how a Sequence Diagram (IDL) is used in the model.
Owned By
Model (UML item)
Package (UML item)
Creates or shows these items
Operation (UML item)
IDL Profile properties
None.
Was this helpful?