Books by Nerdynaut

UML Building blocks

UML Building blocks
The Unified Modeling Language (UML) is a general-purpose modeling language in the field of software engineering, which is designed to provide a standard way to visualize the design of a system.
This article will discuss about UML Building blocks. Basically it consists of 3 components namely,

1. Things

This is the most important part in UML building blocks. Things can be classified as,
  • Structural
  • Behavior
  • Grouping
  • Annotation
Structural things define the stable (static) part of the model. Structural things are class, Interface,
collaboration, usecase, component and node.
*Classes are set of objectives which gave similar responsibilities.


*Interfaces are set of operations which specify set of classes.


*Collaborations defines connections between elements.*Use-case describes set of actions performed in a system.


*Components describes the physical parts of the system.


*Nodes describes a physical element which has a run time.

BehaviorConsists of all the dynamic parts of the system.

  • Interaction – Behavior that consists of a group of messages exchanged among elements.


  • State machine – State machine can show the different states of an entity also how an entity responds to various events by changing from one state to another. 


It is a mechanism to group the elements of UML model.


  • Package – Package is the only one grouping thing available for gathering structural and behavioral things.



Annotations are used to capture remarks, descriptions and comments of UML model elements.


2. Relationship

Relationships will show how elements are connected and associated with each other. There are four (4) types of relationships available.
  • Dependency
  • Association
  • Generalization
  • Realization

Relationship between 2 things and change in one element affects the other.



Set of links that connect elements of UML. It describes how many objects are participating in a particular relationship.



Connects a specialized element with a generalized element.



One element describes some responsibility which is not implemented yet.


3. UML Diagrams

This is the core of UML modelling. The various types of UML diagrams are,

  • Class diagram
  • Object diagram
  • Use-case diagram
  • Sequence diagram
  • Component diagram
  • Activity diagram
  • State-chart diagram
  • Collaboration diagram
  • Deployment diagram
Let’s discuss about UML Diagrams in our next article.

UML Building blocks – Summary


Thamali Epa

Thamali is a contributor at Nerdynaut Staff.

  • Fascinated
  • Happy
  • Sad
  • Angry
  • Bored
  • Afraid


  1. Jamey

    April 26, 2017 at 5:23 pm

    What’s Happening i am new to this, I stumbled upon this I have found It absolutely useful and it has aided me out loads. I hope to contribute & help other users like its aided me. Great job.

  2. agm marine battery

    April 29, 2017 at 10:30 pm

    Hey there, I think your site might be having browser compatibility issues. When I look at your blog in Firefox, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, great blog!

  3. Jacinto

    April 30, 2017 at 12:42 am

    I like what you guys are up also. Such intelligent work and reporting! Carry on the superb works guys I’ve incorporated you guys to my blogroll. I think it will improve the value of my website 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This Month's Most Popular Posts

Books by Nerdynaut
To Top