The Unified Modeling Language is the industry standard for modeling software-intensive systems.

learn more… | top users | synonyms

1
vote
1answer
2k views

Is my use case diagram correct?

NOTE: I am self studying UML so I have nobody to verify my diagrams and hence I am posting here, so please bear with me. This is the problem I got from some PDF available on Google that simply had the ...
1
vote
1answer
1k views

<<access>> and <<use>> in UML Component diagrams

How to decide if have to take the <<access>> or <<use>> notation for "-->" arrows in Component diagrams written in UML?
1
vote
1answer
634 views

What is a combined fragment in a UML Sequence Diagram?

Everything is in the question. I just discover this new feature and I don't really understand what it stands for. I know that it can represent loop, alternative in the sequence diagram. Can someone ...
1
vote
1answer
34 views

UML : What is an Activity in an Activity diagram?

I am translating a Use Case diagram step into an Activity Diagram. Does every step of my UC diagram describe an Activity ? Is there one and only one Activity in an Activity Diagram ?
1
vote
2answers
84 views

Forming heavy use case diagram

We have a use case diagram for our software engineering course project that we have many use cases in every system and about 5-6 actors. How should we separate this heavy diagram to light weight ...
1
vote
1answer
309 views

How to represent a multiple choice attribute in UML class diagram?

I'm modelling a Filter class that stores the options for filtering a search. Some of the attributes are multiple choice. For example, if you are filtering hotel rooms you have a Price attribute that ...
1
vote
2answers
191 views

Confusion about associations in UML class diagram

--------------------- ---------------------- | FLIGHT | | STEWARD | --------------------- ---------------------- | Arrival time | | Steward ID | | ...
1
vote
1answer
109 views

How to manage coupling in model classes

I'm doing a class diagram for a game project, but I'm stuck on a coupling problem. Context The projet is a turn-based game. Two users are playing. They've got units on a map. They play until 1 ...
1
vote
1answer
106 views

Should state machine with synonym states be shown explicitly?

