View this PageEdit this Page (locked)Attachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide
Hotspots: Admin Pages | Turn-in Site |
Current Links: Cases Final Project Summer 2007

UML Class Diagrams - Akilesh Natarajan

UML Class Diagrams - Akilesh Natarajan

A UML class diagram is a diagram that describes the structure of a system by showing the classes in the system and the relationship between the classes. We draw a single class depicting its attributes and methods, defining just the constructor rather the entire method. This allows us to get a basic framework of the class and allows us to get a good framework of the class.

The basic diagram of a single class is as follows:



This defines clear cut locations in which to write out the attributes and the methods.

To describe the classes we use the following notation:

'+' for Public
'-' for Private
'#' for Protected
'~' for Package
'/' for Derived
{ Abstract }
Static

In order to describe the relationship between the classes we use the following notation:



Thus, we can combine multiple classes with various linkups between the classes to get a full fledged UML Class Diagram



Link to this Page