Adding create or destroy messages to lifelines

In Unified Modeling Language (UML) sequence diagrams, you can add create messages or destroy messages to lifelines to represent the creation or the destruction of interaction instances. You add a create message above any messages and interaction fragments that are covered by the lifeline; you add a destroy message below the messages and interaction fragments.

You must have a sequence diagram with multiple lifelines open in the diagram editor.
To add a create or destroy message to a lifeline:
  1. In the Palette, click Create Message or Destroy Message.
  2. Complete one of the following steps:
    • To add a create message, click the source lifeline from which the messages originates and drag it to the destination lifeline where you want to create a new interaction instance. The head of the interaction instance aligns with the termination point (message arrowhead) of the message.
    • To add a destroy message, click the source lifeline and drag it to the target lifeline where you want to delete the interaction instance. A destroy message appears with a stop node (X) on the destroy message where the lifeline terminates.
  3. In the name field, type a name and press Enter.

Parent topic: Developing messages

Related concepts
Messages
Lifelines

Related tasks
Creating synchronous or asynchronous messages
Deleting messages
Delaying the receipt of asynchronous messages

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.