UML Tutorial

UML – Tools & Utilities

UML &-8211; Tools & Utilities &-8211; this Article or News was published on this date:2019-05-14 18:53:32 kindly share it with friends if you find it helpful

UML &-8211; Tools & Utilities


Advertisements


If you want to list down your website, book or any other resource on this page then please contact at [email protected]

  • StarUML − StarUML is an open source project to develop fast, flexible, extensible, featureful, and freely-available UML/MDA platform running on Win32 platform.

  • ArgoUML − ArgoUML is the leading open source UML modeling tool and includes support for all standard UML diagrams.

  • Umbrello UML Modeller − Umbrello UML Modeller is a Unified Modelling Language diagram programme for KDE.

  • Acceleo − Acceleo is easy to use. It provides off the shelf generators (JEE, .Net, Php&-8230;) and template editors for Eclipse.

  • UML Tools List @ Wiki &-8211; Comprehensive list of UML Tools and Utilities.

  • GenMyModel − An online UML modeling tool

!&-8211;

Useful Books

&-8211;>



Advertisements

UML &-8211; Home

UML &-8211; Overview

UML &-8211; Building Blocks

UML &-8211; Architecture

UML &-8211; Modeling Types

UML &-8211; Basic Notations

UML &-8211; Standard Diagrams

UML &-8211; Class Diagram

UML &-8211; Object Diagram

UML &-8211; Component Diagram

UML &-8211; Deployment Diagram

UML &-8211; Use Case Diagram

UML &-8211; Interaction Diagram

UML &-8211; Statechart Diagram

UML &-8211; Activity Diagram

UML &-8211; Summary

UML 2.0 &-8211; Overview

UML &-8211; Useful Resources

UML &-8211; Knowledge Test

UML &-8211; Tools & Utilities

UML &-8211; Discussion

UPSC IAS Exams Notes

Developer&-8217;s Best Practices

Questions and Answers

Effective Resume Writing

HR Interview Questions

Computer Glossary

Who is Who

Discuss UML

Discuss UML &-8211; this Article or News was published on this date:2019-05-14 18:53:32 kindly share it with friends if you find it helpful

Discuss UML


Advertisements


UML (Unified Modeling Language) is a standard language for specifying, visualizing, constructing, and documenting the artifacts of software systems. UML was created by the Object Management Group (OMG) and UML 1.0 specification draft was proposed to the OMG in January 1997. It was initially started to capture the behavior of complex software and non-software system and now it has become an OMG standard. This tutorial gives a complete understanding on UML.




Advertisements

UML &-8211; Home

UML &-8211; Overview

UML &-8211; Building Blocks

UML &-8211; Architecture

UML &-8211; Modeling Types

UML &-8211; Basic Notations

UML &-8211; Standard Diagrams

UML &-8211; Class Diagram

UML &-8211; Object Diagram

UML &-8211; Component Diagram

UML &-8211; Deployment Diagram

UML &-8211; Use Case Diagram

UML &-8211; Interaction Diagram

UML &-8211; Statechart Diagram

UML &-8211; Activity Diagram

UML &-8211; Summary

UML 2.0 &-8211; Overview

UML &-8211; Useful Resources

UML &-8211; Knowledge Test

UML &-8211; Tools & Utilities

UML &-8211; Discussion

UPSC IAS Exams Notes

Developer&-8217;s Best Practices

Questions and Answers

Effective Resume Writing

HR Interview Questions

Computer Glossary

Who is Who

UML – Knowledge Test

UML &-8211; Knowledge Test &-8211; this Article or News was published on this date:2019-05-14 18:53:31 kindly share it with friends if you find it helpful

UML &-8211; Knowledge Test


Advertisements


