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
16
votes
2 answers

Visual Studio 2015 generate UML from code

Windows 10 64-bit Microsoft Visual Studio Enterprise 2015 Version:14.0.25431.01 Update 3 I have a almost finished project and now I need to write a documentation. I found some information in the www which tells to "simply" generate UML from the…
Daniel Eisenreich
  • 1,353
  • 3
  • 16
  • 32
16
votes
1 answer

Create UML diagrams directly from R code

Does anyone have an actual approach on how to create UML diagrams directly from R code? This is pretty much the only resource that I found in that regard. Works, but not really "integrated" in the sense that the required info for the diagrams are…
Rappster
  • 12,762
  • 7
  • 71
  • 120
16
votes
7 answers

What is the difference between OWL and UML in the Software Engineering Process

Currently i am trying to figure out, then to use OWL and then to use UML to describe a domain of interest in a Software Engineering process. I read this paper by Atkinson, which gives a very good overview about the difference and the equalities of…
rzo1
  • 5,561
  • 3
  • 25
  • 64
16
votes
11 answers

Graphviz for documentation

I noticed that doxygen uses the graphviz library for creating diagrams. Have you ever used graphviz for generating documentation? Is it worth learning the graphviz for documentation purposes outside the scope of doxygen? Or am I better off to…
Marcin
  • 12,245
  • 9
  • 42
  • 49
16
votes
3 answers

Which UML diagram to use to represent application architecture?

I'm trying to map my whole application in a UML diagram and I'm wondering which UML what diagram type I should use; I'm not doing this in class level, but rather from a bird eye's perspective. The elements I am trying to capture are: single…
never_had_a_name
  • 90,630
  • 105
  • 267
  • 383
16
votes
4 answers

How to make a line straight in StarUML

I am using the StarUml to draw some component dialog,however I found that it is to difficult to make a straight line straight enough. In visio, when I want to draw a Horizontal straight line,I can use the "Shift" key in my keybordl,how to do it in…
hguser
  • 35,079
  • 54
  • 159
  • 293
16
votes
2 answers

UML Class Diagram: Attribute or Association?

Now i have two classes, named patient and doctor: Patient() { public: //functions here private: Doctor doctor; Date dateAdmitted; Date dateDischarged; } Doctor() { public: //functions here private: …
veeyikpong
  • 829
  • 8
  • 20
16
votes
6 answers

How to read XMI?

I need to read UML diagrams that are serialized into XMI. Is there any library that would allow me to conveniently read UML XMI - by conveniently I mean having some methods to iterate over classes/packages/methods/attributest etc. in model. I tried…
kane77
  • 591
  • 1
  • 6
  • 20
16
votes
4 answers

doxygen and graphviz doesn't generate map files

I am trying Graphviz and doxygen on a rather large C++ library to generate UML. It generates the .dot files but then says it can't open the .map files. I am running doxygen 1.8.3 and 2.30.1 installed via the msi on Windows 7 64bit. I also manually…
user2632182
  • 161
  • 1
  • 1
  • 3
16
votes
4 answers

composition and aggregation example with UML class diagram

i can't seem to understand completely the difference between aggregation and composition in a code. Client <.>---->BankAccount (this is supposed to be Client - BankAccount composition class diagram). So in this example, Client has a bank account, so…
Mefhisto1
  • 2,188
  • 7
  • 34
  • 73
16
votes
3 answers

the differences between component diagram and package diagram

What is the differences between component diagram and package diagram? I use Papyrus for system modeling
Carlos
  • 1,522
  • 5
  • 14
  • 26
15
votes
5 answers

How do you show events in UML Class Diagrams?

This one has me stumped regularly while creating top level class diagrams for documentation. Methods and attributes/fields are easy to model. I usually end up adding a method named EvChanged to indicate a .Net event Changed. What is the right way…
Gishu
  • 134,492
  • 47
  • 225
  • 308
15
votes
2 answers

UML inheritance - why is the direction of arrow from the subclass to the parent-class?

In the image above class B inherits class A. If B inherits all A's methods, shouldn't the arrow be from A to B? In my opinion it would make more sense if the arrow was from A to B. Is there a reason that the direction of the arrow is this way and…
user194878
  • 183
  • 1
  • 7
15
votes
2 answers

Join and Merge in activity diagram

What is the difference between Join and Merge in Unified Modeling Language Activity Diagram. Give an example to understand more clearly.
AzeEm AnJum
  • 161
  • 1
  • 1
  • 5
15
votes
3 answers

Is there a way to draw UML in Visio for Java?

I have Visio2007 and I really like it. However, it doesn't seem to have UML model/datatypes for Java. Is there some template I can download for Java? Or should I just forget about Visio altogether and get an Elipse plugin? Thanks!
tomato
  • 5,644
  • 13
  • 43
  • 48