Sequence Diagram & static method


#1

Hello,
Is it possible to represent a class in a sequence diagram.
Let say java Math class:
can I put it, with it lifeline, and send message to, like:
min(x)
exp(…)
random()?
Thanks


#2

It is possible, below are the steps.

First, define your Class with classifier Operation.

Then, draw a LifeLine and select that Class as base classifier.

As a result, you can using call Message to modelling the call.

Thank you for using Visual Paradigm.