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
47
votes
4 answers

Is it possible to generate a diagram of an entire Django webapp?

Is it possible to generate a diagram of an entire Django site? For example, to understand the model/database structure I use graphViz which is extremely useful for keeping track of the model structure, and very useful for discussions. I was curious…
djq
  • 14,810
  • 45
  • 122
  • 157
47
votes
6 answers

How to align blocks in PlantUML class diagrams?

I am using PlantUML to make simple class diagrams and the tool is awesome, but I couldn't find any way to align classes with each other except putting them into packages or using relationships like Alice -left-* Bob. What I need is something…
Yuriy Kulikov
  • 2,059
  • 1
  • 16
  • 29
46
votes
7 answers

Multiplicity vs Cardinality

When talking about data models and databases, the term Cardinality is often used to describe the number of allowed elements in a given set. UML often refers to the same property as Multiplicity. Is there any difference between these two terms or are…
Sam Shiles
  • 10,529
  • 9
  • 60
  • 72
45
votes
4 answers

C# code for association, aggregation, composition

I am trying to confirm my understanding of what the code would look like for association, aggregation & composition. So here goes. Aggregation: Has-a. It has an existing object of another type public class Aggregation { SomeUtilityClass objSC …
user20358
  • 14,182
  • 36
  • 114
  • 186
44
votes
7 answers

UML Class Diagram and Generics

How do you indicate a generic class or interface in a Class Diagram? I'm looking for two things really: One is how do I model generic java classes if i were doing it with pen and paper. Secondly, what uml tools out there support generic…
Karthik Ramachandran
  • 11,925
  • 10
  • 45
  • 53
44
votes
2 answers

How to show Dependency Injection on a UML class diagram?

How do I show Dependency Injection of an object or class in a UML class diagram?
Roman
  • 64,384
  • 92
  • 238
  • 332
44
votes
10 answers

How should I visualize the structure of my code?

I have an application written in Java. In is stored in several files. It uses different classes with different methods. The code is big and complicated. I think it would be easier to understand the code if I have a graphical model of the code (some…
Roman
  • 124,451
  • 167
  • 349
  • 456
44
votes
10 answers

How to Generate a Sequence Diagram from Java Source Code

I have a question about generating sequence diagram from Java source code. When I googled I saw someone told to use visual paradigm (VP), but it does not generate sequence diagram for me. Some steps in my VP are different from manual. The manual…
AFF
  • 1,515
  • 4
  • 21
  • 35
42
votes
12 answers

How to represent a C# property in UML?

Not quite an Attribute, not quite a Method. Stereotypes? <> <>? I'm retro-modelling an existing system, so I need to clearly reflect that this is not the same as a readonly field or a methods pair (regardless of what the IL says), so I…
annakata
  • 74,572
  • 17
  • 113
  • 180
42
votes
3 answers

How to export Visual Studio 2010 UML Modeling Diagrams

I recently created a very nice UML Class diagram inside Visual Studio 2010 (b2). The tools worked like a charm and I was able to model a rather complex domain within minutes. However, I cannot find any way to export my diagram as an image…
Mickel
  • 6,658
  • 5
  • 42
  • 59
42
votes
1 answer

What are the differences pre condition ,post condition and invariant in computer terminology

I am reading the book Java Concurrency in Practice and getting a little bit confused with these terms: Pre condition Post condition Invariants Can someone please explain me them (with an example, if it's possible)?
Inquisitive
  • 7,476
  • 14
  • 50
  • 61
40
votes
13 answers

Are there any uml tools on Ubuntu ?

Are there any UML tools (as Rose) on Ubuntu?
why
  • 23,923
  • 29
  • 97
  • 142
39
votes
4 answers

CRUD in a use-case diagram?

My question is quite simple. What is the best way to bring CRUD into a use-case diagram? It should be DRY. I know, UML is sometimes discretionary, but what do you think about it? Some ideas: 1 use-case diagram Not really DRY, if there are a few…
Robin
  • 8,162
  • 7
  • 56
  • 101
39
votes
1 answer

How to present an abstract class in UML class diagram

UML class diagram is a handy tool in object-oriented design. I am using it currently and facing presenting an abstract class with UML. I googled it but got nowhere. So I would like to ask how to express an abstract class in UML class diagram, and…
Rui
  • 3,454
  • 6
  • 37
  • 70
38
votes
18 answers

What tools (free) do you use to design software

What tools do you use to speed up documenting application design. Namely, creating wireframes, flowcharts. What other methods do you find essential . Is the general consensus that use cases are vital, or is a good functional spec document easier…
Stuart
  • 11,775
  • 6
  • 33
  • 31