This chapter list down simple questions on UML concepts you just have gone through this tutorial. Based on the given set of questions you can assess yourself to build a good confidence to become an UML expert:

  • Can a class diagram show the dynamic behaviour of a system?

  • Can deployment diagram be used for forward and reverse engineering?

  • Can it be used for forward and reverse engineering?

  • Can it represent parallel flow of activities?

  • Can we convert statechart diagram to activity diagram?

  • Can we use forward engineering in component diagram?

  • Can we use the use case diagram for forward and reverse engineering?

  • Describe the purpose of use case diagram?

  • How object oriented concepts are related to UML?

  • Is component diagram representing the dynamic view of a system?

  • Name major building blocks of UML?

  • Name some scenarios where object diagrams are used?

  • Name the three mechanisms in stereotype?

  • What are the artifacts of a deployment diagram?

  • What are the artifacts used to make a component diagram?

  • What are the different UML diagrams?

  • What are the different elements of a use case diagram?

  • What are the different modeling used in UML?

  • What are the elements of an object diagram?

  • What are the goals of UML?

  • What are the main usages of a deployment diagram?

  • What are the notations used in behavioural things?

  • What are the notations used in relationships?

  • What are the notations used in structural things?

  • What are the other four diagrams used in UML for capturing dynamic behaviour of a system?

  • What are the structural diagrams and behavioural diagrams?

  • What are the usages of sequence and collaboration diagram?

  • What do you mean by dynamic behaviour of a system?

  • What does an object diagram capture?

  • What is OO analysis?

  • What is OO design?

  • What is a Statechart diagram?

  • What is a class diagram?

  • What is a constraint rule?

  • What is a deployment diagram?

  • What is a node?

  • What is a reactive system?

  • What is a state?

  • What is a use case diagram?

  • What is an activity diagram?

  • What is an event and how it influences the states of an object?

  • What is an interaction diagram?

  • What is an object diagram?

  • What is collaboration diagram?

  • What is component diagram?

  • What is composition and aggregation?

  • What is difference between analysis and design?

  • What is generalization and when it is used?

  • What is meant by isomorphic?

  • What is responsibility of an object?

  • What is role of UML in OO analysis and design?

  • What is sequence diagram?

  • What is static and dynamic view of a system?

  • What is structural diagram?

  • What is the difference between a class diagram and an object diagram?

  • What is the difference between a flow chart and an activity diagram?

  • What is the difference between aggregation and composition?

  • What is the difference between sequence and collaboration diagram?

  • What is the interaction diagrams used in UML?

  • What is the main usage of a Statechart diagram?

  • What is the main usage of an activity diagram?

  • What is the only grouping thing available in UML?

  • Why conceptual model is important?

  • Why statechart diagram us used?



Advertisements

UML &-8211; Home

UML &-8211; Overview

UML &-8211; Building Blocks

UML &-8211; Architecture

UML &-8211; Modeling Types

UML &-8211; Basic Notations

UML &-8211; Standard Diagrams

UML &-8211; Class Diagram

UML &-8211; Object Diagram

UML &-8211; Component Diagram

UML &-8211; Deployment Diagram

UML &-8211; Use Case Diagram

UML &-8211; Interaction Diagram

UML &-8211; Statechart Diagram

UML &-8211; Activity Diagram

UML &-8211; Summary

UML 2.0 &-8211; Overview

UML &-8211; Useful Resources

UML &-8211; Knowledge Test

UML &-8211; Tools & Utilities

UML &-8211; Discussion

UPSC IAS Exams Notes

Developer&-8217;s Best Practices

Questions and Answers

Effective Resume Writing

HR Interview Questions

Computer Glossary

Who is Who

UML – Useful Resources

UML &-8211; Useful Resources &-8211; this Article or News was published on this date:2019-05-14 18:53:30 kindly share it with friends if you find it helpful

UML &-8211; Useful Resources


Advertisements


The following resources contain additional information on UML. Please use them to get more in-depth knowledge on this topic.

Useful Links on UML

Useful Books on UML

To enlist your site on this page, please drop an email to [email protected]



Advertisements

UML &-8211; Home

UML &-8211; Overview

UML &-8211; Building Blocks

UML &-8211; Architecture

UML &-8211; Modeling Types

UML &-8211; Basic Notations

UML &-8211; Standard Diagrams

UML &-8211; Class Diagram

UML &-8211; Object Diagram

UML &-8211; Component Diagram

UML &-8211; Deployment Diagram

UML &-8211; Use Case Diagram

UML &-8211; Interaction Diagram

UML &-8211; Statechart Diagram

