Questions tagged [uml]

Unified Modeling Language, an object-oriented modeling and specification language used in software engineering. For questions about user-mode Linux, use the [user-mode-linux] tag.

Introduction

The Unified Modeling Language (UML) is a standardized general-purpose modeling language heavily oriented towards the field of object-oriented software engineering.

UML includes a set of graphic notation techniques to create visual models of object-oriented software-intensive systems.

Enter image description here

The UML specifications and their development process is managed by the Object Management Group (OMG).

History

UML has been evolving since the second half of the 1990s and has its roots in the object-oriented methods developed in the late 1980s and early 1990s. It was created and developed by Grady Booch, Ivar Jacobson and James Rumbaugh at Rational Software (AKA the three amigos) during 1994–95, with further development led by them through 1996.

In 1997 it was adopted as a standard by the Object Management Group (OMG) and has been managed by this organization ever since. In 2005 the Unified Modeling Language was also published by the International Organization for Standardization (ISO) as an approved ISO standard. Since then it has been periodically revised to cover the latest revision of UML.

The current release of the specification can always be found at: http://www.omg.org/spec/UML/Current.

Resources

6324 questions
489
votes
50 answers

What's the best UML diagramming tool?

I'm trying to choose a tool for creating UML diagrams of all flavours. Usability is a major criteria for me, but I'd still take more power with a steeper learning curve and be happy. Free (as in beer) would be nice, but I'd be willing to pay if the…
eplawless
  • 4,027
  • 6
  • 30
  • 35
441
votes
16 answers

How to generate UML diagrams (especially sequence diagrams) from Java code?

How can I generate UML diagrams (especially sequence diagrams) from existing Java code?
Jonathan
  • 7,221
  • 5
  • 26
  • 35
436
votes
20 answers

What is the difference between association, aggregation and composition?

What is the difference between association, aggregation, and composition? Please explain in terms of implementation.
None
398
votes
19 answers

What's is the difference between include and extend in use case diagram?

What is the difference between include and extend in a use case diagram?
sevugarajan
  • 8,831
  • 12
  • 32
  • 30
305
votes
10 answers

What's the best way to generate a UML diagram from Python source code?

A colleague is looking to generate UML class diagrams from heaps of Python source code. He's primarily interested in the inheritance relationships, and mildly interested in compositional relationships, and doesn't care much about class attributes…
Mike Pirnat
  • 3,051
  • 3
  • 15
  • 7
286
votes
10 answers

Explanation of the UML arrows

I have recently been studying UML and drawing simple diagrams with ordinary plain arrows between classes, but I know it's not enough. There are plenty of other arrows: generalization, realisation and etc. which have meaning to the diagram reader.…
faya
  • 5,037
  • 10
  • 33
  • 47
269
votes
7 answers

What is the difference between aggregation, composition and dependency?

What is the difference between aggregation, composition and dependency?
sevugarajan
  • 8,831
  • 12
  • 32
  • 30
223
votes
4 answers

How to show "if" condition on a sequence diagram?

I was wondering, how can one represent "if" statement on a sequence diagram? if (somethingShouldBeDone) { // Do it } else { // Do something else } Can it be represented at all? The thing is ... in my code, fair amount of conditions…
James Raitsev
  • 82,013
  • 132
  • 311
  • 454
205
votes
4 answers

Generate UML Class Diagram from Java Project

Is there a good tool that can help to reverse engineer Java classes to UML that will show an overview of how my classes are related to each other? It doesn't need to decompile from JAR file because I have the sources. I know there are quite a few…
Carven
  • 12,832
  • 24
  • 97
  • 139
160
votes
3 answers

UML class diagram enum

I am modeling a class diagram. An attribute of a class is an enumeration. How do I model this? Normally you do something like this: - name : string But how does one do this with an enum?
Martijn
  • 22,949
  • 59
  • 161
  • 247
144
votes
10 answers

Design Patterns: Abstract Factory vs Factory Method

Note: Questions are at the end of the post. I have read the other stackoverflow threads regarding Abstract Factory vs Factory Method. I understand the intent of each pattern. However, I am not clear on the definition. Factory Method defines an…
125
votes
6 answers

Use IntelliJ to generate class diagram

How do I get IntelliJ 10.5 (on the Mac) to generate a class diagram showing all of the classes in my project? I'm sure I'm overlooking something obvious, but I can only get the "Show Diagram" feature to show one class at a time. (I also figured…
Zack
  • 5,156
  • 8
  • 29
  • 47
118
votes
10 answers

Generating UML from C++ code?

Is there a tool that can parse C++ files within a project and generate UML from it?
gak
  • 29,596
  • 24
  • 111
  • 150
118
votes
31 answers

Is UML practical?

In college I've had numerous design and UML oriented courses, and I recognize that UML can be used to benefit a software project, especially use-case mapping, but is it really practical? I've done a few co-op work terms, and it appears that UML is…
Chris
  • 6,623
  • 6
  • 49
  • 67
111
votes
4 answers

Eclipse plugin for generating a class diagram

What is a good Eclipse plugin for generating a class diagram (for a project)? This image right here is exactly what I'm talking about.
user238033
1
2 3
99 100