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

6907 questions
14
votes
1 answer

How to represent generic parameter in UML method?

I have to reverse engineer some classes from a Java application into a UML 2 class diagram. So far so good, I have found how to represent class templates for the whole class as proposed by Jon Skeet here: What is the correct way to represent…
Luiggi Mendoza
  • 85,076
  • 16
  • 154
  • 332
14
votes
2 answers

bi-directional and uni-directional associations UML

While I think I understand aggregation and composition, I am having difficulties understanding bi-directional and uni-directional association. I've read that with bi-directional association, both classes know about each other and with…
jcxz
  • 1,226
  • 2
  • 12
  • 25
14
votes
5 answers

in,out,inout,return parameter direction in UML

As i read the following concepts through UML specification promoted by OMG 2.5 (Beta) as: in: Indicates that Parameter values are passed in by the caller. inout:Indicates that Parameter values are passed in by the caller and then back out to…
Andrew
  • 713
  • 3
  • 10
  • 19
13
votes
1 answer

How to show private inheritance relationship in a UML class diagram

In C++ since private inheritance is not considered as an is-a relationship, how is it supposed to be shown in a class diagram and if it is shown as a has-a relationship then how can it be differentiated between a composition and a private…
ahj
  • 745
  • 1
  • 6
  • 13
13
votes
1 answer

UML: Control Flow and Object Flow

What's the difference between Control Flow and Object Flow in UML? When do I use one and when do I use the other?
Spaffo
  • 621
  • 2
  • 8
  • 12
13
votes
3 answers

Books specifically on Software Architecture and not Software Design

Can you please suggest some books on Software Architecture, which should talk about how to design software at module level and how those modules will interact. There are numerous books which talks about design patterns which are mostly low level…
Invincible
  • 795
  • 3
  • 10
  • 17
13
votes
2 answers

When to use UML Association Classes?

Can I improve my design on these 2 diagrams below? If so, how? I am confused by the use of association classes in my diagrams. Should I use them? Figure 1 Figure 2
Zabahey
  • 328
  • 1
  • 3
  • 16
13
votes
4 answers

UML ternary association

I'm currently having some trouble understanding ternary associations in UML. I get the binary ones, but I am unsure how multiplicity works on ternary. I'm doing exercises that I got from my university, the current one goes like this: One department…
Heeiman
  • 249
  • 1
  • 4
  • 15
13
votes
1 answer

In an activity diagram, are there two initiating events allowed?

I want to model an activity, where there can be two several initiating events. These events has two several responsible actors. Is it allowed that a UML activity-diagram could have two initiating events and only one end? Could the action-flow be…
martin
  • 2,957
  • 3
  • 25
  • 46
13
votes
2 answers

Show "Protected Internal" in UML?

I am new to UML. I have found these symbols for showing different access modifiers in UML: + is for Public - is for Private # is for Protected ~ is for Internal But in the reference that I consulted, there is no symbol for "Protected…
Vaibhav Jain
  • 33,887
  • 46
  • 110
  • 163
13
votes
12 answers

How do you like to draw UML diagrams?

Given it is mandatory to have UML diagrams in your project, how do you like to draw them? - By using scripting - By using drag and drop - Any other convenient and faster method I got lot of responses. Based on our project requirement, I have decided…
Rakesh Goyal
  • 3,117
  • 8
  • 39
  • 69
13
votes
1 answer

Generate Kotlin class diagram

I'm looking for a tool, Intellij Idea plugin, or whatever that is able to generate UML class diagram from Kotlin source files. Intellij Idea 15's "Show diagram..." tool only works for .java files. Google doesn't help, but I still hope there is a…
LordScone
  • 3,207
  • 2
  • 18
  • 24
13
votes
3 answers

Database design using UML Class Diagram

I would like to design a database using UML class diagrams but I dont know how. Can someone help me. How can I design a database using UML class diagrams?
user3167689
  • 151
  • 2
  • 2
  • 5
13
votes
6 answers

Best UML plugins for Eclipse

I just inherited a J2SE project and will be working on it on Eclipse. I'd like to get some diagrams out of the existing code and I'm looking for good UML plugins to use with Eclipse. Any recommendations?
Dan
  • 1,763
  • 4
  • 26
  • 40
13
votes
4 answers

Recommended NetBeans UML plugins

It appears that the NetBeans UML plugin has been discontinued, as per a discussion on the NetBeans forums. This was a great, free tool with nice model->code and code->model generation. There are a number of other UML NetBeans plugins out there.…
Thomas Owens
  • 114,398
  • 98
  • 311
  • 431