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
15
votes
3 answers

Is there any way to generate sequence diagram from android studio

I have created sample android project. Now i have to create sequence diagram for that. Is there any way to automatically generate sequence diagram for android project from android studio.
venkatesh gowda
  • 841
  • 2
  • 12
  • 26
15
votes
3 answers

UML Class diagram, how to show a Class extends thread?

I have a class called ServerSide in which another class resides called Cserver. The following code fragment should explain what I am talking about: public static void main (String [] args) throws Exception { System.out.println("The server is…
CurryMaster
  • 151
  • 1
  • 2
  • 5
15
votes
1 answer

How to represent Callback in UML Class Diagram

I have an Interface say Interface ICallback { public void informFunction(); } I have a Class say: Class Implementation implements ICallback { public Implementation() { new AnotherImplementation(this); } @override public void…
Nandhan
  • 195
  • 1
  • 1
  • 8
15
votes
4 answers

Component diagram versus Class diagram?

class and package diagrams model logical design of software component diagram models implementation view Could you please clarify the above difference through a very short example?
user2019510
  • 1,460
  • 5
  • 16
  • 29
15
votes
2 answers

How to show event in a sequence diagram

I want to draw a sequence diagram and I want to show interaction between user and UI. User as an actor would fill a text box and on text_change event an asynchronous method of BL class would call. In this case is it possible to show text_change…
Vahid Ghadiri
  • 3,966
  • 7
  • 36
  • 45
15
votes
1 answer

Depicting friend relationship between classes in UML

I have two classes A and B where B is a friend of A. How to show this in UML ? Is it ok to show it using dependency relation and then adding a comment on the relation like below ? <> B ------------------> A
Arun
  • 3,138
  • 4
  • 30
  • 41
15
votes
3 answers

What are the advantages of LePUS3 over UML?

When searching online for object oriented concepts such as the composite design pattern I often found them represented in the LePUS3 notation. I am not really familiar with this modeling language. Is it something I should prefer over UML?
Eric
  • 19,525
  • 19
  • 84
  • 147
14
votes
2 answers

How do I model an object thats returned from a function call in a sequence diagram?

Suppose I have code like user = AuthHandler.getLoggedInUser() user.setName(name) UserDAO.update(user) How will the sequence diagram look like? I did Is it correct? the user/userDAO part?
Jiew Meng
  • 84,767
  • 185
  • 495
  • 805
14
votes
2 answers

graphviz: record node with a bold title

I'm trying to use graphviz to do something similar to UML class diagrams. I wonder whether there is a way to make a node of style 'register' have its first field in a bold font, to make it different from the other fields. My node looks like…
eordano
  • 452
  • 1
  • 5
  • 11
14
votes
2 answers

UML diagram - how to show FINAL

How would I display the field private static final int DAMAGE = 3; in the UML Diagram? Should it be shown as: - DAMAGE : 3 : int ?
Istiak Khan
  • 173
  • 2
  • 2
  • 10
14
votes
1 answer

PlantUML: overlapping activations (multiple threads)

I am trying to show overlapping activations in my sequence diagram (I am using PlantUML) but they are showing as nested activations: For example: @startuml participant T1 participant T2 participant Main T1 -> Main ++ #red: start T2 -> Main ++…
Juan Leni
  • 6,982
  • 5
  • 55
  • 87
14
votes
4 answers

Why should one use factory method to create objects

Possible Duplicates: Factory Pattern. When to use factory methods? Why do static Create methods exist? Though I know what is Factory Design Pattern. But I am unable to comprehend what are the benefits of using it. Why should we create objects…
Vaibhav Jain
  • 33,887
  • 46
  • 110
  • 163
14
votes
1 answer

UML2: ports and interfaces in component diagrams

Since I have not yet completely understood the correct usage of port and interface symbols in component diagrams, a few questions: I. Imagine a piece of software which wants to use a very special remote logger service over network (TCP). The…
Ingmar
  • 2,361
  • 3
  • 19
  • 33
14
votes
7 answers

Generating UML diagrams from textual representation

How can I generate a UML sequence diagram from a file containing a textual representation of my process, with command-line tools in Linux?
user336639
  • 228
  • 1
  • 2
  • 7
14
votes
1 answer

How do I export as picture from Enterprise Architect without a frame or diagram name?

I have some diagrams in Enterprise Architect that I want to import to MS Word. How can I get rid of the border around the diagram and the diagram name when exporting it to picture? How can this be disabled?
membersound
  • 81,582
  • 193
  • 585
  • 1,120