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
3
votes
1 answer

UML class diagram vs ER database diagram

I'm a little confused, I'm developing a program, the program consist in two parts, the server and the clients, there are groups, places, messages... stored in the server, and the clients has to connect with it. I've design the use cases diagram, the…
salva84
  • 51
  • 1
  • 3
3
votes
3 answers

What's the UML difference between Entity and Aggregate?

From a post I read it seems that Entity is just a subset of Aggregate. I've read about the two patterns in both Domain-Driven Design and Implementing Domain-Driven Design, and I'm trying to understand the UML difference between them. Let's consider…
Daniel
  • 73
  • 6
3
votes
3 answers

How to show If else condition in a UML system sequence diagram

Is it possible to describe an if-else structure in a system sequence diagram? If yes, how is this done?
NASSER
  • 5,900
  • 7
  • 38
  • 57
3
votes
1 answer

Game class diagram

I have a problem with taking a class diagram for a game. The world in which the game takes place, can be represented by fields. Each field is identified by the coordinates x and y. The field may be convenient to establish a settlement or not. If…
Thunder Blade
  • 127
  • 15
3
votes
2 answers

How do I express a "returns a" relationship in a UML class diagram?

I'd like to express (visually) in UML that class Foo returns class Bar. The Bar object is created in one of Foo's methods and returned as a result. I don't know whether to use a dependency or association relationship for this. Any…
Emile Cormier
  • 28,391
  • 15
  • 94
  • 122
3
votes
2 answers

UML scenario example

How are scenarios expressed? I think they're linked to use-cases but I'm not sure and I'm seeking some good examples or a document that can serve as a template.
James P.
  • 19,313
  • 27
  • 97
  • 155
3
votes
1 answer

Why visual studio shows UML Use Case diagram Association Shape as Arrow? Is it correct?

I am making a UML Use Case Diagram for the college project. I saw many diagram in which the association is shown simply by a line. I read few question/answers & articles about it, they also said to use line. I am using Visual Studio to create the…
Vivek Muthal
  • 995
  • 1
  • 10
  • 23
3
votes
4 answers

What is the difference between a UML node and a UML component?

I am designing an UML diagram for an Apple Watch Extension. How should I represent host app using UML ? UML Node or UML component ? Please note that there can be inter app communication between the extension app and the iPhone app (host app).
lalthomas
  • 442
  • 5
  • 14
3
votes
2 answers

In UML, do you include variables defined in methods?

I know the basic format of UML and I know you typically include the variables defined for the class. My question is, do you include variables that are defined within methods of the class? In my program I have two classes, BabyName and NameFinder.…
Gil
  • 85
  • 8
3
votes
1 answer

UML State Machine: Understanding regions, fork and join pseudostates

I am trying to properly understand regions as well as fork and join pseudostates in UML State Machines. All examples I find are quite simple and I am not quite sure what is legal and what is not. The UML Superstructure Specification (15.3.14…
DrP3pp3r
  • 803
  • 9
  • 33
3
votes
1 answer

What are the differences between an arrow and a closed arrow in UML to C#?

For example I hae a class Sensor a Class Control and a Class Rooksensor. I have an open arrow from Control to Sensor and a closed arrow from Rooksensor to Sensor. Here is what the UML-diagram looks like: A little guess I did was that in the class…
user3171107
  • 33
  • 1
  • 5
3
votes
1 answer

How to generate UML diagram from tables in SQL Server Object Explorer of Visual Studios?

In SQL Server Object Explorer, I see a list of tables under "Tables" under my database within the "Databases" directory. How do I automatically create a UML diagram of these tables. How do I do this?
jerryh91
  • 1,777
  • 10
  • 46
  • 77
3
votes
1 answer

Are UML semantic variances necessary?

I am asking if it is necessary or useful to have semantic variances in UML. Would it not be more useful when it was more formal and therefore verifiable or even used for rapid prototyping. What is the benefit of the variance? Can you give some…
Gabriel Ščerbák
  • 18,240
  • 8
  • 37
  • 52
3
votes
5 answers

Calculating the maximum size of derived classes

We have a My_list class that has a list of pointers to Abstract_things. To optimize on memory usage, all derived Things use one memory pool that is established with the "new and delete" stereotype. In order to size the pool properly during the…
Dave
  • 31
  • 2
3
votes
1 answer

Can UML with OCL be used for formal specifications?

I am asking because UML is used for informal specifications and has some ambiguities in its semantics. However OCL can be used to specify pre/post conditions and invariants and other constraints quite efficiently I think. I encountered the Z…
Gabriel Ščerbák
  • 18,240
  • 8
  • 37
  • 52
1 2 3
99
100