UML &-8211; Activity Diagram

UML &-8211; Summary

UML 2.0 &-8211; Overview

UML &-8211; Useful Resources

UML &-8211; Knowledge Test

UML &-8211; Tools & Utilities

UML &-8211; Discussion

UPSC IAS Exams Notes

Developer&-8217;s Best Practices

Questions and Answers

Effective Resume Writing

HR Interview Questions

Computer Glossary

Who is Who

UML 2.0 – Overview

UML 2.0 &-8211; Overview &-8211; this Article or News was published on this date:2019-05-14 18:53:29 kindly share it with friends if you find it helpful

UML 2.0 &-8211; Overview


Advertisements


UML 2.0 is totally a different dimension in the world of Unified Modeling Language. It is more complex and extensive in nature. The extent of documentation has also increased compared to UML 1.5 version. UML 2.0 has added new features so that its usage can be
more extensive.

UML 2.0 adds the definition of formal and completely defined semantics. This new
possibility can be utilized for the development of models and the corresponding systems
can be generated from these models. However, to utilize this new dimension, a
considerable effort has to be made to acquire knowledge.

New Dimensions in UML 2.0

The structure and documentation of UML was completely revised in the latest version of UML 2.0. There are now two documents available that describe UML −

  • UML 2.0 Infrastructure defines the basic constructs of the language on which UML is based. This section is not directly relevant to the users of UML. This is directed more towards the developers of modeling tools. This area is not in the scope of this
    tutorial.

  • UML 2.0 Superstructure defines the user constructs of UML 2.0. It means those elements of UML that the users will use at the immediate level. This is the main focus for the user community of UML.

This revision of UML was created to fulfil a goal to restructure and refine UML so that usability, implementation, and adaptation are simplified.

UML infrastructure is used to −

  • Provide a reusable meta-language core. This is used to define UML itself.

  • Provide mechanisms to adjustment the language.

UML superstructure is used to −

  • Provide better support for component-based development.

  • Improve constructs for the specification of architecture.

  • Provide better options for the modeling of behavior.

The important point to note is the major divisions described above. These divisions are used to increase the usability of UML and define a clear understanding of its usage.

There is another dimension which is already proposed in this new version. It is a proposal
for a completely new Object Constraint Language (OCL) and Diagram Interchange. These features all together form the complete UML 2.0 package.

Modeling Diagrams in UML 2.0

Modeling Interactions

The interaction diagrams described in UML 2.0 is different than the earlier versions. However, the basic concept remains the same as the earlier version. The major difference is the enhancement and additional features added to the diagrams in UML 2.0.

UML 2.0 models object interaction in the following four different ways.

  • Sequence diagram is a time dependent view of the interaction between objects to accomplish a behavioral goal of the system. The time sequence is similar to the earlier version of sequence diagram. An interaction may be designed at any level of abstraction within the system design, from subsystem interactions to instancelevel.

  • Communication diagram is a new name added in UML 2.0. Communication diagram is a structural view of the messaging between objects, taken from the Collaboration diagram concept of UML 1.4 and earlier versions. This can be defined as a modified version of collaboration diagram.

  • Interaction Overview diagram is also a new addition in UML 2.0. An Interaction Overview diagram describes a high-level view of a group of interactions combined into a logic sequence, including flow-control logic to navigate between the interactions.

  • Timing diagram is also added in UML 2.0. It is an optional diagram designed to specify the time constraints on the messages sent and received in the course of an interaction.

From the above description, it is important to note that the purpose of all the diagrams are to send/receive messages. The handling of these messages are internal to the objects. Hence, the objects also have options to receive and send messages, and here comes another important aspect called interface. Now these interfaces are responsible for accepting and sending messages to one another.

It can thus be concluded that the interactions in UML 2.0 are described in a different way and that is the reason why the new diagram names have come into picture. If we analyze the new diagrams then it is clear that all the diagrams are created based upon the
interaction diagrams described in the earlier versions. The only difference is the additional
features added in UML 2.0 to make the diagrams more efficient and purpose oriented.

Modeling Collaborations

As we have already discussed, collaboration is used to model common interactions between objects. We can say that collaboration is an interaction where a set of messages are handled by a set of objects having pre-defined roles.

