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
27
votes
3 answers

UML: how to implement Association class in Java

I have this UML Association class. Note that: horizontal line is a solid line and the vertical line is a dashed line. --------- --------- | |*(a) *(b)| | | CLASS |________________| CLASS | |STUDENT | …
hqt
  • 29,632
  • 51
  • 171
  • 250
26
votes
2 answers

How to depict "class uses class" relationship via UML

Case A Say you have 2 classes Model and Settings. Settings contains nothing but public static constants used throughout the application. What type of relationship would you say these 2 classes have? Case B Say you have a IntersectionManager…
James Raitsev
  • 92,517
  • 154
  • 335
  • 470
26
votes
5 answers

Should I include getters & setters in class diagram?

I am required to draw a class diagram for my JSF application for a project documentation. So I have lots of classes as managed beans, with many attributes therefore many getters and setters. When I draw the class diagram should I also include the…
Selvin
  • 12,333
  • 17
  • 59
  • 80
26
votes
3 answers

A tool to automatically generate a UML diagram for a Rails Application

Looking for a good tool/gem that can automatically generate a nice looking UML diagram for an existing rails application. (Im imagining such a tool would read the schema.rb file and then scan the models for relationships)
Evolve
  • 8,939
  • 12
  • 51
  • 63
26
votes
3 answers

UML class diagrams for Xcode (Swift programming)

I have created an iOS mobile application. Is there a way to generate a UML class diagram for the Swift programming language? I have tried Omni Graffle, but it keeps saying that the project doesn't contain Objective-C interfaces. And Omni Graffle…
Abdul Sacranie
  • 291
  • 1
  • 3
  • 7
26
votes
4 answers

Reverse Engineering Code into a UML Class Diagram in VS 2010

Reverse engineering source code into a VS 2010 UML class model? I have a bad feeling that this is not supported in VS 2010 (I'm using the RC from Feb 2010). I've tried dragging classes from the "Architecture Explorer" to the "UML Model Explorer" but…
Emmanuel
  • 3,475
  • 6
  • 29
  • 45
26
votes
2 answers

What is the meaning of dashed arrow in UML class diagram?

What is the meaning of the dashed arrow in a UML class diagram in general? As an example: What is the meaning of the dashed arrow in this image (from client to ConcreteCommand): Article: Command pattern
Martin Thoma
  • 124,992
  • 159
  • 614
  • 958
25
votes
1 answer

Live Notifications UML Class Diagram

I am trying to implement a live notification system (like fb, xing, twitter..). Therefore, I created an UML class diagram before building the entities. The showcase is the following: EDIT: I Thought about this approach and it seems as if this is…
user3746259
  • 1,491
  • 2
  • 23
  • 46
25
votes
1 answer

UML sequence diagram: how do i draw cron job?

I'm developing an application that takes advantages of restaurants' dataset. Each week my system will run a CRON job in order to synchronize the restaurants that are available on a public API to my database. However, how do I draw the sequence…
ericlee
  • 2,703
  • 11
  • 43
  • 68
25
votes
3 answers

Private nested Java class in UML diagram

I have a question regarding UML. I have a class which simply contains an inner class with the private access modifier - cannot be accessed from anywhere else... Normally in order to present an inner class relation I can use a (+) relation like here…
radekEm
  • 4,617
  • 6
  • 32
  • 45
25
votes
6 answers

How to describe a contained map in UML class diagram?

I have a MyServer class that contains a Map whose keys are MyClientType objects and whose values are MyClient objects. I'd like to depict this relationship in a class diagram but I can't figure out a clean way to do that.
elifiner
  • 7,347
  • 8
  • 39
  • 48
24
votes
7 answers

Get UML diagram from relational database

I use PostegresQL 9. Is there a free tool to derive UML diagrams from my databases? Thanks
Martin Preusse
  • 9,151
  • 12
  • 48
  • 80
24
votes
10 answers

UML diagrams that are actually pretty?

I'm looking for a diagramming software that would produce good looking output. It doesn't need to support everything (or even much) from UML, is doesn't need to have code engineering functions or anything, it just needs to produce visually…
Borek Bernard
  • 50,745
  • 59
  • 165
  • 240
24
votes
4 answers

Is there a free Eclipse plugin that creates a UML diagram out of Java classes / packages?

This seemed to me like the easiest thing to find, a simple way to display my classes as UML in eclipse But except this: http://java2uml.gforge.enseeiht.fr/ and this http://sourceforge.jp/projects/amateras/releases/ I haven't found any new,…
Eran Medan
  • 44,555
  • 61
  • 184
  • 276
24
votes
2 answers

UML diagram for function calls

Which UML diagram is best suited for depicting function calls? Also are there any diagrams where we can also mention the parameters that we pass to the called functions?
Softice
  • 241
  • 1
  • 2
  • 3