uml

Representation of Java Collections in UML2

Is there a standard representation for typed java collections in UML2? I am working on a class diagram and would like to avoid Java syntax, when using something like Map as type for a class attribute. - foo : Map<Integer, String> ...

Structured design: Software to draw structure charts

Hi, UML is all the rage now, and software allowing you to draw the various UML diagrams are a dime a dozen. However, after much googling I was unable to find tools that are capable of drawing structure charts and other structured design diagrams. Which tools or software allow you to do this? +1 for free +1 for runs on linux Thanks ...

UML Sequence Diagram in Dia?

What's a good workflow (usage procedure) for creating a UML Sequence diagram in Dia? ...

Diagram or other way to describe analysing threading vulnerabilities?

I'm working on a complex data structure, think of it as an OODBMS storing single-user CAD info, and want a way to explain vulnerability points to justify where I'm locking and the scope of the critical sections that are being used. IO is via memory-mapping to files that are potentially opened multiple times in different threads. You cou...

How to understand the design and code flow of any product quickly?

I have switched to a new company and I am working on a product that has a huge code base without documentation. I want to quickly get acquainted with the design and the code flow of the product so that I may become a productive member ASAP Slowly and steadily one does gets to understand the code, but what should be the best and smart wa...

How would I properly illustrate the relationship a class has with an enclosing class in UML?

I have a Game class and in that class exists a KeyInputHandler class. I believe this is a "has a" relationship but I am not 100% sure. If this is indeed a "has a" relationship it would be composition and I know what symbols to use, but if it is something else then I could use some advice. EDIT: This is the structure of the two classe...

Adobe Illustrator and UML

Is Adobe illustrator good for drawing UML diagrams? I saw some architecture diagrams of Google Chrome in their website. Have you ever used it? Is it better than Visio? ...

New Design Patterns

is there any new design patterns available other than the patterns covered by GoF book and Head First Design Patterns? Have any one of you used your own design patterns in your projects? Please let me know. if possible give some UML Diagrams. Thanks in advance. ...

Need to provide a proposed model solution, which UML diagrams should I use?

I need to provide my client with a proposed model of the solution I am suggesting. The problem is very vaguely as follows: We need to create a solution that amalgamates much of the information in the organisation Information will be available from several systems. INformation from the "central hub" will also be made available to ot...

Differences between DFD (Data Flow Diagram) and activity diagram

Hello, I need to know this differences in order to undestand how to use them right. Which are the differences of DFD and Activity diagram? ...

Does visual studio 2010 unlimited modeling project do reverse engineering?

Does visual studio 2010 unlimited modeling project do reverse engineering? How about code generation from the UML models? I am playing around with it and it makes beautiful UML class diagram but I can't find any options to create code templates based on them. ...

Merge relationship in UML 2 package diagrams

I was reading this Wikipedia page on UML 2 package diagrams. This page mentions a relationship of merge between 2 packages. Quoting the article: "A package merge is "a directed relationship between two packages, that indicates that the contents of the two packages are to be combined. It is very similar to Generalization in the sen...

Is UML Class Diagram of Zend_Log correct?

Background of question Analysis of Zend_Log reveals following Class Diagram Zend_Log: uses ReflectionClass & Zend_Log_Exception maintains reference to array of Zend_Log_Writer_Abstract maintains references to array of Zend_Log_Filter_Interface Zend_Log_Writer_Abstract maintains reference to array of Zend_Log_Filter_Interface main...

hibernate many-to-many table mapping with extra fields as a list - Java classes?

Dear All: I am quite interested in a Hibernate mapping such as the Order/Product/LineItem described here: http://docs.jboss.org/hibernate/stable/core/reference/en/html/example-mappings.html#example-mappings-customerorderproduct The documentation seems quite thorough, but I am a bit unclear on the semantics of the Java classes that one ...

Dependency relationship

Hi, I have a question on dependency relationship in a class diagram. Is it correct to show that a class has an attribute of an interface type by specifying a dependency relationship? Or this can be done with association only? I've read that a dependency relationship is used only for method's parameters or local variables. ...

UML class modeling of callback functions/classes

I'm no expert in UML, I just took a course before I graduated that spent a significant amount of time on UML modeling. I understand the basics but I was working on a project the other day and just for my own curiosity, I was wondering how you would model a callback. Here is a portion of the code I was working on class OnChangeHandler...

Is there an app to create UML from django models ?

Epydoc doesn't work with django models because it needs django settings to be imported and I manage.py graph_models generate some unreadable outputs. Is there some tool to do that? ...

How to represent STL Map in UML diagram

i want a notation for STL MAP in UML diagram. ...

Using UML to Understand Code

I'm new to UML and I've managed to convert the source into class diagrams which shows every class in a box. but that doesn't seem like enough for me to understand how the functions and objects are connected. Is that all what a programmer needs or what more can be done to better understand the information flow of their project? I'm curren...

Diagrams for showing events and information flow in large scale information systems

Can someone suggest me tools/templates and example to draw diagrams for showing information flow in highly event-driven distributed large scale information system. The system consists of heterogenous devices like PC,data-centers,mobile hand-helds, monitoring sensors (like cameras, laser scanners) used by different users and each user gen...