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

learn more… | top users | synonyms

3
votes
1answer
347 views

Is this the correct way to use extends?

I am making a UML diagram. Im wondering if im using the extends feature correctly. I have a marketer that can search contacts but only if they have created them in the first place.... Have i got the ...
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 ...
4
votes
7answers
347 views

Recommended ways for getting a good grasp of inherited software

So you've inherited a large codebase that you need to make substantial changes to and you wish to get a pretty complete understanding of the software before starting. Would you diagram it? If so, ...
1
vote
2answers
490 views

How to draw a (UML) class diagram when the classes are dispersed across a distributed system?

Basically how to denote that class foo is from a different server than class bar ?
6
votes
4answers
17k views

How to include conditions in UML sequence diagrams?

I like to draw a UML sequence diagram to display the sequence of actions and interactions of different parts of my system (I think they called actors). However, I need to include if then else ...
4
votes
5answers
1k views

How to tackle complex business rule and logic?

I have a domain expert to work with, but he would throws a lot of details to me verbally. The business logics are complex, business rules change often, the business process is long and multi-ending / ...
2
votes
3answers
281 views

Formal requirements analysis

I've been doing a Requirements Analysis module in my university. We've covered all kinds of formal requirements stuff, like UML, Use Case Diagrams, Sequence Diagrams and Contracts. I have to ask- are ...
4
votes
1answer
3k views

Difference between statechart and sequence diagram

I realise these two diagrams are very similar, with the obvious difference one models the sequence of a certain function, whilst the other models the state throughout a function being carried out. ...
3
votes
3answers
2k views

How do you annotate instantiation in UML class diagrams?

Given this pseudo code: class B { } class A : B { int val; }; alpha = new A(); What arrow do I draw between alpha and A in a UML class diagram? Is this even something UML is meant to do? ...
10
votes
6answers
747 views

How should I plan out my code base?

I'm currently working on a project that's about to reach over 5,000 lines of code, but I never really completely thought out the design. What methods should I use to structure and organize my code? ...
2
votes
2answers
435 views

UML to portray SQL objects

I am delving into the science of UML. The tool I am using is ArgoUML. I feel very confident portraying OO designs through this tool. But what still vexes me is the incorporation of the database. ...
1
vote
1answer
171 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
479 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 ...
7
votes
3answers
643 views

Can you use UML in a TDD project?

If so, at what stage? or it is also an iterative process? If iterative, how formal? Also, how useful is UML for a solo programmer doing open source? While I like to see a picture of the system, it ...
5
votes
4answers
210 views

Is defining every method/state per object in a series of UML diagrams representative of MDA in general?

I am currently working on a project where we use a framework that combines code generation and ORM together with UML to develop software. Methods are added to UML classes and are generated into ...
12
votes
5answers
1k views

Do you create a design with UML before you start? [duplicate]

Possible Duplicate: How often do you use Formal UML? I'm currently following a study UML called UML Fundamentals. While studying, I wondered if companies even bother creating system ...
8
votes
5answers
500 views

What is the standard for modeling modern applications prior to development?

I'm taking on my first enterprise-level application and I want my team to model the entire ASP.NET MVC C# application before we even tap out one line of code. UPDATE: This was not intended to be a ...
1
vote
7answers
399 views

System analysis at the begining of the project

When I want to develop a new application, first I'm going to design a UML and specify project details and definition. But when I start development process, I determine that I should change some parts ...
3
votes
1answer
378 views

Which UML colors should this example be represented by?

