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
19
votes
7 answers

Automatically Generated Python Code from an UML diagram?

The question is not the same as What’s the best way to generate a UML diagram from Python source code?, but the other way around. Topcoder UML tool automatically generates code in only Java or C#. Since I need to create a very depended data…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
18
votes
2 answers

Understanding why the extends arrow points in the opposite direction

In class diagrams I typically see something like ClassA extends ClassB where the arrow head points to ClassA. Example, here. This has always confused me. Why is the arrow head not pointing to ClassB?
1.21 gigawatts
  • 16,517
  • 32
  • 123
  • 231
18
votes
4 answers

How to show a Singleton relationship in a class diagram

If a class contains pointer to a singleton class, can it beaggregation? To my understanding it cannot be a has-a relationship since the class does not make an instance of the singleton class, it is just using it like association relationship.
ahj
  • 745
  • 1
  • 6
  • 13
18
votes
3 answers

Can I write comments in UML Class diagram?

What symbol should I use ?
Keating
  • 3,380
  • 10
  • 34
  • 42
18
votes
3 answers

Visual Studio UML Class Diagram Generator

I was wondering if there was a software that would generate UML class diagrams from my project files (C#) in Visual Studio 2008 Professional? Like a plugin of sorts? I have checked previous posts and did not see anything useful on the first…
iTEgg
  • 8,212
  • 20
  • 73
  • 107
18
votes
4 answers

what is the difference between required and Provided interfaces

I know in general : an interface is a reference type, it is similar to a class, that can contain only constants, method signatures, default methods, static methods, and nested types. Method bodies exist only for default methods and static methods.…
Micha agus
  • 531
  • 2
  • 5
  • 12
18
votes
2 answers

Text based UML Diagram Generators

Which generator tools do you know that are able to generate UML (and perhaps other) diagrams out of text (simple ASCII) based input? I know about http://plantuml-depend.sourceforge.net/screenshot/screenshot.html I'm looking for something…
claudegex
  • 285
  • 1
  • 4
  • 15
18
votes
4 answers

Modelling / documenting functional programs

I've found UML useful for documenting various aspects of OO systems, particularly class diagrams for overall architecture and sequence diagrams to illustrate particular routines. I'd like to do the same kind of thing for my clojure applications. I'm…
Jim Downing
  • 1,481
  • 12
  • 29
18
votes
2 answers

Best Eclipse UML plugin

for Reverse engineering I need to create class , sequence, usecase,deployment diagram so Which is the best uml modeling plugin for eclipse?
Spark-Beginner
  • 1,334
  • 5
  • 17
  • 24
18
votes
2 answers

How to generate TypeScript UML class diagrams in VS Code?

Are there any tools that can generate a UML class diagram from a project in TypeScript or a similar language?
Daniel Santos
  • 14,328
  • 21
  • 91
  • 174
18
votes
1 answer

In class diagrams, should classes implementing an interface have the method names repeated?

I'm creating some UML diagrams, and I have a large number of classes implementing an interface. Is it necessary for these classes to also list the methods of the interface? It sounds quite trivial but will make the diagram look much simpler if they…
Tim MB
  • 4,413
  • 4
  • 38
  • 48
18
votes
3 answers

how do I add a final variable to class diagram

I am designing a class diagram for scrabble game. In one of the classes, I have final variable declared. Can anybody tell me, how can I indicate a variable as final in the UML class diagram?
Noopur Phalak
  • 313
  • 1
  • 2
  • 6
18
votes
3 answers

Differences of Component Diagrams and Deployment Diagrams?

What are the Differences of Component Diagrams and Deployment Diagrams?
jaffar
  • 671
  • 3
  • 13
  • 16
18
votes
7 answers

UML representation for C/C++ function pointers

What would be the best representation of a C/C++ function pointer (fp) in an UML structural diagram? I'm thinking about using an interface element, may be even if 'degenerate' with the constraint of having at most a single operation declared. I…
πάντα ῥεῖ
  • 1
  • 13
  • 116
  • 190
17
votes
3 answers

UML association multiplicity

I have a question about association multiplicity. I understand it, but for example if I would have: --------- --------- | |1 * | | |CLASS |----------| STUDENT | | | | | --------- …
Andna
  • 6,539
  • 13
  • 71
  • 120