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

learn more… | top users | synonyms

1
vote
3answers
124 views

How to consider the login function collecting requirements of an application? is it a user requirement?

I am working on an application that expected to the user logs in when the application is started (as for example it is in Skype: the user open the application and appear to him a login mask when he ...
2
votes
2answers
507 views

Package diagram for an MVC patterned project?

We are required to make a package diagram for our senior project. Since our project uses MVC patter design, we created an MVC class diagram, now, our problem is in creating the package diagrams from ...
2
votes
3answers
254 views

Is UML a good way to shortly and simply explain a concept? [closed]

I was recently in a job interview that was mostly technical. One of the things that stood out was my difficulty explaining ideas and concepts. During the interview I decided not to use UML to ...
1
vote
1answer
99 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 ...
0
votes
1answer
105 views

Class diagrams - do aggregated/composed classes automatically see each other?

Let's say that in the game, a player has a pet: Player<>------Pet Obviously player can access Pet's fields and methods, but I assume Pet does not know about the player? I need that Pet can access ...
1
vote
1answer
325 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 ...
2
votes
1answer
490 views

Is there a representation for mixins or traits on UML?

Is there a representation for modern programming constructs that are becoming common in modern OOP/hybrid languages like mixins/traits/categories/partial classes ?
0
votes
2answers
470 views

Object inheritance and method parameters/return types - Please check my logic

I'm preparing for a test and doing practice questions, this one in particular I am unsure I did correctly: We are given a very simple UML diagram to demonstrate inheritance: I hope this is clear, it ...
1
vote
0answers
106 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 ...
2
votes
3answers
1k views

Do activity diagrams always end in one endpoint?

For example an activity diagram for a simple program: Get User data. If User Exists DO something, ELSE do nothing. End. I often see diagrams with multiple endpoints but also with just one. Should ...
2
votes
3answers
875 views

How to create a use case diagram for board game played on PC

I'm struggling with a task as I was given to practice UML and use cases. The problem is that I should model computer version of a board game so I am unsure about a few things. obviously it does not ...
1
vote
2answers
433 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 ...
0
votes
2answers
312 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 ...
2
votes
2answers
174 views

How can I indicate if an object operates with another one in an UML class diagram?

Suppose I want to draw a class diagram of a DAO and an Entity. The DAO is used to load instances of the Entity from the database. How can I represent this relationship on my class diagram? Is this ...
1
vote
1answer
483 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:       - ...
5
votes
1answer
253 views

How to display in compositional relationship that the item knows about the container?

I'm drawing a class diagram and noticed that sometimes I got a relationship (composition or aggregation) where the item uses the container, and sometimes not. What is the visual difference in a ...
2
votes
1answer
302 views

Need help understanding UML diagram

I'm focusing on trying to understand UML diagrams and learning to interpret them in order to implement the designs they describe. In the following diagram, I am not clear on what the implementation ...
2
votes
3answers
565 views

What to use in UML for included module in ruby?

I like to create simple class diagrams for my projects. Most of the time I just use composition, inheritence and associations. IMB's basic UML resource tells all about this. However I'm using ruby so ...
2
votes
1answer
351 views

Can we illustrate a CPU pipeline with a UML sequence diagram?

I study multicore pipelining and the diagrams are not UML sequence diagrams for instance Why not remake this diagram like an UML sequence diagram, would not that be more clear so that we can see ...
1
vote
0answers
70 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 ...
0
votes
3answers
1k views

UML representation of type being passed as a parameter

I want to draw a UML diagram of my program. Class Barney has a method Yabadaba(Doo d) which takes a parameter of type Doo. How do I represent that class Doo is used in class Barney in my UML diagram? ...
4
votes
1answer
2k views

What is the general format of a Software Design Specification?

I'm trying to document a piece of software I wrote in detail. An SAS is too high level and doesn't cover the API. I found several examples of an SDS online, but I don't see a trend in their format. ...
3
votes
1answer
219 views

UML sequence diagrams - include

I'm currently doing my OCPJEA assignment. I have to draw several sequence diagrams for the use cases presented in the documentation. One of the use cases (A) state that after some interaction, the ...
0
votes
1answer
115 views

How to model optional use cases in UML

Let's say, I want to model an application which allows users to model class diagrams. The high level use case can be modelled as UC1:Model Class Diagram, which refines itself into UC11: Model Class, ...
0
votes
1answer
50 views

Is where a link goes part of a view use case?

Say I got a minimal use case such as "view home page" or "view banner ad". Should it be included or exluded in the use case actually following the link? What I mean is that whether it belongs to the ...
0
votes
2answers
329 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 ...
3
votes
3answers
283 views

When presenting a software design to upper management

I'm presenting a software design for approval today and as I'm going through the hundreds of pages of design documentation, cherry picking what's important, I'm unsure if I should start with the ...
0
votes
1answer
312 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 ...
2
votes
1answer
481 views

Use case decomposition for class registration system

I am currently working on refactoring a summer camp registration system to include some new features and will also be using it as the basis for a new after-school class registration system. For this ...
0
votes
2answers
2k 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 ...
1
vote
2answers
265 views

The Proper UML Model of a System for Non-Technical Boss

I've taken on some side work for this non-profit and last week was my first week on the job. They have two SQL Server Databases each with many tables in them that represent over 20 different ...
2
votes
2answers
920 views

Software Architecture Modelling

I am a little confused at how best to visually model a space-based architecture (SBA) for presenting the system/software architecture design to a client. The goal of this modelling is to show: The ...
2
votes
3answers
287 views

UML modelling semantics

In today's lecture about Modelling techniques with respect to MDD using UML the lecturer stated that it's absolutely necessary to give a (possibly) textual description about the semantics of each ...
1
vote
1answer
1k views

What UML diagram should I use to show a platform's architecture?

I have been learning UML and have a basic understanding now, but I keep seeing these sort of high level architecture diagrams. Here's one from Microsoft: Source: A bad picture is worth a thousand ...
4
votes
1answer
266 views

What is the name of this relationship between objects? [closed]

Different types of dependencies have particular names, such as linear dependency, circular dependency, self-referencing object, etc. What is the name of the dependency where those rules are true? A ...
2
votes
2answers
625 views

Project implementation details in node.js

I am working as a software engineer turned team leader in a large software company. One of my areas of strength is node.js, and we are in the process of moving a lot of our services to separate ...
0
votes
1answer
116 views

Extending Composite Structure model generally/in Enterprise Architect

I'm currently on a project, which integrates domain specific techniques in the modelling tool Enterprise Architect through UML Profiles. The domain specfic model almost matches the structure of the ...
3
votes
1answer
232 views

UML communication diagrams, implementation details or not?

After reading Applying UML and Patterns (Larman) and looking around on the Internet it still seems ambiguous to me if a UML communication diagram should depict implementation details (such as GUI ...
1
vote
1answer
960 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
0answers
107 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. ...
0
votes
3answers
978 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, ...
1
vote
1answer
207 views

Should dependency relationships always be shown on class diagrams

I recently started using the Object aid UML generator plugin for Eclipse and noticed that by default adding of dependency relationships is switched off. This made me wonder if in most cases they ...
3
votes
2answers
828 views

How to show an “or includes” relationship - UML Use case diagram

I haven't come across this issue before and can't find it in my Schaum's Outline UML book and was wondering if someone here could help. I'm making a use case diagram for e-commerce, and in it I want ...
4
votes
1answer
609 views

Diagrams used to model the architecture and functionality of a website

I am attempting to understand what UML models/diagrams can be used to communicate a websites architecture. The model or models' purpose is to communicate the architecture and functionality of a ...
3
votes
5answers
1k views

What classes to put exactly in a class diagram?

What classes must I put in a class diagram? Only classes used in Business Layer and associations between them? Or also other classes in the Data Access Layer, Service Layer, etc.?
1
vote
1answer
159 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
77 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
214 views

Do I include third party classes in my UML class diagrams

I'm developing a system which involves 2 Android applications and a Java web application. For my UML class diagrams I have not included third party classes I use e.g. observer type interfaces. Should ...
0
votes
1answer
273 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 ...
8
votes
7answers
7k views

OO Design related questions in technical interviews

I've been attending quite a few interviews recently and have been asked by companies to answer "design a [insert model]" questions more than a few times. Is this normal in the industry nowadays? ...