Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Denote Lifecycle of an Element

Capture element lifetimes using messages denoted as New or Delete message types

Step

Action

1

Double-click on a message within a Sequence diagram to display the 'Message Properties' dialog.

2

In the 'Lifecycle' field, click on the drop-down arrow and select 'New' or 'Delete'.

3

Click on the OK button to save the changes.

Example Diagram

This example shows two elements that have specific creation and deletion times. An example of denoting the Lifecycle in a UML Sequence diagram using Sparx Systems Enterprise Architect.

Notes

  • To show the termination X on the lifeline in the example diagram, you must switch on garbage collection: 'Start > View > Preferences > Diagram > Sequence: Garbage Collect'