File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes OO, Patterns, UML and Refactoring and the fly likes what is class diagram Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "what is class diagram" Watch "what is class diagram" New topic

what is class diagram

pravin rasal
Ranch Hand

Joined: Jul 27, 2011
Posts: 63
What is class diagram and how to design class diagram? Actually I want to design class diagrams for my project but I dont know how to design and what exactly class diagram shows.
Murali Ranga
Ranch Hand

Joined: Dec 16, 2011
Posts: 38
Look at this link,it may help you
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3152

Another good article by Robert Martin.

You would take up different approaches to identify classes like Noun phrase approach, CRC diagrams. Once the classes have been identified you would go ahead to identify the relationship among the classes and the attributes which would be present for each class. These are drawn out in a diagram using UML notations and there by giving you a class diagram. This diagram is not one time effort, it can be evolved as and when you get to know more about the system.

For identifying the methods of each class- one can usually draw collaboration diagram or sequence diagram for different usecases and then from here one can identify the methods involved in each class.

Mohamed Sanaulla | My Blog
I agree. Here's the link:
subject: what is class diagram
It's not a secret anymore!