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

learn more… | top users | synonyms

0
votes
2answers
304 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
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 ...
0
votes
1answer
96 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
708 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
945 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 ...
0
votes
2answers
475 views

Mapping between 4+1 architectural view model & UML

I'm a bit confused about how the 4+1 architectural view model maps to UML. Wikipedia gives the following mapping: Logical view: Class diagram, Communication diagram, Sequence diagram. Development ...
0
votes
1answer
248 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
516 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
3answers
3k views

How to visualize timer functionality in sequence diagram?

I am developing software for communication with external device through serial port. To better understand the new functionality I am trying to display it in sequence diagram. Flow of events is as ...
0
votes
3answers
374 views

Review my class hierarchy [closed]

I have created a class hierarchy for an inventory system for a book/magazine. Here's the picture: Will it do? I know there's no magazine class yet but I was wondering if anyone could suggest a ...
0
votes
2answers
178 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
97 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
490 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? ...
0
votes
2answers
248 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
231 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
126 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
1answer
129 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: ...
0
votes
1answer
214 views

My UML class diagram is too complicated, what should I do?

Classes have 10-20 links with one another and you can't see anything in that mess of a diagram Unfortunately we finished coding already and if we change the class diagram we have to redo the whole ...
0
votes
1answer
47 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
1answer
687 views

Sequence Diagram for Response Redirect in ASP.Net Webforms

In asp.net webforms I have a home aspx page that has a “Go” button. [This is the only control in this page]. When this button is clicked, the user is redirected to “UserProfile.aspx” page. How can we ...
0
votes
1answer
589 views

Updating and organizing class diagrams in a growing C++ project

I am working on a C++ project that is getting bigger and bigger. I do a lot of UML so it was not really hard to explain my work to co-workers until now. Lately I implemented a lot of new features and ...
0
votes
1answer
42 views

UML Diagram for Locations of Components

I am about to deploy a new project that will have different components being deployed on different servers and in different web sites/technologies/etc. I was just wondering what would be the best way ...
0
votes
1answer
69 views

What's the difference between model for test and model for development?

What's the difference between model for test and model for development? Is it that the model for test contains only what we should test? Do we use the same diagrams in model for test and model for ...
0
votes
2answers
84 views

UML Class Diagram: Abstract or Interface?

I am modeling a class diagram and have spotted an opportunity to simplify it slightly. What I want to know is, would this it be better to implement an abstract class or an interface? The scenario is ...
0
votes
1answer
171 views

Design and write my own logger engine [closed]

I know that in this way I could reinventing the wheel, but my logging needs are quite unusual and I don't know how to achieve this unusual result with log4net, last (but not the least) I would catch ...
0
votes
1answer
98 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 ...
0
votes
1answer
107 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
107 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 ...
0
votes
1answer
909 views

Class Design and Structure Online Web Store

I hope I have asked this in the right forum. Basically, we're designing an Online Store and I am designing the class structure for ordering a product and want some clarification on what I have so ...
0
votes
1answer
475 views

How can I use UML to model a relationship between two classes, where one has functions exposed as friend to the other?

I have a two classes: ------------ --------------- X Y ------------ --------------- ...
0
votes
1answer
78 views

How to link classes in different packages (on different pages)?

Extending the answer to this question, I have broken down a large system into a few classes per package. Each package is now shown in a different page for readability, but now how do I show the ...
0
votes
1answer
179 views

logical subsystem & physical subsystem

I've done a google search on both of them, can't find much information. I was wondering what is a logical subsystem and physical subsystem (in an object-oriented system)? Also why would it be useful ...
0
votes
0answers
6 views

Netbeans changed after UML installed [migrated]

I installed and used a UML plugin found here: http://stackoverflow.com/a/8987726/3657529 Afterword, all of my .java code associated with the UML became black and white and un-editable. Although, I ...
0
votes
0answers
35 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 ...
0
votes
0answers
31 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 ...
0
votes
0answers
38 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 ...
0
votes
1answer
36 views

Compatibility between Class Diagram and Sequence Diagram

Do the message being passed between objects in Sequence Diagram match with the methods in Class Diagram?
0
votes
2answers
342 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
votes
1answer
108 views

What is meant by a step-by-step refactoring plan describing implementation of design [closed]

What is meant by a step-by-step refactoring plan describing how to implement a certain design? As little as I know about refactoring it regards improving a (UML) design model and has nothing to ...
-1
votes
3answers
181 views

How important is it to learn UML for an OO developer? [closed]

When studying OOP by myself I often encounter UML class diagrams. I understand them, but don't completely know how to write them. Meaning, I don't entirely know what each kind of arrow means, and ...
-1
votes
1answer
85 views

Should I label class diagram variables as private or public?

In my program, I have several class variables whose access specifier is known as private package. The default accessor specifier in Java is known as private package where it is accessible within the ...
-1
votes
1answer
107 views

Is there any standard for design document [closed]

This question is purely from academic point of view. As part of the software engineering lab, a design document is to be created after generating the SRS. Is there any standard for creating the design ...
-2
votes
4answers
345 views

Software for requirements and use cases [closed]

I am looking into some UML modeling software, which there is plentiful of on the market, but only a few I found support recording of requirements and written use cases (not the diagrams yet). Are ...
-3
votes
1answer
416 views

Sequence diagram should consist of View objects, DB objects, etc.?

I read many articles, and saw a lot of images and I can't answer the question whether objects of View classes or DB classes should be contained on the sequence diagram or it should be more ...