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

How to represent an attribute's data type as an array of objects on class diagram?

I have a SportsCentre class which contains an array of Employee objects. Which is the right way to show that an attribute's data type is an array of objects? I have found two different versions online: the first one uses the ArrayList<>…
Yiannis
  • 929
  • 2
  • 11
  • 14
65
votes
9 answers

Can UML be used to model a Functional program?

More specifically, how do you model a functional program, or one developed using the Functional Style (without classes) using a diagram, and not textual representation.
WeNeedAnswers
  • 4,620
  • 2
  • 32
  • 47
60
votes
4 answers

Aggregation vs Composition vs Association vs Direct Association

I am reviewing my knowledge in object-oriented programming. Under the relationship between classes topic, I have encountered some relationships which are a bit ambiguous to me. I know dependency "uses-a" and inheritance "is-a" but I'm a bit…
steven0529
  • 1,513
  • 1
  • 18
  • 28
59
votes
2 answers

How to represent a call being made in a loop in a sequence diagram?

I'm creating a sequence diagram, and one of the classes is being observed by another class. The observed class is calling update in the observer every 5 seconds in a loop. I need to show this in the sequence diagram. Is there a way to show it…
Adam Taylor
  • 7,534
  • 8
  • 44
  • 54
57
votes
5 answers

What's the difference between activity diagram and sequence diagram?

I'm studying UML and I am confused. What's the difference between activity diagram and sequence diagram? I haven't got the crucial point yet.
guo
  • 9,674
  • 9
  • 41
  • 79
57
votes
9 answers

Enterprise Architect: Export UML Diagrams in high quality

With Enterprise Architect (Version 9.2), I created some Class and Sequence UML Diagrams. Now I need those Diagrams in a Word document. My first approach was to just cut them out with the Windows 7 Snipping Tool and paste them into the document. But…
Toby
  • 3,815
  • 14
  • 51
  • 67
56
votes
1 answer

How do I represent a loop in an activity diagram?

I'd like to represent a loop in a UML activity diagram. Here's my situation: For each folder, I check each document within that folder For each document I check its content: If it's invalid (based on keyword searching), do action X and pass to…
hereForLearing
  • 1,209
  • 1
  • 15
  • 33
54
votes
2 answers

What is the correct way to represent template classes with UML?

On a UML diagram, what is the correct way to represent a template class?
oz10
  • 153,307
  • 27
  • 93
  • 128
53
votes
4 answers

Graphviz + Doxygen to generate UML class diagrams

I want to use Graphviz + Doxygen to generate a class diagram based on C++ code. This works already as Doxygen comes with a native DOT support; but is it possible, to produce a UML-like output with the corresponding access modificators (public,…
Eric
  • 1,594
  • 1
  • 15
  • 29
53
votes
5 answers

Flowchart diagrams vs. UML activity diagrams

What is the practical difference between using flowchart diagrams and UML activity diagrams? I have some thoughts, but maybe I'm missing an elephant in the room? Flowchart diagram: Widely used; Easily understood by non-programmers; Old? UML…
Vladimir Sinenko
  • 4,629
  • 1
  • 27
  • 39
52
votes
5 answers

How to correct PlantUML Line Path

I created this diagram using the following code. But as you can see, the lines going from (Cancel Order) and (Place Order) to (Publisher) decide to take a terribly rounded path to get their, instead of going straight to the right and then down to…
aSamWow
  • 861
  • 1
  • 7
  • 9
52
votes
6 answers

Is ERD considered a kind of UML diagram?

Are Entity Relationship Diagrams(ERD's) considered a type of UML diagram or are they a separate thing?
mts396
  • 818
  • 1
  • 11
  • 15
52
votes
3 answers

Is there a Google Doc-style UML tool?

I’m looking for a collaborative UML-compliant tool. I work in the context of two geographically spread out teams and we need to work together on the designed models. Is there a web-based UML modeling tool with model sharing?
kenneth.bary
  • 531
  • 1
  • 4
  • 4
51
votes
8 answers

UML aggregation vs association

From Martin Fowler's UML Distilled: In the pre-UML days, people were usually rather vague on what was aggregation and what was association. Whether vague or not, they were always inconsistent with everyone else. As a result, many modelers think…
Andna
  • 6,539
  • 13
  • 71
  • 120
47
votes
6 answers

How can I generate UML diagrams from Xcode4

I watched a video with xcode 3, that shows a button "Design" that displays a UML diagram, but I can't find how to do it with xcode 4.
user567
  • 3,712
  • 9
  • 47
  • 80