Computer

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
2.Relationship
2.Diagrams

1. Things

This is the most important part in UML building blocks. Things can be classified as,
  • Structural
  • Behavior
  • Grouping
  • Annotation
Structural
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.

Picture

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

Picture

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

Picture

*Components describes the physical parts of the system.

Picture

*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.

Picture

  • 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. 


Grouping

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.

Picture

Annotation

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

Picture

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
Dependency

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

Picture

Association

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

Picture

Generalization

Connects a specialized element with a generalized element.

Picture

Realization

One element describes some responsibility which is not implemented yet.

Picture

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

Picture

Thamali Epa
Thamali is a contributor at Nerdynaut Staff.
  • Fascinated
  • Happy
  • Sad
  • Angry
  • Bored
  • Afraid
3 Comments

3 Comments

  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 *

Most Popular

advertise at the community of higher education
To Top