Sequence diagrams & class

Hi all,
When we drag a class and drop it on a sequence diagram, VP proposes “lifetime” and “class”.

  1. What is the usage of option “class”?

  2. Is it possible to create a lifeline of the class, not of the instance of the class. For example, if I want to represent the JDBC operations, I will have to show the message “getConnection” to the class “DriverManager”, but “getConnection” is a static method (classifier methode in UML).


Hi jedepaepe,

We know in most of cases, user want to show as Lifeline.
However, some users may really want to show the Class within Sequence Diagram.

You can see below post about how to call classifier method in sequence diagram.

Best Regards,