class-diagram

What is the importance of association multiplicity in class diagrams?

What is the importance of association multiplicity in class diagrams? Why and when should we indicate them? Thanks. ...

Class diagram: how to write down classes that belong to a library?

I am reverse engineering some Java code into a class diagram. Now I'm wondering how to model classes that are from a library that I didn't design. If I'm writing them down as classes, I should maybe also know what interfaces they implement, etc, and put that in the diagram. How far do I go with this? Is it better to write them down as at...

VS 2010: Class diagram with xml summary description?

Hello, using Visual Studio 2010 Ultimate I created a class diagram of a C# / WPF project. The project is well documented, meaning ever property has a xml summary. Now in the class diagram one can hover over a property and read this summary - fine. But what about printing? Visual Studio just prints the diagram! Is there any way to let Vi...

VS 2010 Class Diagram Error "The type cannot be edited..."

A few of the classes on a VS 2010 class diagram are displayed with a red title. The Class Details window shows all of the methods, properties, fields and correctly shows no events. However, there's an entry under each of methods, properties, fields and events that states where the name should be: "The type cannot be edited because ...

UML class diagram vs ER database diagram

Hi, I'm a little confused, I'm developing a program, the program consist in two parts, the server and the clients, there are groups, places, messages... stored in the server, and the clients has to connect with it. I've design the use cases diagram, the activity diagrams, and I have design the class diagram too. The thing is that I want...

Modelling a permissions system

How would you model a system that handles permissions for carrying out certain actions inside an application? ...

Generate class diagram for IPhone app

I am trying to find a good tool for iphone/objective-C to generate class diagram to code. I want it to be flexible to change and modify the diagram so that I can separate that diagram to many smaller ones. That means, I can show some parts of the viewcontroller interacting with model classes. It will be easier to understand and get cha...

Can we draw sequence diagrams if we don't have classes in a program?

I have a program I made in C++ that does not use classes, just simply functions and main(). I want to know what kind of diagrams I can draw for it. Here are a couple of things I have in mind. Activity diagram Sequence diagram class diagram - obviously can't draw this because I didn't use classes system architecture state diagrams use ...

Design object for avaibility product stock of partner store.

Allowing a store whether a product is available in the stock of another store partner, the latter may either accept or reject the request, in all cases the applicant is informed of réponse. I want to implement a diagram class. Now I have a class product, and a class list of collections of products. I don't know how to represent a class ...

generating class diagrams for php projects ( codeigniter framework)

hi guys, I'm developing a system using Codeigniter, and it's nearly completion, i didn't went for class diagrams first because it was hard to decide, so i straight away did coding and now i want to draw class diagrams for my project. do you guys know about a tool that i can use for generating class diagrams for my project? ragards, Ra...

Visual Studio: Remove class diagram from project?

I accidentally clicked "View Class Diagram" for one of my projects. How do I remove the .cd files from my project? Update: You can't do this while debugging, but you can just right click on it and say "Exclude from Project". Thanks everyone! ...

UML mapping with c#

There are two classes Person and Employee when it mapped to c# code public class Person { private string Name; } public class Employee : Person { private string Department; public string GetName() { return "Person Name"; } } My question is where can i write the getters and setters for this private attr...

Visio class diagram

I'm using Visio class diagram. Is there a way to automatically layout the elements on the canvas? I want to group a few classes under some square to visually show that they belong to the same package. How to do it? ...

How to re-engineering design from source code using rational rose

I would like to create class diagram from existing source code using rational rose. I have VC++ 6 MFC project and I installed Rational Rose Enterprise Edition Version 2003.06.16. Now I would like to re-engineering the project to create design(class diagram) from the source code. Pls help me step-by-step process to do this, I couldn't ge...

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...

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...

Relations between classes

I have four classes: Employee - contains only fields that hold informations about particular employee EmployeeGroup - contains only fields which describe type of jobs employee can do, each employee belongs to one of the EmployeeGroup classes. EmployeeDBase - contains methods for adding or getting employee and employeegroup from datab...

class diagram question...

hi,I have 2 questions about class diagram. firstly if i have used an object of class A in my class B , in drawing the class diagram i should associate class A with B . or association is just used when a class uses a method of the other class. my other question is almost similar. if in class A i have a dictionary< class B, Class C> , th...

free tool to generate class diagram or method table from a C# assembly or project?

Is there a free, easy and quick tool which can generate class diagrams or maybe even a simple table containing the list of class and methods inside an C# assembly or a project? Basically what I need is just the list of class and methods in a readable format. It would be better if it takes the xml documentation as well, but it's not requi...

UML mapping in c#

Can some one tell me how can i map aggregation and composition in c#,considering the two classes STUDENT and LECTURER. my question may be unclear.As an example,I used VS class designer to generate the Association relationship between classes.consider the 2 classes LECTURER and STUDENT_SOCIETY.Class Designer generates the following code....