Sequence diagram, a UML diagram

Hello!

Well, my holidays were nice: I attended a course titled analysis and object-oriented design with UML at UEL given by Prof. Sergio Tanaka and climbed the Pico Agudo (Sharp Peak) with Dylan, Gustavo and Lucas.

In this course, I learned to create some of the main UML diagrams using the software IMB Rational Rose. I especially like the sequence diagram.

A sequence diagram shows how groups of objects operate between them and in what order.

For each use case there are n boundaries, m classes and 1 sequence diagram

You can design a sequence diagram describing the actions of the actors (such as press buttons or select options) and the consequences of these actions (such as get some data from database or set options), which become operations of classes and boundary classes.


Inserting a new operation into the sequence diagram

In complex systems it is important because if you need to make changes or adaptations, it is easier to identify where to make it with the sequence diagrams of your system.

Finally, after you finish designing the sequence diagram and the relationships between classes, you can generate the Java code of these classes.

UML class to java class

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s