uml

How do you model a simple composition relationship

Can someone help me understand how best to model a composition relationship? If for instance I have a student whom can have many schedules, I would create roughly: class Student { prop long Pk { get; set; } prop string Name { get; set; } prop List<Schedule> Schedules { get; set; } } class Schedule { prop string Semester { get;...

Documenting a DB (sql server) with visio or something better?

Hi .. been reading a few bad reports about viso and documenting DBs ,... I just want something simple to document the DB and show all the keys and relationships... Is visio the right way to go? .. its a fairly small project and visio does carry a price tag... I am using vs 2008 and this has database diagrams integrated but i don't thi...

Why does C# use a different Naming convention?

I started working with C# recently and I noticed that the convention seems to be that the variables start with a capital letter along with the methods. Is this the only language that does this and why? For instance: Page Page = new Page(); Page.Action(); In other languages, you'd see instead: Page page = new Page(); page.action(); ...

Flex based UML designer

Does anyone know of any flex based (preferably open source) framework or component to edit UML? I was looking for something like gliffy.com, however that will not let you export to an XMI file. ...

Is there any good free tool for the mac, to draw UML and object diagrams?

Just need it for a hand full of diagrams. Any recommendations? ...

What's the best type of diagram to symbolize objects and values of their instance variables?

I want to visualize an situation with a few different objects, their relations and the values of their instance variables. Any idea which diagram type fits best for that? ...

Can anyone tell me where can I get sample UML diagrams for an ERP system?

I want to study an ERP system. For that I want to study its processes. So if anyone can give me some useful links then it will be helpful to me, thanks. ...

Drawing component diagrams in TinyUML

Hi Folks, I am working on extending a small application that uses the 'dot' tool to draw UML class and state diagrams, to implement component diagrams (I am running into a lot of problems accommodating the UML 2.x notation for the same). I intend to display the interfaces that a particular component requires and provides through the ...

What is the difference between UML 2.1.2 and UML 2.2

I am evaluating a tool which says that it supports UML 2.2. However if I search on internet, I can't find what incremental change has occured between two version. And yes, I tried to go through OMG documents, but those are too dense to read. Is there a simple explanation anywhere? ...

Documenting Web Application Flow / Iteraction

What artifacts / diagrams do use to document the flow of a web application taking into account links between static pages and how dynamic view components (html forms, JSP, Ajax, etc) interact with server-side components (Servlets, Struts actions, etc)? Do use UML diagrams? ...

Functional programming - standard symbols, diagrams, etc

I have a problem, which I believe to be best solved through a functional style of programming. Coming from a very imperative background, I am used to program design involving class diagrams/descriptions, communication diagrams, state diagrams etc. These diagrams however, all imply, or are used to describe, the state of a system and the ...

How to convert from UML 1.3 - XMI 1.1 to UML 2.1 XMI

I am trying to convert UML 1.3 - XMI 1.1 file exported from PowerDesigner to UML 2.1 XMI Interchange Model from Rational Software Architect. ...

What's the difference between a stereotype and a class inheritance in UML?

I'm confused about the difference between something being a "stereotype" and being a "superclass" in UML. Let's say I want to create a diagram involving a "WidgetMaker." WidgetMaker is clearly an Actor so the UML standard is to stereotype it actor: <<Actor>> WidgetMaker But I grew up programming in the Java/Ruby/C++ world. In that ...

application architecture draw

Yop I would like to know what guys are using to make diagram of your application/service architecture ? I would like to make diagrams representing the different layer of the whole application and for some parts go deeper (class level) Visio is it a good deal for this? thx in advance. ...

Holocentric - Does anyone use it for modeling?

A simple poll essentially.... Searching google for Holocentric reveals very little about the takeup of product. Has anyone used it? Is it any good good? ...

Is TIME an actor in a use case?

Alright, on a true false question: a)The actors of a system are only represented by humans or another software components. I said TRUE, and the teacher marked it as wrong, not because he considered that I missed hardware components (which I guess I would partially concede), but because, on his words: "TIME is also an actor." How wou...

What is the correct way to represent template classes with UML?

The title says it all... ...

In UML, do you have to show the concrete implementation of an abstract method?

I'm drawing some UML in which a concrete class inherits from an abstract class which defines a pure virtual method. Is it required to show this method in the concrete class as well? It's implied by inheriting from the abstract class. ...

Where's the middle ground between Class and Object in UML?

Let's say you want to diagram a Map class (the mathematical kind, not the cartographic kind). In Ruby, you might have something like: class Map attr_accessor :nodes, :edges def initialize @nodes = Set.new @edges = Set.new end def minimum_spanning_tree(&mst_algorithm) mst_algorithm.call(@nodes, @edges) end ... en...

Autodocumentation type functionality for Fortran?

In the past I've used Doxygen for C and C++, but now I've been thrown on Fortran project and I would like to get a quick all encompassing look at the architecture. In the past I've found reverse engineering tools to be useful where no documentation of the architecture exists. So, is there a tool out there that will reverse engineer Fo...