I am new to state machine modeling and while trying to model a system, I have a question. An example will explain it better: Considering a system that does calling (probably a customized cell phone ...
1
vote
1answer
637 views

How can you denote the access modifiers “friend” and “protected friend” in UML?

The symbols for access modifiers that I know are relevant for many different languages: public:        + private:       - ...
1
vote
1answer
179 views

How to create a feature map?

I have a big side project that I do now for 3 years. It has a lot of extra small tools to help me do tasks. Most of those tools are so old that I forgot what I have there. How to create a feature map ...
1
vote
1answer
557 views

Showing user and userinterface interaction on a sequence diagram

I need to draw a sequence diagram and I am not sure exactly if it is correct to show interaction between user and user interface in this diagram. For example I want to make a panel visible or ...
1
vote
1answer
210 views

ArgoUML - Learning [closed]

So I just got a copy of ArgoUML. I originally thought I'd be able to just play around with it to learn it, but it's turning out to be extremely difficult. I searched online for tutorials and videos ...
1
vote
1answer
63 views

UML diagram for attributes that can have two different types

I have been to an interview for a financial programming job, and I could not answer to one question for sure. I thought about it again, but I really cannot find a good answer. They asked me to design ...
1
vote
2answers
128 views

Can a UML class diagram show two different relationships between two classes?

I have a class which has an inner (nested) class. I have shown this relationship between the two classes in my class diagram. However, I am also using the inner class within the outer class... do I ...
1
vote
1answer
73 views

How to show link between a java class which gets JSON data from PHP script

I am trying to show the relationship that a java class has with a PHP script. The PHP script gets data from a database and then converts it into JSON format. This is then read by the java file. In my ...
1
vote
2answers
176 views

How to capture “Display advertisement” use case?

What kind of use case it would be for to "show ad in part of the view"? Who could be the actor to relate with? User or System? As user has no specific goal to see ads, i am wondering what is the best ...
1
vote
1answer
251 views

Sequence Diagram. UML “Use Case Ends”

I have a couple of questions about UML. Firstly, how would you show "Use Case Ends" on a sequence diagram. Secondly, if you have an alt in a sequence diagram for "Variable == false", would you need ...
1
vote
1answer
107 views

How to depict Import a file action in the Sequence diagram

Everyone says sequence diagrams are so easy but I just cannot figure this out. Basically user clicks on an 'Import from temp folder' button, the program opens a window with a list populated with ...
1
vote
1answer
410 views

UML class diagram - can aggregated object be part of two aggregated classes?

Some sources say that aggregation means that the class owns the object and shares reference. Lets assume an example where a company class holds a list of cars but departments of that company has list ...
1
vote
2answers
626 views

Activity diagram, can merge node have more than 1 output?

There is a simple system, that allows users to do 4 things: ADD, EDIT, DELETE, PRINT data. I am due to model it (I'm entirely new to UML activity diagrams) and from notation, I dont understand ...
1
vote
1answer
2k views

UML Class diagram confusion

I am learning how to draw a UML class diagram and after reading a few tutorials, I am still confused about the appropriate usages of Association type (The clear diamond and black diamond). I ...
1
vote
1answer
84 views

Do I include association links for Objects that only have method scope in UML class diagrams

For example I have a utility Class which contains a few constants (GCMConstants), this class is used in one method in the application. However as it is not a member of the Class it should not be ...
1
vote
1answer
330 views

UML Actions with object and control flows

Consider a UML Action contained in a UML Activity defining the behavior of a classifier. Such Action has three input pins connected to other output pins of different action by means of object flow ...
1
vote
1answer
145 views

what kind of relation will exist between a member and a P2P network classes in a class diagram?

I have a member class which stores the IP, and ports used on that member. Another class P2P stores a list of all the members currently in the network and provides join,leave functionality. What kind ...
1
vote
0answers
31 views

Working with list of objects in a Sequence Diagram [closed]

I want to model a list of object (in this example a list of cars) and I have some doubts In the first loop, create a "Car", is correct to use "addCar" like that? (I'm using Umbrello and he don't ...
1
vote
0answers
100 views

UML diagram for SSIS process

I'm trying to do some technical documentation and would like to include some diagrams to better explain the processes in the system. The process I'm currently trying to describe is the following: ...
1
vote
0answers
160 views

How Generate sequence diagram from xmi file

I know we can generate an xmi file from a sequence diagram, but for inverse, I want to know if we can generate a sequence diagram from a xmi file with any tool(ie write my own code as xmi file which ...
1
vote
1answer
158 views

What should be used to diagram an application's internal architecture?

I have an application that has several dependencies, including a Matlab library and a Microsoft Windows Media Player ActiveX control. How would I graphically depict the internal architecture of this ...
1
vote
0answers
86 views

How to model an optional input to an activity?

I am constructing a UML 2.0 activity diagram. The activity is to evaluate data from a usability study of a prototype. It can optionally end with just getting the user satisfaction results. But if the ...
1
vote
0answers
105 views

How to implement 'use case control' object in (iOS) MVC?

In an MVC architecture pattern (for e.g., in iOS) there is a controller per view. In UML there is a concept of having Control object per use case to encapsulate an use case, which may span more than ...
1
vote
0answers
125 views

UML activity diagram: How to end activity after Event Signal Action?

To my knowledge, event signal actions are not allowed to have output control flow, so how can I model the end of an activity after a event signal action? The same issue arises for accept event actions ...
1
vote
0answers
85 views

Where to set the model in this design (service-provider pattern)?

we are modelling an application using the "Service-Provider" pattern, where the service will offer a generic functionality implemented by different providers registered on the service. The ...
1
vote
0answers
109 views

Inheritance and constricted referencing

Let's say I have BaseA and BaseB classes. BaseB can have to several references of BaseA instances. Now, we have two other classes, DerivedA and DerivedB that respectively inherit from BaseA and BaseB. ...
1
vote
4answers
1k views

Can an aggregate root hold references of members of another aggregate root?

I know that outside of aggregates I can't change anything inside an aggregate without passing by his root. That said I would like to know if an aggregate root can hold references of members (objects ...
0
votes
2answers
333 views

How to indicate that a class might implement an interface?

Say I have a class User and an interface Administrator. Some users are administrator and can thus implement the interface. Most aren't, however, so it's false to say that "User implements ...
0
votes
2answers
3k views

What is a Package Diagram? and What is a Sequence Diagram? [closed]

In many interviews I've been asked this question. What is a Package Diagram? and What is a Sequence Diagram? and difference between Package Diagram and Sequence Diagram. Thanks in Advance. Edit ...
0
votes
1answer
327 views

I want to draw class diagram, but I don't know how to put server and database inside? [closed]

I just started to draw class diagram, I think it is based on 3-tie architecture. I have mobile application, servers, database, and web interface. But I do not know if it should put the server in? I ...
0
votes
3answers
1k views

Should I create a use case diagram for each screen?

In projects with many use cases, it's valid to create different use case diagrams, one for each screen? Or I shouldn't guide myself on the GUI of the software to make this, why? As a clarification, ...
0
votes
1answer
443 views

How to construct UML activity diagram reflecting real programmed source code as docs

Please, tell me the things I must use for modeling an (Enterprise Architect) activity diagram of object1.method1() calls object2.method2() I'm able to dragndrop a method of a class from model ...
0
votes
3answers
715 views

UML - Class Diagrams Order -> Products

I have a class diagram that is like this: < Order > (1) CAN HAVE (M) < products > But therefore Order has the following: Order_Id Customer_Id Order_date_day Order_date_month ...
0
votes
2answers
585 views

Different relationships between component and class diagram [closed]

How can I convert association of class diagram to component diagram? For instance what is the equivalent relationship of ->, aggregation and inheritance of UML class diagram to the component diagram? ...
0
votes
2answers
180 views

How to do this in Standard UML?

In the below Sequence diagram, when the user have entered the Username and Password, I have to do the authentication. Now you can see two details valid details and invalid detail in the diagram , ...
0
votes
2answers
112 views

Buyer vs Seller on UML Model

I'm modeling an Online Classified System where, naturally, who sells also can buy and vice-versa. The question is: should I have two different Actors, Buyer and Seller or I could have, say, an actor ...
0
votes
2answers
537 views

Use Case Diagrams - should I create a diagram just for a view business rule? [closed]

I'm modeling a UCD where I have two actors ( a content producer and a developer).. the content producer is going to create and specify details of a storyboard functionality, and the other actor ...
0
votes
1answer
391 views

Use Cases with respect to downstream systems

Use cases are primarily meant for interaction between user and a system. It could be used for interaction between system and another system. The actors are primarily roles. It is easy to document ...
0
votes
2answers
132 views

Plan variable and call dependencies [closed]

I'd like to write down the design of my program to understand the dependencies and calls better. I know there are class diagrams which show inheritance and attribute variables. However I'd also like ...
0
votes
2answers
132 views

What kind of design diagram is this?

Here is a kata for the Bowling Game problem. Slide 9 (below) shows a design diagram. But its not obvious to me which box is a class and which is a property or method from the makeup of the boxes ...
0
votes
1answer
103 views

What diagram would be the best to describe the situation

I am working on a software integrated with the hardware component. I need to create a simple diagram to express that: Certain activity runs in a cycle (the device continously monitor a temperature) ...
0
votes
1answer
975 views

UML class diagram - instantiation dependency relationship: who depends on who? [duplicate]

I did some reading on the <<instantiate>> relationship in UML class diagrams. It's a dependency relationship where one side depends on the other. However, I'm not sure who depends on who: ...