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
24
votes
10 answers

Software for Sequence Diagrams?

I've been using NClass for object/class modeling in class thus far. However, I do not believe that it is capable of sequence diagrams, which is my next task. I would prefer not to use Visio. Is there a good and free software solution for making…
bobber205
  • 12,948
  • 27
  • 74
  • 100
23
votes
1 answer

JavaScript code to Class Diagram

I am looking for a tool that can generate class diagram from JavaScript code. Similar to the ones for C++ and Java. Is there any?
LogInIssue
23
votes
6 answers

What's the difference between a stereotype and a class inheritance in UML?

I'm confused about the difference between something being a "stereotype" and being a "superclass" in UML. Let's say I want to create a diagram involving a "WidgetMaker." WidgetMaker is clearly an Actor so the UML standard is to stereotype it…
James A. Rosen
  • 64,193
  • 61
  • 179
  • 261
23
votes
2 answers

Is it recommended to make associations to enum classes in UML class diagrams?

I am designing a class diagram and I got a doubt: I have a class which have several attributes referring to Java enums and other classes that will be mapped as DB catalogs. For example, there is a class called BankAccount which has an attribute…
htafoya
  • 18,261
  • 11
  • 80
  • 104
23
votes
4 answers

How to rename actors in draw.io

I am using draw.io online tool for drawing UML diagrams. When I am dragging an Actor from left panel to the canvas, there I found no options to rename the actor. For example I want to rename the default label 'Actor' to 'User' but no luck. How to…
Sazzad Hissain Khan
  • 37,929
  • 33
  • 189
  • 256
23
votes
2 answers

How do I generate Diagrams and UML of Kotlin code?

How do I generate UML and diagrams for Kotlin code? I don't think getting the paid version of Intellij is an option for me. I have been trying Intellij plugins and I haven't found anything that works yet. I would like to generate the diagrams and…
Philip Nguyen
  • 871
  • 2
  • 10
  • 29
23
votes
4 answers

free UML sequence diagram reverse engineering eclipse plugin working out of the box - does such a thing exist?

I tried (though not very comprehensively) numerous solutions including ModelGoon (only class and interaction diagrams available), ObjectAid (class diagram only), eUML free edition (quits with an ominous "license not found" error on first use),…
kostja
  • 60,521
  • 48
  • 179
  • 224
23
votes
4 answers

What is the difference between 'includes', 'extends' and 'uses'?

In a use case diagram what is the difference between <>, <> and <>? Are <> and <> are the same thing?
SMUsamaShah
  • 7,677
  • 22
  • 88
  • 131
23
votes
3 answers

Is there a convention for showing overridden methods in UML static class diagrams?

If class Human inherits some methods from superclass Mammal unchanged (such as laysEggs: () -> false) and overrides other methods (such as postsToStackOverflow : () -> true), is there any difference between how the different methods are indicated in…
Ellen Spertus
  • 6,576
  • 9
  • 50
  • 101
23
votes
1 answer

How to show constants in UML CLASS DIAGRAM?

I can't decide how to show constant class properties in Uml Diagram. Can you suggest me how to do it?
Farid Movsumov
  • 12,350
  • 8
  • 71
  • 97
23
votes
2 answers

UML class model how to model many to many relationship

I have read several tutorials on what a UML model should contain and what it shouldn't. As a developer, I always think in terms of a relational data model where you could never have a many-to-many relationship between tables. Now, with a UML class…
Peter
  • 14,221
  • 15
  • 70
  • 110
23
votes
4 answers

UML class diagram: is this how to write abstract method and property?

When I was creating the first time an uml class diagram for a small C# project I had some trouble with the properties. At the end I just added the properties as a variable with <> at the start. Now Im wondering how do I solve this with an…
silla
  • 1,257
  • 4
  • 15
  • 32
22
votes
3 answers

How do I mark a class as a singleton in UML?

I have an UML diagram on which I want to mark some classes as singletons (because they are). How do I do that? Do I invent a new stereotype or do I just add a comment or are there some existing means to do that?
Alexander Kulyakhtin
  • 47,782
  • 38
  • 107
  • 158
22
votes
6 answers

generate Class diagram for iphone app

i know how to generate class diagram in Xcode for iPhone app. but i am searching for alternate way to represent it, because my app is very much big and it will difficult to put diagram and explanation in my thesis report. any idea how to represent…
Pooja
  • 2,162
  • 5
  • 33
  • 64
22
votes
4 answers

UML / API : How to model a RESTful API

I need to create a UML class diagram and a use case diagram for a RESTFul API that I developed using API Platform and Symfony 3.2 (backend) and Ionic 2 (frontend). But i dont exactly know how to describe the structure of my backend API through the…