The important point to note is the difference between the collaboration diagram in the earlier version and in UML 2.0 version. To distinguish, the name of the collaboration diagram has been changed in UML 2.0. In UML 2.0, it is named as Communication diagram.

Consequently, collaboration is defined as a class with attributes (properties) and behavior (operations). Compartments on the collaboration class can be user defined and may be used for interactions (Sequence diagrams) and structural elements (Composite Structure diagram).

Following figure models the Observer design pattern as collaboration between an object in the role of an observable item and any number of objects as the observers.

Collaboration diagram

Modeling Communication

Communication diagram is slightly different than the collaboration diagrams of the earlier versions. We can say it is a scaled back version of the earlier UML versions. The distinguishing factor of the communication diagram is the link between objects.

This is a visual link and it is missing in the sequence diagram. In the sequence diagram, only the messages passed between the objects are shown even if there is no link between them.

Communication diagram is used to prevent the modeler from making this mistake by using an Object diagram format as the basis for messaging. Each object on a Communication diagram is called an object lifeline.

The message types in a Communication diagram are the same as in a Sequence diagram. Communication diagram may model synchronous, asynchronous, return, lost, found, a object-creation messages.

Following figure shows an Object diagram with three objects and two links that form the basis for the Communication diagram. Each object on a Communication diagram is called an object lifeline.

Communication diagram

Modeling an Interaction Overview

In practical usage, a sequence diagram is used to model a single scenario. A number of sequence diagrams are used to complete the entire application. Hence, while modeling a single scenario, it is possible to forget the total process and this can introduce errors.

To solve this issue, the new interaction overview diagram combines the flow of control from an activity diagram and messaging specification from the sequence diagram.

Activity diagram uses activities and object flows to describe a process. The Interaction Overview diagram uses interactions and interaction occurrences. The lifelines and messages found in Sequence diagrams appear only within the interactions or interaction
occurrences. However, the lifelines (objects) that participate in the Interaction Overview diagram may be listed along with the diagram name.

Following figure shows an interaction overview diagram with decision diamonds, frames, and termination point.

Interaction diagram

Modeling a Timing Diagram

The name of this diagram itself describes the purpose of the diagram. It basically deals with the time of the events over its entire lifecycle.

A timing diagram can therefore be defined as a special purpose interaction diagram made to focus on the events of an object in its life time. It is basically a mixture of state machine and interaction diagram. The timing diagram uses the following timelines −

  • State time line

  • General value time line

A lifeline in a Timing diagram forms a rectangular space within the content area of a frame. It is typically aligned horizontally to read from the left to right. Multiple lifelines may be stacked within the same frame to model the interaction between them.

Timing diagram

Summary

UML 2.0 is an enhanced version where the new features are added to make it more usable and efficient. There are two major categories in UML 2.0, one is UML super structure and another is UML infrastructure. Although the new diagrams are based on the old concepts, they still have some additional features.

UML 2.0 offers four interaction diagrams, the Sequence diagram, Communication diagram, Interaction Overview diagram, and an optional Timing diagram. All four diagrams utilize the frame notation to enclose an interaction. The use of frames support the reuse of interactions as interaction occurrences.



Advertisements

UML &-8211; Home

UML &-8211; Overview

UML &-8211; Building Blocks

UML &-8211; Architecture

UML &-8211; Modeling Types

UML &-8211; Basic Notations

UML &-8211; Standard Diagrams

UML &-8211; Class Diagram

UML &-8211; Object Diagram

UML &-8211; Component Diagram

UML &-8211; Deployment Diagram

UML &-8211; Use Case Diagram

UML &-8211; Interaction Diagram

UML &-8211; Statechart Diagram

UML &-8211; Activity Diagram

UML &-8211; Summary

UML 2.0 &-8211; Overview

UML &-8211; Useful Resources

UML &-8211; Knowledge Test

UML &-8211; Tools & Utilities

UML &-8211; Discussion

UPSC IAS Exams Notes

Developer&-8217;s Best Practices

Questions and Answers

Effective Resume Writing

HR Interview Questions

Computer Glossary

Who is Who