See UML colors here. Here is the example, I have following entity classes: User(name) MailBox(owner: User, label) Mail(from: User, to: User, subject, body, composeTime) MailCopy(type, from: User, ...
2
votes
2answers
220 views

Should framework classes (e.g. .NET, Java) be included in UML diagram?

Say in a UML Sequence diagram, I am showing a call to the database using ADO.NET. Do I need to include the SqlConnection, SqlCommand, SqlDataReader object in the diagram? Is it just preference ...
0
votes
1answer
180 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 ...
3
votes
2answers
655 views

How do you represent container classes in UML?

When drawing out quick class diagrams, I'm often at a loss how to represent classes that are used just to pass data around between various parts of the program. I've been putting them out in the ...
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 , ...
13
votes
10answers
960 views

How useful is UML if you are a developer working alone in a project [closed]

How useful is UML if you are a developer working alone in a project?
4
votes
4answers
9k views

Advantages & Disadvantages of using Class Diagrams [closed]

Any and all advantages/disadvantages would be appreciated!
2
votes
1answer
220 views

Appropriate UML diagram

What is an appropriate UML diagram if I want to display how user request web page, enters some data, then posts the form (and if the validation has not succeeded, user is redirected back to requested ...
8
votes
7answers
525 views

How indepth should a programmer develop his understanding of the Unified Process and UML? [closed]

I know a lot of places use UML and the unified process as their development model... but then there's a lot that don't. Would it be important to have more than a basic and functional understanding of ...
5
votes
7answers
718 views

Design Code Outside of an IDE?

Does anyone design code outside of an IDE? I think that code design is great and all but the only place I find myself actually design code (besides in my head) is in the IDE itself. I generally ...
2
votes
3answers
1k views

Any examples of using Visio to document software?

I have Visio 2010 and want to learn how to use it to document software. Does anyone have examples of what Visio does well? Are there any things that Visio can do, but there are better tools for the ...
2
votes
2answers
2k views

how to express alternative flows in activity diagram

I want to express the below events in an activity diagram: An alternative flow, such as "at step x of basic flow, user clicks cancel instead of ok". An alternative entry to the use case, such as ...
6
votes
6answers
8k views

UML: Going from Use Case to Class Diagram

In simple steps how can one make the transition from a Use Case diagram to a Class diagram?
4
votes
1answer
873 views

Sequence Diagrams

I recently read the book 'UML Distilled' and found the sequence diagrams very useful. My question is that can we show 'data flow' as well on a sequence diagram? This is my first time on sequence ...
3
votes
2answers
395 views

Question between aggregations, compositions, references (arrow) and simple link (nothing) relations within UML2?

I have some questions regarding relations between aggregations, compositions, references (arrow) and simple link (nothing) relations within UML2 ? If A -> B -> C each have composition relationship. ...
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 ...
6
votes
4answers
333 views

What modelling technique do you use for your continuous design? [closed]

Together with my teammates, I'm trying to self-learn XP and apply its principles. We're successfully working in TDD and happily refactoring our code and design. However we're having problems with the ...
8
votes
6answers
2k views

On-the-fly graphical representation of code [closed]

I know about Omondo's plugin for live code-UML synchronization in Eclipse, but I was wondering if there was any other tool/IDE/IDE-extension that has some form of live graphical code representaiton ...
3
votes
2answers
618 views

can an object in a sequence diagram send a message call to the user?

I need to make a sequence diagram and I'm not sure how to represent user input. Is it correct to have a message be sent from an object to the user asking for user input or should all objects be ...
2
votes
2answers
274 views

Should I create Use Cases or create Class Diagrams first?

So I'm designing an Education Management System(more info)and I'm wondering if I should be creating the Use Cases or the Class Diagrams first?
5
votes
2answers
1k views

How to learn UML for a design usage?

10 years ago at college I had some UML lectures. From these I remember and use only some basic part of class and sequence diagrams and how our teacher was trying to convince us that in the future, ...
12
votes
3answers
728 views

Declarative UML

I'm looking for something along the lines of WebSequenceDiagram for other kinds of UML diagram types -- use cases and class diagrams in particular. For example, the service would accept plain text ...
1
vote
7answers
504 views

Would you use UML if it kept stakeholders from requesting changes frequently? [closed]

As much as programmers hate to document their code/system and draw UML (especially, Sequencing, Activity and State machine diagrams) or other diagramming notation, would you agree to do it if it kept ...
9
votes
12answers
2k views

Should you Create Class Diagrams before or after implementation?

The way I see it if you create one before you get the advantage of: Planning ahead Overview of the project but you lose: Time (doing work you'll probably end up repeating when writing code) On ...
5
votes
3answers
434 views

Should a developer adhere to the class diagrams produced during system design?

The class diagram is modeled on the system requirements, and it is important to create solutions based on those requirements. If I have said class diagram should I strictly adhere to it? What about ...
27
votes
12answers
1k views

How often do you use Formal UML?

I used ad-hoc MUML (made-up modeling language) to design and explain system fairly frequently. It looks similar to UML and tends to be pretty well understood. However, I've had a professor or two ...