May 15, 2009
Spend 5 minutes understanding 4 UML diagrams before it’s too late!
UML – Unified Modelling Language
Why? To communicate and understand at the same level. Why? To avoid misconceptions!
CLASS DIAGRAMS
- capture static relationships of software;
- capture the physical structure of a system;
- understand what classes reference other classes;
- understand which class ‘owns’ another class;
- a CLASS represents a group that has common states and behaviours
- the RELATIONSHIPS include: dependencies, associations, aggregations, compositions, generalisations, associated classes and associated qualifiers.

class diagram example
USE-CASE DIAGRAMS
- capture and define functional requirements;
- a user story and a use case describe ONE THING ONLY that the software needs to do.

use-case example
ACTIVITY DIAGRAMS
- the “how” does something to something else;
- derived from workflows and flowcharts, because they look very similar;
- defines the behaviour of the model being described.

activity diagram example
SEQUENCE DIAGRAMS
- defines object interaction at runtime to bring software functionality to life in an executed order/sequence;
- used for dynamic modelling.

sequence diagram example
USE-CASE NARRATIVES (non-diagram, text only)
- used to describe the use-case in more narrative terms;
- contains: use case name, iteration, summary, pre-conditions, triggers, course of events; alternate paths; post-condition; business rules; notes; author & date.
Nachi said,
May 19, 2010 at 12:57 am
Thanks for the simple Explanations.
Would you please post a bigger images for the samples?
Also is there a practical guide on how to create these diagrams? I should learn to use google better i guess then asking around.
Thanks,
Nachi
asela nuwn said,
June 25, 2010 at 7:51 am
I am BIT Student these bit help to me
thank you
trimurthy said,
June 25, 2010 at 10:27 am
helllo sir it is nice.can you provide more info
sri said,
July 3, 2010 at 2:49 pm
nice
Goutham said,
July 15, 2010 at 4:21 pm
I took a 5 minute deep dive into UML and now interested in more classic examples, the way you have defined.